Package com.google.cloud.language.v1
Interface AnalyzeSyntaxResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnalyzeSyntaxResponse
,AnalyzeSyntaxResponse.Builder
public interface AnalyzeSyntaxResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.com.google.protobuf.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSentencesList
List<Sentence> getSentencesList()
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
-
getSentences
Sentence getSentences(int index)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
-
getSentencesCount
int getSentencesCount()
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
-
getSentencesOrBuilderList
List<? extends SentenceOrBuilder> getSentencesOrBuilderList()
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
-
getSentencesOrBuilder
SentenceOrBuilder getSentencesOrBuilder(int index)
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1;
-
getTokensList
List<Token> getTokensList()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
-
getTokens
Token getTokens(int index)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
-
getTokensCount
int getTokensCount()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
-
getTokensOrBuilderList
List<? extends TokenOrBuilder> getTokensOrBuilderList()
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
-
getTokensOrBuilder
TokenOrBuilder getTokensOrBuilder(int index)
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2;
-
getLanguage
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.v1.Document.language] field for more details.
string language = 3;
- Returns:
- The language.
-
getLanguageBytes
com.google.protobuf.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.v1.Document.language] field for more details.
string language = 3;
- Returns:
- The bytes for language.
-
-