Class FirewallAction.RedirectAction.Builder (3.40.0)

public static final class FirewallAction.RedirectAction.Builder extends GeneratedMessageV3.Builder<FirewallAction.RedirectAction.Builder> 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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FirewallAction.RedirectAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FirewallAction.RedirectAction.Builder
Overrides

build()

public FirewallAction.RedirectAction build()
Returns
Type Description
FirewallAction.RedirectAction

buildPartial()

public FirewallAction.RedirectAction buildPartial()
Returns
Type Description
FirewallAction.RedirectAction

clear()

public FirewallAction.RedirectAction.Builder clear()
Returns
Type Description
FirewallAction.RedirectAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FirewallAction.RedirectAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FirewallAction.RedirectAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FirewallAction.RedirectAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FirewallAction.RedirectAction.Builder
Overrides

clone()

public FirewallAction.RedirectAction.Builder clone()
Returns
Type Description
FirewallAction.RedirectAction.Builder
Overrides

getDefaultInstanceForType()

public FirewallAction.RedirectAction getDefaultInstanceForType()
Returns
Type Description
FirewallAction.RedirectAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FirewallAction.RedirectAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.RedirectAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FirewallAction.RedirectAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FirewallAction.RedirectAction.Builder
Overrides

mergeFrom(FirewallAction.RedirectAction other)

public FirewallAction.RedirectAction.Builder mergeFrom(FirewallAction.RedirectAction other)
Parameter
Name Description
other FirewallAction.RedirectAction
Returns
Type Description
FirewallAction.RedirectAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FirewallAction.RedirectAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FirewallAction.RedirectAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FirewallAction.RedirectAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FirewallAction.RedirectAction.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FirewallAction.RedirectAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FirewallAction.RedirectAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FirewallAction.RedirectAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FirewallAction.RedirectAction.Builder
Overrides