target.apidocs.com.google.api.services.androidpublisher.model.ApkDescription.html Maven / Gradle / Ivy
ApkDescription (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher.model
Class ApkDescription
- 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.ApkDescription
-
public final class ApkDescription
extends com.google.api.client.json.GenericJson
Description of the created apks.
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
ApkDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
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
-
getAssetSliceMetadata
public SplitApkMetadata getAssetSliceMetadata()
Set only for asset slices.
- Returns:
- value or
null
for none
-
setAssetSliceMetadata
public ApkDescription setAssetSliceMetadata(SplitApkMetadata assetSliceMetadata)
Set only for asset slices.
- Parameters:
assetSliceMetadata
- assetSliceMetadata or null
for none
-
getInstantApkMetadata
public SplitApkMetadata getInstantApkMetadata()
Set only for Instant split APKs.
- Returns:
- value or
null
for none
-
setInstantApkMetadata
public ApkDescription setInstantApkMetadata(SplitApkMetadata instantApkMetadata)
Set only for Instant split APKs.
- Parameters:
instantApkMetadata
- instantApkMetadata or null
for none
-
getPath
public 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.
- Returns:
- value or
null
for none
-
setPath
public 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.
- Parameters:
path
- path or null
for none
-
getSplitApkMetadata
public SplitApkMetadata getSplitApkMetadata()
Set only for Split APKs.
- Returns:
- value or
null
for none
-
setSplitApkMetadata
public ApkDescription setSplitApkMetadata(SplitApkMetadata splitApkMetadata)
Set only for Split APKs.
- Parameters:
splitApkMetadata
- splitApkMetadata or null
for none
-
getStandaloneApkMetadata
public StandaloneApkMetadata getStandaloneApkMetadata()
Set only for standalone APKs.
- Returns:
- value or
null
for none
-
setStandaloneApkMetadata
public ApkDescription setStandaloneApkMetadata(StandaloneApkMetadata standaloneApkMetadata)
Set only for standalone APKs.
- Parameters:
standaloneApkMetadata
- standaloneApkMetadata or null
for none
-
getTargeting
public ApkTargeting getTargeting()
Apk-level targeting.
- Returns:
- value or
null
for none
-
setTargeting
public ApkDescription setTargeting(ApkTargeting targeting)
Apk-level targeting.
- Parameters:
targeting
- targeting or null
for none
-
set
public ApkDescription set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ApkDescription 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