Class FirewallAction.BlockAction (3.50.0)

public static final class FirewallAction.BlockAction extends GeneratedMessageV3 implements FirewallAction.BlockActionOrBuilder

A block action serves an HTTP error code a prevents the request from hitting the backend.

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

Static Methods

getDefaultInstance()

public static FirewallAction.BlockAction getDefaultInstance()
Returns
Type Description
FirewallAction.BlockAction

getDescriptor()

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

newBuilder()

public static FirewallAction.BlockAction.Builder newBuilder()
Returns
Type Description
FirewallAction.BlockAction.Builder

newBuilder(FirewallAction.BlockAction prototype)

public static FirewallAction.BlockAction.Builder newBuilder(FirewallAction.BlockAction prototype)
Parameter
Name Description
prototype FirewallAction.BlockAction
Returns
Type Description
FirewallAction.BlockAction.Builder

parseDelimitedFrom(InputStream input)

public static FirewallAction.BlockAction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FirewallAction.BlockAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.BlockAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.BlockAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FirewallAction.BlockAction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FirewallAction.BlockAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.BlockAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.BlockAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FirewallAction.BlockAction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FirewallAction.BlockAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.BlockAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.BlockAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FirewallAction.BlockAction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FirewallAction.BlockAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.BlockAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.BlockAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FirewallAction.BlockAction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FirewallAction.BlockAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.BlockAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.BlockAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FirewallAction.BlockAction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FirewallAction.BlockAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.BlockAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.BlockAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FirewallAction.BlockAction> parser()
Returns
Type Description
Parser<BlockAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<FirewallAction.BlockAction> getParserForType()
Returns
Type Description
Parser<BlockAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FirewallAction.BlockAction.Builder newBuilderForType()
Returns
Type Description
FirewallAction.BlockAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FirewallAction.BlockAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FirewallAction.BlockAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FirewallAction.BlockAction.Builder toBuilder()
Returns
Type Description
FirewallAction.BlockAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException