Class AwsEc2PlatformDetails (0.35.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
Type Description
int

MACHINE_TYPE_LABEL_FIELD_NUMBER

public static final int MACHINE_TYPE_LABEL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AwsEc2PlatformDetails getDefaultInstance()
Returns
Type Description
AwsEc2PlatformDetails

getDescriptor()

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

newBuilder()

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

newBuilder(AwsEc2PlatformDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AwsEc2PlatformDetails getDefaultInstanceForType()
Returns
Type Description
AwsEc2PlatformDetails

getLocation()

public String getLocation()

The location of the machine in the AWS format.

string location = 2;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The location of the machine in the AWS format.

string location = 2;

Returns
Type Description
ByteString

The bytes for location.

getMachineTypeLabel()

public String getMachineTypeLabel()

AWS platform's machine type label.

string machine_type_label = 1;

Returns
Type Description
String

The machineTypeLabel.

getMachineTypeLabelBytes()

public ByteString getMachineTypeLabelBytes()

AWS platform's machine type label.

string machine_type_label = 1;

Returns
Type Description
ByteString

The bytes for machineTypeLabel.

getParserForType()

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

getSerializedSize()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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