Class IOSKeySettings (3.38.0)

public final class IOSKeySettings extends GeneratedMessageV3 implements IOSKeySettingsOrBuilder

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

Protobuf type google.cloud.recaptchaenterprise.v1.IOSKeySettings

Static Fields

ALLOWED_BUNDLE_IDS_FIELD_NUMBER

public static final int ALLOWED_BUNDLE_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

ALLOW_ALL_BUNDLE_IDS_FIELD_NUMBER

public static final int ALLOW_ALL_BUNDLE_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

APPLE_DEVELOPER_ID_FIELD_NUMBER

public static final int APPLE_DEVELOPER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IOSKeySettings getDefaultInstance()
Returns
TypeDescription
IOSKeySettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static IOSKeySettings.Builder newBuilder()
Returns
TypeDescription
IOSKeySettings.Builder

newBuilder(IOSKeySettings prototype)

public static IOSKeySettings.Builder newBuilder(IOSKeySettings prototype)
Parameter
NameDescription
prototypeIOSKeySettings
Returns
TypeDescription
IOSKeySettings.Builder

parseDelimitedFrom(InputStream input)

public static IOSKeySettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IOSKeySettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IOSKeySettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IOSKeySettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IOSKeySettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IOSKeySettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IOSKeySettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IOSKeySettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IOSKeySettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IOSKeySettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IOSKeySettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IOSKeySettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IOSKeySettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IOSKeySettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IOSKeySettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IOSKeySettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IOSKeySettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IOSKeySettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IOSKeySettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IOSKeySettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IOSKeySettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IOSKeySettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IOSKeySettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IOSKeySettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<IOSKeySettings> parser()
Returns
TypeDescription
Parser<IOSKeySettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

getParserForType()

public Parser<IOSKeySettings> getParserForType()
Returns
TypeDescription
Parser<IOSKeySettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public IOSKeySettings.Builder newBuilderForType()
Returns
TypeDescription
IOSKeySettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IOSKeySettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IOSKeySettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public IOSKeySettings.Builder toBuilder()
Returns
TypeDescription
IOSKeySettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException