Class AddIpOverrideRequest.Builder (3.52.0)

public static final class AddIpOverrideRequest.Builder extends GeneratedMessageV3.Builder<AddIpOverrideRequest.Builder> implements AddIpOverrideRequestOrBuilder

The AddIpOverride request message.

Protobuf type google.cloud.recaptchaenterprise.v1.AddIpOverrideRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AddIpOverrideRequest build()
Returns
Type Description
AddIpOverrideRequest

buildPartial()

public AddIpOverrideRequest buildPartial()
Returns
Type Description
AddIpOverrideRequest

clear()

public AddIpOverrideRequest.Builder clear()
Returns
Type Description
AddIpOverrideRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearIpOverrideData()

public AddIpOverrideRequest.Builder clearIpOverrideData()

Required. IP override added to the key.

.google.cloud.recaptchaenterprise.v1.IpOverrideData ip_override_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AddIpOverrideRequest.Builder

clearName()

public AddIpOverrideRequest.Builder clearName()

Required. The name of the key to which the IP override is added, in the format projects/{project}/keys/{key}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
AddIpOverrideRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AddIpOverrideRequest.Builder clone()
Returns
Type Description
AddIpOverrideRequest.Builder
Overrides

getDefaultInstanceForType()

public AddIpOverrideRequest getDefaultInstanceForType()
Returns
Type Description
AddIpOverrideRequest

getDescriptorForType()

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

getIpOverrideData()

public IpOverrideData getIpOverrideData()

Required. IP override added to the key.

.google.cloud.recaptchaenterprise.v1.IpOverrideData ip_override_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IpOverrideData

The ipOverrideData.

getIpOverrideDataBuilder()

public IpOverrideData.Builder getIpOverrideDataBuilder()

Required. IP override added to the key.

.google.cloud.recaptchaenterprise.v1.IpOverrideData ip_override_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IpOverrideData.Builder

getIpOverrideDataOrBuilder()

public IpOverrideDataOrBuilder getIpOverrideDataOrBuilder()

Required. IP override added to the key.

.google.cloud.recaptchaenterprise.v1.IpOverrideData ip_override_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IpOverrideDataOrBuilder

getName()

public String getName()

Required. The name of the key to which the IP override is added, in the format projects/{project}/keys/{key}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the key to which the IP override is added, in the format projects/{project}/keys/{key}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

hasIpOverrideData()

public boolean hasIpOverrideData()

Required. IP override added to the key.

.google.cloud.recaptchaenterprise.v1.IpOverrideData ip_override_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the ipOverrideData field is set.

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 AddIpOverrideRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AddIpOverrideRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(AddIpOverrideRequest other)

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

mergeIpOverrideData(IpOverrideData value)

public AddIpOverrideRequest.Builder mergeIpOverrideData(IpOverrideData value)

Required. IP override added to the key.

.google.cloud.recaptchaenterprise.v1.IpOverrideData ip_override_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IpOverrideData
Returns
Type Description
AddIpOverrideRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public AddIpOverrideRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AddIpOverrideRequest.Builder
Overrides

setIpOverrideData(IpOverrideData value)

public AddIpOverrideRequest.Builder setIpOverrideData(IpOverrideData value)

Required. IP override added to the key.

.google.cloud.recaptchaenterprise.v1.IpOverrideData ip_override_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IpOverrideData
Returns
Type Description
AddIpOverrideRequest.Builder

setIpOverrideData(IpOverrideData.Builder builderForValue)

public AddIpOverrideRequest.Builder setIpOverrideData(IpOverrideData.Builder builderForValue)

Required. IP override added to the key.

.google.cloud.recaptchaenterprise.v1.IpOverrideData ip_override_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue IpOverrideData.Builder
Returns
Type Description
AddIpOverrideRequest.Builder

setName(String value)

public AddIpOverrideRequest.Builder setName(String value)

Required. The name of the key to which the IP override is added, in the format projects/{project}/keys/{key}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AddIpOverrideRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AddIpOverrideRequest.Builder setNameBytes(ByteString value)

Required. The name of the key to which the IP override is added, in the format projects/{project}/keys/{key}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AddIpOverrideRequest.Builder

This builder for chaining.

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

public AddIpOverrideRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AddIpOverrideRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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