Class FirewallAction.BlockAction (3.32.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
TypeDescription
FirewallAction.BlockAction

getDescriptor()

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

newBuilder()

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

newBuilder(FirewallAction.BlockAction prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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