Class WorkerPoolScaling (0.72.0)

public final class WorkerPoolScaling extends GeneratedMessageV3 implements WorkerPoolScalingOrBuilder

Worker pool scaling settings.

Protobuf type google.cloud.run.v2.WorkerPoolScaling

Static Fields

MANUAL_INSTANCE_COUNT_FIELD_NUMBER

public static final int MANUAL_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WorkerPoolScaling getDefaultInstance()
Returns
Type Description
WorkerPoolScaling

getDescriptor()

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

newBuilder()

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

newBuilder(WorkerPoolScaling prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public WorkerPoolScaling getDefaultInstanceForType()
Returns
Type Description
WorkerPoolScaling

getManualInstanceCount()

public int getManualInstanceCount()

Optional. The total number of instances in manual scaling mode.

optional int32 manual_instance_count = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The manualInstanceCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasManualInstanceCount()

public boolean hasManualInstanceCount()

Optional. The total number of instances in manual scaling mode.

optional int32 manual_instance_count = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the manualInstanceCount field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkerPoolScaling.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WorkerPoolScaling.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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