Interface AndroidKeySettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AndroidKeySettings,AndroidKeySettings.Builder
@Generated
public interface AndroidKeySettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.getAllowedPackageNames(int index) Optional.com.google.protobuf.ByteStringgetAllowedPackageNamesBytes(int index) Optional.intOptional.Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAllowAllPackageNames
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:
- The allowAllPackageNames.
-
getAllowedPackageNamesList
Optional. Android package names of apps allowed to use the key. Example: 'com.companyname.appname' Each key supports a maximum of 250 package names. To use a key on more apps, set `allow_all_package_names` to true. When this is set, you are responsible for validating the package name by checking the `token_properties.android_package_name` field in each assessment response against your list of allowed package names.
repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the allowedPackageNames.
-
getAllowedPackageNamesCount
int getAllowedPackageNamesCount()Optional. Android package names of apps allowed to use the key. Example: 'com.companyname.appname' Each key supports a maximum of 250 package names. To use a key on more apps, set `allow_all_package_names` to true. When this is set, you are responsible for validating the package name by checking the `token_properties.android_package_name` field in each assessment response against your list of allowed package names.
repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of allowedPackageNames.
-
getAllowedPackageNames
Optional. Android package names of apps allowed to use the key. Example: 'com.companyname.appname' Each key supports a maximum of 250 package names. To use a key on more apps, set `allow_all_package_names` to true. When this is set, you are responsible for validating the package name by checking the `token_properties.android_package_name` field in each assessment response against your list of allowed package names.
repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The allowedPackageNames at the given index.
-
getAllowedPackageNamesBytes
com.google.protobuf.ByteString getAllowedPackageNamesBytes(int index) Optional. Android package names of apps allowed to use the key. Example: 'com.companyname.appname' Each key supports a maximum of 250 package names. To use a key on more apps, set `allow_all_package_names` to true. When this is set, you are responsible for validating the package name by checking the `token_properties.android_package_name` field in each assessment response against your list of allowed package names.
repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedPackageNames at the given index.
-
getSupportNonGoogleAppStoreDistribution
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:
- The supportNonGoogleAppStoreDistribution.
-