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 Type
    Method
    Description
    Spacy config.
    Spacy config.
    getEmbeddingLevels(int index)
    List of vectors that shall be returned.
    int
    List of vectors that shall be returned.
    List of vectors that shall be returned.
    int
    List of vectors that shall be returned.
    List of vectors that shall be returned.
    com.google.protobuf.Struct
    Implementation-specific information can be encoded here
    com.google.protobuf.StructOrBuilder
    Implementation-specific information can be encoded here
    getTexts(int index)
    List of strings that shall be embedded (i.e., converted to vectors).
    com.google.protobuf.ByteString
    getTextsBytes(int index)
    List of strings that shall be embedded (i.e., converted to vectors).
    int
    List of strings that shall be embedded (i.e., converted to vectors).
    List of strings that shall be embedded (i.e., converted to vectors).
    boolean
    Spacy config.
    boolean
    Implementation-specific information can be encoded here

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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<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

      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

      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

      List<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"];