Package com.google.cloud.language.v2
Class AnnotateTextResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.language.v2.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.v2.AnnotateTextResponse
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnnotateTextResponse.Builder
The 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 int
CATEGORIES_FIELD_NUMBER
static int
DOCUMENT_SENTIMENT_FIELD_NUMBER
static int
ENTITIES_FIELD_NUMBER
static int
LANGUAGE_CODE_FIELD_NUMBER
static int
LANGUAGE_SUPPORTED_FIELD_NUMBER
static int
MODERATION_CATEGORIES_FIELD_NUMBER
static int
SENTENCES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ClassificationCategory
getCategories(int index)
Categories identified in the input document.int
getCategoriesCount()
Categories identified in the input document.List<ClassificationCategory>
getCategoriesList()
Categories identified in the input document.ClassificationCategoryOrBuilder
getCategoriesOrBuilder(int index)
Categories identified in the input document.List<? extends ClassificationCategoryOrBuilder>
getCategoriesOrBuilderList()
Categories identified in the input document.static AnnotateTextResponse
getDefaultInstance()
AnnotateTextResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Sentiment
getDocumentSentiment()
The overall sentiment for the document.SentimentOrBuilder
getDocumentSentimentOrBuilder()
The overall sentiment for the document.Entity
getEntities(int index)
Entities, along with their semantic information, in the input document.int
getEntitiesCount()
Entities, along with their semantic information, in the input document.List<Entity>
getEntitiesList()
Entities, along with their semantic information, in the input document.EntityOrBuilder
getEntitiesOrBuilder(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.String
getLanguageCode()
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
getLanguageCodeBytes()
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.boolean
getLanguageSupported()
Whether the language is officially supported by all requested features.ClassificationCategory
getModerationCategories(int index)
Harmful and sensitive categories identified in the input document.int
getModerationCategoriesCount()
Harmful and sensitive categories identified in the input document.List<ClassificationCategory>
getModerationCategoriesList()
Harmful and sensitive categories identified in the input document.ClassificationCategoryOrBuilder
getModerationCategoriesOrBuilder(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()
Sentence
getSentences(int index)
Sentences in the input document.int
getSentencesCount()
Sentences in the input document.List<Sentence>
getSentencesList()
Sentences in the input document.SentenceOrBuilder
getSentencesOrBuilder(int index)
Sentences in the input document.List<? extends SentenceOrBuilder>
getSentencesOrBuilderList()
Sentences in the input document.int
getSerializedSize()
boolean
hasDocumentSentiment()
The overall sentiment for the document.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static AnnotateTextResponse.Builder
newBuilder()
static AnnotateTextResponse.Builder
newBuilder(AnnotateTextResponse prototype)
AnnotateTextResponse.Builder
newBuilderForType()
protected AnnotateTextResponse.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static AnnotateTextResponse
parseDelimitedFrom(InputStream input)
static AnnotateTextResponse
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnnotateTextResponse
parseFrom(byte[] data)
static AnnotateTextResponse
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnnotateTextResponse
parseFrom(com.google.protobuf.ByteString data)
static AnnotateTextResponse
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnnotateTextResponse
parseFrom(com.google.protobuf.CodedInputStream input)
static AnnotateTextResponse
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnnotateTextResponse
parseFrom(InputStream input)
static AnnotateTextResponse
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnnotateTextResponse
parseFrom(ByteBuffer data)
static AnnotateTextResponse
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AnnotateTextResponse>
parser()
AnnotateTextResponse.Builder
toBuilder()
void
writeTo(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
-
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_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_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
-
LANGUAGE_SUPPORTED_FIELD_NUMBER
public static final int LANGUAGE_SUPPORTED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getSentencesList
public List<Sentence> getSentencesList()
Sentences in the input document. Populated if the user enables [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v2.AnnotateTextRequest.Features.extract_document_sentiment].
repeated .google.cloud.language.v2.Sentence sentences = 1;
- Specified by:
getSentencesList
in interfaceAnnotateTextResponseOrBuilder
-
getSentencesOrBuilderList
public List<? extends SentenceOrBuilder> getSentencesOrBuilderList()
Sentences in the input document. Populated if the user enables [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v2.AnnotateTextRequest.Features.extract_document_sentiment].
repeated .google.cloud.language.v2.Sentence sentences = 1;
- Specified by:
getSentencesOrBuilderList
in interfaceAnnotateTextResponseOrBuilder
-
getSentencesCount
public int getSentencesCount()
Sentences in the input document. Populated if the user enables [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v2.AnnotateTextRequest.Features.extract_document_sentiment].
repeated .google.cloud.language.v2.Sentence sentences = 1;
- Specified by:
getSentencesCount
in interfaceAnnotateTextResponseOrBuilder
-
getSentences
public Sentence getSentences(int index)
Sentences in the input document. Populated if the user enables [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v2.AnnotateTextRequest.Features.extract_document_sentiment].
repeated .google.cloud.language.v2.Sentence sentences = 1;
- Specified by:
getSentences
in interfaceAnnotateTextResponseOrBuilder
-
getSentencesOrBuilder
public SentenceOrBuilder getSentencesOrBuilder(int index)
Sentences in the input document. Populated if the user enables [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v2.AnnotateTextRequest.Features.extract_document_sentiment].
repeated .google.cloud.language.v2.Sentence sentences = 1;
- Specified by:
getSentencesOrBuilder
in 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.v2.AnnotateTextRequest.Features.extract_entities] or [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v2.AnnotateTextRequest.Features.extract_entity_sentiment].
repeated .google.cloud.language.v2.Entity entities = 2;
- Specified by:
getEntitiesList
in 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.v2.AnnotateTextRequest.Features.extract_entities] or [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v2.AnnotateTextRequest.Features.extract_entity_sentiment].
repeated .google.cloud.language.v2.Entity entities = 2;
- Specified by:
getEntitiesOrBuilderList
in 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.v2.AnnotateTextRequest.Features.extract_entities] or [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v2.AnnotateTextRequest.Features.extract_entity_sentiment].
repeated .google.cloud.language.v2.Entity entities = 2;
- Specified by:
getEntitiesCount
in 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.v2.AnnotateTextRequest.Features.extract_entities] or [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v2.AnnotateTextRequest.Features.extract_entity_sentiment].
repeated .google.cloud.language.v2.Entity entities = 2;
- Specified by:
getEntities
in 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.v2.AnnotateTextRequest.Features.extract_entities] or [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v2.AnnotateTextRequest.Features.extract_entity_sentiment].
repeated .google.cloud.language.v2.Entity entities = 2;
- Specified by:
getEntitiesOrBuilder
in interfaceAnnotateTextResponseOrBuilder
-
hasDocumentSentiment
public boolean hasDocumentSentiment()
The overall sentiment for the document. Populated if the user enables [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v2.AnnotateTextRequest.Features.extract_document_sentiment].
.google.cloud.language.v2.Sentiment document_sentiment = 3;
- Specified by:
hasDocumentSentiment
in 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.v2.AnnotateTextRequest.Features.extract_document_sentiment].
.google.cloud.language.v2.Sentiment document_sentiment = 3;
- Specified by:
getDocumentSentiment
in 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.v2.AnnotateTextRequest.Features.extract_document_sentiment].
.google.cloud.language.v2.Sentiment document_sentiment = 3;
- Specified by:
getDocumentSentimentOrBuilder
in interfaceAnnotateTextResponseOrBuilder
-
getLanguageCode
public String getLanguageCode()
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_code = 4;
- Specified by:
getLanguageCode
in interfaceAnnotateTextResponseOrBuilder
- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()
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_code = 4;
- Specified by:
getLanguageCodeBytes
in interfaceAnnotateTextResponseOrBuilder
- Returns:
- The bytes for languageCode.
-
getCategoriesList
public List<ClassificationCategory> getCategoriesList()
Categories identified in the input document.
repeated .google.cloud.language.v2.ClassificationCategory categories = 5;
- Specified by:
getCategoriesList
in interfaceAnnotateTextResponseOrBuilder
-
getCategoriesOrBuilderList
public List<? extends ClassificationCategoryOrBuilder> getCategoriesOrBuilderList()
Categories identified in the input document.
repeated .google.cloud.language.v2.ClassificationCategory categories = 5;
- Specified by:
getCategoriesOrBuilderList
in interfaceAnnotateTextResponseOrBuilder
-
getCategoriesCount
public int getCategoriesCount()
Categories identified in the input document.
repeated .google.cloud.language.v2.ClassificationCategory categories = 5;
- Specified by:
getCategoriesCount
in interfaceAnnotateTextResponseOrBuilder
-
getCategories
public ClassificationCategory getCategories(int index)
Categories identified in the input document.
repeated .google.cloud.language.v2.ClassificationCategory categories = 5;
- Specified by:
getCategories
in interfaceAnnotateTextResponseOrBuilder
-
getCategoriesOrBuilder
public ClassificationCategoryOrBuilder getCategoriesOrBuilder(int index)
Categories identified in the input document.
repeated .google.cloud.language.v2.ClassificationCategory categories = 5;
- Specified by:
getCategoriesOrBuilder
in interfaceAnnotateTextResponseOrBuilder
-
getModerationCategoriesList
public List<ClassificationCategory> getModerationCategoriesList()
Harmful and sensitive categories identified in the input document.
repeated .google.cloud.language.v2.ClassificationCategory moderation_categories = 6;
- Specified by:
getModerationCategoriesList
in interfaceAnnotateTextResponseOrBuilder
-
getModerationCategoriesOrBuilderList
public List<? extends ClassificationCategoryOrBuilder> getModerationCategoriesOrBuilderList()
Harmful and sensitive categories identified in the input document.
repeated .google.cloud.language.v2.ClassificationCategory moderation_categories = 6;
- Specified by:
getModerationCategoriesOrBuilderList
in interfaceAnnotateTextResponseOrBuilder
-
getModerationCategoriesCount
public int getModerationCategoriesCount()
Harmful and sensitive categories identified in the input document.
repeated .google.cloud.language.v2.ClassificationCategory moderation_categories = 6;
- Specified by:
getModerationCategoriesCount
in interfaceAnnotateTextResponseOrBuilder
-
getModerationCategories
public ClassificationCategory getModerationCategories(int index)
Harmful and sensitive categories identified in the input document.
repeated .google.cloud.language.v2.ClassificationCategory moderation_categories = 6;
- Specified by:
getModerationCategories
in interfaceAnnotateTextResponseOrBuilder
-
getModerationCategoriesOrBuilder
public ClassificationCategoryOrBuilder getModerationCategoriesOrBuilder(int index)
Harmful and sensitive categories identified in the input document.
repeated .google.cloud.language.v2.ClassificationCategory moderation_categories = 6;
- Specified by:
getModerationCategoriesOrBuilder
in interfaceAnnotateTextResponseOrBuilder
-
getLanguageSupported
public boolean getLanguageSupported()
Whether the language is officially supported by all requested features. The API may still return a response when the language is not supported, but it is on a best effort basis.
bool language_supported = 7;
- Specified by:
getLanguageSupported
in interfaceAnnotateTextResponseOrBuilder
- Returns:
- The languageSupported.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AnnotateTextResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AnnotateTextResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-