Class RolloutPlanWave.Builder (1.105.0)

public static final class RolloutPlanWave.Builder extends GeneratedMessage.Builder<RolloutPlanWave.Builder> implements RolloutPlanWaveOrBuilder

A single wave in a rollout plan.

Protobuf type google.cloud.compute.v1.RolloutPlanWave

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSelectors(Iterable<? extends RolloutPlanWaveSelector> values)

public RolloutPlanWave.Builder addAllSelectors(Iterable<? extends RolloutPlanWaveSelector> values)

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.RolloutPlanWaveSelector>
Returns
Type Description
RolloutPlanWave.Builder

addSelectors(RolloutPlanWaveSelector value)

public RolloutPlanWave.Builder addSelectors(RolloutPlanWaveSelector value)

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Parameter
Name Description
value RolloutPlanWaveSelector
Returns
Type Description
RolloutPlanWave.Builder

addSelectors(RolloutPlanWaveSelector.Builder builderForValue)

public RolloutPlanWave.Builder addSelectors(RolloutPlanWaveSelector.Builder builderForValue)

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Parameter
Name Description
builderForValue RolloutPlanWaveSelector.Builder
Returns
Type Description
RolloutPlanWave.Builder

addSelectors(int index, RolloutPlanWaveSelector value)

public RolloutPlanWave.Builder addSelectors(int index, RolloutPlanWaveSelector value)

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Parameters
Name Description
index int
value RolloutPlanWaveSelector
Returns
Type Description
RolloutPlanWave.Builder

addSelectors(int index, RolloutPlanWaveSelector.Builder builderForValue)

public RolloutPlanWave.Builder addSelectors(int index, RolloutPlanWaveSelector.Builder builderForValue)

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Parameters
Name Description
index int
builderForValue RolloutPlanWaveSelector.Builder
Returns
Type Description
RolloutPlanWave.Builder

addSelectorsBuilder()

public RolloutPlanWaveSelector.Builder addSelectorsBuilder()

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Returns
Type Description
RolloutPlanWaveSelector.Builder

addSelectorsBuilder(int index)

public RolloutPlanWaveSelector.Builder addSelectorsBuilder(int index)

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Parameter
Name Description
index int
Returns
Type Description
RolloutPlanWaveSelector.Builder

build()

public RolloutPlanWave build()
Returns
Type Description
RolloutPlanWave

buildPartial()

public RolloutPlanWave buildPartial()
Returns
Type Description
RolloutPlanWave

clear()

public RolloutPlanWave.Builder clear()
Returns
Type Description
RolloutPlanWave.Builder
Overrides

clearDisplayName()

public RolloutPlanWave.Builder clearDisplayName()

Optional. The display name of this wave of the rollout plan.

optional string display_name = 4473832;

Returns
Type Description
RolloutPlanWave.Builder

This builder for chaining.

clearNumber()

public RolloutPlanWave.Builder clearNumber()

Output only. The wave number.

optional int64 number = 39377737;

Returns
Type Description
RolloutPlanWave.Builder

This builder for chaining.

clearOrchestrationOptions()

public RolloutPlanWave.Builder clearOrchestrationOptions()

Optional. The orchestration options for this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptions orchestration_options = 93218464;

Returns
Type Description
RolloutPlanWave.Builder

clearSelectors()

public RolloutPlanWave.Builder clearSelectors()

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Returns
Type Description
RolloutPlanWave.Builder

clearValidation()

public RolloutPlanWave.Builder clearValidation()

Required. The validation to be performed at the end of this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveValidation validation = 493308025;

Returns
Type Description
RolloutPlanWave.Builder

getDefaultInstanceForType()

public RolloutPlanWave getDefaultInstanceForType()
Returns
Type Description
RolloutPlanWave

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Optional. The display name of this wave of the rollout plan.

optional string display_name = 4473832;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. The display name of this wave of the rollout plan.

optional string display_name = 4473832;

Returns
Type Description
ByteString

The bytes for displayName.

getNumber()

public long getNumber()

Output only. The wave number.

optional int64 number = 39377737;

Returns
Type Description
long

The number.

getOrchestrationOptions()

public RolloutPlanWaveOrchestrationOptions getOrchestrationOptions()

Optional. The orchestration options for this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptions orchestration_options = 93218464;

Returns
Type Description
RolloutPlanWaveOrchestrationOptions

The orchestrationOptions.

getOrchestrationOptionsBuilder()

public RolloutPlanWaveOrchestrationOptions.Builder getOrchestrationOptionsBuilder()

Optional. The orchestration options for this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptions orchestration_options = 93218464;

Returns
Type Description
RolloutPlanWaveOrchestrationOptions.Builder

getOrchestrationOptionsOrBuilder()

public RolloutPlanWaveOrchestrationOptionsOrBuilder getOrchestrationOptionsOrBuilder()

Optional. The orchestration options for this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptions orchestration_options = 93218464;

Returns
Type Description
RolloutPlanWaveOrchestrationOptionsOrBuilder

getSelectors(int index)

public RolloutPlanWaveSelector getSelectors(int index)

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Parameter
Name Description
index int
Returns
Type Description
RolloutPlanWaveSelector

getSelectorsBuilder(int index)

public RolloutPlanWaveSelector.Builder getSelectorsBuilder(int index)

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Parameter
Name Description
index int
Returns
Type Description
RolloutPlanWaveSelector.Builder

getSelectorsBuilderList()

public List<RolloutPlanWaveSelector.Builder> getSelectorsBuilderList()

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Returns
Type Description
List<Builder>

getSelectorsCount()

public int getSelectorsCount()

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Returns
Type Description
int

getSelectorsList()

public List<RolloutPlanWaveSelector> getSelectorsList()

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Returns
Type Description
List<RolloutPlanWaveSelector>

getSelectorsOrBuilder(int index)

public RolloutPlanWaveSelectorOrBuilder getSelectorsOrBuilder(int index)

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Parameter
Name Description
index int
Returns
Type Description
RolloutPlanWaveSelectorOrBuilder

getSelectorsOrBuilderList()

public List<? extends RolloutPlanWaveSelectorOrBuilder> getSelectorsOrBuilderList()

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.RolloutPlanWaveSelectorOrBuilder>

getValidation()

public RolloutPlanWaveValidation getValidation()

Required. The validation to be performed at the end of this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveValidation validation = 493308025;

Returns
Type Description
RolloutPlanWaveValidation

The validation.

getValidationBuilder()

public RolloutPlanWaveValidation.Builder getValidationBuilder()

Required. The validation to be performed at the end of this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveValidation validation = 493308025;

Returns
Type Description
RolloutPlanWaveValidation.Builder

getValidationOrBuilder()

public RolloutPlanWaveValidationOrBuilder getValidationOrBuilder()

Required. The validation to be performed at the end of this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveValidation validation = 493308025;

Returns
Type Description
RolloutPlanWaveValidationOrBuilder

hasDisplayName()

public boolean hasDisplayName()

Optional. The display name of this wave of the rollout plan.

optional string display_name = 4473832;

Returns
Type Description
boolean

Whether the displayName field is set.

hasNumber()

public boolean hasNumber()

Output only. The wave number.

optional int64 number = 39377737;

Returns
Type Description
boolean

Whether the number field is set.

hasOrchestrationOptions()

public boolean hasOrchestrationOptions()

Optional. The orchestration options for this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptions orchestration_options = 93218464;

Returns
Type Description
boolean

Whether the orchestrationOptions field is set.

hasValidation()

public boolean hasValidation()

Required. The validation to be performed at the end of this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveValidation validation = 493308025;

Returns
Type Description
boolean

Whether the validation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RolloutPlanWave other)

public RolloutPlanWave.Builder mergeFrom(RolloutPlanWave other)
Parameter
Name Description
other RolloutPlanWave
Returns
Type Description
RolloutPlanWave.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RolloutPlanWave.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RolloutPlanWave.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeOrchestrationOptions(RolloutPlanWaveOrchestrationOptions value)

