Package org.apache.pinot.common.proto
Interface Worker.SegmentListOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Worker.SegmentList,Worker.SegmentList.Builder
- Enclosing class:
- Worker
public static interface Worker.SegmentListOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
Modifier and Type Method Description StringgetSegments(int index)repeated string segments = 1;com.google.protobuf.ByteStringgetSegmentsBytes(int index)repeated string segments = 1;intgetSegmentsCount()repeated string segments = 1;List<String>getSegmentsList()repeated string segments = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSegmentsList
List<String> getSegmentsList()
repeated string segments = 1;- Returns:
- A list containing the segments.
-
getSegmentsCount
int getSegmentsCount()
repeated string segments = 1;- Returns:
- The count of segments.
-
getSegments
String getSegments(int index)
repeated string segments = 1;- Parameters:
index- The index of the element to return.- Returns:
- The segments at the given index.
-
getSegmentsBytes
com.google.protobuf.ByteString getSegmentsBytes(int index)
repeated string segments = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the segments at the given index.
-
-