public final class PushFilter
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 |
|---|
PushFilter() |
| Modifier and Type | Method and Description |
|---|---|
PushFilter |
clone() |
String |
getBranch()
Regexes matching branches to build.
|
Boolean |
getInvertRegex()
When true, only trigger a build if the revision regex does NOT match the git_ref regex.
|
String |
getTag()
Regexes matching tags to build.
|
PushFilter |
set(String fieldName,
Object value) |
PushFilter |
setBranch(String branch)
Regexes matching branches to build.
|
PushFilter |
setInvertRegex(Boolean invertRegex)
When true, only trigger a build if the revision regex does NOT match the git_ref regex.
|
PushFilter |
setTag(String tag)
Regexes matching tags to build.
|
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 getBranch()
null for nonepublic PushFilter setBranch(String branch)
branch - branch or null for nonepublic Boolean getInvertRegex()
null for nonepublic PushFilter setInvertRegex(Boolean invertRegex)
invertRegex - invertRegex or null for nonepublic String getTag()
null for nonepublic PushFilter setTag(String tag)
tag - tag or null for nonepublic PushFilter set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PushFilter clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.