Class RolloutPlanWaveSelectorLocationSelector.Builder (1.105.0)

public static final class RolloutPlanWaveSelectorLocationSelector.Builder extends GeneratedMessage.Builder<RolloutPlanWaveSelectorLocationSelector.Builder> implements RolloutPlanWaveSelectorLocationSelectorOrBuilder

Roll out to resources by location.

Protobuf type google.cloud.compute.v1.RolloutPlanWaveSelectorLocationSelector

Static 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 String

The 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 ByteString

The 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
Overrides

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
Overrides

getIncludedLocations(int index)

public String getIncludedLocations(int index)

Optional. Example: "us-central1-a"

repeated string included_locations = 78239643;

Parameter
Name Description
index int

The 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 int

The 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RolloutPlanWaveSelectorLocationSelector.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RolloutPlanWaveSelectorLocationSelector.Builder
Overrides

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 int

The index to set the value at.

value String

The includedLocations to set.

Returns
Type Description
RolloutPlanWaveSelectorLocationSelector.Builder

This builder for chaining.