Package com.google.cloud.dialogflow.v2
Interface TextInputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextInput,TextInput.Builder
public interface TextInputOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLanguageCode()Required.com.google.protobuf.ByteStringgetLanguageCodeBytes()Required.StringgetText()Required.com.google.protobuf.ByteStringgetTextBytes()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getText
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];- Returns:
- The text.
-
getTextBytes
com.google.protobuf.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];- Returns:
- The bytes for text.
-
getLanguageCode
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];- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.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];- Returns:
- The bytes for languageCode.
-
-