Interface ListIntPOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListIntP
,ListIntP.Builder
public interface ListIntPOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getItems(int index)
repeated int32 items = 1;
int
getItemsCount()
repeated int32 items = 1;
List<Integer>
getItemsList()
repeated int32 items = 1;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getItemsList
List<Integer> getItemsList()
repeated int32 items = 1;
- Returns:
- A list containing the items.
-
getItemsCount
int getItemsCount()
repeated int32 items = 1;
- Returns:
- The count of items.
-
getItems
int getItems(int index)
repeated int32 items = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The items at the given index.
-
-