Interface ResponseMessage.TextOrBuilder (4.3.1)

public static interface ResponseMessage.TextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getText(int index)

public abstract String getText(int index)

A collection of text responses.

repeated string text = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The text at the given index.

getTextBytes(int index)

public abstract ByteString getTextBytes(int index)

A collection of text responses.

repeated string text = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the text at the given index.

getTextCount()

public abstract int getTextCount()

A collection of text responses.

repeated string text = 1;

Returns
TypeDescription
int

The count of text.

getTextList()

public abstract List<String> getTextList()

A collection of text responses.

repeated string text = 1;

Returns
TypeDescription
List<String>

A list containing the text.