public static interface Hook.PushOptionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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. |