Interface VectorsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VectorsRequest,VectorsRequest.Builder
public interface VectorsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSpacy config.Spacy config.getEmbeddingLevels(int index) List of vectors that shall be returned.intList of vectors that shall be returned.List of vectors that shall be returned.intgetEmbeddingLevelsValue(int index) List of vectors that shall be returned.List of vectors that shall be returned.com.google.protobuf.StructImplementation-specific information can be encoded herecom.google.protobuf.StructOrBuilderImplementation-specific information can be encoded heregetTexts(int index) List of strings that shall be embedded (i.e., converted to vectors).com.google.protobuf.ByteStringgetTextsBytes(int index) List of strings that shall be embedded (i.e., converted to vectors).intList of strings that shall be embedded (i.e., converted to vectors).List of strings that shall be embedded (i.e., converted to vectors).booleanSpacy config.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 that shall be embedded (i.e., converted to vectors).
repeated string texts = 2 [json_name = "texts"];- Returns:
- A list containing the texts.
-
getTextsCount
int getTextsCount()List of strings that shall be embedded (i.e., converted to vectors).
repeated string texts = 2 [json_name = "texts"];- Returns:
- The count of texts.
-
getTexts
List of strings that shall be embedded (i.e., converted to vectors).
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 that shall be embedded (i.e., converted to vectors).
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.
-
getEmbeddingLevelsList
List<EmbeddingLevel> getEmbeddingLevelsList()List of vectors that shall be returned. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 3 [json_name = "embeddingLevels"];- Returns:
- A list containing the embeddingLevels.
-
getEmbeddingLevelsCount
int getEmbeddingLevelsCount()List of vectors that shall be returned. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 3 [json_name = "embeddingLevels"];- Returns:
- The count of embeddingLevels.
-
getEmbeddingLevels
List of vectors that shall be returned. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 3 [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 returned. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 3 [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 returned. The computation is time-consuming, so you should only specify the embeddings you actually use!
repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 3 [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"];
-