target.apidocs.com.google.api.services.androidpublisher.model.ExternallyHostedApk.html Maven / Gradle / Ivy
ExternallyHostedApk (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher.model
Class ExternallyHostedApk
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidpublisher.model.ExternallyHostedApk
-
public final class ExternallyHostedApk
extends com.google.api.client.json.GenericJson
Defines an APK available for this application that is hosted externally and not uploaded to
Google Play. This function is only available to organizations using Managed Play whose
application is configured to restrict distribution to the organizations.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Google Play Android Developer API. For a detailed
explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ExternallyHostedApk()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ExternallyHostedApk
clone()
String
getApplicationLabel()
The application label.
List<String>
getCertificateBase64s()
A certificate (or array of certificates if a certificate-chain is used) used to sign this APK,
represented as a base64 encoded byte array.
String
getExternallyHostedUrl()
The URL at which the APK is hosted.
String
getFileSha1Base64()
The sha1 checksum of this APK, represented as a base64 encoded byte array.
String
getFileSha256Base64()
The sha256 checksum of this APK, represented as a base64 encoded byte array.
Long
getFileSize()
The file size in bytes of this APK.
String
getIconBase64()
The icon image from the APK, as a base64 encoded byte array.
Integer
getMaximumSdk()
The maximum SDK supported by this APK (optional).
Integer
getMinimumSdk()
The minimum SDK targeted by this APK.
List<String>
getNativeCodes()
The native code environments supported by this APK (optional).
String
getPackageName()
The package name.
List<String>
getUsesFeatures()
The features required by this APK (optional).
List<UsesPermission>
getUsesPermissions()
The permissions requested by this APK.
Integer
getVersionCode()
The version code of this APK.
String
getVersionName()
The version name of this APK.
ExternallyHostedApk
set(String fieldName,
Object value)
ExternallyHostedApk
setApplicationLabel(String applicationLabel)
The application label.
ExternallyHostedApk
setCertificateBase64s(List<String> certificateBase64s)
A certificate (or array of certificates if a certificate-chain is used) used to sign this APK,
represented as a base64 encoded byte array.
ExternallyHostedApk
setExternallyHostedUrl(String externallyHostedUrl)
The URL at which the APK is hosted.
ExternallyHostedApk
setFileSha1Base64(String fileSha1Base64)
The sha1 checksum of this APK, represented as a base64 encoded byte array.
ExternallyHostedApk
setFileSha256Base64(String fileSha256Base64)
The sha256 checksum of this APK, represented as a base64 encoded byte array.
ExternallyHostedApk
setFileSize(Long fileSize)
The file size in bytes of this APK.
ExternallyHostedApk
setIconBase64(String iconBase64)
The icon image from the APK, as a base64 encoded byte array.
ExternallyHostedApk
setMaximumSdk(Integer maximumSdk)
The maximum SDK supported by this APK (optional).
ExternallyHostedApk
setMinimumSdk(Integer minimumSdk)
The minimum SDK targeted by this APK.
ExternallyHostedApk
setNativeCodes(List<String> nativeCodes)
The native code environments supported by this APK (optional).
ExternallyHostedApk
setPackageName(String packageName)
The package name.
ExternallyHostedApk
setUsesFeatures(List<String> usesFeatures)
The features required by this APK (optional).
ExternallyHostedApk
setUsesPermissions(List<UsesPermission> usesPermissions)
The permissions requested by this APK.
ExternallyHostedApk
setVersionCode(Integer versionCode)
The version code of this APK.
ExternallyHostedApk
setVersionName(String versionName)
The version name of this APK.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getApplicationLabel
public String getApplicationLabel()
The application label.
- Returns:
- value or
null
for none
-
setApplicationLabel
public ExternallyHostedApk setApplicationLabel(String applicationLabel)
The application label.
- Parameters:
applicationLabel
- applicationLabel or null
for none
-
getCertificateBase64s
public List<String> getCertificateBase64s()
A certificate (or array of certificates if a certificate-chain is used) used to sign this APK,
represented as a base64 encoded byte array.
- Returns:
- value or
null
for none
-
setCertificateBase64s
public ExternallyHostedApk setCertificateBase64s(List<String> certificateBase64s)
A certificate (or array of certificates if a certificate-chain is used) used to sign this APK,
represented as a base64 encoded byte array.
- Parameters:
certificateBase64s
- certificateBase64s or null
for none
-
getExternallyHostedUrl
public String getExternallyHostedUrl()
The URL at which the APK is hosted. This must be an https URL.
- Returns:
- value or
null
for none
-
setExternallyHostedUrl
public ExternallyHostedApk setExternallyHostedUrl(String externallyHostedUrl)
The URL at which the APK is hosted. This must be an https URL.
- Parameters:
externallyHostedUrl
- externallyHostedUrl or null
for none
-
getFileSha1Base64
public String getFileSha1Base64()
The sha1 checksum of this APK, represented as a base64 encoded byte array.
- Returns:
- value or
null
for none
-
setFileSha1Base64
public ExternallyHostedApk setFileSha1Base64(String fileSha1Base64)
The sha1 checksum of this APK, represented as a base64 encoded byte array.
- Parameters:
fileSha1Base64
- fileSha1Base64 or null
for none
-
getFileSha256Base64
public String getFileSha256Base64()
The sha256 checksum of this APK, represented as a base64 encoded byte array.
- Returns:
- value or
null
for none
-
setFileSha256Base64
public ExternallyHostedApk setFileSha256Base64(String fileSha256Base64)
The sha256 checksum of this APK, represented as a base64 encoded byte array.
- Parameters:
fileSha256Base64
- fileSha256Base64 or null
for none
-
getFileSize
public Long getFileSize()
The file size in bytes of this APK.
- Returns:
- value or
null
for none
-
setFileSize
public ExternallyHostedApk setFileSize(Long fileSize)
The file size in bytes of this APK.
- Parameters:
fileSize
- fileSize or null
for none
-
getIconBase64
public String getIconBase64()
The icon image from the APK, as a base64 encoded byte array.
- Returns:
- value or
null
for none
-
setIconBase64
public ExternallyHostedApk setIconBase64(String iconBase64)
The icon image from the APK, as a base64 encoded byte array.
- Parameters:
iconBase64
- iconBase64 or null
for none
-
getMaximumSdk
public Integer getMaximumSdk()
The maximum SDK supported by this APK (optional).
- Returns:
- value or
null
for none
-
setMaximumSdk
public ExternallyHostedApk setMaximumSdk(Integer maximumSdk)
The maximum SDK supported by this APK (optional).
- Parameters:
maximumSdk
- maximumSdk or null
for none
-
getMinimumSdk
public Integer getMinimumSdk()
The minimum SDK targeted by this APK.
- Returns:
- value or
null
for none
-
setMinimumSdk
public ExternallyHostedApk setMinimumSdk(Integer minimumSdk)
The minimum SDK targeted by this APK.
- Parameters:
minimumSdk
- minimumSdk or null
for none
-
getNativeCodes
public List<String> getNativeCodes()
The native code environments supported by this APK (optional).
- Returns:
- value or
null
for none
-
setNativeCodes
public ExternallyHostedApk setNativeCodes(List<String> nativeCodes)
The native code environments supported by this APK (optional).
- Parameters:
nativeCodes
- nativeCodes or null
for none
-
getPackageName
public String getPackageName()
The package name.
- Returns:
- value or
null
for none
-
setPackageName
public ExternallyHostedApk setPackageName(String packageName)
The package name.
- Parameters:
packageName
- packageName or null
for none
-
getUsesFeatures
public List<String> getUsesFeatures()
The features required by this APK (optional).
- Returns:
- value or
null
for none
-
setUsesFeatures
public ExternallyHostedApk setUsesFeatures(List<String> usesFeatures)
The features required by this APK (optional).
- Parameters:
usesFeatures
- usesFeatures or null
for none
-
getUsesPermissions
public List<UsesPermission> getUsesPermissions()
The permissions requested by this APK.
- Returns:
- value or
null
for none
-
setUsesPermissions
public ExternallyHostedApk setUsesPermissions(List<UsesPermission> usesPermissions)
The permissions requested by this APK.
- Parameters:
usesPermissions
- usesPermissions or null
for none
-
getVersionCode
public Integer getVersionCode()
The version code of this APK.
- Returns:
- value or
null
for none
-
setVersionCode
public ExternallyHostedApk setVersionCode(Integer versionCode)
The version code of this APK.
- Parameters:
versionCode
- versionCode or null
for none
-
getVersionName
public String getVersionName()
The version name of this APK.
- Returns:
- value or
null
for none
-
setVersionName
public ExternallyHostedApk setVersionName(String versionName)
The version name of this APK.
- Parameters:
versionName
- versionName or null
for none
-
set
public ExternallyHostedApk set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ExternallyHostedApk clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy