Interface PushFilterOrBuilder (3.35.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
TypeDescription
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
TypeDescription
ByteString

The bytes for branch.

getGitRefCase()

public abstract PushFilter.GitRefCase getGitRefCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the tag field is set.