Interface EnumArrayOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EnumArray
,EnumArray.Builder
public interface EnumArrayOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getValues(int index)
List of enum values.com.google.protobuf.ByteString
getValuesBytes(int index)
List of enum values.int
getValuesCount()
List of enum values.List<String>
getValuesList()
List of enum 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()
List of enum values.
repeated string values = 1;
- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()
List of enum values.
repeated string values = 1;
- Returns:
- The count of values.
-
getValues
String getValues(int index)
List of enum 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)
List of enum values.
repeated string values = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the values at the given index.
-
-