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.v1beta1.IOSKeySettings
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Returns
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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IOSKeySettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public IOSKeySettings build()
Returns
buildPartial()
public IOSKeySettings buildPartial()
Returns
clear()
public IOSKeySettings.Builder clear()
Returns
Overrides
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
clearField(Descriptors.FieldDescriptor field)
public IOSKeySettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IOSKeySettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public IOSKeySettings.Builder clone()
Returns
Overrides
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
getDefaultInstanceForType()
public IOSKeySettings getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public IOSKeySettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public IOSKeySettings.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(IOSKeySettings other)
public IOSKeySettings.Builder mergeFrom(IOSKeySettings other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IOSKeySettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
setField(Descriptors.FieldDescriptor field, Object value)
public IOSKeySettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IOSKeySettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IOSKeySettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides