Class AwsEc2PlatformDetails.Builder (0.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsEc2PlatformDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsEc2PlatformDetails.Builder
Overrides

build()

public AwsEc2PlatformDetails build()
Returns
TypeDescription
AwsEc2PlatformDetails

buildPartial()

public AwsEc2PlatformDetails buildPartial()
Returns
TypeDescription
AwsEc2PlatformDetails

clear()

public AwsEc2PlatformDetails.Builder clear()
Returns
TypeDescription
AwsEc2PlatformDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AwsEc2PlatformDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AwsEc2PlatformDetails.Builder
Overrides

clearLocation()

public AwsEc2PlatformDetails.Builder clearLocation()

The location of the machine in the AWS format.

string location = 2;

Returns
TypeDescription
AwsEc2PlatformDetails.Builder

This builder for chaining.

clearMachineTypeLabel()

public AwsEc2PlatformDetails.Builder clearMachineTypeLabel()

AWS platform's machine type label.

string machine_type_label = 1;

Returns
TypeDescription
AwsEc2PlatformDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsEc2PlatformDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AwsEc2PlatformDetails.Builder
Overrides

clone()

public AwsEc2PlatformDetails.Builder clone()
Returns
TypeDescription
AwsEc2PlatformDetails.Builder
Overrides

getDefaultInstanceForType()

public AwsEc2PlatformDetails getDefaultInstanceForType()
Returns
TypeDescription
AwsEc2PlatformDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AwsEc2PlatformDetails other)

public AwsEc2PlatformDetails.Builder mergeFrom(AwsEc2PlatformDetails other)
Parameter
NameDescription
otherAwsEc2PlatformDetails
Returns
TypeDescription
AwsEc2PlatformDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsEc2PlatformDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsEc2PlatformDetails.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AwsEc2PlatformDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AwsEc2PlatformDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsEc2PlatformDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsEc2PlatformDetails.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AwsEc2PlatformDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The location to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
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
NameDescription
valueString

The machineTypeLabel to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for machineTypeLabel to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AwsEc2PlatformDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsEc2PlatformDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsEc2PlatformDetails.Builder
Overrides