Class TagParsingConfig.Builder (0.3.0)

public static final class TagParsingConfig.Builder extends GeneratedMessageV3.Builder<TagParsingConfig.Builder> implements TagParsingConfigOrBuilder

Configuration for tag parsing.

Protobuf type google.cloud.visionai.v1.TagParsingConfig

Static Methods

getDescriptor()

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

Methods

addAllEntityParsingConfigs(Iterable<? extends TagParsingConfig.EntityParsingConfig> values)

public TagParsingConfig.Builder addAllEntityParsingConfigs(Iterable<? extends TagParsingConfig.EntityParsingConfig> values)

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig>
Returns
Type Description
TagParsingConfig.Builder

addEntityParsingConfigs(TagParsingConfig.EntityParsingConfig value)

public TagParsingConfig.Builder addEntityParsingConfigs(TagParsingConfig.EntityParsingConfig value)

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Parameter
Name Description
value TagParsingConfig.EntityParsingConfig
Returns
Type Description
TagParsingConfig.Builder

addEntityParsingConfigs(TagParsingConfig.EntityParsingConfig.Builder builderForValue)

public TagParsingConfig.Builder addEntityParsingConfigs(TagParsingConfig.EntityParsingConfig.Builder builderForValue)

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Parameter
Name Description
builderForValue TagParsingConfig.EntityParsingConfig.Builder
Returns
Type Description
TagParsingConfig.Builder

addEntityParsingConfigs(int index, TagParsingConfig.EntityParsingConfig value)

public TagParsingConfig.Builder addEntityParsingConfigs(int index, TagParsingConfig.EntityParsingConfig value)

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Parameters
Name Description
index int
value TagParsingConfig.EntityParsingConfig
Returns
Type Description
TagParsingConfig.Builder

addEntityParsingConfigs(int index, TagParsingConfig.EntityParsingConfig.Builder builderForValue)

public TagParsingConfig.Builder addEntityParsingConfigs(int index, TagParsingConfig.EntityParsingConfig.Builder builderForValue)

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Parameters
Name Description
index int
builderForValue TagParsingConfig.EntityParsingConfig.Builder
Returns
Type Description
TagParsingConfig.Builder

addEntityParsingConfigsBuilder()

public TagParsingConfig.EntityParsingConfig.Builder addEntityParsingConfigsBuilder()

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Returns
Type Description
TagParsingConfig.EntityParsingConfig.Builder

addEntityParsingConfigsBuilder(int index)

public TagParsingConfig.EntityParsingConfig.Builder addEntityParsingConfigsBuilder(int index)

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
TagParsingConfig.EntityParsingConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TagParsingConfig build()
Returns
Type Description
TagParsingConfig

buildPartial()

public TagParsingConfig buildPartial()
Returns
Type Description
TagParsingConfig

clear()

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

clearEntityParsingConfigs()

public TagParsingConfig.Builder clearEntityParsingConfigs()

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Returns
Type Description
TagParsingConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TagParsingConfig getDefaultInstanceForType()
Returns
Type Description
TagParsingConfig

getDescriptorForType()

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

getEntityParsingConfigs(int index)

public TagParsingConfig.EntityParsingConfig getEntityParsingConfigs(int index)

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
TagParsingConfig.EntityParsingConfig

getEntityParsingConfigsBuilder(int index)

public TagParsingConfig.EntityParsingConfig.Builder getEntityParsingConfigsBuilder(int index)

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
TagParsingConfig.EntityParsingConfig.Builder

getEntityParsingConfigsBuilderList()

public List<TagParsingConfig.EntityParsingConfig.Builder> getEntityParsingConfigsBuilderList()

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Returns
Type Description
List<Builder>

getEntityParsingConfigsCount()

public int getEntityParsingConfigsCount()

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Returns
Type Description
int

getEntityParsingConfigsList()

public List<TagParsingConfig.EntityParsingConfig> getEntityParsingConfigsList()

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Returns
Type Description
List<EntityParsingConfig>

getEntityParsingConfigsOrBuilder(int index)

public TagParsingConfig.EntityParsingConfigOrBuilder getEntityParsingConfigsOrBuilder(int index)

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
TagParsingConfig.EntityParsingConfigOrBuilder

getEntityParsingConfigsOrBuilderList()

public List<? extends TagParsingConfig.EntityParsingConfigOrBuilder> getEntityParsingConfigsOrBuilderList()

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfigOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TagParsingConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntityParsingConfigs(int index)

public TagParsingConfig.Builder removeEntityParsingConfigs(int index)

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
TagParsingConfig.Builder

setEntityParsingConfigs(int index, TagParsingConfig.EntityParsingConfig value)

public TagParsingConfig.Builder setEntityParsingConfigs(int index, TagParsingConfig.EntityParsingConfig value)

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Parameters
Name Description
index int
value TagParsingConfig.EntityParsingConfig
Returns
Type Description
TagParsingConfig.Builder

setEntityParsingConfigs(int index, TagParsingConfig.EntityParsingConfig.Builder builderForValue)

public TagParsingConfig.Builder setEntityParsingConfigs(int index, TagParsingConfig.EntityParsingConfig.Builder builderForValue)

Each tag entity class may have an optional EntityParsingConfig which is used to help parse the entities of the class.

repeated .google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig entity_parsing_configs = 1;

Parameters
Name Description
index int
builderForValue TagParsingConfig.EntityParsingConfig.Builder
Returns
Type Description
TagParsingConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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