Interface Hook.PushOptionOrBuilder (0.40.0)

public static interface Hook.PushOptionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBranchFilter()

public abstract String getBranchFilter()

Optional. Trigger hook for matching branches only. Specified as glob pattern. If empty or , events for all branches are reported. Examples: main, {main,release}. See https://pkg.go.dev/github.com/gobwas/glob documentation.

string branch_filter = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The branchFilter.

getBranchFilterBytes()

public abstract ByteString getBranchFilterBytes()

Optional. Trigger hook for matching branches only. Specified as glob pattern. If empty or , events for all branches are reported. Examples: main, {main,release}. See https://pkg.go.dev/github.com/gobwas/glob documentation.

string branch_filter = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for branchFilter.