Class FirewallAction.BlockAction.Builder (3.33.0)

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

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

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.BlockAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallAction.BlockAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(FirewallAction.BlockAction other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public FirewallAction.BlockAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FirewallAction.BlockAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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