public static final class RolloutPlanWaveSelectorLocationSelector.Builder extends GeneratedMessage.Builder<RolloutPlanWaveSelectorLocationSelector.Builder> implements RolloutPlanWaveSelectorLocationSelectorOrBuilderRoll out to resources by location.
Protobuf type google.cloud.compute.v1.RolloutPlanWaveSelectorLocationSelector
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RolloutPlanWaveSelectorLocationSelector.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllIncludedLocations(Iterable<String> values)
public RolloutPlanWaveSelectorLocationSelector.Builder addAllIncludedLocations(Iterable<String> values)Optional. Example: "us-central1-a"
repeated string included_locations = 78239643;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The includedLocations to add. |
| Returns | |
|---|---|
| Type | Description |
RolloutPlanWaveSelectorLocationSelector.Builder |
This builder for chaining. |
addIncludedLocations(String value)
public RolloutPlanWaveSelectorLocationSelector.Builder addIncludedLocations(String value)Optional. Example: "us-central1-a"
repeated string included_locations = 78239643;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe includedLocations to add. |
| Returns | |
|---|---|
| Type | Description |
RolloutPlanWaveSelectorLocationSelector.Builder |
This builder for chaining. |
addIncludedLocationsBytes(ByteString value)
public RolloutPlanWaveSelectorLocationSelector.Builder addIncludedLocationsBytes(ByteString value)Optional. Example: "us-central1-a"
repeated string included_locations = 78239643;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the includedLocations to add. |
| Returns | |
|---|---|
| Type | Description |
RolloutPlanWaveSelectorLocationSelector.Builder |
This builder for chaining. |
build()
public RolloutPlanWaveSelectorLocationSelector build()| Returns | |
|---|---|
| Type | Description |
RolloutPlanWaveSelectorLocationSelector |
|
buildPartial()
public RolloutPlanWaveSelectorLocationSelector buildPartial()| Returns | |
|---|---|
| Type | Description |
RolloutPlanWaveSelectorLocationSelector |
|
clear()
public RolloutPlanWaveSelectorLocationSelector.Builder clear()| Returns | |
|---|---|
| Type | Description |
RolloutPlanWaveSelectorLocationSelector.Builder |
|
clearIncludedLocations()
public RolloutPlanWaveSelectorLocationSelector.Builder clearIncludedLocations()Optional. Example: "us-central1-a"
repeated string included_locations = 78239643;
| Returns | |
|---|---|
| Type | Description |
RolloutPlanWaveSelectorLocationSelector.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RolloutPlanWaveSelectorLocationSelector getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RolloutPlanWaveSelectorLocationSelector |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIncludedLocations(int index)
public String getIncludedLocations(int index)Optional. Example: "us-central1-a"
repeated string included_locations = 78239643;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The includedLocations at the given index. |
getIncludedLocationsBytes(int index)
public ByteString getIncludedLocationsBytes(int index)Optional. Example: "us-central1-a"
repeated string included_locations = 78239643;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the includedLocations at the given index. |
getIncludedLocationsCount()
public int getIncludedLocationsCount()Optional. Example: "us-central1-a"
repeated string included_locations = 78239643;
| Returns | |
|---|---|
| Type | Description |
int |
The count of includedLocations. |
getIncludedLocationsList()
public ProtocolStringList getIncludedLocationsList()Optional. Example: "us-central1-a"
repeated string included_locations = 78239643;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the includedLocations. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RolloutPlanWaveSelectorLocationSelector other)
public RolloutPlanWaveSelectorLocationSelector.Builder mergeFrom(RolloutPlanWaveSelectorLocationSelector other)| Parameter | |
|---|---|
| Name | Description |
other |
RolloutPlanWaveSelectorLocationSelector |
| Returns | |
|---|---|
| Type | Description |
RolloutPlanWaveSelectorLocationSelector.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RolloutPlanWaveSelectorLocationSelector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RolloutPlanWaveSelectorLocationSelector.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RolloutPlanWaveSelectorLocationSelector.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RolloutPlanWaveSelectorLocationSelector.Builder |
|
setIncludedLocations(int index, String value)
public RolloutPlanWaveSelectorLocationSelector.Builder setIncludedLocations(int index, String value)Optional. Example: "us-central1-a"
repeated string included_locations = 78239643;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe includedLocations to set. |
| Returns | |
|---|---|
| Type | Description |
RolloutPlanWaveSelectorLocationSelector.Builder |
This builder for chaining. |