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
Modifier and TypeMethodDescriptionbooleanOutput only.getText(int index) Required.com.google.protobuf.ByteStringgetTextBytes(int index) Required.intRequired.Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTextList
Required. A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime.
repeated string text = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the text.
-
getTextCount
int getTextCount()Required. A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime.
repeated string text = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The count of text.
-
getText
Required. A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime.
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 response variants. If multiple variants are defined, only one text response variant is returned at runtime.
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.
-