public final class AnalyzeSyntaxResponse extends GeneratedMessageV3 implements AnalyzeSyntaxResponseOrBuilder
The syntax analysis response message.Protobuf type
google.cloud.language.v1beta2.AnalyzeSyntaxResponse| Modifier and Type | Class and Description | 
|---|---|
| static class  | AnalyzeSyntaxResponse.Builder
 The syntax analysis response message. | 
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description | 
|---|---|
| static int | LANGUAGE_FIELD_NUMBER | 
| static int | SENTENCES_FIELD_NUMBER | 
| static int | TOKENS_FIELD_NUMBER | 
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| static AnalyzeSyntaxResponse | getDefaultInstance() | 
| AnalyzeSyntaxResponse | getDefaultInstanceForType() | 
| static Descriptors.Descriptor | getDescriptor() | 
| 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. | 
| 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. | 
| Parser<AnalyzeSyntaxResponse> | getParserForType() | 
| Sentence | getSentences(int index)
 Sentences in the input document. | 
| int | getSentencesCount()
 Sentences in the input document. | 
| java.util.List<Sentence> | getSentencesList()
 Sentences in the input document. | 
| SentenceOrBuilder | getSentencesOrBuilder(int index)
 Sentences in the input document. | 
| java.util.List<? extends SentenceOrBuilder> | getSentencesOrBuilderList()
 Sentences in the input document. | 
| int | getSerializedSize() | 
| Token | getTokens(int index)
 Tokens, along with their syntactic information, in the input document. | 
| int | getTokensCount()
 Tokens, along with their syntactic information, in the input document. | 
| java.util.List<Token> | getTokensList()
 Tokens, along with their syntactic information, in the input document. | 
| TokenOrBuilder | getTokensOrBuilder(int index)
 Tokens, along with their syntactic information, in the input document. | 
| java.util.List<? extends TokenOrBuilder> | getTokensOrBuilderList()
 Tokens, along with their syntactic information, in the input document. | 
| UnknownFieldSet | getUnknownFields() | 
| int | hashCode() | 
| protected GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| boolean | isInitialized() | 
| static AnalyzeSyntaxResponse.Builder | newBuilder() | 
| static AnalyzeSyntaxResponse.Builder | newBuilder(AnalyzeSyntaxResponse prototype) | 
| AnalyzeSyntaxResponse.Builder | newBuilderForType() | 
| protected AnalyzeSyntaxResponse.Builder | newBuilderForType(GeneratedMessageV3.BuilderParent parent) | 
| static AnalyzeSyntaxResponse | parseDelimitedFrom(java.io.InputStream input) | 
| static AnalyzeSyntaxResponse | parseDelimitedFrom(java.io.InputStream input,
                  ExtensionRegistryLite extensionRegistry) | 
| static AnalyzeSyntaxResponse | parseFrom(byte[] data) | 
| static AnalyzeSyntaxResponse | parseFrom(byte[] data,
         ExtensionRegistryLite extensionRegistry) | 
| static AnalyzeSyntaxResponse | parseFrom(java.nio.ByteBuffer data) | 
| static AnalyzeSyntaxResponse | parseFrom(java.nio.ByteBuffer data,
         ExtensionRegistryLite extensionRegistry) | 
| static AnalyzeSyntaxResponse | parseFrom(ByteString data) | 
| static AnalyzeSyntaxResponse | parseFrom(ByteString data,
         ExtensionRegistryLite extensionRegistry) | 
| static AnalyzeSyntaxResponse | parseFrom(CodedInputStream input) | 
| static AnalyzeSyntaxResponse | parseFrom(CodedInputStream input,
         ExtensionRegistryLite extensionRegistry) | 
| static AnalyzeSyntaxResponse | parseFrom(java.io.InputStream input) | 
| static AnalyzeSyntaxResponse | parseFrom(java.io.InputStream input,
         ExtensionRegistryLite extensionRegistry) | 
| static Parser<AnalyzeSyntaxResponse> | parser() | 
| AnalyzeSyntaxResponse.Builder | toBuilder() | 
| void | writeTo(CodedOutputStream output) | 
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int SENTENCES_FIELD_NUMBER
public static final int TOKENS_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.util.List<Sentence> getSentencesList()
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;getSentencesList in interface AnalyzeSyntaxResponseOrBuilderpublic java.util.List<? extends SentenceOrBuilder> getSentencesOrBuilderList()
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;getSentencesOrBuilderList in interface AnalyzeSyntaxResponseOrBuilderpublic int getSentencesCount()
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;getSentencesCount in interface AnalyzeSyntaxResponseOrBuilderpublic Sentence getSentences(int index)
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;getSentences in interface AnalyzeSyntaxResponseOrBuilderpublic SentenceOrBuilder getSentencesOrBuilder(int index)
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;getSentencesOrBuilder in interface AnalyzeSyntaxResponseOrBuilderpublic java.util.List<Token> getTokensList()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;getTokensList in interface AnalyzeSyntaxResponseOrBuilderpublic java.util.List<? extends TokenOrBuilder> getTokensOrBuilderList()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;getTokensOrBuilderList in interface AnalyzeSyntaxResponseOrBuilderpublic int getTokensCount()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;getTokensCount in interface AnalyzeSyntaxResponseOrBuilderpublic Token getTokens(int index)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;getTokens in interface AnalyzeSyntaxResponseOrBuilderpublic TokenOrBuilder getTokensOrBuilder(int index)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;getTokensOrBuilder in interface AnalyzeSyntaxResponseOrBuilderpublic 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][google.cloud.language.v1beta2.Document.language] field for more details.
string language = 3;getLanguage in interface AnalyzeSyntaxResponseOrBuilderpublic 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.v1beta2.Document.language] field for more details.
string language = 3;getLanguageBytes in interface AnalyzeSyntaxResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static AnalyzeSyntaxResponse parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AnalyzeSyntaxResponse parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AnalyzeSyntaxResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AnalyzeSyntaxResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AnalyzeSyntaxResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AnalyzeSyntaxResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AnalyzeSyntaxResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AnalyzeSyntaxResponse parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AnalyzeSyntaxResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AnalyzeSyntaxResponse parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AnalyzeSyntaxResponse parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AnalyzeSyntaxResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic AnalyzeSyntaxResponse.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static AnalyzeSyntaxResponse.Builder newBuilder()
public static AnalyzeSyntaxResponse.Builder newBuilder(AnalyzeSyntaxResponse prototype)
public AnalyzeSyntaxResponse.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected AnalyzeSyntaxResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static AnalyzeSyntaxResponse getDefaultInstance()
public static Parser<AnalyzeSyntaxResponse> parser()
public Parser<AnalyzeSyntaxResponse> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public AnalyzeSyntaxResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder