public interface TextInputOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getLanguageCode()
public abstract String getLanguageCode()Required. The language of this conversational query. See Language Support 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 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public abstract ByteString getLanguageCodeBytes()Required. The language of this conversational query. See Language Support 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 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for languageCode. |
getText()
public abstract String getText() Optional. The UTF-8 encoded natural language text to be processed.
Text length must not exceed 256 characters for virtual agent interactions.
Only one of text and companion_query should be set - not both.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public abstract ByteString getTextBytes() Optional. The UTF-8 encoded natural language text to be processed.
Text length must not exceed 256 characters for virtual agent interactions.
Only one of text and companion_query should be set - not both.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |