Class AwsEc2PlatformDetails.Builder (0.28.0)

public static final class AwsEc2PlatformDetails.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsEc2PlatformDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsEc2PlatformDetails.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public AwsEc2PlatformDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsEc2PlatformDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AwsEc2PlatformDetails.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsEc2PlatformDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsEc2PlatformDetails.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AwsEc2PlatformDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AwsEc2PlatformDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsEc2PlatformDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsEc2PlatformDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsEc2PlatformDetails.Builder
Overrides