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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Instance.MachineConfigImplements
Instance.MachineConfigOrBuilderStatic Fields
CPU_COUNT_FIELD_NUMBER
public static final int CPU_COUNT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Instance.MachineConfig getDefaultInstance()
Type | Description |
Instance.MachineConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Instance.MachineConfig.Builder newBuilder()
Type | Description |
Instance.MachineConfig.Builder |
newBuilder(Instance.MachineConfig prototype)
public static Instance.MachineConfig.Builder newBuilder(Instance.MachineConfig prototype)
Name | Description |
prototype |
Instance.MachineConfig |
Type | Description |
Instance.MachineConfig.Builder |
parseDelimitedFrom(InputStream input)
public static Instance.MachineConfig parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
Instance.MachineConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.MachineConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.MachineConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Instance.MachineConfig parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
Instance.MachineConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.MachineConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.MachineConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Instance.MachineConfig parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
Instance.MachineConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.MachineConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.MachineConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Instance.MachineConfig parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
Instance.MachineConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.MachineConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.MachineConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Instance.MachineConfig parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
Instance.MachineConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.MachineConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.MachineConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Instance.MachineConfig parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
Instance.MachineConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance.MachineConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.MachineConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Instance.MachineConfig> parser()
Type | Description |
Parser<MachineConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getCpuCount()
public int getCpuCount()
The number of CPU's in the VM instance.
int32 cpu_count = 1;
Type | Description |
int |
The cpuCount. |
getDefaultInstanceForType()
public Instance.MachineConfig getDefaultInstanceForType()
Type | Description |
Instance.MachineConfig |
getParserForType()
public Parser<Instance.MachineConfig> getParserForType()
Type | Description |
Parser<MachineConfig> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Instance.MachineConfig.Builder newBuilderForType()
Type | Description |
Instance.MachineConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance.MachineConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
Instance.MachineConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Instance.MachineConfig.Builder toBuilder()
Type | Description |
Instance.MachineConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |