Class GenericPlatformDetails.Builder (0.65.0)

public static final class GenericPlatformDetails.Builder extends GeneratedMessage.Builder<GenericPlatformDetails.Builder> implements GenericPlatformDetailsOrBuilder

Generic platform details.

Protobuf type google.cloud.migrationcenter.v1.GenericPlatformDetails

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GenericPlatformDetails build()
Returns
Type Description
GenericPlatformDetails

buildPartial()

public GenericPlatformDetails buildPartial()
Returns
Type Description
GenericPlatformDetails

clear()

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

clearLocation()

public GenericPlatformDetails.Builder clearLocation()

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

string location = 1;

Returns
Type Description
GenericPlatformDetails.Builder

This builder for chaining.

getDefaultInstanceForType()

public GenericPlatformDetails getDefaultInstanceForType()
Returns
Type Description
GenericPlatformDetails

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 VMs 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 VMs 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(GenericPlatformDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setLocation(String value)

public GenericPlatformDetails.Builder setLocation(String value)

Free text representation of the machine location. The format of this field should not be relied on. Different VMs 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
GenericPlatformDetails.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public GenericPlatformDetails.Builder setLocationBytes(ByteString value)

Free text representation of the machine location. The format of this field should not be relied on. Different VMs 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
GenericPlatformDetails.Builder

This builder for chaining.