Interface AnalyzeSyntaxResponseOrBuilder

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

@Generated public interface AnalyzeSyntaxResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language.
    com.google.protobuf.ByteString
    The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language.
    getSentences(int index)
    Sentences in the input document.
    int
    Sentences in the input document.
    Sentences in the input document.
    Sentences in the input document.
    Sentences in the input document.
    getTokens(int index)
    Tokens, along with their syntactic information, in the input document.
    int
    Tokens, along with their syntactic information, in the input document.
    Tokens, along with their syntactic information, in the input document.
    getTokensOrBuilder(int index)
    Tokens, along with their syntactic information, in the input document.
    List<? extends TokenOrBuilder>
    Tokens, along with their syntactic information, in the input document.

    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

    • getSentencesList

      List<Sentence> getSentencesList()
       Sentences in the input document.
       
      repeated .google.cloud.language.v1.Sentence sentences = 1;
    • getSentences

      Sentence getSentences(int index)
       Sentences in the input document.
       
      repeated .google.cloud.language.v1.Sentence sentences = 1;
    • getSentencesCount

      int getSentencesCount()
       Sentences in the input document.
       
      repeated .google.cloud.language.v1.Sentence sentences = 1;
    • getSentencesOrBuilderList

      List<? extends SentenceOrBuilder> getSentencesOrBuilderList()
       Sentences in the input document.
       
      repeated .google.cloud.language.v1.Sentence sentences = 1;
    • getSentencesOrBuilder

      SentenceOrBuilder getSentencesOrBuilder(int index)
       Sentences in the input document.
       
      repeated .google.cloud.language.v1.Sentence sentences = 1;
    • getTokensList

      List<Token> getTokensList()
       Tokens, along with their syntactic information, in the input document.
       
      repeated .google.cloud.language.v1.Token tokens = 2;
    • getTokens

      Token getTokens(int index)
       Tokens, along with their syntactic information, in the input document.
       
      repeated .google.cloud.language.v1.Token tokens = 2;
    • getTokensCount

      int getTokensCount()
       Tokens, along with their syntactic information, in the input document.
       
      repeated .google.cloud.language.v1.Token tokens = 2;
    • getTokensOrBuilderList

      List<? extends TokenOrBuilder> getTokensOrBuilderList()
       Tokens, along with their syntactic information, in the input document.
       
      repeated .google.cloud.language.v1.Token tokens = 2;
    • getTokensOrBuilder

      TokenOrBuilder getTokensOrBuilder(int index)
       Tokens, along with their syntactic information, in the input document.
       
      repeated .google.cloud.language.v1.Token tokens = 2;
    • getLanguage

      String getLanguage()
       The language of the text, which will be the same as the language specified
       in the request or, if not specified, the automatically-detected language.
       See [Document.language][google.cloud.language.v1.Document.language] field
       for more details.
       
      string language = 3;
      Returns:
      The language.
    • getLanguageBytes

      com.google.protobuf.ByteString getLanguageBytes()
       The language of the text, which will be the same as the language specified
       in the request or, if not specified, the automatically-detected language.
       See [Document.language][google.cloud.language.v1.Document.language] field
       for more details.
       
      string language = 3;
      Returns:
      The bytes for language.