Class DocBinRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
de.uni_trier.recap.arg_services.nlp.v1.DocBinRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DocBinRequestOrBuilder,Cloneable
- Enclosing class:
- DocBinRequest
public static final class DocBinRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
implements DocBinRequestOrBuilder
Protobuf type
arg_services.nlp.v1.DocBinRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllEmbeddingLevels(Iterable<? extends EmbeddingLevel> values) List of vectors that shall be saved in the `DocBin` object.addAllEmbeddingLevelsValue(Iterable<Integer> values) List of vectors that shall be saved in the `DocBin` object.addAllTexts(Iterable<String> values) List of strings to be processed.addEmbeddingLevels(EmbeddingLevel value) List of vectors that shall be saved in the `DocBin` object.addEmbeddingLevelsValue(int value) List of vectors that shall be saved in the `DocBin` object.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) List of strings to be processed.addTextsBytes(com.google.protobuf.ByteString value) List of strings to be processed.build()clear()Attributes that shall be included in the DocBin object.Spacy config..arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];List of vectors that shall be saved in the `DocBin` object..arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];Implementation-specific information can be encoded hereclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) List of strings to be processed.clone()Attributes that shall be included in the DocBin object.Attributes that shall be included in the DocBin object.Attributes that shall be included in the DocBin object.Spacy config.Spacy config.Spacy config.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];getEmbeddingLevels(int index) List of vectors that shall be saved in the `DocBin` object.intList of vectors that shall be saved in the `DocBin` object.List of vectors that shall be saved in the `DocBin` object.intgetEmbeddingLevelsValue(int index) List of vectors that shall be saved in the `DocBin` object.List of vectors that shall be saved in the `DocBin` object..arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];com.google.protobuf.StructImplementation-specific information can be encoded herecom.google.protobuf.Struct.BuilderImplementation-specific information can be encoded herecom.google.protobuf.StructOrBuilderImplementation-specific information can be encoded heregetTexts(int index) List of strings to be processed.com.google.protobuf.ByteStringgetTextsBytes(int index) List of strings to be processed.intList of strings to be processed.com.google.protobuf.ProtocolStringListList of strings to be processed.booleanAttributes that shall be included in the DocBin object.booleanSpacy config.boolean.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];boolean.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];booleanImplementation-specific information can be encoded hereprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAttributes(Strings value) Attributes that shall be included in the DocBin object.mergeConfig(NlpConfig value) Spacy config.mergeDisabledPipes(Strings value) .arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];mergeEnabledPipes(Strings value) .arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];mergeExtras(com.google.protobuf.Struct value) Implementation-specific information can be encoded heremergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(DocBinRequest other) final DocBinRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAttributes(Strings value) Attributes that shall be included in the DocBin object.setAttributes(Strings.Builder builderForValue) Attributes that shall be included in the DocBin object.Spacy config.setConfig(NlpConfig.Builder builderForValue) Spacy config.setDisabledPipes(Strings value) .arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];setDisabledPipes(Strings.Builder builderForValue) .arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];setEmbeddingLevels(int index, EmbeddingLevel value) List of vectors that shall be saved in the `DocBin` object.setEmbeddingLevelsValue(int index, int value) List of vectors that shall be saved in the `DocBin` object.setEnabledPipes(Strings value) .arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];setEnabledPipes(Strings.Builder builderForValue) .arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];setExtras(com.google.protobuf.Struct value) Implementation-specific information can be encoded heresetExtras(com.google.protobuf.Struct.Builder builderForValue) Implementation-specific information can be encoded heresetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) List of strings to be processed.final DocBinRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
-
setField
public DocBinRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
-
setRepeatedField
public DocBinRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
-
addRepeatedField
public DocBinRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocBinRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
-
mergeFrom
public DocBinRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocBinRequest.Builder>- Throws:
IOException
-
getPipesCase
- Specified by:
getPipesCasein interfaceDocBinRequestOrBuilder
-
clearPipes
-
hasConfig
public boolean hasConfig()Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];- Specified by:
hasConfigin interfaceDocBinRequestOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];- Specified by:
getConfigin interfaceDocBinRequestOrBuilder- Returns:
- The config.
-
setConfig
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"]; -
setConfig
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"]; -
mergeConfig
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"]; -
clearConfig
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"]; -
getConfigBuilder
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"]; -
getConfigOrBuilder
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];- Specified by:
getConfigOrBuilderin interfaceDocBinRequestOrBuilder
-
getTextsList
public com.google.protobuf.ProtocolStringList getTextsList()List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Specified by:
getTextsListin interfaceDocBinRequestOrBuilder- Returns:
- A list containing the texts.
-
getTextsCount
public int getTextsCount()List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Specified by:
getTextsCountin interfaceDocBinRequestOrBuilder- Returns:
- The count of texts.
-
getTexts
List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Specified by:
getTextsin interfaceDocBinRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The texts at the given index.
-
getTextsBytes
public com.google.protobuf.ByteString getTextsBytes(int index) List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Specified by:
getTextsBytesin interfaceDocBinRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the texts at the given index.
-
setTexts
List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Parameters:
index- The index to set the value at.value- The texts to set.- Returns:
- This builder for chaining.
-
addTexts
List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Parameters:
value- The texts to add.- Returns:
- This builder for chaining.
-
addAllTexts
List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Parameters:
values- The texts to add.- Returns:
- This builder for chaining.
-
clearTexts
List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Returns:
- This builder for chaining.
-
addTextsBytes
List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Parameters:
value- The bytes of the texts to add.- Returns:
- This builder for chaining.
-
hasAttributes
public boolean hasAttributes()Attributes that shall be included in the DocBin object. Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`. Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`. [Documentation](https://spacy.io/api/token#attributes).optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"];- Specified by:
hasAttributesin interfaceDocBinRequestOrBuilder- Returns:
- Whether the attributes field is set.
-
getAttributes
Attributes that shall be included in the DocBin object. Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`. Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`. [Documentation](https://spacy.io/api/token#attributes).optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"];- Specified by:
getAttributesin interfaceDocBinRequestOrBuilder- Returns:
- The attributes.
-
setAttributes
Attributes that shall be included in the DocBin object. Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`. Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`. [Documentation](https://spacy.io/api/token#attributes).optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"]; -
setAttributes
Attributes that shall be included in the DocBin object. Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`. Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`. [Documentation](https://spacy.io/api/token#attributes).optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"]; -
mergeAttributes
Attributes that shall be included in the DocBin object. Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`. Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`. [Documentation](https://spacy.io/api/token#attributes).optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"]; -
clearAttributes
Attributes that shall be included in the DocBin object. Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`. Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`. [Documentation](https://spacy.io/api/token#attributes).optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"]; -
getAttributesBuilder
Attributes that shall be included in the DocBin object. Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`. Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`. [Documentation](https://spacy.io/api/token#attributes).optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"]; -
getAttributesOrBuilder
Attributes that shall be included in the DocBin object. Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`. Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`. [Documentation](https://spacy.io/api/token#attributes).optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"];- Specified by:
getAttributesOrBuilderin interfaceDocBinRequestOrBuilder
-
hasEnabledPipes
public boolean hasEnabledPipes().arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];- Specified by:
hasEnabledPipesin interfaceDocBinRequestOrBuilder- Returns:
- Whether the enabledPipes field is set.
-
getEnabledPipes
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];- Specified by:
getEnabledPipesin interfaceDocBinRequestOrBuilder- Returns:
- The enabledPipes.
-
setEnabledPipes
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"]; -
setEnabledPipes
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"]; -
mergeEnabledPipes
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"]; -
clearEnabledPipes
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"]; -
getEnabledPipesBuilder
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"]; -
getEnabledPipesOrBuilder
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];- Specified by:
getEnabledPipesOrBuilderin interfaceDocBinRequestOrBuilder
-
hasDisabledPipes
public boolean hasDisabledPipes().arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];- Specified by:
hasDisabledPipesin interfaceDocBinRequestOrBuilder- Returns:
- Whether the disabledPipes field is set.
-
getDisabledPipes
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];- Specified by:
getDisabledPipesin interfaceDocBinRequestOrBuilder- Returns:
- The disabledPipes.
-
setDisabledPipes
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"]; -
setDisabledPipes
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"]; -
mergeDisabledPipes
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"]; -
clearDisabledPipes
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"]; -
getDisabledPipesBuilder
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"]; -
getDisabledPipesOrBuilder
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];- Specified by:
getDisabledPipesOrBuilderin interfaceDocBinRequestOrBuilder
-
getEmbeddingLevelsList
List of vectors that shall be saved in the `DocBin` object. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];- Specified by:
getEmbeddingLevelsListin interfaceDocBinRequestOrBuilder- Returns:
- A list containing the embeddingLevels.
-
getEmbeddingLevelsCount
public int getEmbeddingLevelsCount()List of vectors that shall be saved in the `DocBin` object. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];- Specified by:
getEmbeddingLevelsCountin interfaceDocBinRequestOrBuilder- Returns:
- The count of embeddingLevels.
-
getEmbeddingLevels
List of vectors that shall be saved in the `DocBin` object. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];- Specified by:
getEmbeddingLevelsin interfaceDocBinRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The embeddingLevels at the given index.
-
setEmbeddingLevels
List of vectors that shall be saved in the `DocBin` object. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];- Parameters:
index- The index to set the value at.value- The embeddingLevels to set.- Returns:
- This builder for chaining.
-
addEmbeddingLevels
List of vectors that shall be saved in the `DocBin` object. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];- Parameters:
value- The embeddingLevels to add.- Returns:
- This builder for chaining.
-
addAllEmbeddingLevels
List of vectors that shall be saved in the `DocBin` object. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];- Parameters:
values- The embeddingLevels to add.- Returns:
- This builder for chaining.
-
clearEmbeddingLevels
List of vectors that shall be saved in the `DocBin` object. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];- Returns:
- This builder for chaining.
-
getEmbeddingLevelsValueList
List of vectors that shall be saved in the `DocBin` object. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];- Specified by:
getEmbeddingLevelsValueListin interfaceDocBinRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for embeddingLevels.
-
getEmbeddingLevelsValue
public int getEmbeddingLevelsValue(int index) List of vectors that shall be saved in the `DocBin` object. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];- Specified by:
getEmbeddingLevelsValuein interfaceDocBinRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of embeddingLevels at the given index.
-
setEmbeddingLevelsValue
List of vectors that shall be saved in the `DocBin` object. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for embeddingLevels to set.- Returns:
- This builder for chaining.
-
addEmbeddingLevelsValue
List of vectors that shall be saved in the `DocBin` object. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];- Parameters:
value- The enum numeric value on the wire for embeddingLevels to add.- Returns:
- This builder for chaining.
-
addAllEmbeddingLevelsValue
List of vectors that shall be saved in the `DocBin` object. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];- Parameters:
values- The enum numeric values on the wire for embeddingLevels to add.- Returns:
- This builder for chaining.
-
hasExtras
public boolean hasExtras()Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];- Specified by:
hasExtrasin interfaceDocBinRequestOrBuilder- Returns:
- Whether the extras field is set.
-
getExtras
public com.google.protobuf.Struct getExtras()Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];- Specified by:
getExtrasin interfaceDocBinRequestOrBuilder- Returns:
- The extras.
-
setExtras
Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"]; -
setExtras
Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"]; -
mergeExtras
Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"]; -
clearExtras
Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"]; -
getExtrasBuilder
public com.google.protobuf.Struct.Builder getExtrasBuilder()Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"]; -
getExtrasOrBuilder
public com.google.protobuf.StructOrBuilder getExtrasOrBuilder()Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];- Specified by:
getExtrasOrBuilderin interfaceDocBinRequestOrBuilder
-
setUnknownFields
public final DocBinRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
-
mergeUnknownFields
public final DocBinRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
-