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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Source() |
| Modifier and Type | Method and Description |
|---|---|
Source |
clone() |
ConnectedRepository |
getConnectedRepository()
Optional.
|
DeveloperConnectConfig |
getDeveloperConnectConfig()
If provided, get the source from this Developer Connect config.
|
GitSource |
getGitSource()
If provided, get the source from this Git repository.
|
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 Cloud Storage.
|
StorageSourceManifest |
getStorageSourceManifest()
If provided, get the source from this manifest in Cloud Storage.
|
Source |
set(String fieldName,
Object value) |
Source |
setConnectedRepository(ConnectedRepository connectedRepository)
Optional.
|
Source |
setDeveloperConnectConfig(DeveloperConnectConfig developerConnectConfig)
If provided, get the source from this Developer Connect config.
|
Source |
setGitSource(GitSource gitSource)
If provided, get the source from this Git repository.
|
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 Cloud Storage.
|
Source |
setStorageSourceManifest(StorageSourceManifest storageSourceManifest)
If provided, get the source from this manifest in Cloud Storage.
|
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 ConnectedRepository getConnectedRepository()
null for nonepublic Source setConnectedRepository(ConnectedRepository connectedRepository)
connectedRepository - connectedRepository or null for nonepublic DeveloperConnectConfig getDeveloperConnectConfig()
null for nonepublic Source setDeveloperConnectConfig(DeveloperConnectConfig developerConnectConfig)
developerConnectConfig - developerConnectConfig or null for nonepublic GitSource getGitSource()
null for nonepublic Source setGitSource(GitSource gitSource)
gitSource - gitSource or null for nonepublic 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 StorageSourceManifest getStorageSourceManifest()
null for nonepublic Source setStorageSourceManifest(StorageSourceManifest storageSourceManifest)
storageSourceManifest - storageSourceManifest or null for nonepublic Source set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Source clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.