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.AwsDiskDetailsImplements
AwsSourceVmDetails.AwsDiskDetailsOrBuilderStatic Fields
DISK_NUMBER_FIELD_NUMBER
public static final int DISK_NUMBER_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SIZE_GB_FIELD_NUMBER
public static final int SIZE_GB_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
VOLUME_ID_FIELD_NUMBER
public static final int VOLUME_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AwsSourceVmDetails.AwsDiskDetails getDefaultInstance()
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static AwsSourceVmDetails.AwsDiskDetails.Builder newBuilder()
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails.Builder |
newBuilder(AwsSourceVmDetails.AwsDiskDetails prototype)
public static AwsSourceVmDetails.AwsDiskDetails.Builder newBuilder(AwsSourceVmDetails.AwsDiskDetails prototype)
Parameter | |
---|---|
Name | Description |
prototype | AwsSourceVmDetails.AwsDiskDetails |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails.Builder |
parseDelimitedFrom(InputStream input)
public static AwsSourceVmDetails.AwsDiskDetails parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AwsSourceVmDetails.AwsDiskDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static AwsSourceVmDetails.AwsDiskDetails parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceVmDetails.AwsDiskDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AwsSourceVmDetails.AwsDiskDetails parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceVmDetails.AwsDiskDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AwsSourceVmDetails.AwsDiskDetails parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AwsSourceVmDetails.AwsDiskDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static AwsSourceVmDetails.AwsDiskDetails parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AwsSourceVmDetails.AwsDiskDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AwsSourceVmDetails.AwsDiskDetails parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceVmDetails.AwsDiskDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AwsSourceVmDetails.AwsDiskDetails> parser()
Returns | |
---|---|
Type | Description |
Parser<AwsDiskDetails> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public AwsSourceVmDetails.AwsDiskDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
getDiskNumber()
public int getDiskNumber()
The ordinal number of the disk.
int32 disk_number = 1;
Returns | |
---|---|
Type | Description |
int | The diskNumber. |
getParserForType()
public Parser<AwsSourceVmDetails.AwsDiskDetails> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<AwsDiskDetails> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getSizeGb()
public long getSizeGb()
Size in GB.
int64 size_gb = 3;
Returns | |
---|---|
Type | Description |
long | The sizeGb. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
getVolumeId()
public String getVolumeId()
AWS volume ID.
string volume_id = 2;
Returns | |
---|---|
Type | Description |
String | The volumeId. |
getVolumeIdBytes()
public ByteString getVolumeIdBytes()
AWS volume ID.
string volume_id = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for volumeId. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public AwsSourceVmDetails.AwsDiskDetails.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsSourceVmDetails.AwsDiskDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public AwsSourceVmDetails.AwsDiskDetails.Builder toBuilder()
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |