Class FirewallAction.RedirectAction (3.37.0)

public static final class FirewallAction.RedirectAction extends GeneratedMessageV3 implements FirewallAction.RedirectActionOrBuilder

A redirect action returns a 307 (temporary redirect) response, pointing the user to a ReCaptcha interstitial page to attach a token.

Protobuf type google.cloud.recaptchaenterprise.v1.FirewallAction.RedirectAction

Static Methods

getDefaultInstance()

public static FirewallAction.RedirectAction getDefaultInstance()
Returns
TypeDescription
FirewallAction.RedirectAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static FirewallAction.RedirectAction.Builder newBuilder()
Returns
TypeDescription
FirewallAction.RedirectAction.Builder

newBuilder(FirewallAction.RedirectAction prototype)

public static FirewallAction.RedirectAction.Builder newBuilder(FirewallAction.RedirectAction prototype)
Parameter
NameDescription
prototypeFirewallAction.RedirectAction
Returns
TypeDescription
FirewallAction.RedirectAction.Builder

parseDelimitedFrom(InputStream input)

public static FirewallAction.RedirectAction parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FirewallAction.RedirectAction
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.RedirectAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallAction.RedirectAction
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FirewallAction.RedirectAction parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FirewallAction.RedirectAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.RedirectAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallAction.RedirectAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FirewallAction.RedirectAction parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FirewallAction.RedirectAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.RedirectAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallAction.RedirectAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FirewallAction.RedirectAction parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FirewallAction.RedirectAction
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.RedirectAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallAction.RedirectAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FirewallAction.RedirectAction parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FirewallAction.RedirectAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.RedirectAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallAction.RedirectAction
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FirewallAction.RedirectAction parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FirewallAction.RedirectAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.RedirectAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallAction.RedirectAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FirewallAction.RedirectAction> parser()
Returns
TypeDescription
Parser<RedirectAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public FirewallAction.RedirectAction getDefaultInstanceForType()
Returns
TypeDescription
FirewallAction.RedirectAction

getParserForType()

public Parser<FirewallAction.RedirectAction> getParserForType()
Returns
TypeDescription
Parser<RedirectAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FirewallAction.RedirectAction.Builder newBuilderForType()
Returns
TypeDescription
FirewallAction.RedirectAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FirewallAction.RedirectAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FirewallAction.RedirectAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FirewallAction.RedirectAction.Builder toBuilder()
Returns
TypeDescription
FirewallAction.RedirectAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException