Class AwsEc2PlatformDetails (0.19.0)

public final class AwsEc2PlatformDetails extends GeneratedMessageV3 implements AwsEc2PlatformDetailsOrBuilder

AWS EC2 specific details.

Protobuf type google.cloud.migrationcenter.v1.AwsEc2PlatformDetails

Static Fields

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

MACHINE_TYPE_LABEL_FIELD_NUMBER

public static final int MACHINE_TYPE_LABEL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsEc2PlatformDetails getDefaultInstance()
Returns
TypeDescription
AwsEc2PlatformDetails

getDescriptor()

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

newBuilder()

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

newBuilder(AwsEc2PlatformDetails prototype)

public static AwsEc2PlatformDetails.Builder newBuilder(AwsEc2PlatformDetails prototype)
Parameter
NameDescription
prototypeAwsEc2PlatformDetails
Returns
TypeDescription
AwsEc2PlatformDetails.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AwsEc2PlatformDetails getDefaultInstanceForType()
Returns
TypeDescription
AwsEc2PlatformDetails

getLocation()

public String getLocation()

The location of the machine in the AWS format.

string location = 2;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The location of the machine in the AWS format.

string location = 2;

Returns
TypeDescription
ByteString

The bytes for location.

getMachineTypeLabel()

public String getMachineTypeLabel()

AWS platform's machine type label.

string machine_type_label = 1;

Returns
TypeDescription
String

The machineTypeLabel.

getMachineTypeLabelBytes()

public ByteString getMachineTypeLabelBytes()

AWS platform's machine type label.

string machine_type_label = 1;

Returns
TypeDescription
ByteString

The bytes for machineTypeLabel.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 AwsEc2PlatformDetails.Builder newBuilderForType()
Returns
TypeDescription
AwsEc2PlatformDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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