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
Modifier and TypeMethodDescription.urlfrontier.AnyCrawlID anyCrawlID = 5;.urlfrontier.AnyCrawlID anyCrawlID = 5;string crawlID = 6;com.google.protobuf.ByteStringstring crawlID = 6;intdelay in seconds before a URL can be unlocked and sent again for fetchinggetKey()queue id if restricting to a specific queuecom.google.protobuf.ByteStringqueue id if restricting to a specific queueintmaximum number of queues to get URLs from, the default value of 0 means no limitintmaximum number of URLs per queue, the default value of 0 means no limitboolean.urlfrontier.AnyCrawlID anyCrawlID = 5;booleanstring crawlID = 6;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
-
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()
-