public final class RepositoryEventConfig
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 |
|---|
RepositoryEventConfig() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryEventConfig |
clone() |
PullRequestFilter |
getPullRequest()
Filter to match changes in pull requests.
|
PushFilter |
getPush()
Filter to match changes in refs like branches, tags.
|
String |
getRepository()
The resource name of the Repo API resource.
|
String |
getRepositoryType()
Output only.
|
RepositoryEventConfig |
set(String fieldName,
Object value) |
RepositoryEventConfig |
setPullRequest(PullRequestFilter pullRequest)
Filter to match changes in pull requests.
|
RepositoryEventConfig |
setPush(PushFilter push)
Filter to match changes in refs like branches, tags.
|
RepositoryEventConfig |
setRepository(String repository)
The resource name of the Repo API resource.
|
RepositoryEventConfig |
setRepositoryType(String repositoryType)
Output only.
|
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 PullRequestFilter getPullRequest()
null for nonepublic RepositoryEventConfig setPullRequest(PullRequestFilter pullRequest)
pullRequest - pullRequest or null for nonepublic PushFilter getPush()
null for nonepublic RepositoryEventConfig setPush(PushFilter push)
push - push or null for nonepublic String getRepository()
null for nonepublic RepositoryEventConfig setRepository(String repository)
repository - repository or null for nonepublic String getRepositoryType()
null for nonepublic RepositoryEventConfig setRepositoryType(String repositoryType)
repositoryType - repositoryType or null for nonepublic RepositoryEventConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RepositoryEventConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.