Class RevisionScalingStatus (0.45.0)

public final class RevisionScalingStatus extends GeneratedMessageV3 implements RevisionScalingStatusOrBuilder

Effective settings for the current revision

Protobuf type google.cloud.run.v2.RevisionScalingStatus

Static Fields

DESIRED_MIN_INSTANCE_COUNT_FIELD_NUMBER

public static final int DESIRED_MIN_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RevisionScalingStatus getDefaultInstance()
Returns
Type Description
RevisionScalingStatus

getDescriptor()

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

newBuilder()

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

newBuilder(RevisionScalingStatus prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RevisionScalingStatus getDefaultInstanceForType()
Returns
Type Description
RevisionScalingStatus

getDesiredMinInstanceCount()

public int getDesiredMinInstanceCount()

The current number of min instances provisioned for this revision.

int32 desired_min_instance_count = 1;

Returns
Type Description
int

The desiredMinInstanceCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 RevisionScalingStatus.Builder newBuilderForType()
Returns
Type Description
RevisionScalingStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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