Class GenericPlatformDetails.Builder (0.31.0)

public static final class GenericPlatformDetails.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public GenericPlatformDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenericPlatformDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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