Class UnitUpdatePacing (0.33.0)

public final class UnitUpdatePacing extends GeneratedMessage 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 Fields

MAX_CONCURRENT_OPERATIONS_COUNT_FIELD_NUMBER

public static final int MAX_CONCURRENT_OPERATIONS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

MAX_CONCURRENT_OPERATIONS_PERCENT_FIELD_NUMBER

public static final int MAX_CONCURRENT_OPERATIONS_PERCENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UnitUpdatePacing getDefaultInstance()
Returns
Type Description
UnitUpdatePacing

getDescriptor()

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

newBuilder()

public static UnitUpdatePacing.Builder newBuilder()
Returns
Type Description
UnitUpdatePacing.Builder

newBuilder(UnitUpdatePacing prototype)

public static UnitUpdatePacing.Builder newBuilder(UnitUpdatePacing prototype)
Parameter
Name Description
prototype UnitUpdatePacing
Returns
Type Description
UnitUpdatePacing.Builder

parseDelimitedFrom(InputStream input)

public static UnitUpdatePacing parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UnitUpdatePacing
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UnitUpdatePacing parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnitUpdatePacing
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UnitUpdatePacing parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UnitUpdatePacing
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UnitUpdatePacing parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnitUpdatePacing
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UnitUpdatePacing parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UnitUpdatePacing
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UnitUpdatePacing parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnitUpdatePacing
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UnitUpdatePacing parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UnitUpdatePacing
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UnitUpdatePacing parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnitUpdatePacing
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UnitUpdatePacing parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UnitUpdatePacing
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UnitUpdatePacing parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnitUpdatePacing
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UnitUpdatePacing parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UnitUpdatePacing
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UnitUpdatePacing parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnitUpdatePacing
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UnitUpdatePacing> parser()
Returns
Type Description
Parser<UnitUpdatePacing>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UnitUpdatePacing getDefaultInstanceForType()
Returns
Type Description
UnitUpdatePacing

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.

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

getParserForType()

public Parser<UnitUpdatePacing> getParserForType()
Returns
Type Description
Parser<UnitUpdatePacing>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UnitUpdatePacing.Builder newBuilderForType()
Returns
Type Description
UnitUpdatePacing.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UnitUpdatePacing.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UnitUpdatePacing.Builder
Overrides

toBuilder()

public UnitUpdatePacing.Builder toBuilder()
Returns
Type Description
UnitUpdatePacing.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException