Class UnitUpdatePacing.Builder (0.33.0)

public static final class UnitUpdatePacing.Builder extends GeneratedMessage.Builder<UnitUpdatePacing.Builder> implements UnitUpdatePacingOrBuilder

UnitUpdatePacing defines the policy for the maximum number of unit operations that can run for a rollout in parallel in a single region.

Protobuf type google.cloud.saasplatform.saasservicemgmt.v1.UnitUpdatePacing

Static Methods

getDescriptor()

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

Methods

build()

public UnitUpdatePacing build()
Returns
Type Description
UnitUpdatePacing

buildPartial()

public UnitUpdatePacing buildPartial()
Returns
Type Description
UnitUpdatePacing

clear()

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

clearMaxConcurrentOperationsCount()

public UnitUpdatePacing.Builder clearMaxConcurrentOperationsCount()

Optional. An absolute cap on concurrent units operations. If both percent and count are provided, the system uses the MINIMUM (most restrictive).

optional int32 max_concurrent_operations_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UnitUpdatePacing.Builder

This builder for chaining.

clearMaxConcurrentOperationsPercent()

public UnitUpdatePacing.Builder clearMaxConcurrentOperationsPercent()

Optional. The maximum percentage of total units in the scope that can be in-flight. Example: 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most restrictive).

optional .google.type.Decimal max_concurrent_operations_percent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UnitUpdatePacing.Builder

getDefaultInstanceForType()

public UnitUpdatePacing getDefaultInstanceForType()
Returns
Type Description
UnitUpdatePacing

getDescriptorForType()

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

getMaxConcurrentOperationsCount()

public int getMaxConcurrentOperationsCount()

Optional. An absolute cap on concurrent units operations. If both percent and count are provided, the system uses the MINIMUM (most restrictive).

optional int32 max_concurrent_operations_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxConcurrentOperationsCount.

getMaxConcurrentOperationsPercent()

public Decimal getMaxConcurrentOperationsPercent()

Optional. The maximum percentage of total units in the scope that can be in-flight. Example: 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most restrictive).

optional .google.type.Decimal max_concurrent_operations_percent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Decimal

The maxConcurrentOperationsPercent.

getMaxConcurrentOperationsPercentBuilder()

public Decimal.Builder getMaxConcurrentOperationsPercentBuilder()

Optional. The maximum percentage of total units in the scope that can be in-flight. Example: 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most restrictive).

optional .google.type.Decimal max_concurrent_operations_percent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Decimal.Builder

getMaxConcurrentOperationsPercentOrBuilder()

public DecimalOrBuilder getMaxConcurrentOperationsPercentOrBuilder()

Optional. The maximum percentage of total units in the scope that can be in-flight. Example: 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most restrictive).

optional .google.type.Decimal max_concurrent_operations_percent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.DecimalOrBuilder

hasMaxConcurrentOperationsCount()

public boolean hasMaxConcurrentOperationsCount()

Optional. An absolute cap on concurrent units operations. If both percent and count are provided, the system uses the MINIMUM (most restrictive).

optional int32 max_concurrent_operations_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the maxConcurrentOperationsCount field is set.

hasMaxConcurrentOperationsPercent()

public boolean hasMaxConcurrentOperationsPercent()

Optional. The maximum percentage of total units in the scope that can be in-flight. Example: 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most restrictive).

optional .google.type.Decimal max_concurrent_operations_percent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the maxConcurrentOperationsPercent field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UnitUpdatePacing other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMaxConcurrentOperationsPercent(Decimal value)

public UnitUpdatePacing.Builder mergeMaxConcurrentOperationsPercent(Decimal value)

Optional. The maximum percentage of total units in the scope that can be in-flight. Example: 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most restrictive).

optional .google.type.Decimal max_concurrent_operations_percent = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.type.Decimal
Returns
Type Description
UnitUpdatePacing.Builder

setMaxConcurrentOperationsCount(int value)

public UnitUpdatePacing.Builder setMaxConcurrentOperationsCount(int value)

Optional. An absolute cap on concurrent units operations. If both percent and count are provided, the system uses the MINIMUM (most restrictive).

optional int32 max_concurrent_operations_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The maxConcurrentOperationsCount to set.

Returns
Type Description
UnitUpdatePacing.Builder

This builder for chaining.

setMaxConcurrentOperationsPercent(Decimal value)

public UnitUpdatePacing.Builder setMaxConcurrentOperationsPercent(Decimal value)

Optional. The maximum percentage of total units in the scope that can be in-flight. Example: 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most restrictive).

optional .google.type.Decimal max_concurrent_operations_percent = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.type.Decimal
Returns
Type Description
UnitUpdatePacing.Builder

setMaxConcurrentOperationsPercent(Decimal.Builder builderForValue)

public UnitUpdatePacing.Builder setMaxConcurrentOperationsPercent(Decimal.Builder builderForValue)

Optional. The maximum percentage of total units in the scope that can be in-flight. Example: 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most restrictive).

optional .google.type.Decimal max_concurrent_operations_percent = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue com.google.type.Decimal.Builder
Returns
Type Description
UnitUpdatePacing.Builder