public interface AndroidKeySettingsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAllowAllPackageNames()
public abstract boolean getAllowAllPackageNames()
If set to true, allowed_package_names are not enforced.
bool allow_all_package_names = 2;
Returns | |
---|---|
Type | Description |
boolean | The allowAllPackageNames. |
getAllowedPackageNames(int index)
public abstract String getAllowedPackageNames(int index)
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The allowedPackageNames at the given index. |
getAllowedPackageNamesBytes(int index)
public abstract ByteString getAllowedPackageNamesBytes(int index)
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the allowedPackageNames at the given index. |
getAllowedPackageNamesCount()
public abstract int getAllowedPackageNamesCount()
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Returns | |
---|---|
Type | Description |
int | The count of allowedPackageNames. |
getAllowedPackageNamesList()
public abstract List<String> getAllowedPackageNamesList()
Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
repeated string allowed_package_names = 1;
Returns | |
---|---|
Type | Description |
List<String> | A list containing the allowedPackageNames. |