public final class AnnotateTextResponse extends GeneratedMessageV3 implements AnnotateTextResponseOrBuilder
The text annotations response message.
Protobuf type google.cloud.language.v1.AnnotateTextResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnnotateTextResponseImplements
AnnotateTextResponseOrBuilderStatic Fields
CATEGORIES_FIELD_NUMBER
public static final int CATEGORIES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DOCUMENT_SENTIMENT_FIELD_NUMBER
public static final int DOCUMENT_SENTIMENT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ENTITIES_FIELD_NUMBER
public static final int ENTITIES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LANGUAGE_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
MODERATION_CATEGORIES_FIELD_NUMBER
public static final int MODERATION_CATEGORIES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SENTENCES_FIELD_NUMBER
public static final int SENTENCES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TOKENS_FIELD_NUMBER
public static final int TOKENS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AnnotateTextResponse getDefaultInstance()
Returns | |
---|---|
Type | Description |
AnnotateTextResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static AnnotateTextResponse.Builder newBuilder()
Returns | |
---|---|
Type | Description |
AnnotateTextResponse.Builder |
newBuilder(AnnotateTextResponse prototype)
public static AnnotateTextResponse.Builder newBuilder(AnnotateTextResponse prototype)
Parameter | |
---|---|
Name | Description |
prototype | AnnotateTextResponse |
Returns | |
---|---|
Type | Description |
AnnotateTextResponse.Builder |
parseDelimitedFrom(InputStream input)
public static AnnotateTextResponse parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
AnnotateTextResponse |
Exceptions | |
---|---|
Type | Description |
|