Class IOSKeySettings.Builder (3.0.3)

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)

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

repeated string allowed_bundle_ids = 1;

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)

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

repeated string allowed_bundle_ids = 1;

Parameter
NameDescription
valueString

The allowedBundleIds to add.

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

If set to true, allowed_bundle_ids are not enforced.

bool allow_all_bundle_ids = 2;

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

This builder for chaining.

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

If set to true, allowed_bundle_ids are not enforced.

bool allow_all_bundle_ids = 2;

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

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

repeated string allowed_bundle_ids = 1;

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

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

repeated string allowed_bundle_ids = 1;

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

A list containing the allowedBundleIds.

getDefaultInstanceForType()

public IOSKeySettings getDefaultInstanceForType()
Returns
TypeDescription
IOSKeySettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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)

If set to true, allowed_bundle_ids are not enforced.

bool allow_all_bundle_ids = 2;

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)

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

repeated string allowed_bundle_ids = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The allowedBundleIds to set.

Returns
TypeDescription
IOSKeySettings.Builder

This builder for chaining.

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