Interface AndroidKeySettingsOrBuilder (3.51.0)

public interface AndroidKeySettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowAllPackageNames()

public abstract boolean getAllowAllPackageNames()

Optional. If set to true, allowed_package_names are not enforced.

bool allow_all_package_names = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowAllPackageNames.

getAllowedPackageNames(int index)

public abstract String getAllowedPackageNames(int index)

Optional. Android package names of apps allowed to use the key. Example: 'com.companyname.appname'

repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL];

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)

Optional. Android package names of apps allowed to use the key. Example: 'com.companyname.appname'

repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL];

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

Optional. Android package names of apps allowed to use the key. Example: 'com.companyname.appname'

repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowedPackageNames.

getAllowedPackageNamesList()

public abstract List<String> getAllowedPackageNamesList()

Optional. Android package names of apps allowed to use the key. Example: 'com.companyname.appname'

repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the allowedPackageNames.

getSupportNonGoogleAppStoreDistribution()

public abstract boolean getSupportNonGoogleAppStoreDistribution()

Optional. Set to true for keys that are used in an Android application that is available for download in app stores in addition to the Google Play Store.

bool support_non_google_app_store_distribution = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The supportNonGoogleAppStoreDistribution.