Interface StringArrayOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StringArray
,StringArray.Builder
public interface StringArrayOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getValues(int index)
A list of string values.com.google.protobuf.ByteString
getValuesBytes(int index)
A list of string values.int
getValuesCount()
A list of string values.List<String>
getValuesList()
A list of string values.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getValuesList
List<String> getValuesList()
A list of string values.
repeated string values = 1;
- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()
A list of string values.
repeated string values = 1;
- Returns:
- The count of values.
-
getValues
String getValues(int index)
A list of string values.
repeated string values = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The values at the given index.
-
getValuesBytes
com.google.protobuf.ByteString getValuesBytes(int index)
A list of string values.
repeated string values = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the values at the given index.
-
-