Class MapTypeOptions.Builder (0.49.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MapTypeOptions build()
Returns
Type Description
MapTypeOptions

buildPartial()

public MapTypeOptions buildPartial()
Returns
Type Description
MapTypeOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

public MapTypeOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MapTypeOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MapTypeOptions getDefaultInstanceForType()
Returns
Type Description
MapTypeOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MapTypeOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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