Interface WarcEmbeddedResourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
WarcEmbeddedResource, WarcEmbeddedResource.Builder

@Generated public interface WarcEmbeddedResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether the embedded resource was also archived
    MIME type of the embedded resource
    com.google.protobuf.ByteString
    MIME type of the embedded resource
    long
    Size of the embedded resource in bytes
    URL or identifier of the embedded resource
    com.google.protobuf.ByteString
    URL or identifier of the embedded resource
    WARC record ID of the archived embedded resource (if available)
    com.google.protobuf.ByteString
    WARC record ID of the archived embedded resource (if available)
    boolean
    Whether the embedded resource was also archived
    boolean
    MIME type of the embedded resource
    boolean
    Size of the embedded resource in bytes
    boolean
    WARC record ID of the archived embedded resource (if available)

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getUrl

      String getUrl()
       URL or identifier of the embedded resource
       
      string url = 1 [json_name = "url"];
      Returns:
      The url.
    • getUrlBytes

      com.google.protobuf.ByteString getUrlBytes()
       URL or identifier of the embedded resource
       
      string url = 1 [json_name = "url"];
      Returns:
      The bytes for url.
    • hasMimeType

      boolean hasMimeType()
       MIME type of the embedded resource
       
      optional string mime_type = 2 [json_name = "mimeType"];
      Returns:
      Whether the mimeType field is set.
    • getMimeType

      String getMimeType()
       MIME type of the embedded resource
       
      optional string mime_type = 2 [json_name = "mimeType"];
      Returns:
      The mimeType.
    • getMimeTypeBytes

      com.google.protobuf.ByteString getMimeTypeBytes()
       MIME type of the embedded resource
       
      optional string mime_type = 2 [json_name = "mimeType"];
      Returns:
      The bytes for mimeType.
    • hasSize

      boolean hasSize()
       Size of the embedded resource in bytes
       
      optional int64 size = 3 [json_name = "size"];
      Returns:
      Whether the size field is set.
    • getSize

      long getSize()
       Size of the embedded resource in bytes
       
      optional int64 size = 3 [json_name = "size"];
      Returns:
      The size.
    • hasArchived

      boolean hasArchived()
       Whether the embedded resource was also archived
       
      optional bool archived = 4 [json_name = "archived"];
      Returns:
      Whether the archived field is set.
    • getArchived

      boolean getArchived()
       Whether the embedded resource was also archived
       
      optional bool archived = 4 [json_name = "archived"];
      Returns:
      The archived.
    • hasWarcRecordId

      boolean hasWarcRecordId()
       WARC record ID of the archived embedded resource (if available)
       
      optional string warc_record_id = 5 [json_name = "warcRecordId"];
      Returns:
      Whether the warcRecordId field is set.
    • getWarcRecordId

      String getWarcRecordId()
       WARC record ID of the archived embedded resource (if available)
       
      optional string warc_record_id = 5 [json_name = "warcRecordId"];
      Returns:
      The warcRecordId.
    • getWarcRecordIdBytes

      com.google.protobuf.ByteString getWarcRecordIdBytes()
       WARC record ID of the archived embedded resource (if available)
       
      optional string warc_record_id = 5 [json_name = "warcRecordId"];
      Returns:
      The bytes for warcRecordId.