// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/language/v1beta2/language_service.proto

package com.google.cloud.language.v1beta2;

public interface AnnotateTextResponseOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.language.v1beta2.AnnotateTextResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * Sentences in the input document. Populated if the user enables
   * [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Sentence sentences = 1;</code>
   */
  java.util.List<com.google.cloud.language.v1beta2.Sentence> 
      getSentencesList();
  /**
   * <pre>
   * Sentences in the input document. Populated if the user enables
   * [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Sentence sentences = 1;</code>
   */
  com.google.cloud.language.v1beta2.Sentence getSentences(int index);
  /**
   * <pre>
   * Sentences in the input document. Populated if the user enables
   * [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Sentence sentences = 1;</code>
   */
  int getSentencesCount();
  /**
   * <pre>
   * Sentences in the input document. Populated if the user enables
   * [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Sentence sentences = 1;</code>
   */
  java.util.List<? extends com.google.cloud.language.v1beta2.SentenceOrBuilder> 
      getSentencesOrBuilderList();
  /**
   * <pre>
   * Sentences in the input document. Populated if the user enables
   * [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Sentence sentences = 1;</code>
   */
  com.google.cloud.language.v1beta2.SentenceOrBuilder getSentencesOrBuilder(
      int index);

  /**
   * <pre>
   * Tokens, along with their syntactic information, in the input document.
   * Populated if the user enables
   * [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Token tokens = 2;</code>
   */
  java.util.List<com.google.cloud.language.v1beta2.Token> 
      getTokensList();
  /**
   * <pre>
   * Tokens, along with their syntactic information, in the input document.
   * Populated if the user enables
   * [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Token tokens = 2;</code>
   */
  com.google.cloud.language.v1beta2.Token getTokens(int index);
  /**
   * <pre>
   * Tokens, along with their syntactic information, in the input document.
   * Populated if the user enables
   * [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Token tokens = 2;</code>
   */
  int getTokensCount();
  /**
   * <pre>
   * Tokens, along with their syntactic information, in the input document.
   * Populated if the user enables
   * [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Token tokens = 2;</code>
   */
  java.util.List<? extends com.google.cloud.language.v1beta2.TokenOrBuilder> 
      getTokensOrBuilderList();
  /**
   * <pre>
   * Tokens, along with their syntactic information, in the input document.
   * Populated if the user enables
   * [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Token tokens = 2;</code>
   */
  com.google.cloud.language.v1beta2.TokenOrBuilder getTokensOrBuilder(
      int index);

  /**
   * <pre>
   * Entities, along with their semantic information, in the input document.
   * Populated if the user enables
   * [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entities].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Entity entities = 3;</code>
   */
  java.util.List<com.google.cloud.language.v1beta2.Entity> 
      getEntitiesList();
  /**
   * <pre>
   * Entities, along with their semantic information, in the input document.
   * Populated if the user enables
   * [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entities].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Entity entities = 3;</code>
   */
  com.google.cloud.language.v1beta2.Entity getEntities(int index);
  /**
   * <pre>
   * Entities, along with their semantic information, in the input document.
   * Populated if the user enables
   * [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entities].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Entity entities = 3;</code>
   */
  int getEntitiesCount();
  /**
   * <pre>
   * Entities, along with their semantic information, in the input document.
   * Populated if the user enables
   * [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entities].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Entity entities = 3;</code>
   */
  java.util.List<? extends com.google.cloud.language.v1beta2.EntityOrBuilder> 
      getEntitiesOrBuilderList();
  /**
   * <pre>
   * Entities, along with their semantic information, in the input document.
   * Populated if the user enables
   * [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entities].
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.Entity entities = 3;</code>
   */
  com.google.cloud.language.v1beta2.EntityOrBuilder getEntitiesOrBuilder(
      int index);

  /**
   * <pre>
   * The overall sentiment for the document. Populated if the user enables
   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment].
   * </pre>
   *
   * <code>.google.cloud.language.v1beta2.Sentiment document_sentiment = 4;</code>
   */
  boolean hasDocumentSentiment();
  /**
   * <pre>
   * The overall sentiment for the document. Populated if the user enables
   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment].
   * </pre>
   *
   * <code>.google.cloud.language.v1beta2.Sentiment document_sentiment = 4;</code>
   */
  com.google.cloud.language.v1beta2.Sentiment getDocumentSentiment();
  /**
   * <pre>
   * The overall sentiment for the document. Populated if the user enables
   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment].
   * </pre>
   *
   * <code>.google.cloud.language.v1beta2.Sentiment document_sentiment = 4;</code>
   */
  com.google.cloud.language.v1beta2.SentimentOrBuilder getDocumentSentimentOrBuilder();

  /**
   * <pre>
   * 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.v1beta2.Document.language] field for more details.
   * </pre>
   *
   * <code>string language = 5;</code>
   */
  java.lang.String getLanguage();
  /**
   * <pre>
   * 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.v1beta2.Document.language] field for more details.
   * </pre>
   *
   * <code>string language = 5;</code>
   */
  com.google.protobuf.ByteString
      getLanguageBytes();

  /**
   * <pre>
   * Categories identified in the input document.
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.ClassificationCategory categories = 6;</code>
   */
  java.util.List<com.google.cloud.language.v1beta2.ClassificationCategory> 
      getCategoriesList();
  /**
   * <pre>
   * Categories identified in the input document.
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.ClassificationCategory categories = 6;</code>
   */
  com.google.cloud.language.v1beta2.ClassificationCategory getCategories(int index);
  /**
   * <pre>
   * Categories identified in the input document.
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.ClassificationCategory categories = 6;</code>
   */
  int getCategoriesCount();
  /**
   * <pre>
   * Categories identified in the input document.
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.ClassificationCategory categories = 6;</code>
   */
  java.util.List<? extends com.google.cloud.language.v1beta2.ClassificationCategoryOrBuilder> 
      getCategoriesOrBuilderList();
  /**
   * <pre>
   * Categories identified in the input document.
   * </pre>
   *
   * <code>repeated .google.cloud.language.v1beta2.ClassificationCategory categories = 6;</code>
   */
  com.google.cloud.language.v1beta2.ClassificationCategoryOrBuilder getCategoriesOrBuilder(
      int index);
}
