Class VmCreationConfig (2.2.1)

public final class VmCreationConfig extends GeneratedMessageV3 implements VmCreationConfigOrBuilder

VM creation configuration message

Protobuf type google.cloud.clouddms.v1.VmCreationConfig

Static Fields

SUBNET_FIELD_NUMBER

public static final int SUBNET_FIELD_NUMBER
Field Value
TypeDescription
int

VM_MACHINE_TYPE_FIELD_NUMBER

public static final int VM_MACHINE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

VM_ZONE_FIELD_NUMBER

public static final int VM_ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VmCreationConfig getDefaultInstance()
Returns
TypeDescription
VmCreationConfig

getDescriptor()

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

newBuilder()

public static VmCreationConfig.Builder newBuilder()
Returns
TypeDescription
VmCreationConfig.Builder

newBuilder(VmCreationConfig prototype)

public static VmCreationConfig.Builder newBuilder(VmCreationConfig prototype)
Parameter
NameDescription
prototypeVmCreationConfig
Returns
TypeDescription
VmCreationConfig.Builder

parseDelimitedFrom(InputStream input)

public static VmCreationConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VmCreationConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmCreationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmCreationConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VmCreationConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VmCreationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static VmCreationConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VmCreationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VmCreationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmCreationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VmCreationConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VmCreationConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VmCreationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmCreationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VmCreationConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VmCreationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmCreationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmCreationConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VmCreationConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VmCreationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VmCreationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmCreationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VmCreationConfig> parser()
Returns
TypeDescription
Parser<VmCreationConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VmCreationConfig getDefaultInstanceForType()
Returns
TypeDescription
VmCreationConfig

getParserForType()

public Parser<VmCreationConfig> getParserForType()
Returns
TypeDescription
Parser<VmCreationConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubnet()

public String getSubnet()

The subnet name the vm needs to be created in.

string subnet = 3;

Returns
TypeDescription
String

The subnet.

getSubnetBytes()

public ByteString getSubnetBytes()

The subnet name the vm needs to be created in.

string subnet = 3;

Returns
TypeDescription
ByteString

The bytes for subnet.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVmMachineType()

public String getVmMachineType()

Required. VM instance machine type to create.

string vm_machine_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The vmMachineType.

getVmMachineTypeBytes()

public ByteString getVmMachineTypeBytes()

Required. VM instance machine type to create.

string vm_machine_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for vmMachineType.

getVmZone()

public String getVmZone()

The Google Cloud Platform zone to create the VM in.

string vm_zone = 2;

Returns
TypeDescription
String

The vmZone.

getVmZoneBytes()

public ByteString getVmZoneBytes()

The Google Cloud Platform zone to create the VM in.

string vm_zone = 2;

Returns
TypeDescription
ByteString

The bytes for vmZone.

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 VmCreationConfig.Builder newBuilderForType()
Returns
TypeDescription
VmCreationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VmCreationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VmCreationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public VmCreationConfig.Builder toBuilder()
Returns
TypeDescription
VmCreationConfig.Builder

writeTo(CodedOutputStream output)

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