publicstaticfinalclass AnalyzeSyntaxResponse.BuilderextendsGeneratedMessageV3.Builder<AnalyzeSyntaxResponse.Builder>implementsAnalyzeSyntaxResponseOrBuilder
The syntax analysis response message.
Protobuf type google.cloud.language.v1.AnalyzeSyntaxResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addAllSentences(Iterable<? extends Sentence> values)
publicAnalyzeSyntaxResponse.BuilderaddAllSentences(Iterable<?extendsSentence>values)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.language.v1.Sentence>
|
addAllTokens(Iterable<? extends Token> values)
publicAnalyzeSyntaxResponse.BuilderaddAllTokens(Iterable<?extendsToken>values)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.language.v1.Token>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicAnalyzeSyntaxResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
addSentences(Sentence value)
publicAnalyzeSyntaxResponse.BuilderaddSentences(Sentencevalue)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
| Parameter |
| Name |
Description |
value |
Sentence
|
addSentences(Sentence.Builder builderForValue)
publicAnalyzeSyntaxResponse.BuilderaddSentences(Sentence.BuilderbuilderForValue)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
addSentences(int index, Sentence value)
publicAnalyzeSyntaxResponse.BuilderaddSentences(intindex,Sentencevalue)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
addSentences(int index, Sentence.Builder builderForValue)
publicAnalyzeSyntaxResponse.BuilderaddSentences(intindex,Sentence.BuilderbuilderForValue)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
addSentencesBuilder()
publicSentence.BuilderaddSentencesBuilder()
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
addSentencesBuilder(int index)
publicSentence.BuilderaddSentencesBuilder(intindex)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
| Parameter |
| Name |
Description |
index |
int
|
addTokens(Token value)
publicAnalyzeSyntaxResponse.BuilderaddTokens(Tokenvalue)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
| Parameter |
| Name |
Description |
value |
Token
|
addTokens(Token.Builder builderForValue)
publicAnalyzeSyntaxResponse.BuilderaddTokens(Token.BuilderbuilderForValue)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
addTokens(int index, Token value)
publicAnalyzeSyntaxResponse.BuilderaddTokens(intindex,Tokenvalue)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
| Parameters |
| Name |
Description |
index |
int
|
value |
Token
|
addTokens(int index, Token.Builder builderForValue)
publicAnalyzeSyntaxResponse.BuilderaddTokens(intindex,Token.BuilderbuilderForValue)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
addTokensBuilder()
publicToken.BuilderaddTokensBuilder()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
addTokensBuilder(int index)
publicToken.BuilderaddTokensBuilder(intindex)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
| Parameter |
| Name |
Description |
index |
int
|
build()
publicAnalyzeSyntaxResponsebuild()
buildPartial()
publicAnalyzeSyntaxResponsebuildPartial()
clear()
publicAnalyzeSyntaxResponse.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicAnalyzeSyntaxResponse.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearLanguage()
publicAnalyzeSyntaxResponse.BuilderclearLanguage()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
publicAnalyzeSyntaxResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearSentences()
publicAnalyzeSyntaxResponse.BuilderclearSentences()
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
clearTokens()
publicAnalyzeSyntaxResponse.BuilderclearTokens()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
clone()
publicAnalyzeSyntaxResponse.Builderclone()
Overrides
getDefaultInstanceForType()
publicAnalyzeSyntaxResponsegetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
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.
|
getSentences(int index)
publicSentencegetSentences(intindex)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
| Parameter |
| Name |
Description |
index |
int
|
getSentencesBuilder(int index)
publicSentence.BuildergetSentencesBuilder(intindex)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
| Parameter |
| Name |
Description |
index |
int
|
getSentencesBuilderList()
publicList<Sentence.Builder>getSentencesBuilderList()
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
getSentencesCount()
publicintgetSentencesCount()
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
| Returns |
| Type |
Description |
int |
getSentencesList()
publicList<Sentence>getSentencesList()
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
getSentencesOrBuilder(int index)
publicSentenceOrBuildergetSentencesOrBuilder(intindex)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
| Parameter |
| Name |
Description |
index |
int
|
getSentencesOrBuilderList()
publicList<?extendsSentenceOrBuilder>getSentencesOrBuilderList()
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.language.v1.SentenceOrBuilder> |
getTokens(int index)
publicTokengetTokens(intindex)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Token |
getTokensBuilder(int index)
publicToken.BuildergetTokensBuilder(intindex)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
| Parameter |
| Name |
Description |
index |
int
|
getTokensBuilderList()
publicList<Token.Builder>getTokensBuilderList()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
getTokensCount()
publicintgetTokensCount()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.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.v1.Token tokens = 2;
getTokensOrBuilder(int index)
publicTokenOrBuildergetTokensOrBuilder(intindex)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.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.v1.Token tokens = 2;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.language.v1.TokenOrBuilder> |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(AnalyzeSyntaxResponse other)
publicAnalyzeSyntaxResponse.BuildermergeFrom(AnalyzeSyntaxResponseother)
publicAnalyzeSyntaxResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicAnalyzeSyntaxResponse.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalAnalyzeSyntaxResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
removeSentences(int index)
publicAnalyzeSyntaxResponse.BuilderremoveSentences(intindex)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
| Parameter |
| Name |
Description |
index |
int
|
removeTokens(int index)
publicAnalyzeSyntaxResponse.BuilderremoveTokens(intindex)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
| Parameter |
| Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
publicAnalyzeSyntaxResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setLanguage(String value)
publicAnalyzeSyntaxResponse.BuildersetLanguage(Stringvalue)
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;
| Parameter |
| Name |
Description |
value |
String
The language to set.
|
setLanguageBytes(ByteString value)
publicAnalyzeSyntaxResponse.BuildersetLanguageBytes(ByteStringvalue)
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;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for language to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicAnalyzeSyntaxResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setSentences(int index, Sentence value)
publicAnalyzeSyntaxResponse.BuildersetSentences(intindex,Sentencevalue)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
setSentences(int index, Sentence.Builder builderForValue)
publicAnalyzeSyntaxResponse.BuildersetSentences(intindex,Sentence.BuilderbuilderForValue)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
setTokens(int index, Token value)
publicAnalyzeSyntaxResponse.BuildersetTokens(intindex,Tokenvalue)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
| Parameters |
| Name |
Description |
index |
int
|
value |
Token
|
setTokens(int index, Token.Builder builderForValue)
publicAnalyzeSyntaxResponse.BuildersetTokens(intindex,Token.BuilderbuilderForValue)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalAnalyzeSyntaxResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides