Interface StringArrayOrBuilder (1.0.0)

publicinterface StringArrayOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getValues(int index)

publicabstractStringgetValues(intindex)

A list of string values.

repeated string values = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The values at the given index.

getValuesBytes(int index)

publicabstractByteStringgetValuesBytes(intindex)

A list of string values.

repeated string values = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the values at the given index.

getValuesCount()

publicabstractintgetValuesCount()

A list of string values.

repeated string values = 1;

Returns
Type Description
int

The count of values.

getValuesList()

publicabstractList<String>getValuesList()

A list of string values.

repeated string values = 1;

Returns
Type Description
List<String>

A list containing the values.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.