Interface StringArrayOrBuilder (3.14.0)

public interface StringArrayOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getValues(int index)

public abstract String getValues(int index)

A list of string values.

repeated string values = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The values at the given index.

getValuesBytes(int index)

public abstract ByteString getValuesBytes(int index)

A list of string values.

repeated string values = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the values at the given index.

getValuesCount()

public abstract int getValuesCount()

A list of string values.

repeated string values = 1;

Returns
TypeDescription
int

The count of values.

getValuesList()

public abstract List<String> getValuesList()

A list of string values.

repeated string values = 1;

Returns
TypeDescription
List<String>

A list containing the values.