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 String
getText(int index)
A collection of text responses.com.google.protobuf.ByteString
getTextBytes(int index)
A collection of text responses.int
getTextCount()
A collection of text responses.List<String>
getTextList()
A collection of text responses.-
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()
A collection of text responses.
repeated string text = 1;
- Returns:
- A list containing the text.
-
getTextCount
int getTextCount()
A collection of text responses.
repeated string text = 1;
- Returns:
- The count of text.
-
getText
String getText(int index)
A collection of text responses.
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 responses.
repeated string text = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the text at the given index.
-
-