public final class SourceProvenance
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 Cloud Build 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
Constructor and Description |
---|
SourceProvenance() |
Modifier and Type | Method and Description |
---|---|
SourceProvenance |
clone() |
java.util.Map<java.lang.String,FileHashes> |
getFileHashes()
Output only.
|
RepoSource |
getResolvedRepoSource()
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
|
StorageSource |
getResolvedStorageSource()
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
|
SourceProvenance |
set(java.lang.String fieldName,
java.lang.Object value) |
SourceProvenance |
setFileHashes(java.util.Map<java.lang.String,FileHashes> fileHashes)
Output only.
|
SourceProvenance |
setResolvedRepoSource(RepoSource resolvedRepoSource)
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
|
SourceProvenance |
setResolvedStorageSource(StorageSource resolvedStorageSource)
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.Map<java.lang.String,FileHashes> getFileHashes()
null
for nonepublic SourceProvenance setFileHashes(java.util.Map<java.lang.String,FileHashes> fileHashes)
fileHashes
- fileHashes or null
for nonepublic RepoSource getResolvedRepoSource()
null
for nonepublic SourceProvenance setResolvedRepoSource(RepoSource resolvedRepoSource)
resolvedRepoSource
- resolvedRepoSource or null
for nonepublic StorageSource getResolvedStorageSource()
null
for nonepublic SourceProvenance setResolvedStorageSource(StorageSource resolvedStorageSource)
resolvedStorageSource
- resolvedStorageSource or null
for nonepublic SourceProvenance set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SourceProvenance clone()
clone
in class com.google.api.client.json.GenericJson