Class Urlfrontier.GetParams

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
crawlercommons.urlfrontier.Urlfrontier.GetParams
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Urlfrontier.GetParamsOrBuilder, Serializable
Enclosing class:
Urlfrontier

public static final class Urlfrontier.GetParams extends com.google.protobuf.GeneratedMessageV3 implements Urlfrontier.GetParamsOrBuilder
 * Parameter message for GetURLs *
 
Protobuf type urlfrontier.GetParams
See Also:
  • Field Details

    • MAX_URLS_PER_QUEUE_FIELD_NUMBER

      public static final int MAX_URLS_PER_QUEUE_FIELD_NUMBER
      See Also:
    • MAX_QUEUES_FIELD_NUMBER

      public static final int MAX_QUEUES_FIELD_NUMBER
      See Also:
    • KEY_FIELD_NUMBER

      public static final int KEY_FIELD_NUMBER
      See Also:
    • DELAY_REQUESTABLE_FIELD_NUMBER

      public static final int DELAY_REQUESTABLE_FIELD_NUMBER
      See Also:
    • ANYCRAWLID_FIELD_NUMBER

      public static final int ANYCRAWLID_FIELD_NUMBER
      See Also:
    • CRAWLID_FIELD_NUMBER

      public static final int CRAWLID_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getItemCase

      public Urlfrontier.GetParams.ItemCase getItemCase()
      Specified by:
      getItemCase in interface Urlfrontier.GetParamsOrBuilder
    • getMaxUrlsPerQueue

      public int getMaxUrlsPerQueue()
       maximum number of URLs per queue, the default value of 0 means no limit
       
      uint32 max_urls_per_queue = 1;
      Specified by:
      getMaxUrlsPerQueue in interface Urlfrontier.GetParamsOrBuilder
      Returns:
      The maxUrlsPerQueue.
    • getMaxQueues

      public int getMaxQueues()
       maximum number of queues to get URLs from, the default value of 0 means no limit
       
      uint32 max_queues = 2;
      Specified by:
      getMaxQueues in interface Urlfrontier.GetParamsOrBuilder
      Returns:
      The maxQueues.
    • getKey

      public String getKey()
       queue id if restricting to a specific queue
       
      string key = 3;
      Specified by:
      getKey in interface Urlfrontier.GetParamsOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       queue id if restricting to a specific queue
       
      string key = 3;
      Specified by:
      getKeyBytes in interface Urlfrontier.GetParamsOrBuilder
      Returns:
      The bytes for key.
    • getDelayRequestable

      public int getDelayRequestable()
        delay in seconds before a URL can be unlocked and sent again for fetching
       
      uint32 delay_requestable = 4;
      Specified by:
      getDelayRequestable in interface Urlfrontier.GetParamsOrBuilder
      Returns:
      The delayRequestable.
    • hasAnyCrawlID

      public boolean hasAnyCrawlID()
      .urlfrontier.AnyCrawlID anyCrawlID = 5;
      Specified by:
      hasAnyCrawlID in interface Urlfrontier.GetParamsOrBuilder
      Returns:
      Whether the anyCrawlID field is set.
    • getAnyCrawlID

      public Urlfrontier.AnyCrawlID getAnyCrawlID()
      .urlfrontier.AnyCrawlID anyCrawlID = 5;
      Specified by:
      getAnyCrawlID in interface Urlfrontier.GetParamsOrBuilder
      Returns:
      The anyCrawlID.
    • getAnyCrawlIDOrBuilder

      public Urlfrontier.AnyCrawlIDOrBuilder getAnyCrawlIDOrBuilder()
      .urlfrontier.AnyCrawlID anyCrawlID = 5;
      Specified by:
      getAnyCrawlIDOrBuilder in interface Urlfrontier.GetParamsOrBuilder
    • hasCrawlID

      public boolean hasCrawlID()
      string crawlID = 6;
      Specified by:
      hasCrawlID in interface Urlfrontier.GetParamsOrBuilder
      Returns:
      Whether the crawlID field is set.
    • getCrawlID

      public String getCrawlID()
      string crawlID = 6;
      Specified by:
      getCrawlID in interface Urlfrontier.GetParamsOrBuilder
      Returns:
      The crawlID.
    • getCrawlIDBytes

      public com.google.protobuf.ByteString getCrawlIDBytes()
      string crawlID = 6;
      Specified by:
      getCrawlIDBytes in interface Urlfrontier.GetParamsOrBuilder
      Returns:
      The bytes for crawlID.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Urlfrontier.GetParams parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Urlfrontier.GetParams parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Urlfrontier.GetParams parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Urlfrontier.GetParams parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Urlfrontier.GetParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Urlfrontier.GetParams parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Urlfrontier.GetParams parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Urlfrontier.GetParams parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Urlfrontier.GetParams parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Urlfrontier.GetParams parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Urlfrontier.GetParams parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Urlfrontier.GetParams parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Urlfrontier.GetParams.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Urlfrontier.GetParams.Builder newBuilder()
    • newBuilder

      public static Urlfrontier.GetParams.Builder newBuilder(Urlfrontier.GetParams prototype)
    • toBuilder

      public Urlfrontier.GetParams.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Urlfrontier.GetParams.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Urlfrontier.GetParams getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Urlfrontier.GetParams> parser()
    • getParserForType

      public com.google.protobuf.Parser<Urlfrontier.GetParams> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Urlfrontier.GetParams getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder