Class IOSKeySettings.Builder (2.5.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)

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

repeated string allowed_bundle_ids = 1;

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)

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

repeated string allowed_bundle_ids = 1;

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)

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

repeated string allowed_bundle_ids = 1;

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()

If set to true, allowed_bundle_ids are not enforced.

bool allow_all_bundle_ids = 2;

Returns
Type Description
IOSKeySettings.Builder

This builder for chaining.

clearAllowedBundleIds()

public IOSKeySettings.Builder clearAllowedBundleIds()

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

repeated string allowed_bundle_ids = 1;

Returns
Type Description
IOSKeySettings.Builder

This builder for chaining.

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()

If set to true, allowed_bundle_ids are not enforced.

bool allow_all_bundle_ids = 2;

Returns
Type Description
boolean

The allowAllBundleIds.

getAllowedBundleIds(int index)

public String getAllowedBundleIds(int index)

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

repeated string allowed_bundle_ids = 1;

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)

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

repeated string allowed_bundle_ids = 1;

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()

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

repeated string allowed_bundle_ids = 1;

Returns
Type Description
int

The count of allowedBundleIds.

getAllowedBundleIdsList()

public ProtocolStringList getAllowedBundleIdsList()

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

repeated string allowed_bundle_ids = 1;

Returns
Type Description
ProtocolStringList

A list containing the allowedBundleIds.

getDefaultInstanceForType()

public IOSKeySettings getDefaultInstanceForType()
Returns
Type Description
IOSKeySettings

getDescriptorForType()

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

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 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)

If set to true, allowed_bundle_ids are not enforced.

bool allow_all_bundle_ids = 2;

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)

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

repeated string allowed_bundle_ids = 1;

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.

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