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
@Generated
public interface AnalyzeSyntaxResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.ByteStringThe language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language.getSentences(int index) Sentences in the input document.intSentences in the input document.Sentences in the input document.getSentencesOrBuilder(int index) Sentences in the input document.List<? extends SentenceOrBuilder>Sentences in the input document.getTokens(int index) Tokens, along with their syntactic information, in the input document.intTokens, along with their syntactic information, in the input document.Tokens, along with their syntactic information, in the input document.getTokensOrBuilder(int index) Tokens, along with their syntactic information, in the input document.List<? extends TokenOrBuilder>Tokens, along with their syntactic information, in the input document.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSentencesList
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1; -
getSentences
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
Sentences in the input document.
repeated .google.cloud.language.v1.Sentence sentences = 1; -
getTokensList
Tokens, along with their syntactic information, in the input document.
repeated .google.cloud.language.v1.Token tokens = 2; -
getTokens
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
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.
-