Interface VectorResponseOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    VectorResponse, VectorResponse.Builder

    public interface VectorResponseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasDocument

        boolean hasDocument()
         One vector for the whole string.
         
        .arg_services.nlp.v1.Vector document = 1 [json_name = "document"];
        Returns:
        Whether the document field is set.
      • getDocument

        Vector getDocument()
         One vector for the whole string.
         
        .arg_services.nlp.v1.Vector document = 1 [json_name = "document"];
        Returns:
        The document.
      • getDocumentOrBuilder

        VectorOrBuilder getDocumentOrBuilder()
         One vector for the whole string.
         
        .arg_services.nlp.v1.Vector document = 1 [json_name = "document"];
      • getTokensList

        java.util.List<Vector> getTokensList()
         Vectors for all tokens in the string.
         
        repeated .arg_services.nlp.v1.Vector tokens = 2 [json_name = "tokens"];
      • getTokens

        Vector getTokens​(int index)
         Vectors for all tokens in the string.
         
        repeated .arg_services.nlp.v1.Vector tokens = 2 [json_name = "tokens"];
      • getTokensCount

        int getTokensCount()
         Vectors for all tokens in the string.
         
        repeated .arg_services.nlp.v1.Vector tokens = 2 [json_name = "tokens"];
      • getTokensOrBuilderList

        java.util.List<? extends VectorOrBuilder> getTokensOrBuilderList()
         Vectors for all tokens in the string.
         
        repeated .arg_services.nlp.v1.Vector tokens = 2 [json_name = "tokens"];
      • getTokensOrBuilder

        VectorOrBuilder getTokensOrBuilder​(int index)
         Vectors for all tokens in the string.
         
        repeated .arg_services.nlp.v1.Vector tokens = 2 [json_name = "tokens"];
      • getSentencesList

        java.util.List<Vector> getSentencesList()
         Vectors for all sentences found in the string.
         
        repeated .arg_services.nlp.v1.Vector sentences = 3 [json_name = "sentences"];
      • getSentences

        Vector getSentences​(int index)
         Vectors for all sentences found in the string.
         
        repeated .arg_services.nlp.v1.Vector sentences = 3 [json_name = "sentences"];
      • getSentencesCount

        int getSentencesCount()
         Vectors for all sentences found in the string.
         
        repeated .arg_services.nlp.v1.Vector sentences = 3 [json_name = "sentences"];
      • getSentencesOrBuilderList

        java.util.List<? extends VectorOrBuilder> getSentencesOrBuilderList()
         Vectors for all sentences found in the string.
         
        repeated .arg_services.nlp.v1.Vector sentences = 3 [json_name = "sentences"];
      • getSentencesOrBuilder

        VectorOrBuilder getSentencesOrBuilder​(int index)
         Vectors for all sentences found in the string.
         
        repeated .arg_services.nlp.v1.Vector sentences = 3 [json_name = "sentences"];
      • 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"];