Class FirewallAction.IncludeRecaptchaScriptAction (3.37.0)

public static final class FirewallAction.IncludeRecaptchaScriptAction extends GeneratedMessageV3 implements FirewallAction.IncludeRecaptchaScriptActionOrBuilder

An include reCAPTCHA script action involves injecting reCAPTCHA JavaScript code into the HTML returned by the site backend. This reCAPTCHA script is tasked with collecting user signals on the requested web page, issuing tokens as a cookie within the site domain, and enabling their utilization in subsequent page requests.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FirewallAction.IncludeRecaptchaScriptAction

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(FirewallAction.IncludeRecaptchaScriptAction prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

public Parser<FirewallAction.IncludeRecaptchaScriptAction> getParserForType()
Returns
TypeDescription
Parser<IncludeRecaptchaScriptAction>
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.IncludeRecaptchaScriptAction.Builder newBuilderForType()
Returns
TypeDescription
FirewallAction.IncludeRecaptchaScriptAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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