Interface WarcRedirectOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Source URL (where the redirect originated)
    com.google.protobuf.ByteString
    Source URL (where the redirect originated)
    com.google.protobuf.Timestamp
    Timestamp of this redirect
    com.google.protobuf.TimestampOrBuilder
    Timestamp of this redirect
    int
    HTTP status code for this redirect (301, 302, etc.)
    Target URL (where the redirect points to)
    com.google.protobuf.ByteString
    Target URL (where the redirect points to)
    boolean
    Timestamp of this redirect

    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

    • getFromUrl

      String getFromUrl()
       Source URL (where the redirect originated)
       
      string from_url = 1 [json_name = "fromUrl"];
      Returns:
      The fromUrl.
    • getFromUrlBytes

      com.google.protobuf.ByteString getFromUrlBytes()
       Source URL (where the redirect originated)
       
      string from_url = 1 [json_name = "fromUrl"];
      Returns:
      The bytes for fromUrl.
    • getToUrl

      String getToUrl()
       Target URL (where the redirect points to)
       
      string to_url = 2 [json_name = "toUrl"];
      Returns:
      The toUrl.
    • getToUrlBytes

      com.google.protobuf.ByteString getToUrlBytes()
       Target URL (where the redirect points to)
       
      string to_url = 2 [json_name = "toUrl"];
      Returns:
      The bytes for toUrl.
    • getStatusCode

      int getStatusCode()
       HTTP status code for this redirect (301, 302, etc.)
       
      int32 status_code = 3 [json_name = "statusCode"];
      Returns:
      The statusCode.
    • hasRedirectTimestamp

      boolean hasRedirectTimestamp()
       Timestamp of this redirect
       
      optional .google.protobuf.Timestamp redirect_timestamp = 4 [json_name = "redirectTimestamp"];
      Returns:
      Whether the redirectTimestamp field is set.
    • getRedirectTimestamp

      com.google.protobuf.Timestamp getRedirectTimestamp()
       Timestamp of this redirect
       
      optional .google.protobuf.Timestamp redirect_timestamp = 4 [json_name = "redirectTimestamp"];
      Returns:
      The redirectTimestamp.
    • getRedirectTimestampOrBuilder

      com.google.protobuf.TimestampOrBuilder getRedirectTimestampOrBuilder()
       Timestamp of this redirect
       
      optional .google.protobuf.Timestamp redirect_timestamp = 4 [json_name = "redirectTimestamp"];