public final class Source
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 |
---|
Source() |
Modifier and Type | Method and Description |
---|---|
Source |
clone() |
RepoSource |
getRepoSource()
If provided, get the source from this location in a Cloud Source Repository.
|
StorageSource |
getStorageSource()
If provided, get the source from this location in Google Cloud Storage.
|
Source |
set(java.lang.String fieldName,
java.lang.Object value) |
Source |
setRepoSource(RepoSource repoSource)
If provided, get the source from this location in a Cloud Source Repository.
|
Source |
setStorageSource(StorageSource storageSource)
If provided, get the source from this location in Google Cloud Storage.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public RepoSource getRepoSource()
null
for nonepublic Source setRepoSource(RepoSource repoSource)
repoSource
- repoSource or null
for nonepublic StorageSource getStorageSource()
null
for nonepublic Source setStorageSource(StorageSource storageSource)
storageSource
- storageSource or null
for nonepublic Source set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Source clone()
clone
in class com.google.api.client.json.GenericJson