Package com.google.cloud.dialogflow.v2
Interface Intent.Message.SimpleResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Intent.Message.SimpleResponse,Intent.Message.SimpleResponse.Builder
- Enclosing class:
- Intent.Message
public static interface Intent.Message.SimpleResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDisplayText()Optional.com.google.protobuf.ByteStringgetDisplayTextBytes()Optional.StringgetSsml()One of text_to_speech or ssml must be provided.com.google.protobuf.ByteStringgetSsmlBytes()One of text_to_speech or ssml must be provided.StringgetTextToSpeech()One of text_to_speech or ssml must be provided.com.google.protobuf.ByteStringgetTextToSpeechBytes()One of text_to_speech or ssml must be provided.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTextToSpeech
String getTextToSpeech()
One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
string text_to_speech = 1;- Returns:
- The textToSpeech.
-
getTextToSpeechBytes
com.google.protobuf.ByteString getTextToSpeechBytes()
One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
string text_to_speech = 1;- Returns:
- The bytes for textToSpeech.
-
getSsml
String getSsml()
One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
string ssml = 2;- Returns:
- The ssml.
-
getSsmlBytes
com.google.protobuf.ByteString getSsmlBytes()
One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
string ssml = 2;- Returns:
- The bytes for ssml.
-
getDisplayText
String getDisplayText()
Optional. The text to display.
string display_text = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The displayText.
-
getDisplayTextBytes
com.google.protobuf.ByteString getDisplayTextBytes()
Optional. The text to display.
string display_text = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for displayText.
-
-