Class Urlfrontier.BlockQueueParams.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder>
crawlercommons.urlfrontier.Urlfrontier.BlockQueueParams.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Urlfrontier.BlockQueueParamsOrBuilder, Cloneable
Enclosing class:
Urlfrontier.BlockQueueParams

public static final class Urlfrontier.BlockQueueParams.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder> implements Urlfrontier.BlockQueueParamsOrBuilder
 * Parameter message for BlockQueueUntil *
 
Protobuf type urlfrontier.BlockQueueParams
  • Method Details

    • 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.Builder<Urlfrontier.BlockQueueParams.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Urlfrontier.BlockQueueParams buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder>
    • setField

      public Urlfrontier.BlockQueueParams.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder>
    • clearField

      public Urlfrontier.BlockQueueParams.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder>
    • clearOneof

      public Urlfrontier.BlockQueueParams.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder>
    • setRepeatedField

      public Urlfrontier.BlockQueueParams.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder>
    • addRepeatedField

      public Urlfrontier.BlockQueueParams.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder>
    • mergeFrom

      public Urlfrontier.BlockQueueParams.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Urlfrontier.BlockQueueParams.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder>
    • mergeFrom

      public Urlfrontier.BlockQueueParams.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Urlfrontier.BlockQueueParams.Builder>
      Throws:
      IOException
    • getKey

      public String getKey()
       * ID for the queue *
       
      string key = 1;
      Specified by:
      getKey in interface Urlfrontier.BlockQueueParamsOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       * ID for the queue *
       
      string key = 1;
      Specified by:
      getKeyBytes in interface Urlfrontier.BlockQueueParamsOrBuilder
      Returns:
      The bytes for key.
    • setKey

       * ID for the queue *
       
      string key = 1;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

       * ID for the queue *
       
      string key = 1;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public Urlfrontier.BlockQueueParams.Builder setKeyBytes(com.google.protobuf.ByteString value)
       * ID for the queue *
       
      string key = 1;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • getTime

      public long getTime()
       * Expressed in seconds of UTC time since Unix epoch
       1970-01-01T00:00:00Z. The default value of 0 will unblock the queue.
       
      uint64 time = 2;
      Specified by:
      getTime in interface Urlfrontier.BlockQueueParamsOrBuilder
      Returns:
      The time.
    • setTime

      public Urlfrontier.BlockQueueParams.Builder setTime(long value)
       * Expressed in seconds of UTC time since Unix epoch
       1970-01-01T00:00:00Z. The default value of 0 will unblock the queue.
       
      uint64 time = 2;
      Parameters:
      value - The time to set.
      Returns:
      This builder for chaining.
    • clearTime

       * Expressed in seconds of UTC time since Unix epoch
       1970-01-01T00:00:00Z. The default value of 0 will unblock the queue.
       
      uint64 time = 2;
      Returns:
      This builder for chaining.
    • getCrawlID

      public String getCrawlID()
       crawl ID
       
      string crawlID = 3;
      Specified by:
      getCrawlID in interface Urlfrontier.BlockQueueParamsOrBuilder
      Returns:
      The crawlID.
    • getCrawlIDBytes

      public com.google.protobuf.ByteString getCrawlIDBytes()
       crawl ID
       
      string crawlID = 3;
      Specified by:
      getCrawlIDBytes in interface Urlfrontier.BlockQueueParamsOrBuilder
      Returns:
      The bytes for crawlID.
    • setCrawlID

      public Urlfrontier.BlockQueueParams.Builder setCrawlID(String value)
       crawl ID
       
      string crawlID = 3;
      Parameters:
      value - The crawlID to set.
      Returns:
      This builder for chaining.
    • clearCrawlID

      public Urlfrontier.BlockQueueParams.Builder clearCrawlID()
       crawl ID
       
      string crawlID = 3;
      Returns:
      This builder for chaining.
    • setCrawlIDBytes

      public Urlfrontier.BlockQueueParams.Builder setCrawlIDBytes(com.google.protobuf.ByteString value)
       crawl ID
       
      string crawlID = 3;
      Parameters:
      value - The bytes for crawlID to set.
      Returns:
      This builder for chaining.
    • getLocal

      public boolean getLocal()
       only for this instance
       
      bool local = 4;
      Specified by:
      getLocal in interface Urlfrontier.BlockQueueParamsOrBuilder
      Returns:
      The local.
    • setLocal

      public Urlfrontier.BlockQueueParams.Builder setLocal(boolean value)
       only for this instance
       
      bool local = 4;
      Parameters:
      value - The local to set.
      Returns:
      This builder for chaining.
    • clearLocal

       only for this instance
       
      bool local = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Urlfrontier.BlockQueueParams.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder>
    • mergeUnknownFields

      public final Urlfrontier.BlockQueueParams.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.BlockQueueParams.Builder>