Class AwsSourceVmDetails.AwsDiskDetails (0.14.1)

public static final class AwsSourceVmDetails.AwsDiskDetails extends GeneratedMessageV3 implements AwsSourceVmDetails.AwsDiskDetailsOrBuilder

The details of an AWS instance disk.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AwsSourceVmDetails.AwsDiskDetails

Static Fields

DISK_NUMBER_FIELD_NUMBER

public static final int DISK_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

SIZE_GB_FIELD_NUMBER

public static final int SIZE_GB_FIELD_NUMBER
Field Value
TypeDescription
int

VOLUME_ID_FIELD_NUMBER

public static final int VOLUME_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsSourceVmDetails.AwsDiskDetails getDefaultInstance()
Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails

getDescriptor()

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

newBuilder()

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

newBuilder(AwsSourceVmDetails.AwsDiskDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AwsSourceVmDetails.AwsDiskDetails getDefaultInstanceForType()
Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails

getDiskNumber()

public int getDiskNumber()

The ordinal number of the disk.

int32 disk_number = 1;

Returns
TypeDescription
int

The diskNumber.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSizeGb()

public long getSizeGb()

Size in GB.

int64 size_gb = 3;

Returns
TypeDescription
long

The sizeGb.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVolumeId()

public String getVolumeId()

AWS volume ID.

string volume_id = 2;

Returns
TypeDescription
String

The volumeId.

getVolumeIdBytes()

public ByteString getVolumeIdBytes()

AWS volume ID.

string volume_id = 2;

Returns
TypeDescription
ByteString

The bytes for volumeId.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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