Class RevisionScalingStatus.Builder (0.44.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RevisionScalingStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RevisionScalingStatus.Builder
Overrides

build()

public RevisionScalingStatus build()
Returns
Type Description
RevisionScalingStatus

buildPartial()

public RevisionScalingStatus buildPartial()
Returns
Type Description
RevisionScalingStatus

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RevisionScalingStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RevisionScalingStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RevisionScalingStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RevisionScalingStatus.Builder
Overrides

clone()

public RevisionScalingStatus.Builder clone()
Returns
Type Description
RevisionScalingStatus.Builder
Overrides

getDefaultInstanceForType()

public RevisionScalingStatus getDefaultInstanceForType()
Returns
Type Description
RevisionScalingStatus

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RevisionScalingStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RevisionScalingStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value int

The desiredMinInstanceCount to set.

Returns
Type Description
RevisionScalingStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RevisionScalingStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RevisionScalingStatus.Builder
Overrides

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

public RevisionScalingStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RevisionScalingStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RevisionScalingStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RevisionScalingStatus.Builder
Overrides