public static final class Reservation.Autoscale.Builder extends GeneratedMessageV3.Builder<Reservation.Autoscale.Builder> implements Reservation.AutoscaleOrBuilder
Auto scaling settings.
Protobuf type google.cloud.bigquery.reservation.v1.Reservation.Autoscale
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 Reservation.Autoscale.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Reservation.Autoscale build()
buildPartial()
public Reservation.Autoscale buildPartial()
clear()
public Reservation.Autoscale.Builder clear()
Overrides
clearCurrentSlots()
public Reservation.Autoscale.Builder clearCurrentSlots()
Output only. The slot capacity added to this reservation when autoscale
happens. Will be between [0, max_slots].
int64 current_slots = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public Reservation.Autoscale.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMaxSlots()
public Reservation.Autoscale.Builder clearMaxSlots()
Number of slots to be scaled when needed.
int64 max_slots = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Reservation.Autoscale.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Reservation.Autoscale.Builder clone()
Overrides
getCurrentSlots()
public long getCurrentSlots()
Output only. The slot capacity added to this reservation when autoscale
happens. Will be between [0, max_slots].
int64 current_slots = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
long |
The currentSlots.
|
getDefaultInstanceForType()
public Reservation.Autoscale getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMaxSlots()
public long getMaxSlots()
Number of slots to be scaled when needed.
int64 max_slots = 2;
Returns |
Type |
Description |
long |
The maxSlots.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Reservation.Autoscale other)
public Reservation.Autoscale.Builder mergeFrom(Reservation.Autoscale other)
public Reservation.Autoscale.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Reservation.Autoscale.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Reservation.Autoscale.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCurrentSlots(long value)
public Reservation.Autoscale.Builder setCurrentSlots(long value)
Output only. The slot capacity added to this reservation when autoscale
happens. Will be between [0, max_slots].
int64 current_slots = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
long
The currentSlots to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Reservation.Autoscale.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMaxSlots(long value)
public Reservation.Autoscale.Builder setMaxSlots(long value)
Number of slots to be scaled when needed.
int64 max_slots = 2;
Parameter |
Name |
Description |
value |
long
The maxSlots to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Reservation.Autoscale.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Reservation.Autoscale.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides