public interface TextInputOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getLanguageCode()
Required.
|
ByteString |
getLanguageCodeBytes()
Required.
|
String |
getText()
Required.
|
ByteString |
getTextBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getText()
Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters for virtual agent interactions.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
ByteString getTextBytes()
Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters for virtual agent interactions.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
String getLanguageCode()
Required. The language of this conversational query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) 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];
ByteString getLanguageCodeBytes()
Required. The language of this conversational query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) 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];
Copyright © 2022 Google LLC. All rights reserved.