Class AnnotateTextResponse (2.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.79.0 (latest)
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.1
- 2.3.4
- 2.2.0
- 2.1.10
publicfinalclass AnnotateTextResponseextendsGeneratedMessageV3implementsAnnotateTextResponseOrBuilderThe text annotations response message.
Protobuf type google.cloud.language.v1.AnnotateTextResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnnotateTextResponseImplements
AnnotateTextResponseOrBuilderInherited Members
Static Fields
CATEGORIES_FIELD_NUMBER
publicstaticfinalintCATEGORIES_FIELD_NUMBERDOCUMENT_SENTIMENT_FIELD_NUMBER
publicstaticfinalintDOCUMENT_SENTIMENT_FIELD_NUMBERENTITIES_FIELD_NUMBER
publicstaticfinalintENTITIES_FIELD_NUMBERLANGUAGE_FIELD_NUMBER
publicstaticfinalintLANGUAGE_FIELD_NUMBERSENTENCES_FIELD_NUMBER
publicstaticfinalintSENTENCES_FIELD_NUMBERTOKENS_FIELD_NUMBER
publicstaticfinalintTOKENS_FIELD_NUMBERStatic Methods
getDefaultInstance()
publicstaticAnnotateTextResponsegetDefaultInstance()getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()newBuilder()
publicstaticAnnotateTextResponse.BuildernewBuilder()newBuilder(AnnotateTextResponse prototype)
publicstaticAnnotateTextResponse.BuildernewBuilder(AnnotateTextResponseprototype)parseDelimitedFrom(InputStream input)
publicstaticAnnotateTextResponseparseDelimitedFrom(InputStreaminput)parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticAnnotateTextResponseparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(byte[] data)
publicstaticAnnotateTextResponseparseFrom(byte[]data)byte[]parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticAnnotateTextResponseparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)byte[]parseFrom(ByteString data)
publicstaticAnnotateTextResponseparseFrom(ByteStringdata)parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticAnnotateTextResponseparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)parseFrom(CodedInputStream input)
publicstaticAnnotateTextResponseparseFrom(CodedInputStreaminput)parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticAnnotateTextResponseparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(InputStream input)
publicstaticAnnotateTextResponseparseFrom(InputStreaminput)parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticAnnotateTextResponseparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(ByteBuffer data)
publicstaticAnnotateTextResponseparseFrom(ByteBufferdata)parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticAnnotateTextResponseparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)parser()
publicstaticParser<AnnotateTextResponse>parser()Methods
equals(Object obj)
publicbooleanequals(Objectobj)getCategories(int index)
publicClassificationCategorygetCategories(intindex)Categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory categories = 6;
getCategoriesCount()
publicintgetCategoriesCount()Categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory categories = 6;
getCategoriesList()
publicList<ClassificationCategory>getCategoriesList()Categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory categories = 6;
getCategoriesOrBuilder(int index)
publicClassificationCategoryOrBuildergetCategoriesOrBuilder(intindex)Categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory categories = 6;
getCategoriesOrBuilderList()
publicList<?extendsClassificationCategoryOrBuilder>getCategoriesOrBuilderList()Categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory categories = 6;
getDefaultInstanceForType()
publicAnnotateTextResponsegetDefaultInstanceForType()getDocumentSentiment()
publicSentimentgetDocumentSentiment()The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment.
.google.cloud.language.v1.Sentiment document_sentiment = 4;
The documentSentiment.
getDocumentSentimentOrBuilder()
publicSentimentOrBuildergetDocumentSentimentOrBuilder()The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment.
.google.cloud.language.v1.Sentiment document_sentiment = 4;
getEntities(int index)
publicEntitygetEntities(intindex)Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities.
repeated .google.cloud.language.v1.Entity entities = 3;
getEntitiesCount()
publicintgetEntitiesCount()Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities.
repeated .google.cloud.language.v1.Entity entities = 3;
getEntitiesList()
publicList<Entity>getEntitiesList()Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities.
repeated .google.cloud.language.v1.Entity entities = 3;
getEntitiesOrBuilder(int index)
publicEntityOrBuildergetEntitiesOrBuilder(intindex)Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities.
repeated .google.cloud.language.v1.Entity entities = 3;
getEntitiesOrBuilderList()
publicList<?extendsEntityOrBuilder>getEntitiesOrBuilderList()Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities.
repeated .google.cloud.language.v1.Entity entities = 3;
getLanguage()
publicStringgetLanguage()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;
The language.
getLanguageBytes()
publicByteStringgetLanguageBytes()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;
The bytes for language.
getParserForType()
publicParser<AnnotateTextResponse>getParserForType()getSentences(int index)
publicSentencegetSentences(intindex)Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
repeated .google.cloud.language.v1.Sentence sentences = 1;
getSentencesCount()
publicintgetSentencesCount()Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
repeated .google.cloud.language.v1.Sentence sentences = 1;
getSentencesList()
publicList<Sentence>getSentencesList()Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
repeated .google.cloud.language.v1.Sentence sentences = 1;
getSentencesOrBuilder(int index)
publicSentenceOrBuildergetSentencesOrBuilder(intindex)Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
repeated .google.cloud.language.v1.Sentence sentences = 1;
getSentencesOrBuilderList()
publicList<?extendsSentenceOrBuilder>getSentencesOrBuilderList()Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
repeated .google.cloud.language.v1.Sentence sentences = 1;
getSerializedSize()
publicintgetSerializedSize()getTokens(int index)
publicTokengetTokens(intindex)Tokens, along with their syntactic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
repeated .google.cloud.language.v1.Token tokens = 2;
getTokensCount()
publicintgetTokensCount()Tokens, along with their syntactic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
repeated .google.cloud.language.v1.Token tokens = 2;
getTokensList()
publicList<Token>getTokensList()Tokens, along with their syntactic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
repeated .google.cloud.language.v1.Token tokens = 2;
getTokensOrBuilder(int index)
publicTokenOrBuildergetTokensOrBuilder(intindex)Tokens, along with their syntactic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
repeated .google.cloud.language.v1.Token tokens = 2;
getTokensOrBuilderList()
publicList<?extendsTokenOrBuilder>getTokensOrBuilderList()Tokens, along with their syntactic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
repeated .google.cloud.language.v1.Token tokens = 2;
getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()hasDocumentSentiment()
publicbooleanhasDocumentSentiment()The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment.
.google.cloud.language.v1.Sentiment document_sentiment = 4;
Whether the documentSentiment field is set.
hashCode()
publicinthashCode()internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()newBuilderForType()
publicAnnotateTextResponse.BuildernewBuilderForType()newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedAnnotateTextResponse.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)toBuilder()
publicAnnotateTextResponse.BuildertoBuilder()writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)