Package crawlercommons.urlfrontier
Interface Urlfrontier.QueueListOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Urlfrontier.QueueList,Urlfrontier.QueueList.Builder
- Enclosing class:
- Urlfrontier
public static interface Urlfrontier.QueueListOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncrawl ID - empty string for defaultcom.google.protobuf.ByteStringcrawl ID - empty string for defaultintgetSize()number of values returnedintgetStart()position of the first result in the listlonggetTotal()total number of queuesgetValues(int index) repeated string values = 1;com.google.protobuf.ByteStringgetValuesBytes(int index) repeated string values = 1;intrepeated string values = 1;repeated string values = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getValuesList
repeated string values = 1;- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()repeated string values = 1;- Returns:
- The count of values.
-
getValues
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) repeated string values = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the values at the given index.
-
getTotal
long getTotal()total number of queues
uint64 total = 2;- Returns:
- The total.
-
getStart
int getStart()position of the first result in the list
uint32 start = 3;- Returns:
- The start.
-
getSize
int getSize()number of values returned
uint32 size = 4;- Returns:
- The size.
-
getCrawlID
String getCrawlID()crawl ID - empty string for default
string crawlID = 5;- Returns:
- The crawlID.
-
getCrawlIDBytes
com.google.protobuf.ByteString getCrawlIDBytes()crawl ID - empty string for default
string crawlID = 5;- Returns:
- The bytes for crawlID.
-