Class AlloyDbSettings.PrimaryInstanceSettings.MachineConfig (2.28.0)

public static final class AlloyDbSettings.PrimaryInstanceSettings.MachineConfig extends GeneratedMessageV3 implements AlloyDbSettings.PrimaryInstanceSettings.MachineConfigOrBuilder

MachineConfig describes the configuration of a machine.

Protobuf type google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AlloyDbSettings.PrimaryInstanceSettings.MachineConfig

Static Fields

CPU_COUNT_FIELD_NUMBER

public static final int CPU_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig getDefaultInstance()
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder newBuilder()
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder

newBuilder(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig prototype)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder newBuilder(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig prototype)
Parameter
NameDescription
prototypeAlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder

parseDelimitedFrom(InputStream input)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings.PrimaryInstanceSettings.MachineConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AlloyDbSettings.PrimaryInstanceSettings.MachineConfig> parser()
Returns
TypeDescription
Parser<MachineConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCpuCount()

public int getCpuCount()

The number of CPU's in the VM instance.

int32 cpu_count = 1;

Returns
TypeDescription
int

The cpuCount.

getDefaultInstanceForType()

public AlloyDbSettings.PrimaryInstanceSettings.MachineConfig getDefaultInstanceForType()
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig

getParserForType()

public Parser<AlloyDbSettings.PrimaryInstanceSettings.MachineConfig> getParserForType()
Returns
TypeDescription
Parser<MachineConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder newBuilderForType()
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder toBuilder()
Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException