publicfinalclass AnalyzeSyntaxResponseextendsGeneratedMessageV3implementsAnalyzeSyntaxResponseOrBuilder
The syntax analysis response message.
Protobuf type google.cloud.language.v1beta2.AnalyzeSyntaxResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LANGUAGE_FIELD_NUMBER
publicstaticfinalintLANGUAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SENTENCES_FIELD_NUMBER
publicstaticfinalintSENTENCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
TOKENS_FIELD_NUMBER
publicstaticfinalintTOKENS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticAnalyzeSyntaxResponsegetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticAnalyzeSyntaxResponse.BuildernewBuilder()
newBuilder(AnalyzeSyntaxResponse prototype)
publicstaticAnalyzeSyntaxResponse.BuildernewBuilder(AnalyzeSyntaxResponseprototype)
publicstaticAnalyzeSyntaxResponseparseDelimitedFrom(InputStreaminput)
publicstaticAnalyzeSyntaxResponseparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticAnalyzeSyntaxResponseparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticAnalyzeSyntaxResponseparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticAnalyzeSyntaxResponseparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticAnalyzeSyntaxResponseparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticAnalyzeSyntaxResponseparseFrom(CodedInputStreaminput)
publicstaticAnalyzeSyntaxResponseparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticAnalyzeSyntaxResponseparseFrom(InputStreaminput)
publicstaticAnalyzeSyntaxResponseparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticAnalyzeSyntaxResponseparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticAnalyzeSyntaxResponseparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<AnalyzeSyntaxResponse>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicAnalyzeSyntaxResponsegetDefaultInstanceForType()
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 = 3;
| Returns |
| Type |
Description |
String |
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 = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for language.
|
getParserForType()
publicParser<AnalyzeSyntaxResponse>getParserForType()
Overrides
getSentences(int index)
publicSentencegetSentences(intindex)
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;
| Parameter |
| Name |
Description |
index |
int
|
getSentencesCount()
publicintgetSentencesCount()
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;
| Returns |
| Type |
Description |
int |
getSentencesList()
publicList<Sentence>getSentencesList()
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;
getSentencesOrBuilder(int index)
publicSentenceOrBuildergetSentencesOrBuilder(intindex)
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;
| Parameter |
| Name |
Description |
index |
int
|
getSentencesOrBuilderList()
publicList<?extendsSentenceOrBuilder>getSentencesOrBuilderList()
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.language.v1beta2.SentenceOrBuilder> |
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getTokens(int index)
publicTokengetTokens(intindex)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Token |
getTokensCount()
publicintgetTokensCount()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;
| Returns |
| Type |
Description |
int |
getTokensList()
publicList<Token>getTokensList()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;
getTokensOrBuilder(int index)
publicTokenOrBuildergetTokensOrBuilder(intindex)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;
| Parameter |
| Name |
Description |
index |
int
|
getTokensOrBuilderList()
publicList<?extendsTokenOrBuilder>getTokensOrBuilderList()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.language.v1beta2.TokenOrBuilder> |
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicAnalyzeSyntaxResponse.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedAnalyzeSyntaxResponse.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicAnalyzeSyntaxResponse.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides