Class RolloutPlanWaveOrchestrationOptions.Builder (1.105.0)

public static final class RolloutPlanWaveOrchestrationOptions.Builder extends GeneratedMessage.Builder<RolloutPlanWaveOrchestrationOptions.Builder> implements RolloutPlanWaveOrchestrationOptionsOrBuilder

Options to control the pace of orchestration of a wave. These options are required only if the resource being rolled out follows the Orchestrated pattern.

Protobuf type google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptions

Static Methods

getDescriptor()

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

Methods

addAllDelays(Iterable<? extends RolloutPlanWaveOrchestrationOptionsDelay> values)

public RolloutPlanWaveOrchestrationOptions.Builder addAllDelays(Iterable<? extends RolloutPlanWaveOrchestrationOptionsDelay> values)

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

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

addDelays(RolloutPlanWaveOrchestrationOptionsDelay value)

public RolloutPlanWaveOrchestrationOptions.Builder addDelays(RolloutPlanWaveOrchestrationOptionsDelay value)

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Parameter
Name Description
value RolloutPlanWaveOrchestrationOptionsDelay
Returns
Type Description
RolloutPlanWaveOrchestrationOptions.Builder

addDelays(RolloutPlanWaveOrchestrationOptionsDelay.Builder builderForValue)

public RolloutPlanWaveOrchestrationOptions.Builder addDelays(RolloutPlanWaveOrchestrationOptionsDelay.Builder builderForValue)

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

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

addDelays(int index, RolloutPlanWaveOrchestrationOptionsDelay value)

public RolloutPlanWaveOrchestrationOptions.Builder addDelays(int index, RolloutPlanWaveOrchestrationOptionsDelay value)

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Parameters
Name Description
index int
value RolloutPlanWaveOrchestrationOptionsDelay
Returns
Type Description
RolloutPlanWaveOrchestrationOptions.Builder

addDelays(int index, RolloutPlanWaveOrchestrationOptionsDelay.Builder builderForValue)

public RolloutPlanWaveOrchestrationOptions.Builder addDelays(int index, RolloutPlanWaveOrchestrationOptionsDelay.Builder builderForValue)

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Parameters
Name Description
index int
builderForValue RolloutPlanWaveOrchestrationOptionsDelay.Builder
Returns
Type Description
RolloutPlanWaveOrchestrationOptions.Builder

addDelaysBuilder()

public RolloutPlanWaveOrchestrationOptionsDelay.Builder addDelaysBuilder()

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Returns
Type Description
RolloutPlanWaveOrchestrationOptionsDelay.Builder

addDelaysBuilder(int index)

public RolloutPlanWaveOrchestrationOptionsDelay.Builder addDelaysBuilder(int index)

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Parameter
Name Description
index int
Returns
Type Description
RolloutPlanWaveOrchestrationOptionsDelay.Builder

build()

public RolloutPlanWaveOrchestrationOptions build()
Returns
Type Description
RolloutPlanWaveOrchestrationOptions

buildPartial()

public RolloutPlanWaveOrchestrationOptions buildPartial()
Returns
Type Description
RolloutPlanWaveOrchestrationOptions

clear()

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

clearDelays()

public RolloutPlanWaveOrchestrationOptions.Builder clearDelays()

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Returns
Type Description
RolloutPlanWaveOrchestrationOptions.Builder

clearMaxConcurrentLocations()

public RolloutPlanWaveOrchestrationOptions.Builder clearMaxConcurrentLocations()

Optional. Maximum number of locations to be orchestrated in parallel.

optional int64 max_concurrent_locations = 493763281;

Returns
Type Description
RolloutPlanWaveOrchestrationOptions.Builder

This builder for chaining.

clearMaxConcurrentResourcesPerLocation()

public RolloutPlanWaveOrchestrationOptions.Builder clearMaxConcurrentResourcesPerLocation()

Optional. Maximum number of resources to be orchestrated per location in parallel.

optional int64 max_concurrent_resources_per_location = 178401246;

Returns
Type Description
RolloutPlanWaveOrchestrationOptions.Builder

This builder for chaining.

getDefaultInstanceForType()

public RolloutPlanWaveOrchestrationOptions getDefaultInstanceForType()
Returns
Type Description
RolloutPlanWaveOrchestrationOptions

getDelays(int index)

public RolloutPlanWaveOrchestrationOptionsDelay getDelays(int index)

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Parameter
Name Description
index int
Returns
Type Description
RolloutPlanWaveOrchestrationOptionsDelay

getDelaysBuilder(int index)

