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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NlpConfiggetConfig()Spacy config.NlpConfigOrBuildergetConfigOrBuilder()Spacy config.EmbeddingLevelgetEmbeddingLevels(int index)List of vectors that shall be returned.intgetEmbeddingLevelsCount()List of vectors that shall be returned.java.util.List<EmbeddingLevel>getEmbeddingLevelsList()List of vectors that shall be returned.intgetEmbeddingLevelsValue(int index)List of vectors that shall be returned.java.util.List<java.lang.Integer>getEmbeddingLevelsValueList()List of vectors that shall be returned.com.google.protobuf.StructgetExtras()Implementation-specific information can be encoded herecom.google.protobuf.StructOrBuildergetExtrasOrBuilder()Implementation-specific information can be encoded herejava.lang.StringgetTexts(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).intgetTextsCount()List of strings that shall be embedded (i.e., converted to vectors).java.util.List<java.lang.String>getTextsList()List of strings that shall be embedded (i.e., converted to vectors).booleanhasConfig()Spacy config.booleanhasExtras()Implementation-specific information can be encoded here-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.util.List<java.lang.String> 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
java.lang.String getTexts(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 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
java.util.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
EmbeddingLevel getEmbeddingLevels(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 element to return.- Returns:
- The embeddingLevels at the given index.
-
getEmbeddingLevelsValueList
java.util.List<java.lang.Integer> 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"];
-
-