Class IOSKeySettings.Builder (3.37.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
TypeDescription
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
NameDescription
valuesIterable<String>

The allowedBundleIds to add.

Returns
TypeDescription
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
NameDescription
valueString

The allowedBundleIds to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the allowedBundleIds to add.

Returns
TypeDescription
IOSKeySettings.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IOSKeySettings build()
Returns
TypeDescription
IOSKeySettings

buildPartial()

public IOSKeySettings buildPartial()
Returns
TypeDescription
IOSKeySettings

clear()

public IOSKeySettings.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
IOSKeySettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public IOSKeySettings.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AppleDeveloperIdOrBuilder

getDefaultInstanceForType()

public IOSKeySettings getDefaultInstanceForType()
Returns
TypeDescription
IOSKeySettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the appleDeveloperId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAppleDeveloperId
Returns
TypeDescription
IOSKeySettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IOSKeySettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IOSKeySettings.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(IOSKeySettings other)

public IOSKeySettings.Builder mergeFrom(IOSKeySettings other)
Parameter
NameDescription
otherIOSKeySettings
Returns
TypeDescription
IOSKeySettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IOSKeySettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The allowAllBundleIds to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The allowedBundleIds to set.

Returns
TypeDescription
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
NameDescription
valueAppleDeveloperId
Returns
TypeDescription
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
NameDescription
builderForValueAppleDeveloperId.Builder
Returns
TypeDescription
IOSKeySettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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