Class PhysicalPlatformDetails.Builder (0.35.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PhysicalPlatformDetails build()
Returns
Type Description
PhysicalPlatformDetails

buildPartial()

public PhysicalPlatformDetails buildPartial()
Returns
Type Description
PhysicalPlatformDetails

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PhysicalPlatformDetails getDefaultInstanceForType()
Returns
Type Description
PhysicalPlatformDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for location.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PhysicalPlatformDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The location to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PhysicalPlatformDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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