Class DocBinRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.Cloneable
- Enclosing class:
- DocBinRequest
public static final class DocBinRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder> implements DocBinRequestOrBuilder
Protobuf typearg_services.nlp.v1.DocBinRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocBinRequest.BuilderaddAllEmbeddingLevels(java.lang.Iterable<? extends EmbeddingLevel> values)List of vectors that shall be saved in the `DocBin` object.DocBinRequest.BuilderaddAllEmbeddingLevelsValue(java.lang.Iterable<java.lang.Integer> values)List of vectors that shall be saved in the `DocBin` object.DocBinRequest.BuilderaddAllTexts(java.lang.Iterable<java.lang.String> values)List of strings to be processed.DocBinRequest.BuilderaddEmbeddingLevels(EmbeddingLevel value)List of vectors that shall be saved in the `DocBin` object.DocBinRequest.BuilderaddEmbeddingLevelsValue(int value)List of vectors that shall be saved in the `DocBin` object.DocBinRequest.BuilderaddTexts(java.lang.String value)List of strings to be processed.DocBinRequest.BuilderaddTextsBytes(com.google.protobuf.ByteString value)List of strings to be processed.DocBinRequestbuild()DocBinRequestbuildPartial()DocBinRequest.Builderclear()DocBinRequest.BuilderclearAttributes()Attributes that shall be included in the DocBin object.DocBinRequest.BuilderclearConfig()Spacy config.DocBinRequest.BuilderclearDisabledPipes().arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];DocBinRequest.BuilderclearEmbeddingLevels()List of vectors that shall be saved in the `DocBin` object.DocBinRequest.BuilderclearEnabledPipes().arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];DocBinRequest.BuilderclearExtras()Implementation-specific information can be encoded hereDocBinRequest.BuilderclearPipes()DocBinRequest.BuilderclearTexts()List of strings to be processed.StringsgetAttributes()Attributes that shall be included in the DocBin object.Strings.BuildergetAttributesBuilder()Attributes that shall be included in the DocBin object.StringsOrBuildergetAttributesOrBuilder()Attributes that shall be included in the DocBin object.NlpConfiggetConfig()Spacy config.NlpConfig.BuildergetConfigBuilder()Spacy config.NlpConfigOrBuildergetConfigOrBuilder()Spacy config.DocBinRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringsgetDisabledPipes().arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];Strings.BuildergetDisabledPipesBuilder().arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];StringsOrBuildergetDisabledPipesOrBuilder().arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];EmbeddingLevelgetEmbeddingLevels(int index)List of vectors that shall be saved in the `DocBin` object.intgetEmbeddingLevelsCount()List of vectors that shall be saved in the `DocBin` object.java.util.List<EmbeddingLevel>getEmbeddingLevelsList()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.java.util.List<java.lang.Integer>getEmbeddingLevelsValueList()List of vectors that shall be saved in the `DocBin` object.StringsgetEnabledPipes().arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];Strings.BuildergetEnabledPipesBuilder().arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];StringsOrBuildergetEnabledPipesOrBuilder().arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];com.google.protobuf.StructgetExtras()Implementation-specific information can be encoded herecom.google.protobuf.Struct.BuildergetExtrasBuilder()Implementation-specific information can be encoded herecom.google.protobuf.StructOrBuildergetExtrasOrBuilder()Implementation-specific information can be encoded hereDocBinRequest.PipesCasegetPipesCase()java.lang.StringgetTexts(int index)List of strings to be processed.com.google.protobuf.ByteStringgetTextsBytes(int index)List of strings to be processed.intgetTextsCount()List of strings to be processed.com.google.protobuf.ProtocolStringListgetTextsList()List of strings to be processed.booleanhasAttributes()Attributes that shall be included in the DocBin object.booleanhasConfig()Spacy config.booleanhasDisabledPipes().arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];booleanhasEnabledPipes().arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];booleanhasExtras()Implementation-specific information can be encoded hereprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DocBinRequest.BuildermergeAttributes(Strings value)Attributes that shall be included in the DocBin object.DocBinRequest.BuildermergeConfig(NlpConfig value)Spacy config.DocBinRequest.BuildermergeDisabledPipes(Strings value).arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];DocBinRequest.BuildermergeEnabledPipes(Strings value).arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];DocBinRequest.BuildermergeExtras(com.google.protobuf.Struct value)Implementation-specific information can be encoded hereDocBinRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DocBinRequest.BuildermergeFrom(com.google.protobuf.Message other)DocBinRequest.BuildermergeFrom(DocBinRequest other)DocBinRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DocBinRequest.BuildersetAttributes(Strings value)Attributes that shall be included in the DocBin object.DocBinRequest.BuildersetAttributes(Strings.Builder builderForValue)Attributes that shall be included in the DocBin object.DocBinRequest.BuildersetConfig(NlpConfig value)Spacy config.DocBinRequest.BuildersetConfig(NlpConfig.Builder builderForValue)Spacy config.DocBinRequest.BuildersetDisabledPipes(Strings value).arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];DocBinRequest.BuildersetDisabledPipes(Strings.Builder builderForValue).arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];DocBinRequest.BuildersetEmbeddingLevels(int index, EmbeddingLevel value)List of vectors that shall be saved in the `DocBin` object.DocBinRequest.BuildersetEmbeddingLevelsValue(int index, int value)List of vectors that shall be saved in the `DocBin` object.DocBinRequest.BuildersetEnabledPipes(Strings value).arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];DocBinRequest.BuildersetEnabledPipes(Strings.Builder builderForValue).arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];DocBinRequest.BuildersetExtras(com.google.protobuf.Struct value)Implementation-specific information can be encoded hereDocBinRequest.BuildersetExtras(com.google.protobuf.Struct.Builder builderForValue)Implementation-specific information can be encoded hereDocBinRequest.BuildersetTexts(int index, java.lang.String value)List of strings to be processed.DocBinRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public DocBinRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DocBinRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DocBinRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public DocBinRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocBinRequest.Builder>
-
mergeFrom
public DocBinRequest.Builder mergeFrom(DocBinRequest other)
-
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 java.io.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:
java.io.IOException
-
getPipesCase
public DocBinRequest.PipesCase getPipesCase()
- Specified by:
getPipesCasein interfaceDocBinRequestOrBuilder
-
clearPipes
public DocBinRequest.Builder 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
public NlpConfig getConfig()
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];- Specified by:
getConfigin interfaceDocBinRequestOrBuilder- Returns:
- The config.
-
setConfig
public DocBinRequest.Builder setConfig(NlpConfig value)
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
-
setConfig
public DocBinRequest.Builder setConfig(NlpConfig.Builder builderForValue)
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
-
mergeConfig
public DocBinRequest.Builder mergeConfig(NlpConfig value)
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
-
clearConfig
public DocBinRequest.Builder clearConfig()
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
-
getConfigBuilder
public NlpConfig.Builder getConfigBuilder()
Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
-
getConfigOrBuilder
public NlpConfigOrBuilder 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
public java.lang.String getTexts(int index)
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
public DocBinRequest.Builder setTexts(int index, java.lang.String value)
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
public DocBinRequest.Builder addTexts(java.lang.String value)
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
public DocBinRequest.Builder addAllTexts(java.lang.Iterable<java.lang.String> values)
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
public DocBinRequest.Builder clearTexts()
List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Returns:
- This builder for chaining.
-
addTextsBytes
public DocBinRequest.Builder addTextsBytes(com.google.protobuf.ByteString value)
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
public Strings 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
public DocBinRequest.Builder setAttributes(Strings value)
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
public DocBinRequest.Builder setAttributes(Strings.Builder builderForValue)
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
public DocBinRequest.Builder mergeAttributes(Strings value)
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
public DocBinRequest.Builder 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
public Strings.Builder 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
public StringsOrBuilder 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
public Strings getEnabledPipes()
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];- Specified by:
getEnabledPipesin interfaceDocBinRequestOrBuilder- Returns:
- The enabledPipes.
-
setEnabledPipes
public DocBinRequest.Builder setEnabledPipes(Strings value)
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
-
setEnabledPipes
public DocBinRequest.Builder setEnabledPipes(Strings.Builder builderForValue)
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
-
mergeEnabledPipes
public DocBinRequest.Builder mergeEnabledPipes(Strings value)
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
-
clearEnabledPipes
public DocBinRequest.Builder clearEnabledPipes()
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
-
getEnabledPipesBuilder
public Strings.Builder getEnabledPipesBuilder()
.arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
-
getEnabledPipesOrBuilder
public StringsOrBuilder 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
public Strings getDisabledPipes()
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];- Specified by:
getDisabledPipesin interfaceDocBinRequestOrBuilder- Returns:
- The disabledPipes.
-
setDisabledPipes
public DocBinRequest.Builder setDisabledPipes(Strings value)
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
-
setDisabledPipes
public DocBinRequest.Builder setDisabledPipes(Strings.Builder builderForValue)
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
-
mergeDisabledPipes
public DocBinRequest.Builder mergeDisabledPipes(Strings value)
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
-
clearDisabledPipes
public DocBinRequest.Builder clearDisabledPipes()
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
-
getDisabledPipesBuilder
public Strings.Builder getDisabledPipesBuilder()
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
-
getDisabledPipesOrBuilder
public StringsOrBuilder getDisabledPipesOrBuilder()
.arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];- Specified by:
getDisabledPipesOrBuilderin interfaceDocBinRequestOrBuilder
-
getEmbeddingLevelsList
public java.util.List<EmbeddingLevel> 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
public EmbeddingLevel getEmbeddingLevels(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:
getEmbeddingLevelsin interfaceDocBinRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The embeddingLevels at the given index.
-
setEmbeddingLevels
public DocBinRequest.Builder setEmbeddingLevels(int index, EmbeddingLevel value)
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
public DocBinRequest.Builder addEmbeddingLevels(EmbeddingLevel value)
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
public DocBinRequest.Builder addAllEmbeddingLevels(java.lang.Iterable<? extends EmbeddingLevel> values)
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
public DocBinRequest.Builder 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
public java.util.List<java.lang.Integer> 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
public DocBinRequest.Builder setEmbeddingLevelsValue(int index, int value)
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
public DocBinRequest.Builder addEmbeddingLevelsValue(int value)
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
public DocBinRequest.Builder addAllEmbeddingLevelsValue(java.lang.Iterable<java.lang.Integer> values)
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
public DocBinRequest.Builder setExtras(com.google.protobuf.Struct value)
Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];
-
setExtras
public DocBinRequest.Builder setExtras(com.google.protobuf.Struct.Builder builderForValue)
Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];
-
mergeExtras
public DocBinRequest.Builder mergeExtras(com.google.protobuf.Struct value)
Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];
-
clearExtras
public DocBinRequest.Builder 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>
-
-