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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RevisionScalingStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RevisionScalingStatus build()
buildPartial()
public RevisionScalingStatus buildPartial()
clear()
public RevisionScalingStatus.Builder clear()
Overrides
clearDesiredMinInstanceCount()
public RevisionScalingStatus.Builder clearDesiredMinInstanceCount()
The current number of min instances provisioned for this revision.
int32 desired_min_instance_count = 1;
clearField(Descriptors.FieldDescriptor field)
public RevisionScalingStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RevisionScalingStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public RevisionScalingStatus.Builder clone()
Overrides
getDefaultInstanceForType()
public RevisionScalingStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RevisionScalingStatus other)
public RevisionScalingStatus.Builder mergeFrom(RevisionScalingStatus other)
public RevisionScalingStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RevisionScalingStatus.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RevisionScalingStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public RevisionScalingStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RevisionScalingStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RevisionScalingStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides