Class MapTypeOptions.Builder (0.32.0)

public static final class MapTypeOptions.Builder extends GeneratedMessageV3.Builder<MapTypeOptions.Builder> implements MapTypeOptionsOrBuilder

Configurations for a Map property.

Protobuf type google.cloud.contentwarehouse.v1.MapTypeOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MapTypeOptions build()
Returns
TypeDescription
MapTypeOptions

buildPartial()

public MapTypeOptions buildPartial()
Returns
TypeDescription
MapTypeOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

public MapTypeOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MapTypeOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MapTypeOptions getDefaultInstanceForType()
Returns
TypeDescription
MapTypeOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MapTypeOptions other)

public MapTypeOptions.Builder mergeFrom(MapTypeOptions other)
Parameter
NameDescription
otherMapTypeOptions
Returns
TypeDescription
MapTypeOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public MapTypeOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MapTypeOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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