Class IOSKeySettings.Builder (3.42.0)

public static final class IOSKeySettings.Builder extends GeneratedMessageV3.Builder<IOSKeySettings.Builder> implements IOSKeySettingsOrBuilder

Settings specific to keys that can be used by iOS apps.

Protobuf type google.cloud.recaptchaenterprise.v1.IOSKeySettings

Static Methods

getDescriptor()

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

Methods

addAllAllowedBundleIds(Iterable<String> values)

public IOSKeySettings.Builder addAllAllowedBundleIds(Iterable<String> values)

Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'

repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The allowedBundleIds to add.

Returns
Type Description
IOSKeySettings.Builder

This builder for chaining.

addAllowedBundleIds(String value)

public IOSKeySettings.Builder addAllowedBundleIds(String value)

Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'

repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The allowedBundleIds to add.

Returns
Type Description
IOSKeySettings.Builder

This builder for chaining.

addAllowedBundleIdsBytes(ByteString value)

public IOSKeySettings.Builder addAllowedBundleIdsBytes(ByteString value)

Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'

repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the allowedBundleIds to add.

Returns
Type Description
IOSKeySettings.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IOSKeySettings build()
Returns
Type Description
IOSKeySettings

buildPartial()

public IOSKeySettings buildPartial()
Returns
Type Description
IOSKeySettings

clear()

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

clearAllowAllBundleIds()

public IOSKeySettings.Builder clearAllowAllBundleIds()

Optional. If set to true, allowed_bundle_ids are not enforced.

bool allow_all_bundle_ids = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IOSKeySettings.Builder

This builder for chaining.

clearAllowedBundleIds()

public IOSKeySettings.Builder clearAllowedBundleIds()

Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'

repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IOSKeySettings.Builder

This builder for chaining.

clearAppleDeveloperId()

public IOSKeySettings.Builder clearAppleDeveloperId()

Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA Enterprise to get a better assessment of the integrity of your app.

.google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IOSKeySettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAllowAllBundleIds()

public boolean getAllowAllBundleIds()

Optional. If set to true, allowed_bundle_ids are not enforced.

bool allow_all_bundle_ids = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowAllBundleIds.

getAllowedBundleIds(int index)

public String getAllowedBundleIds(int index)

Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'

repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedBundleIds at the given index.

getAllowedBundleIdsBytes(int index)

public ByteString getAllowedBundleIdsBytes(int index)

Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'

repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedBundleIds at the given index.

getAllowedBundleIdsCount()

public int getAllowedBundleIdsCount()

Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'

repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowedBundleIds.

getAllowedBundleIdsList()

public ProtocolStringList getAllowedBundleIdsList()

Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'

repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the allowedBundleIds.

getAppleDeveloperId()

public AppleDeveloperId getAppleDeveloperId()

Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA Enterprise to get a better assessment of the integrity of your app.

.google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppleDeveloperId

The appleDeveloperId.

getAppleDeveloperIdBuilder()

public AppleDeveloperId.Builder getAppleDeveloperIdBuilder()

Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA Enterprise to get a better assessment of the integrity of your app.

.google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppleDeveloperId.Builder

getAppleDeveloperIdOrBuilder()

public AppleDeveloperIdOrBuilder getAppleDeveloperIdOrBuilder()

Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA Enterprise to get a better assessment of the integrity of your app.

.google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppleDeveloperIdOrBuilder

getDefaultInstanceForType()

public IOSKeySettings getDefaultInstanceForType()
Returns
Type Description
IOSKeySettings

getDescriptorForType()

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

hasAppleDeveloperId()

public boolean hasAppleDeveloperId()

Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA Enterprise to get a better assessment of the integrity of your app.

.google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the appleDeveloperId field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAppleDeveloperId(AppleDeveloperId value)

public IOSKeySettings.Builder mergeAppleDeveloperId(AppleDeveloperId value)

Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA Enterprise to get a better assessment of the integrity of your app.

.google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AppleDeveloperId
Returns
Type Description
IOSKeySettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(IOSKeySettings other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAllowAllBundleIds(boolean value)

public IOSKeySettings.Builder setAllowAllBundleIds(boolean value)

Optional. If set to true, allowed_bundle_ids are not enforced.

bool allow_all_bundle_ids = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The allowAllBundleIds to set.

Returns
Type Description
IOSKeySettings.Builder

This builder for chaining.

setAllowedBundleIds(int index, String value)

public IOSKeySettings.Builder setAllowedBundleIds(int index, String value)

Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'

repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The allowedBundleIds to set.

Returns
Type Description
IOSKeySettings.Builder

This builder for chaining.

setAppleDeveloperId(AppleDeveloperId value)

public IOSKeySettings.Builder setAppleDeveloperId(AppleDeveloperId value)

Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA Enterprise to get a better assessment of the integrity of your app.

.google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AppleDeveloperId
Returns
Type Description
IOSKeySettings.Builder

setAppleDeveloperId(AppleDeveloperId.Builder builderForValue)

public IOSKeySettings.Builder setAppleDeveloperId(AppleDeveloperId.Builder builderForValue)

Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA Enterprise to get a better assessment of the integrity of your app.

.google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AppleDeveloperId.Builder
Returns
Type Description
IOSKeySettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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