public final class ApkDescription
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 Android 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 |
---|
ApkDescription() |
Modifier and Type | Method and Description |
---|---|
ApkDescription |
clone() |
SplitApkMetadata |
getAssetSliceMetadata()
Set only for asset slices.
|
SplitApkMetadata |
getInstantApkMetadata()
Set only for Instant split APKs.
|
String |
getPath()
Path of the Apk, will be in the following format: .apk where DownloadId is the ID used to
download the apk using GeneratedApks.Download API.
|
SplitApkMetadata |
getSplitApkMetadata()
Set only for Split APKs.
|
StandaloneApkMetadata |
getStandaloneApkMetadata()
Set only for standalone APKs.
|
ApkTargeting |
getTargeting()
Apk-level targeting.
|
ApkDescription |
set(String fieldName,
Object value) |
ApkDescription |
setAssetSliceMetadata(SplitApkMetadata assetSliceMetadata)
Set only for asset slices.
|
ApkDescription |
setInstantApkMetadata(SplitApkMetadata instantApkMetadata)
Set only for Instant split APKs.
|
ApkDescription |
setPath(String path)
Path of the Apk, will be in the following format: .apk where DownloadId is the ID used to
download the apk using GeneratedApks.Download API.
|
ApkDescription |
setSplitApkMetadata(SplitApkMetadata splitApkMetadata)
Set only for Split APKs.
|
ApkDescription |
setStandaloneApkMetadata(StandaloneApkMetadata standaloneApkMetadata)
Set only for standalone APKs.
|
ApkDescription |
setTargeting(ApkTargeting targeting)
Apk-level targeting.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public SplitApkMetadata getAssetSliceMetadata()
null
for nonepublic ApkDescription setAssetSliceMetadata(SplitApkMetadata assetSliceMetadata)
assetSliceMetadata
- assetSliceMetadata or null
for nonepublic SplitApkMetadata getInstantApkMetadata()
null
for nonepublic ApkDescription setInstantApkMetadata(SplitApkMetadata instantApkMetadata)
instantApkMetadata
- instantApkMetadata or null
for nonepublic String getPath()
null
for nonepublic ApkDescription setPath(String path)
path
- path or null
for nonepublic SplitApkMetadata getSplitApkMetadata()
null
for nonepublic ApkDescription setSplitApkMetadata(SplitApkMetadata splitApkMetadata)
splitApkMetadata
- splitApkMetadata or null
for nonepublic StandaloneApkMetadata getStandaloneApkMetadata()
null
for nonepublic ApkDescription setStandaloneApkMetadata(StandaloneApkMetadata standaloneApkMetadata)
standaloneApkMetadata
- standaloneApkMetadata or null
for nonepublic ApkTargeting getTargeting()
null
for nonepublic ApkDescription setTargeting(ApkTargeting targeting)
targeting
- targeting or null
for nonepublic ApkDescription set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ApkDescription clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.