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 GitHubEventsConfigOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.GitHubEventsConfig) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The installationID that emits the GitHub event. 31 * </pre> 32 * 33 * <code>int64 installation_id = 1 [deprecated = true];</code> 34 * 35 * @deprecated google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. See 36 * google/devtools/cloudbuild/v1/cloudbuild.proto;l=1585 37 * @return The installationId. 38 */ 39 @java.lang.Deprecated getInstallationId()40 long getInstallationId(); 41 42 /** 43 * 44 * 45 * <pre> 46 * Owner of the repository. For example: The owner for 47 * https://github.com/googlecloudplatform/cloud-builders is 48 * "googlecloudplatform". 49 * </pre> 50 * 51 * <code>string owner = 6;</code> 52 * 53 * @return The owner. 54 */ getOwner()55 java.lang.String getOwner(); 56 /** 57 * 58 * 59 * <pre> 60 * Owner of the repository. For example: The owner for 61 * https://github.com/googlecloudplatform/cloud-builders is 62 * "googlecloudplatform". 63 * </pre> 64 * 65 * <code>string owner = 6;</code> 66 * 67 * @return The bytes for owner. 68 */ getOwnerBytes()69 com.google.protobuf.ByteString getOwnerBytes(); 70 71 /** 72 * 73 * 74 * <pre> 75 * Name of the repository. For example: The name for 76 * https://github.com/googlecloudplatform/cloud-builders is "cloud-builders". 77 * </pre> 78 * 79 * <code>string name = 7;</code> 80 * 81 * @return The name. 82 */ getName()83 java.lang.String getName(); 84 /** 85 * 86 * 87 * <pre> 88 * Name of the repository. For example: The name for 89 * https://github.com/googlecloudplatform/cloud-builders is "cloud-builders". 90 * </pre> 91 * 92 * <code>string name = 7;</code> 93 * 94 * @return The bytes for name. 95 */ getNameBytes()96 com.google.protobuf.ByteString getNameBytes(); 97 98 /** 99 * 100 * 101 * <pre> 102 * filter to match changes in pull requests. 103 * </pre> 104 * 105 * <code>.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;</code> 106 * 107 * @return Whether the pullRequest field is set. 108 */ hasPullRequest()109 boolean hasPullRequest(); 110 /** 111 * 112 * 113 * <pre> 114 * filter to match changes in pull requests. 115 * </pre> 116 * 117 * <code>.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;</code> 118 * 119 * @return The pullRequest. 120 */ getPullRequest()121 com.google.cloudbuild.v1.PullRequestFilter getPullRequest(); 122 /** 123 * 124 * 125 * <pre> 126 * filter to match changes in pull requests. 127 * </pre> 128 * 129 * <code>.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;</code> 130 */ getPullRequestOrBuilder()131 com.google.cloudbuild.v1.PullRequestFilterOrBuilder getPullRequestOrBuilder(); 132 133 /** 134 * 135 * 136 * <pre> 137 * filter to match changes in refs like branches, tags. 138 * </pre> 139 * 140 * <code>.google.devtools.cloudbuild.v1.PushFilter push = 5;</code> 141 * 142 * @return Whether the push field is set. 143 */ hasPush()144 boolean hasPush(); 145 /** 146 * 147 * 148 * <pre> 149 * filter to match changes in refs like branches, tags. 150 * </pre> 151 * 152 * <code>.google.devtools.cloudbuild.v1.PushFilter push = 5;</code> 153 * 154 * @return The push. 155 */ getPush()156 com.google.cloudbuild.v1.PushFilter getPush(); 157 /** 158 * 159 * 160 * <pre> 161 * filter to match changes in refs like branches, tags. 162 * </pre> 163 * 164 * <code>.google.devtools.cloudbuild.v1.PushFilter push = 5;</code> 165 */ getPushOrBuilder()166 com.google.cloudbuild.v1.PushFilterOrBuilder getPushOrBuilder(); 167 getEventCase()168 public com.google.cloudbuild.v1.GitHubEventsConfig.EventCase getEventCase(); 169 } 170