Class GenericPlatformDetails.Builder (0.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenericPlatformDetails build()
Returns
TypeDescription
GenericPlatformDetails

buildPartial()

public GenericPlatformDetails buildPartial()
Returns
TypeDescription
GenericPlatformDetails

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GenericPlatformDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GenericPlatformDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GenericPlatformDetails getDefaultInstanceForType()
Returns
TypeDescription
GenericPlatformDetails

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

public GenericPlatformDetails.Builder mergeFrom(GenericPlatformDetails other)
Parameter
NameDescription
otherGenericPlatformDetails
Returns
TypeDescription
GenericPlatformDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GenericPlatformDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The location to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GenericPlatformDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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