Class IOSKeySettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IOSKeySettings.Builder>
com.google.recaptchaenterprise.v1.IOSKeySettings.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,IOSKeySettingsOrBuilder,Cloneable
- Enclosing class:
- IOSKeySettings
public static final class IOSKeySettings.Builder
extends com.google.protobuf.GeneratedMessage.Builder<IOSKeySettings.Builder>
implements IOSKeySettingsOrBuilder
Settings specific to keys that can be used by iOS apps.Protobuf type
google.cloud.recaptchaenterprise.v1.IOSKeySettings-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllowedBundleIds(Iterable<String> values) Optional. iOS bundle IDs of apps allowed to use the key.addAllowedBundleIds(String value) Optional. iOS bundle IDs of apps allowed to use the key.addAllowedBundleIdsBytes(com.google.protobuf.ByteString value) Optional. iOS bundle IDs of apps allowed to use the key.build()clear()Optional.Optional. iOS bundle IDs of apps allowed to use the key.Optional.booleanOptional.getAllowedBundleIds(int index) Optional. iOS bundle IDs of apps allowed to use the key.com.google.protobuf.ByteStringgetAllowedBundleIdsBytes(int index) Optional. iOS bundle IDs of apps allowed to use the key.intOptional. iOS bundle IDs of apps allowed to use the key.com.google.protobuf.ProtocolStringListOptional. iOS bundle IDs of apps allowed to use the key.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(IOSKeySettings other) setAllowAllBundleIds(boolean value) Optional.setAllowedBundleIds(int index, String value) Optional. iOS bundle IDs of apps allowed to use the key.Optional.setAppleDeveloperId(AppleDeveloperId.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<IOSKeySettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<IOSKeySettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<IOSKeySettings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IOSKeySettings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<IOSKeySettings.Builder>
-
mergeFrom
public IOSKeySettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IOSKeySettings.Builder>- Throws:
IOException
-
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];- Specified by:
getAllowAllBundleIdsin interfaceIOSKeySettingsOrBuilder- Returns:
- The allowAllBundleIds.
-
setAllowAllBundleIds
Optional. If set to true, allowed_bundle_ids are not enforced.
bool allow_all_bundle_ids = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The allowAllBundleIds to set.- Returns:
- This builder for chaining.
-
clearAllowAllBundleIds
Optional. If set to true, allowed_bundle_ids are not enforced.
bool allow_all_bundle_ids = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getAllowedBundleIdsList
public com.google.protobuf.ProtocolStringList getAllowedBundleIdsList()Optional. iOS bundle IDs of apps allowed to use the key. Example: 'com.companyname.productname.appname' Each key supports a maximum of 250 bundle IDs. To use a key on more apps, set `allow_all_bundle_ids` to true. When this is set, you are responsible for validating the bundle id by checking the `token_properties.ios_bundle_id` field in each assessment response against your list of allowed bundle IDs.
repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedBundleIdsListin interfaceIOSKeySettingsOrBuilder- Returns:
- A list containing the allowedBundleIds.
-
getAllowedBundleIdsCount
public int getAllowedBundleIdsCount()Optional. iOS bundle IDs of apps allowed to use the key. Example: 'com.companyname.productname.appname' Each key supports a maximum of 250 bundle IDs. To use a key on more apps, set `allow_all_bundle_ids` to true. When this is set, you are responsible for validating the bundle id by checking the `token_properties.ios_bundle_id` field in each assessment response against your list of allowed bundle IDs.
repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedBundleIdsCountin interfaceIOSKeySettingsOrBuilder- Returns:
- The count of allowedBundleIds.
-
getAllowedBundleIds
Optional. iOS bundle IDs of apps allowed to use the key. Example: 'com.companyname.productname.appname' Each key supports a maximum of 250 bundle IDs. To use a key on more apps, set `allow_all_bundle_ids` to true. When this is set, you are responsible for validating the bundle id by checking the `token_properties.ios_bundle_id` field in each assessment response against your list of allowed bundle IDs.
repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedBundleIdsin interfaceIOSKeySettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The allowedBundleIds at the given index.
-
getAllowedBundleIdsBytes
public com.google.protobuf.ByteString getAllowedBundleIdsBytes(int index) Optional. iOS bundle IDs of apps allowed to use the key. Example: 'com.companyname.productname.appname' Each key supports a maximum of 250 bundle IDs. To use a key on more apps, set `allow_all_bundle_ids` to true. When this is set, you are responsible for validating the bundle id by checking the `token_properties.ios_bundle_id` field in each assessment response against your list of allowed bundle IDs.
repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedBundleIdsBytesin interfaceIOSKeySettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedBundleIds at the given index.
-
setAllowedBundleIds
Optional. iOS bundle IDs of apps allowed to use the key. Example: 'com.companyname.productname.appname' Each key supports a maximum of 250 bundle IDs. To use a key on more apps, set `allow_all_bundle_ids` to true. When this is set, you are responsible for validating the bundle id by checking the `token_properties.ios_bundle_id` field in each assessment response against your list of allowed bundle IDs.
repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The allowedBundleIds to set.- Returns:
- This builder for chaining.
-
addAllowedBundleIds
Optional. iOS bundle IDs of apps allowed to use the key. Example: 'com.companyname.productname.appname' Each key supports a maximum of 250 bundle IDs. To use a key on more apps, set `allow_all_bundle_ids` to true. When this is set, you are responsible for validating the bundle id by checking the `token_properties.ios_bundle_id` field in each assessment response against your list of allowed bundle IDs.
repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The allowedBundleIds to add.- Returns:
- This builder for chaining.
-
addAllAllowedBundleIds
Optional. iOS bundle IDs of apps allowed to use the key. Example: 'com.companyname.productname.appname' Each key supports a maximum of 250 bundle IDs. To use a key on more apps, set `allow_all_bundle_ids` to true. When this is set, you are responsible for validating the bundle id by checking the `token_properties.ios_bundle_id` field in each assessment response against your list of allowed bundle IDs.
repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The allowedBundleIds to add.- Returns:
- This builder for chaining.
-
clearAllowedBundleIds
Optional. iOS bundle IDs of apps allowed to use the key. Example: 'com.companyname.productname.appname' Each key supports a maximum of 250 bundle IDs. To use a key on more apps, set `allow_all_bundle_ids` to true. When this is set, you are responsible for validating the bundle id by checking the `token_properties.ios_bundle_id` field in each assessment response against your list of allowed bundle IDs.
repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addAllowedBundleIdsBytes
Optional. iOS bundle IDs of apps allowed to use the key. Example: 'com.companyname.productname.appname' Each key supports a maximum of 250 bundle IDs. To use a key on more apps, set `allow_all_bundle_ids` to true. When this is set, you are responsible for validating the bundle id by checking the `token_properties.ios_bundle_id` field in each assessment response against your list of allowed bundle IDs.
repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the allowedBundleIds to add.- Returns:
- This builder for chaining.
-
hasAppleDeveloperId
public boolean hasAppleDeveloperId()Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA 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];- Specified by:
hasAppleDeveloperIdin interfaceIOSKeySettingsOrBuilder- Returns:
- Whether the appleDeveloperId field is set.
-
getAppleDeveloperId
Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA 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];- Specified by:
getAppleDeveloperIdin interfaceIOSKeySettingsOrBuilder- Returns:
- The appleDeveloperId.
-
setAppleDeveloperId
Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA 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]; -
setAppleDeveloperId
Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA 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]; -
mergeAppleDeveloperId
Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA 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]; -
clearAppleDeveloperId
Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA 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]; -
getAppleDeveloperIdBuilder
Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA 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]; -
getAppleDeveloperIdOrBuilder
Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA 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];- Specified by:
getAppleDeveloperIdOrBuilderin interfaceIOSKeySettingsOrBuilder
-