Class RevisionScalingStatus.Builder (0.37.0)

public static final class RevisionScalingStatus.Builder extends GeneratedMessageV3.Builder<RevisionScalingStatus.Builder> implements RevisionScalingStatusOrBuilder

Effective settings for the current revision

Protobuf type google.cloud.run.v2.RevisionScalingStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RevisionScalingStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RevisionScalingStatus.Builder
Overrides

build()

public RevisionScalingStatus build()
Returns
TypeDescription
RevisionScalingStatus

buildPartial()

public RevisionScalingStatus buildPartial()
Returns
TypeDescription
RevisionScalingStatus

clear()

public RevisionScalingStatus.Builder clear()
Returns
TypeDescription
RevisionScalingStatus.Builder
Overrides

clearDesiredMinInstanceCount()

public RevisionScalingStatus.Builder clearDesiredMinInstanceCount()

The current number of min instances provisioned for this revision.

int32 desired_min_instance_count = 1;

Returns
TypeDescription
RevisionScalingStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RevisionScalingStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RevisionScalingStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RevisionScalingStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RevisionScalingStatus.Builder
Overrides

clone()

public RevisionScalingStatus.Builder clone()
Returns
TypeDescription
RevisionScalingStatus.Builder
Overrides

getDefaultInstanceForType()

public RevisionScalingStatus getDefaultInstanceForType()
Returns
TypeDescription
RevisionScalingStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDesiredMinInstanceCount()

public int getDesiredMinInstanceCount()

The current number of min instances provisioned for this revision.

int32 desired_min_instance_count = 1;

Returns
TypeDescription
int

The desiredMinInstanceCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RevisionScalingStatus other)

public RevisionScalingStatus.Builder mergeFrom(RevisionScalingStatus other)
Parameter
NameDescription
otherRevisionScalingStatus
Returns
TypeDescription
RevisionScalingStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RevisionScalingStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RevisionScalingStatus.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RevisionScalingStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RevisionScalingStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RevisionScalingStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RevisionScalingStatus.Builder
Overrides

setDesiredMinInstanceCount(int value)

public RevisionScalingStatus.Builder setDesiredMinInstanceCount(int value)

The current number of min instances provisioned for this revision.

int32 desired_min_instance_count = 1;

Parameter
NameDescription
valueint

The desiredMinInstanceCount to set.

Returns
TypeDescription
RevisionScalingStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RevisionScalingStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RevisionScalingStatus.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RevisionScalingStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RevisionScalingStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RevisionScalingStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RevisionScalingStatus.Builder
Overrides