Class PhysicalPlatformDetails.Builder (0.65.0)

public static final class PhysicalPlatformDetails.Builder extends GeneratedMessage.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

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

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.

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

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.