Class TextTypeOptions.Builder (0.24.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TextTypeOptions build()
Returns
TypeDescription
TextTypeOptions

buildPartial()

public TextTypeOptions buildPartial()
Returns
TypeDescription
TextTypeOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TextTypeOptions getDefaultInstanceForType()
Returns
TypeDescription
TextTypeOptions

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

public TextTypeOptions.Builder mergeFrom(TextTypeOptions other)
Parameter
NameDescription
otherTextTypeOptions
Returns
TypeDescription
TextTypeOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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