Package crawlercommons.urlfrontier
Interface Urlfrontier.GetParamsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Urlfrontier.GetParams,Urlfrontier.GetParams.Builder
- Enclosing class:
- Urlfrontier
public static interface Urlfrontier.GetParamsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Urlfrontier.AnyCrawlIDgetAnyCrawlID().urlfrontier.AnyCrawlID anyCrawlID = 5;Urlfrontier.AnyCrawlIDOrBuildergetAnyCrawlIDOrBuilder().urlfrontier.AnyCrawlID anyCrawlID = 5;StringgetCrawlID()string crawlID = 6;com.google.protobuf.ByteStringgetCrawlIDBytes()string crawlID = 6;intgetDelayRequestable()delay in seconds before a URL can be unlocked and sent again for fetchingUrlfrontier.GetParams.ItemCasegetItemCase()StringgetKey()queue id if restricting to a specific queuecom.google.protobuf.ByteStringgetKeyBytes()queue id if restricting to a specific queueintgetMaxQueues()maximum number of queues to get URLs from, the default value of 0 means no limitintgetMaxUrlsPerQueue()maximum number of URLs per queue, the default value of 0 means no limitbooleanhasAnyCrawlID().urlfrontier.AnyCrawlID anyCrawlID = 5;booleanhasCrawlID()string crawlID = 6;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMaxUrlsPerQueue
int getMaxUrlsPerQueue()
maximum number of URLs per queue, the default value of 0 means no limit
uint32 max_urls_per_queue = 1;- Returns:
- The maxUrlsPerQueue.
-
getMaxQueues
int getMaxQueues()
maximum number of queues to get URLs from, the default value of 0 means no limit
uint32 max_queues = 2;- Returns:
- The maxQueues.
-
getKey
String getKey()
queue id if restricting to a specific queue
string key = 3;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
queue id if restricting to a specific queue
string key = 3;- Returns:
- The bytes for key.
-
getDelayRequestable
int getDelayRequestable()
delay in seconds before a URL can be unlocked and sent again for fetching
uint32 delay_requestable = 4;- Returns:
- The delayRequestable.
-
hasAnyCrawlID
boolean hasAnyCrawlID()
.urlfrontier.AnyCrawlID anyCrawlID = 5;- Returns:
- Whether the anyCrawlID field is set.
-
getAnyCrawlID
Urlfrontier.AnyCrawlID getAnyCrawlID()
.urlfrontier.AnyCrawlID anyCrawlID = 5;- Returns:
- The anyCrawlID.
-
getAnyCrawlIDOrBuilder
Urlfrontier.AnyCrawlIDOrBuilder getAnyCrawlIDOrBuilder()
.urlfrontier.AnyCrawlID anyCrawlID = 5;
-
hasCrawlID
boolean hasCrawlID()
string crawlID = 6;- Returns:
- Whether the crawlID field is set.
-
getCrawlID
String getCrawlID()
string crawlID = 6;- Returns:
- The crawlID.
-
getCrawlIDBytes
com.google.protobuf.ByteString getCrawlIDBytes()
string crawlID = 6;- Returns:
- The bytes for crawlID.
-
getItemCase
Urlfrontier.GetParams.ItemCase getItemCase()
-
-