Class AwsSourceVmDetails (0.16.0)

public final class AwsSourceVmDetails extends GeneratedMessageV3 implements AwsSourceVmDetailsOrBuilder

Represent the source AWS VM details.

Protobuf type google.events.cloud.vmmigration.v1.AwsSourceVmDetails

Static Fields

COMMITTED_STORAGE_BYTES_FIELD_NUMBER

public static final int COMMITTED_STORAGE_BYTES_FIELD_NUMBER
Field Value
Type Description
int

DISKS_FIELD_NUMBER

public static final int DISKS_FIELD_NUMBER
Field Value
Type Description
int

FIRMWARE_FIELD_NUMBER

public static final int FIRMWARE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AwsSourceVmDetails getDefaultInstance()
Returns
Type Description
AwsSourceVmDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AwsSourceVmDetails.Builder newBuilder()
Returns
Type Description
AwsSourceVmDetails.Builder

newBuilder(AwsSourceVmDetails prototype)

public static AwsSourceVmDetails.Builder newBuilder(AwsSourceVmDetails prototype)
Parameter
Name Description
prototype AwsSourceVmDetails
Returns
Type Description
AwsSourceVmDetails.Builder

parseDelimitedFrom(InputStream input)

public static AwsSourceVmDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AwsSourceVmDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsSourceVmDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsSourceVmDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AwsSourceVmDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AwsSourceVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AwsSourceVmDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsSourceVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AwsSourceVmDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AwsSourceVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AwsSourceVmDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsSourceVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AwsSourceVmDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AwsSourceVmDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsSourceVmDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsSourceVmDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AwsSourceVmDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AwsSourceVmDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsSourceVmDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsSourceVmDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AwsSourceVmDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AwsSourceVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AwsSourceVmDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsSourceVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AwsSourceVmDetails> parser()
Returns
Type Description
Parser<AwsSourceVmDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCommittedStorageBytes()

public long getCommittedStorageBytes()

The total size of the disks being migrated in bytes.

int64 committed_storage_bytes = 2;

Returns
Type Description
long

The committedStorageBytes.

getDefaultInstanceForType()

public AwsSourceVmDetails getDefaultInstanceForType()
Returns
Type Description
AwsSourceVmDetails

getDisks(int index)

public AwsSourceVmDetails.AwsDiskDetails getDisks(int index)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameter
Name Description
index int
Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails

getDisksCount()

public int getDisksCount()

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Returns
Type Description
int

getDisksList()

public List<AwsSourceVmDetails.AwsDiskDetails> getDisksList()

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Returns
Type Description
List<AwsDiskDetails>

getDisksOrBuilder(int index)

public AwsSourceVmDetails.AwsDiskDetailsOrBuilder getDisksOrBuilder(int index)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameter
Name Description
index int
Returns
Type Description
AwsSourceVmDetails.AwsDiskDetailsOrBuilder

getDisksOrBuilderList()

public List<? extends AwsSourceVmDetails.AwsDiskDetailsOrBuilder> getDisksOrBuilderList()

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Returns
Type Description
List<? extends com.google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetailsOrBuilder>

getFirmware()

public AwsSourceVmDetails.Firmware getFirmware()

The firmware type of the source VM.

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

Returns
Type Description
AwsSourceVmDetails.Firmware

The firmware.

getFirmwareValue()

public int getFirmwareValue()

The firmware type of the source VM.

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

Returns
Type Description
int

The enum numeric value on the wire for firmware.

getParserForType()

public Parser<AwsSourceVmDetails> getParserForType()
Returns
Type Description
Parser<AwsSourceVmDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AwsSourceVmDetails.Builder newBuilderForType()
Returns
Type Description
AwsSourceVmDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AwsSourceVmDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AwsSourceVmDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AwsSourceVmDetails.Builder toBuilder()
Returns
Type Description
AwsSourceVmDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException