public static final class Instance.MachineConfig extends GeneratedMessageV3 implements Instance.MachineConfigOrBuilder
MachineConfig describes the configuration of a machine.
Protobuf type google.cloud.alloydb.v1alpha.Instance.MachineConfig
Static Fields
CPU_COUNT_FIELD_NUMBER
public static final int CPU_COUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Instance.MachineConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Instance.MachineConfig.Builder newBuilder()
Returns
newBuilder(Instance.MachineConfig prototype)
public static Instance.MachineConfig.Builder newBuilder(Instance.MachineConfig prototype)
Parameter
Returns
public static Instance.MachineConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Instance.MachineConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Instance.MachineConfig parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.MachineConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Instance.MachineConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.MachineConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Instance.MachineConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Instance.MachineConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Instance.MachineConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Instance.MachineConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Instance.MachineConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance.MachineConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Instance.MachineConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCpuCount()
The number of CPU's in the VM instance.
int32 cpu_count = 1;
Returns
Type |
Description |
int |
The cpuCount.
|
getDefaultInstanceForType()
public Instance.MachineConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Instance.MachineConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Instance.MachineConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance.MachineConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Instance.MachineConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions