Package com.google.cloud.dialogflow.v2
Interface Intent.Message.TextOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Intent.Message.Text,Intent.Message.Text.Builder
- Enclosing class:
- Intent.Message
public static interface Intent.Message.TextOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetText(int index)Optional.com.google.protobuf.ByteStringgetTextBytes(int index)Optional.intgetTextCount()Optional.List<String>getTextList()Optional.-
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()
Optional. The collection of the agent's responses.
repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the text.
-
getTextCount
int getTextCount()
Optional. The collection of the agent's responses.
repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of text.
-
getText
String getText(int index)
Optional. The collection of the agent's responses.
repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The text at the given index.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes(int index)
Optional. The collection of the agent's responses.
repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the text at the given index.
-
-