Interface DocBinRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DocBinRequest,DocBinRequest.Builder
public interface DocBinRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAttributes that shall be included in the DocBin object.Attributes that shall be included in the DocBin object.Spacy config.Spacy config..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"];com.google.protobuf.StructImplementation-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.List 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 hereMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasConfig
boolean hasConfig()Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];- Returns:
- Whether the config field is set.
-
getConfig
NlpConfig getConfig()Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];- Returns:
- The config.
-
getConfigOrBuilder
NlpConfigOrBuilder getConfigOrBuilder()Spacy config.
.arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"]; -
getTextsList
List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Returns:
- A list containing the texts.
-
getTextsCount
int getTextsCount()List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Returns:
- The count of texts.
-
getTexts
List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Parameters:
index- The index of the element to return.- Returns:
- The texts at the given index.
-
getTextsBytes
com.google.protobuf.ByteString getTextsBytes(int index) List of strings to be processed.
repeated string texts = 2 [json_name = "texts"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the texts at the given index.
-
hasAttributes
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"];- Returns:
- Whether the attributes field is set.
-
getAttributes
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"];- Returns:
- The attributes.
-
getAttributesOrBuilder
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"]; -
hasEnabledPipes
boolean hasEnabledPipes().arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];- Returns:
- Whether the enabledPipes field is set.
-
getEnabledPipes
Strings getEnabledPipes().arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];- Returns:
- The enabledPipes.
-
getEnabledPipesOrBuilder
StringsOrBuilder getEnabledPipesOrBuilder().arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"]; -
hasDisabledPipes
boolean hasDisabledPipes().arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];- Returns:
- Whether the disabledPipes field is set.
-
getDisabledPipes
Strings getDisabledPipes().arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];- Returns:
- The disabledPipes.
-
getDisabledPipesOrBuilder
StringsOrBuilder getDisabledPipesOrBuilder().arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"]; -
getEmbeddingLevelsList
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"];- Returns:
- A list containing the embeddingLevels.
-
getEmbeddingLevelsCount
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"];- 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"];- Parameters:
index- The index of the element to return.- Returns:
- The embeddingLevels at the given index.
-
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"];- Returns:
- A list containing the enum numeric values on the wire for embeddingLevels.
-
getEmbeddingLevelsValue
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"];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of embeddingLevels at the given index.
-
hasExtras
boolean hasExtras()Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];- Returns:
- Whether the extras field is set.
-
getExtras
com.google.protobuf.Struct getExtras()Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];- Returns:
- The extras.
-
getExtrasOrBuilder
com.google.protobuf.StructOrBuilder getExtrasOrBuilder()Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"]; -
getPipesCase
DocBinRequest.PipesCase getPipesCase()
-