Class TextTypeOptions.Builder (0.51.0)

public static final class TextTypeOptions.Builder extends GeneratedMessageV3.Builder<TextTypeOptions.Builder> implements TextTypeOptionsOrBuilder

Configurations for a text property.

Protobuf type google.cloud.contentwarehouse.v1.TextTypeOptions

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TextTypeOptions build()
Returns
Type Description
TextTypeOptions

buildPartial()

public TextTypeOptions buildPartial()
Returns
Type Description
TextTypeOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TextTypeOptions getDefaultInstanceForType()
Returns
Type Description
TextTypeOptions

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(TextTypeOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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