public RolloutPlanWaveOrchestrationOptionsDelay.Builder getDelaysBuilder(int index)

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Parameter
Name Description
index int
Returns
Type Description
RolloutPlanWaveOrchestrationOptionsDelay.Builder

getDelaysBuilderList()

public List<RolloutPlanWaveOrchestrationOptionsDelay.Builder> getDelaysBuilderList()

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Returns
Type Description
List<Builder>

getDelaysCount()

public int getDelaysCount()

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Returns
Type Description
int

getDelaysList()

public List<RolloutPlanWaveOrchestrationOptionsDelay> getDelaysList()

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Returns
Type Description
List<RolloutPlanWaveOrchestrationOptionsDelay>

getDelaysOrBuilder(int index)

public RolloutPlanWaveOrchestrationOptionsDelayOrBuilder getDelaysOrBuilder(int index)

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Parameter
Name Description
index int
Returns
Type Description
RolloutPlanWaveOrchestrationOptionsDelayOrBuilder

getDelaysOrBuilderList()

public List<? extends RolloutPlanWaveOrchestrationOptionsDelayOrBuilder> getDelaysOrBuilderList()

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

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

getDescriptorForType()

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

getMaxConcurrentLocations()

public long getMaxConcurrentLocations()

Optional. Maximum number of locations to be orchestrated in parallel.

optional int64 max_concurrent_locations = 493763281;

Returns
Type Description
long

The maxConcurrentLocations.

getMaxConcurrentResourcesPerLocation()

public long getMaxConcurrentResourcesPerLocation()

Optional. Maximum number of resources to be orchestrated per location in parallel.

optional int64 max_concurrent_resources_per_location = 178401246;

Returns
Type Description
long

The maxConcurrentResourcesPerLocation.

hasMaxConcurrentLocations()

public boolean hasMaxConcurrentLocations()

Optional. Maximum number of locations to be orchestrated in parallel.

optional int64 max_concurrent_locations = 493763281;

Returns
Type Description
boolean

Whether the maxConcurrentLocations field is set.

hasMaxConcurrentResourcesPerLocation()

public boolean hasMaxConcurrentResourcesPerLocation()

Optional. Maximum number of resources to be orchestrated per location in parallel.

optional int64 max_concurrent_resources_per_location = 178401246;

Returns
Type Description
boolean

Whether the maxConcurrentResourcesPerLocation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RolloutPlanWaveOrchestrationOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDelays(int index)

public RolloutPlanWaveOrchestrationOptions.Builder removeDelays(int index)

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Parameter
Name Description
index int
Returns
Type Description
RolloutPlanWaveOrchestrationOptions.Builder

setDelays(int index, RolloutPlanWaveOrchestrationOptionsDelay value)

public RolloutPlanWaveOrchestrationOptions.Builder setDelays(int index, RolloutPlanWaveOrchestrationOptionsDelay value)

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Parameters
Name Description
index int
value RolloutPlanWaveOrchestrationOptionsDelay
Returns
Type Description
RolloutPlanWaveOrchestrationOptions.Builder

setDelays(int index, RolloutPlanWaveOrchestrationOptionsDelay.Builder builderForValue)

public RolloutPlanWaveOrchestrationOptions.Builder setDelays(int index, RolloutPlanWaveOrchestrationOptionsDelay.Builder builderForValue)

Optional. Delays, if any, to be added between batches of projects. We allow multiple Delays to be specified, letting users set separate delays between batches of projects corresponding to different locations and batches of projects corresponding to the same location.

repeated .google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay delays = 275150672;

Parameters
Name Description
index int
builderForValue RolloutPlanWaveOrchestrationOptionsDelay.Builder
Returns
Type Description
RolloutPlanWaveOrchestrationOptions.Builder

setMaxConcurrentLocations(long value)

public RolloutPlanWaveOrchestrationOptions.Builder setMaxConcurrentLocations(long value)

Optional. Maximum number of locations to be orchestrated in parallel.

optional int64 max_concurrent_locations = 493763281;

Parameter
Name Description
value long

The maxConcurrentLocations to set.

Returns
Type Description
RolloutPlanWaveOrchestrationOptions.Builder

This builder for chaining.

setMaxConcurrentResourcesPerLocation(long value)

public RolloutPlanWaveOrchestrationOptions.Builder setMaxConcurrentResourcesPerLocation(long value)

Optional. Maximum number of resources to be orchestrated per location in parallel.

optional int64 max_concurrent_resources_per_location = 178401246;

Parameter
Name Description
value long

The maxConcurrentResourcesPerLocation to set.

Returns
Type Description
RolloutPlanWaveOrchestrationOptions.Builder

This builder for chaining.