1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/devtools/cloudbuild/v1/cloudbuild.proto 18 19 package com.google.cloudbuild.v1; 20 21 public interface PushFilterOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.PushFilter) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Regexes matching branches to build. 31 * The syntax of the regular expressions accepted is the syntax accepted by 32 * RE2 and described at https://github.com/google/re2/wiki/Syntax 33 * </pre> 34 * 35 * <code>string branch = 2;</code> 36 * 37 * @return Whether the branch field is set. 38 */ hasBranch()39 boolean hasBranch(); 40 /** 41 * 42 * 43 * <pre> 44 * Regexes matching branches to build. 45 * The syntax of the regular expressions accepted is the syntax accepted by 46 * RE2 and described at https://github.com/google/re2/wiki/Syntax 47 * </pre> 48 * 49 * <code>string branch = 2;</code> 50 * 51 * @return The branch. 52 */ getBranch()53 java.lang.String getBranch(); 54 /** 55 * 56 * 57 * <pre> 58 * Regexes matching branches to build. 59 * The syntax of the regular expressions accepted is the syntax accepted by 60 * RE2 and described at https://github.com/google/re2/wiki/Syntax 61 * </pre> 62 * 63 * <code>string branch = 2;</code> 64 * 65 * @return The bytes for branch. 66 */ getBranchBytes()67 com.google.protobuf.ByteString getBranchBytes(); 68 69 /** 70 * 71 * 72 * <pre> 73 * Regexes matching tags to build. 74 * The syntax of the regular expressions accepted is the syntax accepted by 75 * RE2 and described at https://github.com/google/re2/wiki/Syntax 76 * </pre> 77 * 78 * <code>string tag = 3;</code> 79 * 80 * @return Whether the tag field is set. 81 */ hasTag()82 boolean hasTag(); 83 /** 84 * 85 * 86 * <pre> 87 * Regexes matching tags to build. 88 * The syntax of the regular expressions accepted is the syntax accepted by 89 * RE2 and described at https://github.com/google/re2/wiki/Syntax 90 * </pre> 91 * 92 * <code>string tag = 3;</code> 93 * 94 * @return The tag. 95 */ getTag()96 java.lang.String getTag(); 97 /** 98 * 99 * 100 * <pre> 101 * Regexes matching tags to build. 102 * The syntax of the regular expressions accepted is the syntax accepted by 103 * RE2 and described at https://github.com/google/re2/wiki/Syntax 104 * </pre> 105 * 106 * <code>string tag = 3;</code> 107 * 108 * @return The bytes for tag. 109 */ getTagBytes()110 com.google.protobuf.ByteString getTagBytes(); 111 112 /** 113 * 114 * 115 * <pre> 116 * When true, only trigger a build if the revision regex does NOT match the 117 * git_ref regex. 118 * </pre> 119 * 120 * <code>bool invert_regex = 4;</code> 121 * 122 * @return The invertRegex. 123 */ getInvertRegex()124 boolean getInvertRegex(); 125 getGitRefCase()126 public com.google.cloudbuild.v1.PushFilter.GitRefCase getGitRefCase(); 127 } 128