Class Urlfrontier.URLItem

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

public static final class Urlfrontier.URLItem extends com.google.protobuf.GeneratedMessageV3 implements Urlfrontier.URLItemOrBuilder
 * Wrapper for a KnownURLItem or DiscoveredURLItem *
 
Protobuf type urlfrontier.URLItem
See Also:
  • Field Details

  • 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.URLItem.ItemCase getItemCase()
      Specified by:
      getItemCase in interface Urlfrontier.URLItemOrBuilder
    • hasDiscovered

      public boolean hasDiscovered()
      .urlfrontier.DiscoveredURLItem discovered = 1;
      Specified by:
      hasDiscovered in interface Urlfrontier.URLItemOrBuilder
      Returns:
      Whether the discovered field is set.
    • getDiscovered

      public Urlfrontier.DiscoveredURLItem getDiscovered()
      .urlfrontier.DiscoveredURLItem discovered = 1;
      Specified by:
      getDiscovered in interface Urlfrontier.URLItemOrBuilder
      Returns:
      The discovered.
    • getDiscoveredOrBuilder

      public Urlfrontier.DiscoveredURLItemOrBuilder getDiscoveredOrBuilder()
      .urlfrontier.DiscoveredURLItem discovered = 1;
      Specified by:
      getDiscoveredOrBuilder in interface Urlfrontier.URLItemOrBuilder
    • hasKnown

      public boolean hasKnown()
      .urlfrontier.KnownURLItem known = 2;
      Specified by:
      hasKnown in interface Urlfrontier.URLItemOrBuilder
      Returns:
      Whether the known field is set.
    • getKnown

      public Urlfrontier.KnownURLItem getKnown()
      .urlfrontier.KnownURLItem known = 2;
      Specified by:
      getKnown in interface Urlfrontier.URLItemOrBuilder
      Returns:
      The known.
    • getKnownOrBuilder

      public Urlfrontier.KnownURLItemOrBuilder getKnownOrBuilder()
      .urlfrontier.KnownURLItem known = 2;
      Specified by:
      getKnownOrBuilder in interface Urlfrontier.URLItemOrBuilder
    • getID

      public String getID()
       * Identifier specified by the client, if missing, the URL is returned *
       
      string ID = 3;
      Specified by:
      getID in interface Urlfrontier.URLItemOrBuilder
      Returns:
      The iD.
    • getIDBytes

      public com.google.protobuf.ByteString getIDBytes()
       * Identifier specified by the client, if missing, the URL is returned *
       
      string ID = 3;
      Specified by:
      getIDBytes in interface Urlfrontier.URLItemOrBuilder
      Returns:
      The bytes for iD.
    • 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.URLItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Urlfrontier.URLItem 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.URLItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Urlfrontier.URLItem getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Urlfrontier.URLItem> 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.URLItem getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder