public final class AptArtifact extends 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 Artifact Registry API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AptArtifact() |
| Modifier and Type | Method and Description |
|---|---|
AptArtifact |
clone() |
byte[] |
decodeControlFile()
Output only.
|
AptArtifact |
encodeControlFile(byte[] controlFile)
Output only.
|
String |
getArchitecture()
Output only.
|
String |
getComponent()
Output only.
|
String |
getControlFile()
Output only.
|
String |
getName()
Output only.
|
String |
getPackageName()
Output only.
|
String |
getPackageType()
Output only.
|
AptArtifact |
set(String fieldName,
Object value) |
AptArtifact |
setArchitecture(String architecture)
Output only.
|
AptArtifact |
setComponent(String component)
Output only.
|
AptArtifact |
setControlFile(String controlFile)
Output only.
|
AptArtifact |
setName(String name)
Output only.
|
AptArtifact |
setPackageName(String packageName)
Output only.
|
AptArtifact |
setPackageType(String packageType)
Output only.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getArchitecture()
null for nonepublic AptArtifact setArchitecture(String architecture)
architecture - architecture or null for nonepublic String getComponent()
null for nonepublic AptArtifact setComponent(String component)
component - component or null for nonepublic String getControlFile()
null for nonedecodeControlFile()public byte[] decodeControlFile()
null for nonegetControlFile()public AptArtifact setControlFile(String controlFile)
controlFile - controlFile or null for none#encodeControlFile()public AptArtifact encodeControlFile(byte[] controlFile)
The value is encoded Base64 or {@code null} for none.
public String getName()
null for nonepublic AptArtifact setName(String name)
name - name or null for nonepublic String getPackageName()
null for nonepublic AptArtifact setPackageName(String packageName)
packageName - packageName or null for nonepublic String getPackageType()
null for nonepublic AptArtifact setPackageType(String packageType)
packageType - packageType or null for nonepublic AptArtifact set(String fieldName, Object value)
set in class GenericJsonpublic AptArtifact clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.