Class AwsEc2PlatformDetails.Builder (0.65.0)

public static final class AwsEc2PlatformDetails.Builder extends GeneratedMessage.Builder<AwsEc2PlatformDetails.Builder> implements AwsEc2PlatformDetailsOrBuilder

AWS EC2 specific details.

Protobuf type google.cloud.migrationcenter.v1.AwsEc2PlatformDetails

Static Methods

getDescriptor()

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

Methods

build()

public AwsEc2PlatformDetails build()
Returns
Type Description
AwsEc2PlatformDetails

buildPartial()

public AwsEc2PlatformDetails buildPartial()
Returns
Type Description
AwsEc2PlatformDetails

clear()

public AwsEc2PlatformDetails.Builder clear()
Returns
Type Description
AwsEc2PlatformDetails.Builder
Overrides

clearLocation()

public AwsEc2PlatformDetails.Builder clearLocation()

The location of the machine in the AWS format.

string location = 2;

Returns
Type Description
AwsEc2PlatformDetails.Builder

This builder for chaining.

clearMachineTypeLabel()

public AwsEc2PlatformDetails.Builder clearMachineTypeLabel()

AWS platform's machine type label.

string machine_type_label = 1;

Returns
Type Description
AwsEc2PlatformDetails.Builder

This builder for chaining.

getDefaultInstanceForType()

public AwsEc2PlatformDetails getDefaultInstanceForType()
Returns
Type Description
AwsEc2PlatformDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsEc2PlatformDetails other)

public AwsEc2PlatformDetails.Builder mergeFrom(AwsEc2PlatformDetails other)
Parameter
Name Description
other AwsEc2PlatformDetails
Returns
Type Description
AwsEc2PlatformDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsEc2PlatformDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsEc2PlatformDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AwsEc2PlatformDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AwsEc2PlatformDetails.Builder
Overrides

setLocation(String value)

public AwsEc2PlatformDetails.Builder setLocation(String value)

The location of the machine in the AWS format.

string location = 2;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
AwsEc2PlatformDetails.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public AwsEc2PlatformDetails.Builder setLocationBytes(ByteString value)

The location of the machine in the AWS format.

string location = 2;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
AwsEc2PlatformDetails.Builder

This builder for chaining.

setMachineTypeLabel(String value)

public AwsEc2PlatformDetails.Builder setMachineTypeLabel(String value)

AWS platform's machine type label.

string machine_type_label = 1;

Parameter
Name Description
value String

The machineTypeLabel to set.

Returns
Type Description
AwsEc2PlatformDetails.Builder

This builder for chaining.

setMachineTypeLabelBytes(ByteString value)

public AwsEc2PlatformDetails.Builder setMachineTypeLabelBytes(ByteString value)

AWS platform's machine type label.

string machine_type_label = 1;

Parameter
Name Description
value ByteString

The bytes for machineTypeLabel to set.

Returns
Type Description
AwsEc2PlatformDetails.Builder

This builder for chaining.