public final class GitFileSource
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 |
|---|
GitFileSource() |
| Modifier and Type | Method and Description |
|---|---|
GitFileSource |
clone() |
String |
getBitbucketServerConfig()
The full resource name of the bitbucket server config.
|
String |
getGithubEnterpriseConfig()
The full resource name of the github enterprise config.
|
String |
getPath()
The path of the file, with the repo root as the root of the path.
|
String |
getRepository()
The fully qualified resource name of the Repos API repository.
|
String |
getRepoType()
See RepoType above.
|
String |
getRevision()
The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename
(optional).
|
String |
getUri()
The URI of the repo.
|
GitFileSource |
set(String fieldName,
Object value) |
GitFileSource |
setBitbucketServerConfig(String bitbucketServerConfig)
The full resource name of the bitbucket server config.
|
GitFileSource |
setGithubEnterpriseConfig(String githubEnterpriseConfig)
The full resource name of the github enterprise config.
|
GitFileSource |
setPath(String path)
The path of the file, with the repo root as the root of the path.
|
GitFileSource |
setRepository(String repository)
The fully qualified resource name of the Repos API repository.
|
GitFileSource |
setRepoType(String repoType)
See RepoType above.
|
GitFileSource |
setRevision(String revision)
The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename
(optional).
|
GitFileSource |
setUri(String uri)
The URI of the repo.
|
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 getBitbucketServerConfig()
null for nonepublic GitFileSource setBitbucketServerConfig(String bitbucketServerConfig)
bitbucketServerConfig - bitbucketServerConfig or null for nonepublic String getGithubEnterpriseConfig()
null for nonepublic GitFileSource setGithubEnterpriseConfig(String githubEnterpriseConfig)
githubEnterpriseConfig - githubEnterpriseConfig or null for nonepublic String getPath()
null for nonepublic GitFileSource setPath(String path)
path - path or null for nonepublic String getRepoType()
null for nonepublic GitFileSource setRepoType(String repoType)
repoType - repoType or null for nonepublic String getRepository()
null for nonepublic GitFileSource setRepository(String repository)
repository - repository or null for nonepublic String getRevision()
null for nonepublic GitFileSource setRevision(String revision)
revision - revision or null for nonepublic String getUri()
null for nonepublic GitFileSource setUri(String uri)
uri - uri or null for nonepublic GitFileSource set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GitFileSource clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.