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 TypeMethodDescriptiongetText(int index) A collection of text response variants.com.google.protobuf.ByteStringgetTextBytes(int index) A collection of text response variants.intA collection of text response variants.A collection of text response variants.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
A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime.
repeated string text = 1;- Returns:
- A list containing the text.
-
getTextCount
int getTextCount()A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime.
repeated string text = 1;- Returns:
- The count of text.
-
getText
A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime.
repeated string text = 1;- Parameters:
index- The index of the element to return.- Returns:
- The text at the given index.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes(int index) A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime.
repeated string text = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the text at the given index.
-