public RolloutPlanWave.Builder mergeOrchestrationOptions(RolloutPlanWaveOrchestrationOptions value)

Optional. The orchestration options for this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptions orchestration_options = 93218464;

Parameter
Name Description
value RolloutPlanWaveOrchestrationOptions
Returns
Type Description
RolloutPlanWave.Builder

mergeValidation(RolloutPlanWaveValidation value)

public RolloutPlanWave.Builder mergeValidation(RolloutPlanWaveValidation value)

Required. The validation to be performed at the end of this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveValidation validation = 493308025;

Parameter
Name Description
value RolloutPlanWaveValidation
Returns
Type Description
RolloutPlanWave.Builder

removeSelectors(int index)

public RolloutPlanWave.Builder removeSelectors(int index)

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Parameter
Name Description
index int
Returns
Type Description
RolloutPlanWave.Builder

setDisplayName(String value)

public RolloutPlanWave.Builder setDisplayName(String value)

Optional. The display name of this wave of the rollout plan.

optional string display_name = 4473832;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
RolloutPlanWave.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public RolloutPlanWave.Builder setDisplayNameBytes(ByteString value)

Optional. The display name of this wave of the rollout plan.

optional string display_name = 4473832;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
RolloutPlanWave.Builder

This builder for chaining.

setNumber(long value)

public RolloutPlanWave.Builder setNumber(long value)

Output only. The wave number.

optional int64 number = 39377737;

Parameter
Name Description
value long

The number to set.

Returns
Type Description
RolloutPlanWave.Builder

This builder for chaining.

setOrchestrationOptions(RolloutPlanWaveOrchestrationOptions value)

public RolloutPlanWave.Builder setOrchestrationOptions(RolloutPlanWaveOrchestrationOptions value)

Optional. The orchestration options for this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptions orchestration_options = 93218464;

Parameter
Name Description
value RolloutPlanWaveOrchestrationOptions
Returns
Type Description
RolloutPlanWave.Builder

setOrchestrationOptions(RolloutPlanWaveOrchestrationOptions.Builder builderForValue)

public RolloutPlanWave.Builder setOrchestrationOptions(RolloutPlanWaveOrchestrationOptions.Builder builderForValue)

Optional. The orchestration options for this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptions orchestration_options = 93218464;

Parameter
Name Description
builderForValue RolloutPlanWaveOrchestrationOptions.Builder
Returns
Type Description
RolloutPlanWave.Builder

setSelectors(int index, RolloutPlanWaveSelector value)

public RolloutPlanWave.Builder setSelectors(int index, RolloutPlanWaveSelector value)

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Parameters
Name Description
index int
value RolloutPlanWaveSelector
Returns
Type Description
RolloutPlanWave.Builder

setSelectors(int index, RolloutPlanWaveSelector.Builder builderForValue)

public RolloutPlanWave.Builder setSelectors(int index, RolloutPlanWaveSelector.Builder builderForValue)

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

repeated .google.cloud.compute.v1.RolloutPlanWaveSelector selectors = 431523956;

Parameters
Name Description
index int
builderForValue RolloutPlanWaveSelector.Builder
Returns
Type Description
RolloutPlanWave.Builder

setValidation(RolloutPlanWaveValidation value)

public RolloutPlanWave.Builder setValidation(RolloutPlanWaveValidation value)

Required. The validation to be performed at the end of this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveValidation validation = 493308025;

Parameter
Name Description
value RolloutPlanWaveValidation
Returns
Type Description
RolloutPlanWave.Builder

setValidation(RolloutPlanWaveValidation.Builder builderForValue)

public RolloutPlanWave.Builder setValidation(RolloutPlanWaveValidation.Builder builderForValue)

Required. The validation to be performed at the end of this wave.

optional .google.cloud.compute.v1.RolloutPlanWaveValidation validation = 493308025;

Parameter
Name Description
builderForValue RolloutPlanWaveValidation.Builder
Returns
Type Description
RolloutPlanWave.Builder