Package com.google.cloud.language.v1
Class AnnotateTextResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.language.v1.AnnotateTextResponse
-
- All Implemented Interfaces:
AnnotateTextResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class AnnotateTextResponse extends com.google.protobuf.GeneratedMessageV3 implements AnnotateTextResponseOrBuilder
The text annotations response message.
Protobuf typegoogle.cloud.language.v1.AnnotateTextResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnnotateTextResponse.BuilderThe text annotations response message.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCATEGORIES_FIELD_NUMBERstatic intDOCUMENT_SENTIMENT_FIELD_NUMBERstatic intENTITIES_FIELD_NUMBERstatic intLANGUAGE_FIELD_NUMBERstatic intMODERATION_CATEGORIES_FIELD_NUMBERstatic intSENTENCES_FIELD_NUMBERstatic intTOKENS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ClassificationCategorygetCategories(int index)Categories identified in the input document.intgetCategoriesCount()Categories identified in the input document.List<ClassificationCategory>getCategoriesList()Categories identified in the input document.ClassificationCategoryOrBuildergetCategoriesOrBuilder(int index)Categories identified in the input document.List<? extends ClassificationCategoryOrBuilder>getCategoriesOrBuilderList()Categories identified in the input document.static AnnotateTextResponsegetDefaultInstance()AnnotateTextResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()SentimentgetDocumentSentiment()The overall sentiment for the document.SentimentOrBuildergetDocumentSentimentOrBuilder()The overall sentiment for the document.EntitygetEntities(int index)Entities, along with their semantic information, in the input document.intgetEntitiesCount()Entities, along with their semantic information, in the input document.List<Entity>getEntitiesList()Entities, along with their semantic information, in the input document.EntityOrBuildergetEntitiesOrBuilder(int index)Entities, along with their semantic information, in the input document.List<? extends EntityOrBuilder>getEntitiesOrBuilderList()Entities, along with their semantic information, in the input document.StringgetLanguage()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.ByteStringgetLanguageBytes()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.ClassificationCategorygetModerationCategories(int index)Harmful and sensitive categories identified in the input document.intgetModerationCategoriesCount()Harmful and sensitive categories identified in the input document.List<ClassificationCategory>getModerationCategoriesList()Harmful and sensitive categories identified in the input document.ClassificationCategoryOrBuildergetModerationCategoriesOrBuilder(int index)Harmful and sensitive categories identified in the input document.List<? extends ClassificationCategoryOrBuilder>getModerationCategoriesOrBuilderList()Harmful and sensitive categories identified in the input document.com.google.protobuf.Parser<AnnotateTextResponse>getParserForType()SentencegetSentences(int index)Sentences in the input document.intgetSentencesCount()Sentences in the input document.List<Sentence>getSentencesList()Sentences in the input document.SentenceOrBuildergetSentencesOrBuilder(int index)Sentences in the input document.List<? extends SentenceOrBuilder>getSentencesOrBuilderList()Sentences in the input document.intgetSerializedSize()TokengetTokens(int index)Tokens, along with their syntactic information, in the input document.intgetTokensCount()Tokens, along with their syntactic information, in the input document.List<Token>getTokensList()Tokens, along with their syntactic information, in the input document.TokenOrBuildergetTokensOrBuilder(int index)Tokens, along with their syntactic information, in the input document.List<? extends TokenOrBuilder>getTokensOrBuilderList()Tokens, along with their syntactic information, in the input document.booleanhasDocumentSentiment()The overall sentiment for the document.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AnnotateTextResponse.BuildernewBuilder()static AnnotateTextResponse.BuildernewBuilder(AnnotateTextResponse prototype)AnnotateTextResponse.BuildernewBuilderForType()protected AnnotateTextResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AnnotateTextResponseparseDelimitedFrom(InputStream input)static AnnotateTextResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnnotateTextResponseparseFrom(byte[] data)static AnnotateTextResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnnotateTextResponseparseFrom(com.google.protobuf.ByteString data)static AnnotateTextResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnnotateTextResponseparseFrom(com.google.protobuf.CodedInputStream input)static AnnotateTextResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnnotateTextResponseparseFrom(InputStream input)static AnnotateTextResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnnotateTextResponseparseFrom(ByteBuffer data)static AnnotateTextResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AnnotateTextResponse>parser()AnnotateTextResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SENTENCES_FIELD_NUMBER
public static final int SENTENCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOKENS_FIELD_NUMBER
public static final int TOKENS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITIES_FIELD_NUMBER
public static final int ENTITIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOCUMENT_SENTIMENT_FIELD_NUMBER
public static final int DOCUMENT_SENTIMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANGUAGE_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CATEGORIES_FIELD_NUMBER
public static final int CATEGORIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODERATION_CATEGORIES_FIELD_NUMBER
public static final int MODERATION_CATEGORIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSentencesList
public List<Sentence> 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;- Specified by:
getSentencesListin interfaceAnnotateTextResponseOrBuilder
-
getSentencesOrBuilderList
public List<? extends 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;- Specified by:
getSentencesOrBuilderListin interfaceAnnotateTextResponseOrBuilder
-
getSentencesCount
public 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;- Specified by:
getSentencesCountin interfaceAnnotateTextResponseOrBuilder
-
getSentences
public 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;- Specified by:
getSentencesin interfaceAnnotateTextResponseOrBuilder
-
getSentencesOrBuilder
public SentenceOrBuilder getSentencesOrBuilder(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;- Specified by:
getSentencesOrBuilderin interfaceAnnotateTextResponseOrBuilder
-
getTokensList
public List<Token> 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;- Specified by:
getTokensListin interfaceAnnotateTextResponseOrBuilder
-
getTokensOrBuilderList
public List<? extends 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;- Specified by:
getTokensOrBuilderListin interfaceAnnotateTextResponseOrBuilder
-
getTokensCount
public 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;- Specified by:
getTokensCountin interfaceAnnotateTextResponseOrBuilder
-
getTokens
public 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;- Specified by:
getTokensin interfaceAnnotateTextResponseOrBuilder
-
getTokensOrBuilder
public TokenOrBuilder getTokensOrBuilder(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;- Specified by:
getTokensOrBuilderin interfaceAnnotateTextResponseOrBuilder
-
getEntitiesList
public List<Entity> 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;- Specified by:
getEntitiesListin interfaceAnnotateTextResponseOrBuilder
-
getEntitiesOrBuilderList
public List<? extends 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;- Specified by:
getEntitiesOrBuilderListin interfaceAnnotateTextResponseOrBuilder
-
getEntitiesCount
public 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;- Specified by:
getEntitiesCountin interfaceAnnotateTextResponseOrBuilder
-
getEntities
public 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;- Specified by:
getEntitiesin interfaceAnnotateTextResponseOrBuilder
-
getEntitiesOrBuilder
public EntityOrBuilder getEntitiesOrBuilder(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;- Specified by:
getEntitiesOrBuilderin interfaceAnnotateTextResponseOrBuilder
-
hasDocumentSentiment
public 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;- Specified by:
hasDocumentSentimentin interfaceAnnotateTextResponseOrBuilder- Returns:
- Whether the documentSentiment field is set.
-
getDocumentSentiment
public 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;- Specified by:
getDocumentSentimentin interfaceAnnotateTextResponseOrBuilder- Returns:
- The documentSentiment.
-
getDocumentSentimentOrBuilder
public SentimentOrBuilder getDocumentSentimentOrBuilder()
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;- Specified by:
getDocumentSentimentOrBuilderin interfaceAnnotateTextResponseOrBuilder
-
getLanguage
public 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 = 5;- Specified by:
getLanguagein interfaceAnnotateTextResponseOrBuilder- Returns:
- The language.
-
getLanguageBytes
public 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 = 5;- Specified by:
getLanguageBytesin interfaceAnnotateTextResponseOrBuilder- Returns:
- The bytes for language.
-
getCategoriesList
public List<ClassificationCategory> getCategoriesList()
Categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory categories = 6;- Specified by:
getCategoriesListin interfaceAnnotateTextResponseOrBuilder
-
getCategoriesOrBuilderList
public List<? extends ClassificationCategoryOrBuilder> getCategoriesOrBuilderList()
Categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory categories = 6;- Specified by:
getCategoriesOrBuilderListin interfaceAnnotateTextResponseOrBuilder
-
getCategoriesCount
public int getCategoriesCount()
Categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory categories = 6;- Specified by:
getCategoriesCountin interfaceAnnotateTextResponseOrBuilder
-
getCategories
public ClassificationCategory getCategories(int index)
Categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory categories = 6;- Specified by:
getCategoriesin interfaceAnnotateTextResponseOrBuilder
-
getCategoriesOrBuilder
public ClassificationCategoryOrBuilder getCategoriesOrBuilder(int index)
Categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory categories = 6;- Specified by:
getCategoriesOrBuilderin interfaceAnnotateTextResponseOrBuilder
-
getModerationCategoriesList
public List<ClassificationCategory> getModerationCategoriesList()
Harmful and sensitive categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory moderation_categories = 7;- Specified by:
getModerationCategoriesListin interfaceAnnotateTextResponseOrBuilder
-
getModerationCategoriesOrBuilderList
public List<? extends ClassificationCategoryOrBuilder> getModerationCategoriesOrBuilderList()
Harmful and sensitive categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory moderation_categories = 7;- Specified by:
getModerationCategoriesOrBuilderListin interfaceAnnotateTextResponseOrBuilder
-
getModerationCategoriesCount
public int getModerationCategoriesCount()
Harmful and sensitive categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory moderation_categories = 7;- Specified by:
getModerationCategoriesCountin interfaceAnnotateTextResponseOrBuilder
-
getModerationCategories
public ClassificationCategory getModerationCategories(int index)
Harmful and sensitive categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory moderation_categories = 7;- Specified by:
getModerationCategoriesin interfaceAnnotateTextResponseOrBuilder
-
getModerationCategoriesOrBuilder
public ClassificationCategoryOrBuilder getModerationCategoriesOrBuilder(int index)
Harmful and sensitive categories identified in the input document.
repeated .google.cloud.language.v1.ClassificationCategory moderation_categories = 7;- Specified by:
getModerationCategoriesOrBuilderin interfaceAnnotateTextResponseOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AnnotateTextResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotateTextResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotateTextResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotateTextResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotateTextResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotateTextResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotateTextResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AnnotateTextResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AnnotateTextResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AnnotateTextResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AnnotateTextResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AnnotateTextResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AnnotateTextResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AnnotateTextResponse.Builder newBuilder()
-
newBuilder
public static AnnotateTextResponse.Builder newBuilder(AnnotateTextResponse prototype)
-
toBuilder
public AnnotateTextResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AnnotateTextResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AnnotateTextResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AnnotateTextResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<AnnotateTextResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AnnotateTextResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-