Class PhysicalPlatformDetails.Builder (0.5.0)

public static final class PhysicalPlatformDetails.Builder extends GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder> implements PhysicalPlatformDetailsOrBuilder

Platform specific details for Physical Machines.

Protobuf type google.cloud.migrationcenter.v1.PhysicalPlatformDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PhysicalPlatformDetails build()
Returns
TypeDescription
PhysicalPlatformDetails

buildPartial()

public PhysicalPlatformDetails buildPartial()
Returns
TypeDescription
PhysicalPlatformDetails

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLocation()

public PhysicalPlatformDetails.Builder clearLocation()

Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.

string location = 1;

Returns
TypeDescription
PhysicalPlatformDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PhysicalPlatformDetails getDefaultInstanceForType()
Returns
TypeDescription
PhysicalPlatformDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLocation()

public String getLocation()

Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.

string location = 1;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.

string location = 1;

Returns
TypeDescription
ByteString

The bytes for location.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PhysicalPlatformDetails other)

public PhysicalPlatformDetails.Builder mergeFrom(PhysicalPlatformDetails other)
Parameter
NameDescription
otherPhysicalPlatformDetails
Returns
TypeDescription
PhysicalPlatformDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocation(String value)

public PhysicalPlatformDetails.Builder setLocation(String value)

Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.

string location = 1;

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
PhysicalPlatformDetails.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public PhysicalPlatformDetails.Builder setLocationBytes(ByteString value)

Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.

string location = 1;

Parameter
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
PhysicalPlatformDetails.Builder

This builder for chaining.

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

public PhysicalPlatformDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PhysicalPlatformDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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