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 RunBuildTriggerRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.RunBuildTriggerRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The name of the `Trigger` to run. 31 * Format: `projects/{project}/locations/{location}/triggers/{trigger}` 32 * </pre> 33 * 34 * <code>string name = 4 [(.google.api.resource_reference) = { ... }</code> 35 * 36 * @return The name. 37 */ getName()38 java.lang.String getName(); 39 /** 40 * 41 * 42 * <pre> 43 * The name of the `Trigger` to run. 44 * Format: `projects/{project}/locations/{location}/triggers/{trigger}` 45 * </pre> 46 * 47 * <code>string name = 4 [(.google.api.resource_reference) = { ... }</code> 48 * 49 * @return The bytes for name. 50 */ getNameBytes()51 com.google.protobuf.ByteString getNameBytes(); 52 53 /** 54 * 55 * 56 * <pre> 57 * Required. ID of the project. 58 * </pre> 59 * 60 * <code>string project_id = 1 [(.google.api.field_behavior) = REQUIRED];</code> 61 * 62 * @return The projectId. 63 */ getProjectId()64 java.lang.String getProjectId(); 65 /** 66 * 67 * 68 * <pre> 69 * Required. ID of the project. 70 * </pre> 71 * 72 * <code>string project_id = 1 [(.google.api.field_behavior) = REQUIRED];</code> 73 * 74 * @return The bytes for projectId. 75 */ getProjectIdBytes()76 com.google.protobuf.ByteString getProjectIdBytes(); 77 78 /** 79 * 80 * 81 * <pre> 82 * Required. ID of the trigger. 83 * </pre> 84 * 85 * <code>string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 86 * 87 * @return The triggerId. 88 */ getTriggerId()89 java.lang.String getTriggerId(); 90 /** 91 * 92 * 93 * <pre> 94 * Required. ID of the trigger. 95 * </pre> 96 * 97 * <code>string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 98 * 99 * @return The bytes for triggerId. 100 */ getTriggerIdBytes()101 com.google.protobuf.ByteString getTriggerIdBytes(); 102 103 /** 104 * 105 * 106 * <pre> 107 * Source to build against this trigger. 108 * </pre> 109 * 110 * <code>.google.devtools.cloudbuild.v1.RepoSource source = 3;</code> 111 * 112 * @return Whether the source field is set. 113 */ hasSource()114 boolean hasSource(); 115 /** 116 * 117 * 118 * <pre> 119 * Source to build against this trigger. 120 * </pre> 121 * 122 * <code>.google.devtools.cloudbuild.v1.RepoSource source = 3;</code> 123 * 124 * @return The source. 125 */ getSource()126 com.google.cloudbuild.v1.RepoSource getSource(); 127 /** 128 * 129 * 130 * <pre> 131 * Source to build against this trigger. 132 * </pre> 133 * 134 * <code>.google.devtools.cloudbuild.v1.RepoSource source = 3;</code> 135 */ getSourceOrBuilder()136 com.google.cloudbuild.v1.RepoSourceOrBuilder getSourceOrBuilder(); 137 } 138