Class FirewallAction.RedirectAction.Builder (3.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FirewallAction.RedirectAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FirewallAction.RedirectAction.Builder
Overrides

build()

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

buildPartial()

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

clear()

public FirewallAction.RedirectAction.Builder clear()
Returns
TypeDescription
FirewallAction.RedirectAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FirewallAction.RedirectAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FirewallAction.RedirectAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FirewallAction.RedirectAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FirewallAction.RedirectAction.Builder
Overrides

clone()

public FirewallAction.RedirectAction.Builder clone()
Returns
TypeDescription
FirewallAction.RedirectAction.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FirewallAction.RedirectAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallAction.RedirectAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FirewallAction.RedirectAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FirewallAction.RedirectAction.Builder
Overrides

mergeFrom(FirewallAction.RedirectAction other)

public FirewallAction.RedirectAction.Builder mergeFrom(FirewallAction.RedirectAction other)
Parameter
NameDescription
otherFirewallAction.RedirectAction
Returns
TypeDescription
FirewallAction.RedirectAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FirewallAction.RedirectAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FirewallAction.RedirectAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FirewallAction.RedirectAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FirewallAction.RedirectAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FirewallAction.RedirectAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FirewallAction.RedirectAction.Builder
Overrides