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 TypeMethodDescriptionSource URL (where the redirect originated)com.google.protobuf.ByteStringSource URL (where the redirect originated)com.google.protobuf.TimestampTimestamp of this redirectcom.google.protobuf.TimestampOrBuilderTimestamp of this redirectintHTTP status code for this redirect (301, 302, etc.)getToUrl()Target URL (where the redirect points to)com.google.protobuf.ByteStringTarget URL (where the redirect points to)booleanTimestamp of this redirectMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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"];
-