Class AwsSourceVmDetails (1.16.0)

public final class AwsSourceVmDetails extends GeneratedMessageV3 implements AwsSourceVmDetailsOrBuilder

Represent the source AWS VM details.

Protobuf type google.cloud.vmmigration.v1.AwsSourceVmDetails

Static Fields

COMMITTED_STORAGE_BYTES_FIELD_NUMBER

public static final int COMMITTED_STORAGE_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

FIRMWARE_FIELD_NUMBER

public static final int FIRMWARE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsSourceVmDetails getDefaultInstance()
Returns
TypeDescription
AwsSourceVmDetails

getDescriptor()

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

newBuilder()

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

newBuilder(AwsSourceVmDetails prototype)

public static AwsSourceVmDetails.Builder newBuilder(AwsSourceVmDetails prototype)
Parameter
NameDescription
prototypeAwsSourceVmDetails
Returns
TypeDescription
AwsSourceVmDetails.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCommittedStorageBytes()

public long getCommittedStorageBytes()

The total size of the disks being migrated in bytes.

int64 committed_storage_bytes = 2;

Returns
TypeDescription
long

The committedStorageBytes.

getDefaultInstanceForType()

public AwsSourceVmDetails getDefaultInstanceForType()
Returns
TypeDescription
AwsSourceVmDetails

getFirmware()

public AwsSourceVmDetails.Firmware getFirmware()

The firmware type of the source VM.

.google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1;

Returns
TypeDescription
AwsSourceVmDetails.Firmware

The firmware.

getFirmwareValue()

public int getFirmwareValue()

The firmware type of the source VM.

.google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for firmware.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 AwsSourceVmDetails.Builder newBuilderForType()
Returns
TypeDescription
AwsSourceVmDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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