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
Modifier and TypeMethodDescriptiongetText(int index) Optional.com.google.protobuf.ByteStringgetTextBytes(int index) Optional.intOptional.Optional.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
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
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.
-