public final class ExternallyHostedApk
extends com.google.api.client.json.GenericJson
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 Developer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ExternallyHostedApk() |
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 signed 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<ExternallyHostedApkUsesPermission> |
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 signed 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<ExternallyHostedApkUsesPermission> 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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getApplicationLabel()
null
for nonepublic ExternallyHostedApk setApplicationLabel(String applicationLabel)
applicationLabel
- applicationLabel or null
for nonepublic List<String> getCertificateBase64s()
null
for nonepublic ExternallyHostedApk setCertificateBase64s(List<String> certificateBase64s)
certificateBase64s
- certificateBase64s or null
for nonepublic String getExternallyHostedUrl()
null
for nonepublic ExternallyHostedApk setExternallyHostedUrl(String externallyHostedUrl)
externallyHostedUrl
- externallyHostedUrl or null
for nonepublic String getFileSha1Base64()
null
for nonepublic ExternallyHostedApk setFileSha1Base64(String fileSha1Base64)
fileSha1Base64
- fileSha1Base64 or null
for nonepublic String getFileSha256Base64()
null
for nonepublic ExternallyHostedApk setFileSha256Base64(String fileSha256Base64)
fileSha256Base64
- fileSha256Base64 or null
for nonepublic Long getFileSize()
null
for nonepublic ExternallyHostedApk setFileSize(Long fileSize)
fileSize
- fileSize or null
for nonepublic String getIconBase64()
null
for nonepublic ExternallyHostedApk setIconBase64(String iconBase64)
iconBase64
- iconBase64 or null
for nonepublic Integer getMaximumSdk()
null
for nonepublic ExternallyHostedApk setMaximumSdk(Integer maximumSdk)
maximumSdk
- maximumSdk or null
for nonepublic Integer getMinimumSdk()
null
for nonepublic ExternallyHostedApk setMinimumSdk(Integer minimumSdk)
minimumSdk
- minimumSdk or null
for nonepublic List<String> getNativeCodes()
null
for nonepublic ExternallyHostedApk setNativeCodes(List<String> nativeCodes)
nativeCodes
- nativeCodes or null
for nonepublic String getPackageName()
null
for nonepublic ExternallyHostedApk setPackageName(String packageName)
packageName
- packageName or null
for nonepublic List<String> getUsesFeatures()
null
for nonepublic ExternallyHostedApk setUsesFeatures(List<String> usesFeatures)
usesFeatures
- usesFeatures or null
for nonepublic List<ExternallyHostedApkUsesPermission> getUsesPermissions()
null
for nonepublic ExternallyHostedApk setUsesPermissions(List<ExternallyHostedApkUsesPermission> usesPermissions)
usesPermissions
- usesPermissions or null
for nonepublic Integer getVersionCode()
null
for nonepublic ExternallyHostedApk setVersionCode(Integer versionCode)
versionCode
- versionCode or null
for nonepublic String getVersionName()
null
for nonepublic ExternallyHostedApk setVersionName(String versionName)
versionName
- versionName or null
for nonepublic ExternallyHostedApk set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ExternallyHostedApk clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.