- 3.52.0 (latest)
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.12
- 2.6.1
- 2.5.0
- 2.4.10
- 2.3.1
public static final class AndroidKeySettings.Builder extends GeneratedMessageV3.Builder<AndroidKeySettings.Builder> implements AndroidKeySettingsOrBuilder
Settings specific to keys that can be used by Android apps.
Protobuf type google.cloud.recaptchaenterprise.v1.AndroidKeySettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AndroidKeySettings.BuilderImplements
AndroidKeySettingsOrBuilderMethods
addAllAllowedPackageNames(Iterable<String> values)
public AndroidKeySettings.Builder addAllAllowedPackageNames(Iterable<String> values)
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Name | Description |
values | Iterable<String> The allowedPackageNames to add. |
Type | Description |
AndroidKeySettings.Builder | This builder for chaining. |
addAllowedPackageNames(String value)
public AndroidKeySettings.Builder addAllowedPackageNames(String value)
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Name | Description |
value | String The allowedPackageNames to add. |
Type | Description |
AndroidKeySettings.Builder | This builder for chaining. |
addAllowedPackageNamesBytes(ByteString value)
public AndroidKeySettings.Builder addAllowedPackageNamesBytes(ByteString value)
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Name | Description |
value | ByteString The bytes of the allowedPackageNames to add. |
Type | Description |
AndroidKeySettings.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AndroidKeySettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AndroidKeySettings.Builder |
build()
public AndroidKeySettings build()
Type | Description |
AndroidKeySettings |
buildPartial()
public AndroidKeySettings buildPartial()
Type | Description |
AndroidKeySettings |
clear()
public AndroidKeySettings.Builder clear()
Type | Description |
AndroidKeySettings.Builder |
clearAllowAllPackageNames()
public AndroidKeySettings.Builder clearAllowAllPackageNames()
If set to true, allowed_package_names are not enforced.
bool allow_all_package_names = 2;
Type | Description |
AndroidKeySettings.Builder | This builder for chaining. |
clearAllowedPackageNames()
public AndroidKeySettings.Builder clearAllowedPackageNames()
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Type | Description |
AndroidKeySettings.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AndroidKeySettings.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AndroidKeySettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AndroidKeySettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AndroidKeySettings.Builder |
clone()
public AndroidKeySettings.Builder clone()
Type | Description |
AndroidKeySettings.Builder |
getAllowAllPackageNames()
public boolean getAllowAllPackageNames()
If set to true, allowed_package_names are not enforced.
bool allow_all_package_names = 2;
Type | Description |
boolean | The allowAllPackageNames. |
getAllowedPackageNames(int index)
public String getAllowedPackageNames(int index)
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The allowedPackageNames at the given index. |
getAllowedPackageNamesBytes(int index)
public ByteString getAllowedPackageNamesBytes(int index)
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the allowedPackageNames at the given index. |
getAllowedPackageNamesCount()
public int getAllowedPackageNamesCount()
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Type | Description |
int | The count of allowedPackageNames. |
getAllowedPackageNamesList()
public ProtocolStringList getAllowedPackageNamesList()
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Type | Description |
ProtocolStringList | A list containing the allowedPackageNames. |
getDefaultInstanceForType()
public AndroidKeySettings getDefaultInstanceForType()
Type | Description |
AndroidKeySettings |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AndroidKeySettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AndroidKeySettings.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AndroidKeySettings.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AndroidKeySettings.Builder |
mergeFrom(AndroidKeySettings other)
public AndroidKeySettings.Builder mergeFrom(AndroidKeySettings other)
Name | Description |
other | AndroidKeySettings |
Type | Description |
AndroidKeySettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AndroidKeySettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AndroidKeySettings.Builder |
setAllowAllPackageNames(boolean value)
public AndroidKeySettings.Builder setAllowAllPackageNames(boolean value)
If set to true, allowed_package_names are not enforced.
bool allow_all_package_names = 2;
Name | Description |
value | boolean The allowAllPackageNames to set. |
Type | Description |
AndroidKeySettings.Builder | This builder for chaining. |
setAllowedPackageNames(int index, String value)
public AndroidKeySettings.Builder setAllowedPackageNames(int index, String value)
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Name | Description |
index | int The index to set the value at. |
value | String The allowedPackageNames to set. |
Type | Description |
AndroidKeySettings.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AndroidKeySettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AndroidKeySettings.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AndroidKeySettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AndroidKeySettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AndroidKeySettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AndroidKeySettings.Builder |