public final class GoogleDevtoolsArtifactregistryV1beta2File 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 |
|---|
GoogleDevtoolsArtifactregistryV1beta2File() |
| Modifier and Type | Method and Description |
|---|---|
GoogleDevtoolsArtifactregistryV1beta2File |
clone() |
String |
getCreateTime()
The time when the File was created.
|
List<Hash> |
getHashes()
The hashes of the file content.
|
String |
getName()
The name of the file, for example: "projects/p1/locations/us-
central1/repositories/repo1/files/a%2Fb%2Fc.txt".
|
String |
getOwner()
The name of the Package or Version that owns this file, if any.
|
Long |
getSizeBytes()
The size of the File in bytes.
|
String |
getUpdateTime()
The time when the File was last updated.
|
GoogleDevtoolsArtifactregistryV1beta2File |
set(String fieldName,
Object value) |
GoogleDevtoolsArtifactregistryV1beta2File |
setCreateTime(String createTime)
The time when the File was created.
|
GoogleDevtoolsArtifactregistryV1beta2File |
setHashes(List<Hash> hashes)
The hashes of the file content.
|
GoogleDevtoolsArtifactregistryV1beta2File |
setName(String name)
The name of the file, for example: "projects/p1/locations/us-
central1/repositories/repo1/files/a%2Fb%2Fc.txt".
|
GoogleDevtoolsArtifactregistryV1beta2File |
setOwner(String owner)
The name of the Package or Version that owns this file, if any.
|
GoogleDevtoolsArtifactregistryV1beta2File |
setSizeBytes(Long sizeBytes)
The size of the File in bytes.
|
GoogleDevtoolsArtifactregistryV1beta2File |
setUpdateTime(String updateTime)
The time when the File was last updated.
|
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 GoogleDevtoolsArtifactregistryV1beta2File()
public String getCreateTime()
null for nonepublic GoogleDevtoolsArtifactregistryV1beta2File setCreateTime(String createTime)
createTime - createTime or null for nonepublic List<Hash> getHashes()
null for nonepublic GoogleDevtoolsArtifactregistryV1beta2File setHashes(List<Hash> hashes)
hashes - hashes or null for nonepublic String getName()
null for nonepublic GoogleDevtoolsArtifactregistryV1beta2File setName(String name)
name - name or null for nonepublic String getOwner()
null for nonepublic GoogleDevtoolsArtifactregistryV1beta2File setOwner(String owner)
owner - owner or null for nonepublic Long getSizeBytes()
null for nonepublic GoogleDevtoolsArtifactregistryV1beta2File setSizeBytes(Long sizeBytes)
sizeBytes - sizeBytes or null for nonepublic String getUpdateTime()
null for nonepublic GoogleDevtoolsArtifactregistryV1beta2File setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic GoogleDevtoolsArtifactregistryV1beta2File set(String fieldName, Object value)
set in class GenericJsonpublic GoogleDevtoolsArtifactregistryV1beta2File clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.