public interface AnalyzeSyntaxResponseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
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.
|
List<? extends TokenOrBuilder> |
getTokensOrBuilderList()
Tokens, along with their syntactic information, in the input document.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
List<Sentence> getSentencesList()
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;
Sentence getSentences(int index)
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;
int getSentencesCount()
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;
List<? extends SentenceOrBuilder> getSentencesOrBuilderList()
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;
SentenceOrBuilder getSentencesOrBuilder(int index)
Sentences in the input document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 1;
List<Token> getTokensList()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;
Token getTokens(int index)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;
int getTokensCount()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;
List<? extends TokenOrBuilder> getTokensOrBuilderList()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;
TokenOrBuilder getTokensOrBuilder(int index)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1beta2.Token tokens = 2;
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;
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;
Copyright © 2022 Google LLC. All rights reserved.