Interface ResponseMessage.TextOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResponseMessage.Text
,ResponseMessage.Text.Builder
- Enclosing class:
- ResponseMessage
public static interface ResponseMessage.TextOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowPlaybackInterruption()
Output only.String
getText(int index)
Required.com.google.protobuf.ByteString
getTextBytes(int index)
Required.int
getTextCount()
Required.List<String>
getTextList()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTextList
List<String> getTextList()
Required. A collection of text responses.
repeated string text = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- A list containing the text.
-
getTextCount
int getTextCount()
Required. A collection of text responses.
repeated string text = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The count of text.
-
getText
String getText(int index)
Required. A collection of text responses.
repeated string text = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
index
- The index of the element to return.- Returns:
- The text at the given index.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes(int index)
Required. A collection of text responses.
repeated string text = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the text at the given index.
-
getAllowPlaybackInterruption
boolean getAllowPlaybackInterruption()
Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The allowPlaybackInterruption.
-
-