Interface AndroidKeySettingsOrBuilder (3.34.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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

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

The supportNonGoogleAppStoreDistribution.