Class FirewallAction.BlockAction.Builder (3.48.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FirewallAction.BlockAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FirewallAction.BlockAction.Builder
Overrides

build()

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

buildPartial()

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

clear()

public FirewallAction.BlockAction.Builder clear()
Returns
Type Description
FirewallAction.BlockAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FirewallAction.BlockAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FirewallAction.BlockAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FirewallAction.BlockAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FirewallAction.BlockAction.Builder
Overrides

clone()

public FirewallAction.BlockAction.Builder clone()
Returns
Type Description
FirewallAction.BlockAction.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FirewallAction.BlockAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.BlockAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FirewallAction.BlockAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FirewallAction.BlockAction.Builder
Overrides

mergeFrom(FirewallAction.BlockAction other)

public FirewallAction.BlockAction.Builder mergeFrom(FirewallAction.BlockAction other)
Parameter
Name Description
other FirewallAction.BlockAction
Returns
Type Description
FirewallAction.BlockAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FirewallAction.BlockAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FirewallAction.BlockAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FirewallAction.BlockAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FirewallAction.BlockAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FirewallAction.BlockAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FirewallAction.BlockAction.Builder
Overrides