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.Flags
Constructor and Description |
---|
PushFilter() |
Modifier and Type | Method and Description |
---|---|
PushFilter |
clone() |
java.lang.String |
getBranch()
Regexes matching branches to build.
|
java.lang.Boolean |
getInvertRegex()
When true, only trigger a build if the revision regex does NOT match the git_ref regex.
|
java.lang.String |
getTag()
Regexes matching tags to build.
|
PushFilter |
set(java.lang.String fieldName,
java.lang.Object value) |
PushFilter |
setBranch(java.lang.String branch)
Regexes matching branches to build.
|
PushFilter |
setInvertRegex(java.lang.Boolean invertRegex)
When true, only trigger a build if the revision regex does NOT match the git_ref regex.
|
PushFilter |
setTag(java.lang.String tag)
Regexes matching tags to build.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getBranch()
null
for nonepublic PushFilter setBranch(java.lang.String branch)
branch
- branch or null
for nonepublic java.lang.Boolean getInvertRegex()
null
for nonepublic PushFilter setInvertRegex(java.lang.Boolean invertRegex)
invertRegex
- invertRegex or null
for nonepublic java.lang.String getTag()
null
for nonepublic PushFilter setTag(java.lang.String tag)
tag
- tag or null
for nonepublic PushFilter set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PushFilter clone()
clone
in class com.google.api.client.json.GenericJson