com.google.cloud.language.v1.AnnotateTextResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grpc-google-cloud-language-v1 Show documentation
Show all versions of grpc-google-cloud-language-v1 Show documentation
GRPC library for grpc-google-cloud-language-v1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/language/v1/language_service.proto
package com.google.cloud.language.v1;
public interface AnnotateTextResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.language.v1.AnnotateTextResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Sentences in the input document. Populated if the user enables
* [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].
*
*
* repeated .google.cloud.language.v1.Sentence sentences = 1;
*/
java.util.List
getSentencesList();
/**
*
* Sentences in the input document. Populated if the user enables
* [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].
*
*
* repeated .google.cloud.language.v1.Sentence sentences = 1;
*/
com.google.cloud.language.v1.Sentence getSentences(int index);
/**
*
* Sentences in the input document. Populated if the user enables
* [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].
*
*
* repeated .google.cloud.language.v1.Sentence sentences = 1;
*/
int getSentencesCount();
/**
*
* Sentences in the input document. Populated if the user enables
* [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].
*
*
* repeated .google.cloud.language.v1.Sentence sentences = 1;
*/
java.util.List extends com.google.cloud.language.v1.SentenceOrBuilder>
getSentencesOrBuilderList();
/**
*
* Sentences in the input document. Populated if the user enables
* [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].
*
*
* repeated .google.cloud.language.v1.Sentence sentences = 1;
*/
com.google.cloud.language.v1.SentenceOrBuilder getSentencesOrBuilder(
int index);
/**
*
* Tokens, along with their syntactic information, in the input document.
* Populated if the user enables
* [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].
*
*
* repeated .google.cloud.language.v1.Token tokens = 2;
*/
java.util.List
getTokensList();
/**
*
* Tokens, along with their syntactic information, in the input document.
* Populated if the user enables
* [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].
*
*
* repeated .google.cloud.language.v1.Token tokens = 2;
*/
com.google.cloud.language.v1.Token getTokens(int index);
/**
*
* Tokens, along with their syntactic information, in the input document.
* Populated if the user enables
* [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].
*
*
* repeated .google.cloud.language.v1.Token tokens = 2;
*/
int getTokensCount();
/**
*
* Tokens, along with their syntactic information, in the input document.
* Populated if the user enables
* [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].
*
*
* repeated .google.cloud.language.v1.Token tokens = 2;
*/
java.util.List extends com.google.cloud.language.v1.TokenOrBuilder>
getTokensOrBuilderList();
/**
*
* Tokens, along with their syntactic information, in the input document.
* Populated if the user enables
* [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].
*
*
* repeated .google.cloud.language.v1.Token tokens = 2;
*/
com.google.cloud.language.v1.TokenOrBuilder getTokensOrBuilder(
int index);
/**
*
* Entities, along with their semantic information, in the input document.
* Populated if the user enables
* [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entities].
*
*
* repeated .google.cloud.language.v1.Entity entities = 3;
*/
java.util.List
getEntitiesList();
/**
*
* Entities, along with their semantic information, in the input document.
* Populated if the user enables
* [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entities].
*
*
* repeated .google.cloud.language.v1.Entity entities = 3;
*/
com.google.cloud.language.v1.Entity getEntities(int index);
/**
*
* Entities, along with their semantic information, in the input document.
* Populated if the user enables
* [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entities].
*
*
* repeated .google.cloud.language.v1.Entity entities = 3;
*/
int getEntitiesCount();
/**
*
* Entities, along with their semantic information, in the input document.
* Populated if the user enables
* [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entities].
*
*
* repeated .google.cloud.language.v1.Entity entities = 3;
*/
java.util.List extends com.google.cloud.language.v1.EntityOrBuilder>
getEntitiesOrBuilderList();
/**
*
* Entities, along with their semantic information, in the input document.
* Populated if the user enables
* [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entities].
*
*
* repeated .google.cloud.language.v1.Entity entities = 3;
*/
com.google.cloud.language.v1.EntityOrBuilder getEntitiesOrBuilder(
int index);
/**
*
* The overall sentiment for the document. Populated if the user enables
* [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment].
*
*
* .google.cloud.language.v1.Sentiment document_sentiment = 4;
*/
boolean hasDocumentSentiment();
/**
*
* The overall sentiment for the document. Populated if the user enables
* [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment].
*
*
* .google.cloud.language.v1.Sentiment document_sentiment = 4;
*/
com.google.cloud.language.v1.Sentiment getDocumentSentiment();
/**
*
* The overall sentiment for the document. Populated if the user enables
* [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment].
*
*
* .google.cloud.language.v1.Sentiment document_sentiment = 4;
*/
com.google.cloud.language.v1.SentimentOrBuilder getDocumentSentimentOrBuilder();
/**
*
* 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` field for more details.
*
*
* string language = 5;
*/
java.lang.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` field for more details.
*
*
* string language = 5;
*/
com.google.protobuf.ByteString
getLanguageBytes();
}