public interface TextInputOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLanguageCode()
Required.
|
ByteString |
getLanguageCodeBytes()
Required.
|
java.lang.String |
getText()
Required.
|
ByteString |
getTextBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getText()
Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 bytes.
string text = 1;
ByteString getTextBytes()
Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 bytes.
string text = 1;
java.lang.String getLanguageCode()
Required. The language of this conversational query. See [Language Support](https://dialogflow.com/docs/languages) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
string language_code = 2;
ByteString getLanguageCodeBytes()
Required. The language of this conversational query. See [Language Support](https://dialogflow.com/docs/languages) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
string language_code = 2;