public final class GitRepoSource
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 |
|---|
GitRepoSource() |
| Modifier and Type | Method and Description |
|---|---|
GitRepoSource |
clone() |
String |
getBitbucketServerConfig()
The full resource name of the bitbucket server config.
|
String |
getGithubEnterpriseConfig()
The full resource name of the github enterprise config.
|
String |
getRef()
The branch or tag to use.
|
String |
getRepository()
The connected repository resource name, in the format
`projects/locations/connections/repositories`.
|
String |
getRepoType()
See RepoType below.
|
String |
getUri()
The URI of the repo (e.g.
|
GitRepoSource |
set(String fieldName,
Object value) |
GitRepoSource |
setBitbucketServerConfig(String bitbucketServerConfig)
The full resource name of the bitbucket server config.
|
GitRepoSource |
setGithubEnterpriseConfig(String githubEnterpriseConfig)
The full resource name of the github enterprise config.
|
GitRepoSource |
setRef(String ref)
The branch or tag to use.
|
GitRepoSource |
setRepository(String repository)
The connected repository resource name, in the format
`projects/locations/connections/repositories`.
|
GitRepoSource |
setRepoType(String repoType)
See RepoType below.
|
GitRepoSource |
setUri(String uri)
The URI of the repo (e.g.
|
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 GitRepoSource setBitbucketServerConfig(String bitbucketServerConfig)
bitbucketServerConfig - bitbucketServerConfig or null for nonepublic String getGithubEnterpriseConfig()
null for nonepublic GitRepoSource setGithubEnterpriseConfig(String githubEnterpriseConfig)
githubEnterpriseConfig - githubEnterpriseConfig or null for nonepublic String getRef()
null for nonepublic GitRepoSource setRef(String ref)
ref - ref or null for nonepublic String getRepoType()
null for nonepublic GitRepoSource setRepoType(String repoType)
repoType - repoType or null for nonepublic String getRepository()
null for nonepublic GitRepoSource setRepository(String repository)
repository - repository or null for nonepublic String getUri()
null for nonepublic GitRepoSource setUri(String uri)
uri - uri or null for nonepublic GitRepoSource set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GitRepoSource clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.