public final class MachineConfig extends GeneratedMessage implements MachineConfigOrBuilder
MachineConfig describes the configuration of a machine specific to a Database
Resource.
Protobuf type google.cloud.databasecenter.v1beta.MachineConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
BASELINE_SLOT_COUNT_FIELD_NUMBER
public static final int BASELINE_SLOT_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MAX_RESERVATION_SLOT_COUNT_FIELD_NUMBER
public static final int MAX_RESERVATION_SLOT_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MEMORY_SIZE_BYTES_FIELD_NUMBER
public static final int MEMORY_SIZE_BYTES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SHARD_COUNT_FIELD_NUMBER
public static final int SHARD_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VCPU_COUNT_FIELD_NUMBER
public static final int VCPU_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MachineConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MachineConfig.Builder newBuilder()
newBuilder(MachineConfig prototype)
public static MachineConfig.Builder newBuilder(MachineConfig prototype)
public static MachineConfig parseDelimitedFrom(InputStream input)
public static MachineConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MachineConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MachineConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MachineConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MachineConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MachineConfig parseFrom(CodedInputStream input)
public static MachineConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MachineConfig parseFrom(InputStream input)
public static MachineConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MachineConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MachineConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MachineConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBaselineSlotCount()
public long getBaselineSlotCount()
Optional. Baseline slots for BigQuery Reservations. Baseline slots are in
increments of 50.
optional int64 baseline_slot_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The baselineSlotCount.
|
getDefaultInstanceForType()
public MachineConfig getDefaultInstanceForType()
getMaxReservationSlotCount()
public long getMaxReservationSlotCount()
Optional. Max slots for BigQuery Reservations. Max slots are in increments
of 50.
optional int64 max_reservation_slot_count = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The maxReservationSlotCount.
|
getMemorySizeBytes()
public long getMemorySizeBytes()
Memory size in bytes.
int64 memory_size_bytes = 2;
| Returns |
| Type |
Description |
long |
The memorySizeBytes.
|
getParserForType()
public Parser<MachineConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getShardCount()
public int getShardCount()
Optional. The number of Shards (if applicable).
optional int32 shard_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The shardCount.
|
getVcpuCount()
public double getVcpuCount()
Optional. The number of vCPUs (if applicable).
optional double vcpu_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
double |
The vcpuCount.
|
hasBaselineSlotCount()
public boolean hasBaselineSlotCount()
Optional. Baseline slots for BigQuery Reservations. Baseline slots are in
increments of 50.
optional int64 baseline_slot_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the baselineSlotCount field is set.
|
hasMaxReservationSlotCount()
public boolean hasMaxReservationSlotCount()
Optional. Max slots for BigQuery Reservations. Max slots are in increments
of 50.
optional int64 max_reservation_slot_count = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the maxReservationSlotCount field is set.
|
hasShardCount()
public boolean hasShardCount()
Optional. The number of Shards (if applicable).
optional int32 shard_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the shardCount field is set.
|
hasVcpuCount()
public boolean hasVcpuCount()
Optional. The number of vCPUs (if applicable).
optional double vcpu_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the vcpuCount field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MachineConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected MachineConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public MachineConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides