Interface PushFilterOrBuilder (3.53.0)

public interface PushFilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBranch()

public abstract String getBranch()

Regexes matching branches to build.

The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

string branch = 2;

Returns
Type Description
String

The branch.

getBranchBytes()

public abstract ByteString getBranchBytes()

Regexes matching branches to build.

The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

string branch = 2;

Returns
Type Description
ByteString

The bytes for branch.

getGitRefCase()

public abstract PushFilter.GitRefCase getGitRefCase()
Returns
Type Description
PushFilter.GitRefCase

getInvertRegex()

public abstract boolean getInvertRegex()

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

bool invert_regex = 4;

Returns
Type Description
boolean

The invertRegex.

getTag()

public abstract String getTag()

Regexes matching tags to build.

The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

string tag = 3;

Returns
Type Description
String

The tag.

getTagBytes()

public abstract ByteString getTagBytes()

Regexes matching tags to build.

The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

string tag = 3;

Returns
Type Description
ByteString

The bytes for tag.

hasBranch()

public abstract boolean hasBranch()

Regexes matching branches to build.

The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

string branch = 2;

Returns
Type Description
boolean

Whether the branch field is set.

hasTag()

public abstract boolean hasTag()

Regexes matching tags to build.

The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

string tag = 3;

Returns
Type Description
boolean

Whether the tag field is set.