public static final class Reservation.Autoscale extends GeneratedMessageV3 implements Reservation.AutoscaleOrBuilder
Auto scaling settings.
Protobuf type google.cloud.bigquery.reservation.v1.Reservation.Autoscale
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CURRENT_SLOTS_FIELD_NUMBER
public static final int CURRENT_SLOTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MAX_SLOTS_FIELD_NUMBER
public static final int MAX_SLOTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Reservation.Autoscale getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Reservation.Autoscale.Builder newBuilder()
newBuilder(Reservation.Autoscale prototype)
public static Reservation.Autoscale.Builder newBuilder(Reservation.Autoscale prototype)
public static Reservation.Autoscale parseDelimitedFrom(InputStream input)
public static Reservation.Autoscale parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Reservation.Autoscale parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Reservation.Autoscale parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Reservation.Autoscale parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Reservation.Autoscale parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Reservation.Autoscale parseFrom(CodedInputStream input)
public static Reservation.Autoscale parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Reservation.Autoscale parseFrom(InputStream input)
public static Reservation.Autoscale parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Reservation.Autoscale parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Reservation.Autoscale parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Reservation.Autoscale> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
getMaxSlots()
public long getMaxSlots()
Number of slots to be scaled when needed.
int64 max_slots = 2;
Returns |
---|
Type | Description |
long | The maxSlots.
|
getParserForType()
public Parser<Reservation.Autoscale> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Reservation.Autoscale.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Reservation.Autoscale.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Reservation.Autoscale.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides