• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 BuildTriggerOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.BuildTrigger)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The `Trigger` name with format:
31    * `projects/{project}/locations/{location}/triggers/{trigger}`, where
32    * {trigger} is a unique identifier generated by the service.
33    * </pre>
34    *
35    * <code>string resource_name = 34;</code>
36    *
37    * @return The resourceName.
38    */
getResourceName()39   java.lang.String getResourceName();
40   /**
41    *
42    *
43    * <pre>
44    * The `Trigger` name with format:
45    * `projects/{project}/locations/{location}/triggers/{trigger}`, where
46    * {trigger} is a unique identifier generated by the service.
47    * </pre>
48    *
49    * <code>string resource_name = 34;</code>
50    *
51    * @return The bytes for resourceName.
52    */
getResourceNameBytes()53   com.google.protobuf.ByteString getResourceNameBytes();
54 
55   /**
56    *
57    *
58    * <pre>
59    * Output only. Unique identifier of the trigger.
60    * </pre>
61    *
62    * <code>string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
63    *
64    * @return The id.
65    */
getId()66   java.lang.String getId();
67   /**
68    *
69    *
70    * <pre>
71    * Output only. Unique identifier of the trigger.
72    * </pre>
73    *
74    * <code>string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
75    *
76    * @return The bytes for id.
77    */
getIdBytes()78   com.google.protobuf.ByteString getIdBytes();
79 
80   /**
81    *
82    *
83    * <pre>
84    * Human-readable description of this trigger.
85    * </pre>
86    *
87    * <code>string description = 10;</code>
88    *
89    * @return The description.
90    */
getDescription()91   java.lang.String getDescription();
92   /**
93    *
94    *
95    * <pre>
96    * Human-readable description of this trigger.
97    * </pre>
98    *
99    * <code>string description = 10;</code>
100    *
101    * @return The bytes for description.
102    */
getDescriptionBytes()103   com.google.protobuf.ByteString getDescriptionBytes();
104 
105   /**
106    *
107    *
108    * <pre>
109    * User-assigned name of the trigger. Must be unique within the project.
110    * Trigger names must meet the following requirements:
111    * + They must contain only alphanumeric characters and dashes.
112    * + They can be 1-64 characters long.
113    * + They must begin and end with an alphanumeric character.
114    * </pre>
115    *
116    * <code>string name = 21;</code>
117    *
118    * @return The name.
119    */
getName()120   java.lang.String getName();
121   /**
122    *
123    *
124    * <pre>
125    * User-assigned name of the trigger. Must be unique within the project.
126    * Trigger names must meet the following requirements:
127    * + They must contain only alphanumeric characters and dashes.
128    * + They can be 1-64 characters long.
129    * + They must begin and end with an alphanumeric character.
130    * </pre>
131    *
132    * <code>string name = 21;</code>
133    *
134    * @return The bytes for name.
135    */
getNameBytes()136   com.google.protobuf.ByteString getNameBytes();
137 
138   /**
139    *
140    *
141    * <pre>
142    * Tags for annotation of a `BuildTrigger`
143    * </pre>
144    *
145    * <code>repeated string tags = 19;</code>
146    *
147    * @return A list containing the tags.
148    */
getTagsList()149   java.util.List<java.lang.String> getTagsList();
150   /**
151    *
152    *
153    * <pre>
154    * Tags for annotation of a `BuildTrigger`
155    * </pre>
156    *
157    * <code>repeated string tags = 19;</code>
158    *
159    * @return The count of tags.
160    */
getTagsCount()161   int getTagsCount();
162   /**
163    *
164    *
165    * <pre>
166    * Tags for annotation of a `BuildTrigger`
167    * </pre>
168    *
169    * <code>repeated string tags = 19;</code>
170    *
171    * @param index The index of the element to return.
172    * @return The tags at the given index.
173    */
getTags(int index)174   java.lang.String getTags(int index);
175   /**
176    *
177    *
178    * <pre>
179    * Tags for annotation of a `BuildTrigger`
180    * </pre>
181    *
182    * <code>repeated string tags = 19;</code>
183    *
184    * @param index The index of the value to return.
185    * @return The bytes of the tags at the given index.
186    */
getTagsBytes(int index)187   com.google.protobuf.ByteString getTagsBytes(int index);
188 
189   /**
190    *
191    *
192    * <pre>
193    * Template describing the types of source changes to trigger a build.
194    * Branch and tag names in trigger templates are interpreted as regular
195    * expressions. Any branch or tag change that matches that regular expression
196    * will trigger a build.
197    * Mutually exclusive with `github`.
198    * </pre>
199    *
200    * <code>.google.devtools.cloudbuild.v1.RepoSource trigger_template = 7;</code>
201    *
202    * @return Whether the triggerTemplate field is set.
203    */
hasTriggerTemplate()204   boolean hasTriggerTemplate();
205   /**
206    *
207    *
208    * <pre>
209    * Template describing the types of source changes to trigger a build.
210    * Branch and tag names in trigger templates are interpreted as regular
211    * expressions. Any branch or tag change that matches that regular expression
212    * will trigger a build.
213    * Mutually exclusive with `github`.
214    * </pre>
215    *
216    * <code>.google.devtools.cloudbuild.v1.RepoSource trigger_template = 7;</code>
217    *
218    * @return The triggerTemplate.
219    */
getTriggerTemplate()220   com.google.cloudbuild.v1.RepoSource getTriggerTemplate();
221   /**
222    *
223    *
224    * <pre>
225    * Template describing the types of source changes to trigger a build.
226    * Branch and tag names in trigger templates are interpreted as regular
227    * expressions. Any branch or tag change that matches that regular expression
228    * will trigger a build.
229    * Mutually exclusive with `github`.
230    * </pre>
231    *
232    * <code>.google.devtools.cloudbuild.v1.RepoSource trigger_template = 7;</code>
233    */
getTriggerTemplateOrBuilder()234   com.google.cloudbuild.v1.RepoSourceOrBuilder getTriggerTemplateOrBuilder();
235 
236   /**
237    *
238    *
239    * <pre>
240    * GitHubEventsConfig describes the configuration of a trigger that creates
241    * a build whenever a GitHub event is received.
242    * Mutually exclusive with `trigger_template`.
243    * </pre>
244    *
245    * <code>.google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;</code>
246    *
247    * @return Whether the github field is set.
248    */
hasGithub()249   boolean hasGithub();
250   /**
251    *
252    *
253    * <pre>
254    * GitHubEventsConfig describes the configuration of a trigger that creates
255    * a build whenever a GitHub event is received.
256    * Mutually exclusive with `trigger_template`.
257    * </pre>
258    *
259    * <code>.google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;</code>
260    *
261    * @return The github.
262    */
getGithub()263   com.google.cloudbuild.v1.GitHubEventsConfig getGithub();
264   /**
265    *
266    *
267    * <pre>
268    * GitHubEventsConfig describes the configuration of a trigger that creates
269    * a build whenever a GitHub event is received.
270    * Mutually exclusive with `trigger_template`.
271    * </pre>
272    *
273    * <code>.google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;</code>
274    */
getGithubOrBuilder()275   com.google.cloudbuild.v1.GitHubEventsConfigOrBuilder getGithubOrBuilder();
276 
277   /**
278    *
279    *
280    * <pre>
281    * PubsubConfig describes the configuration of a trigger that
282    * creates a build whenever a Pub/Sub message is published.
283    * </pre>
284    *
285    * <code>.google.devtools.cloudbuild.v1.PubsubConfig pubsub_config = 29;</code>
286    *
287    * @return Whether the pubsubConfig field is set.
288    */
hasPubsubConfig()289   boolean hasPubsubConfig();
290   /**
291    *
292    *
293    * <pre>
294    * PubsubConfig describes the configuration of a trigger that
295    * creates a build whenever a Pub/Sub message is published.
296    * </pre>
297    *
298    * <code>.google.devtools.cloudbuild.v1.PubsubConfig pubsub_config = 29;</code>
299    *
300    * @return The pubsubConfig.
301    */
getPubsubConfig()302   com.google.cloudbuild.v1.PubsubConfig getPubsubConfig();
303   /**
304    *
305    *
306    * <pre>
307    * PubsubConfig describes the configuration of a trigger that
308    * creates a build whenever a Pub/Sub message is published.
309    * </pre>
310    *
311    * <code>.google.devtools.cloudbuild.v1.PubsubConfig pubsub_config = 29;</code>
312    */
getPubsubConfigOrBuilder()313   com.google.cloudbuild.v1.PubsubConfigOrBuilder getPubsubConfigOrBuilder();
314 
315   /**
316    *
317    *
318    * <pre>
319    * WebhookConfig describes the configuration of a trigger that
320    * creates a build whenever a webhook is sent to a trigger's webhook URL.
321    * </pre>
322    *
323    * <code>.google.devtools.cloudbuild.v1.WebhookConfig webhook_config = 31;</code>
324    *
325    * @return Whether the webhookConfig field is set.
326    */
hasWebhookConfig()327   boolean hasWebhookConfig();
328   /**
329    *
330    *
331    * <pre>
332    * WebhookConfig describes the configuration of a trigger that
333    * creates a build whenever a webhook is sent to a trigger's webhook URL.
334    * </pre>
335    *
336    * <code>.google.devtools.cloudbuild.v1.WebhookConfig webhook_config = 31;</code>
337    *
338    * @return The webhookConfig.
339    */
getWebhookConfig()340   com.google.cloudbuild.v1.WebhookConfig getWebhookConfig();
341   /**
342    *
343    *
344    * <pre>
345    * WebhookConfig describes the configuration of a trigger that
346    * creates a build whenever a webhook is sent to a trigger's webhook URL.
347    * </pre>
348    *
349    * <code>.google.devtools.cloudbuild.v1.WebhookConfig webhook_config = 31;</code>
350    */
getWebhookConfigOrBuilder()351   com.google.cloudbuild.v1.WebhookConfigOrBuilder getWebhookConfigOrBuilder();
352 
353   /**
354    *
355    *
356    * <pre>
357    * Autodetect build configuration.  The following precedence is used (case
358    * insensitive):
359    * 1. cloudbuild.yaml
360    * 2. cloudbuild.yml
361    * 3. cloudbuild.json
362    * 4. Dockerfile
363    * Currently only available for GitHub App Triggers.
364    * </pre>
365    *
366    * <code>bool autodetect = 18;</code>
367    *
368    * @return Whether the autodetect field is set.
369    */
hasAutodetect()370   boolean hasAutodetect();
371   /**
372    *
373    *
374    * <pre>
375    * Autodetect build configuration.  The following precedence is used (case
376    * insensitive):
377    * 1. cloudbuild.yaml
378    * 2. cloudbuild.yml
379    * 3. cloudbuild.json
380    * 4. Dockerfile
381    * Currently only available for GitHub App Triggers.
382    * </pre>
383    *
384    * <code>bool autodetect = 18;</code>
385    *
386    * @return The autodetect.
387    */
getAutodetect()388   boolean getAutodetect();
389 
390   /**
391    *
392    *
393    * <pre>
394    * Contents of the build template.
395    * </pre>
396    *
397    * <code>.google.devtools.cloudbuild.v1.Build build = 4;</code>
398    *
399    * @return Whether the build field is set.
400    */
hasBuild()401   boolean hasBuild();
402   /**
403    *
404    *
405    * <pre>
406    * Contents of the build template.
407    * </pre>
408    *
409    * <code>.google.devtools.cloudbuild.v1.Build build = 4;</code>
410    *
411    * @return The build.
412    */
getBuild()413   com.google.cloudbuild.v1.Build getBuild();
414   /**
415    *
416    *
417    * <pre>
418    * Contents of the build template.
419    * </pre>
420    *
421    * <code>.google.devtools.cloudbuild.v1.Build build = 4;</code>
422    */
getBuildOrBuilder()423   com.google.cloudbuild.v1.BuildOrBuilder getBuildOrBuilder();
424 
425   /**
426    *
427    *
428    * <pre>
429    * Path, from the source root, to the build configuration file
430    * (i.e. cloudbuild.yaml).
431    * </pre>
432    *
433    * <code>string filename = 8;</code>
434    *
435    * @return Whether the filename field is set.
436    */
hasFilename()437   boolean hasFilename();
438   /**
439    *
440    *
441    * <pre>
442    * Path, from the source root, to the build configuration file
443    * (i.e. cloudbuild.yaml).
444    * </pre>
445    *
446    * <code>string filename = 8;</code>
447    *
448    * @return The filename.
449    */
getFilename()450   java.lang.String getFilename();
451   /**
452    *
453    *
454    * <pre>
455    * Path, from the source root, to the build configuration file
456    * (i.e. cloudbuild.yaml).
457    * </pre>
458    *
459    * <code>string filename = 8;</code>
460    *
461    * @return The bytes for filename.
462    */
getFilenameBytes()463   com.google.protobuf.ByteString getFilenameBytes();
464 
465   /**
466    *
467    *
468    * <pre>
469    * Output only. Time when the trigger was created.
470    * </pre>
471    *
472    * <code>.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
473    * </code>
474    *
475    * @return Whether the createTime field is set.
476    */
hasCreateTime()477   boolean hasCreateTime();
478   /**
479    *
480    *
481    * <pre>
482    * Output only. Time when the trigger was created.
483    * </pre>
484    *
485    * <code>.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
486    * </code>
487    *
488    * @return The createTime.
489    */
getCreateTime()490   com.google.protobuf.Timestamp getCreateTime();
491   /**
492    *
493    *
494    * <pre>
495    * Output only. Time when the trigger was created.
496    * </pre>
497    *
498    * <code>.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
499    * </code>
500    */
getCreateTimeOrBuilder()501   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
502 
503   /**
504    *
505    *
506    * <pre>
507    * If true, the trigger will never automatically execute a build.
508    * </pre>
509    *
510    * <code>bool disabled = 9;</code>
511    *
512    * @return The disabled.
513    */
getDisabled()514   boolean getDisabled();
515 
516   /**
517    *
518    *
519    * <pre>
520    * Substitutions for Build resource. The keys must match the following
521    * regular expression: `^_[A-Z0-9_]+$`.
522    * </pre>
523    *
524    * <code>map&lt;string, string&gt; substitutions = 11;</code>
525    */
getSubstitutionsCount()526   int getSubstitutionsCount();
527   /**
528    *
529    *
530    * <pre>
531    * Substitutions for Build resource. The keys must match the following
532    * regular expression: `^_[A-Z0-9_]+$`.
533    * </pre>
534    *
535    * <code>map&lt;string, string&gt; substitutions = 11;</code>
536    */
containsSubstitutions(java.lang.String key)537   boolean containsSubstitutions(java.lang.String key);
538   /** Use {@link #getSubstitutionsMap()} instead. */
539   @java.lang.Deprecated
getSubstitutions()540   java.util.Map<java.lang.String, java.lang.String> getSubstitutions();
541   /**
542    *
543    *
544    * <pre>
545    * Substitutions for Build resource. The keys must match the following
546    * regular expression: `^_[A-Z0-9_]+$`.
547    * </pre>
548    *
549    * <code>map&lt;string, string&gt; substitutions = 11;</code>
550    */
getSubstitutionsMap()551   java.util.Map<java.lang.String, java.lang.String> getSubstitutionsMap();
552   /**
553    *
554    *
555    * <pre>
556    * Substitutions for Build resource. The keys must match the following
557    * regular expression: `^_[A-Z0-9_]+$`.
558    * </pre>
559    *
560    * <code>map&lt;string, string&gt; substitutions = 11;</code>
561    */
562   /* nullable */
getSubstitutionsOrDefault( java.lang.String key, java.lang.String defaultValue)563   java.lang.String getSubstitutionsOrDefault(
564       java.lang.String key,
565       /* nullable */
566       java.lang.String defaultValue);
567   /**
568    *
569    *
570    * <pre>
571    * Substitutions for Build resource. The keys must match the following
572    * regular expression: `^_[A-Z0-9_]+$`.
573    * </pre>
574    *
575    * <code>map&lt;string, string&gt; substitutions = 11;</code>
576    */
getSubstitutionsOrThrow(java.lang.String key)577   java.lang.String getSubstitutionsOrThrow(java.lang.String key);
578 
579   /**
580    *
581    *
582    * <pre>
583    * ignored_files and included_files are file glob matches using
584    * https://golang.org/pkg/path/filepath/#Match extended with support for "**".
585    * If ignored_files and changed files are both empty, then they are
586    * not used to determine whether or not to trigger a build.
587    * If ignored_files is not empty, then we ignore any files that match
588    * any of the ignored_file globs. If the change has no files that are
589    * outside of the ignored_files globs, then we do not trigger a build.
590    * </pre>
591    *
592    * <code>repeated string ignored_files = 15;</code>
593    *
594    * @return A list containing the ignoredFiles.
595    */
getIgnoredFilesList()596   java.util.List<java.lang.String> getIgnoredFilesList();
597   /**
598    *
599    *
600    * <pre>
601    * ignored_files and included_files are file glob matches using
602    * https://golang.org/pkg/path/filepath/#Match extended with support for "**".
603    * If ignored_files and changed files are both empty, then they are
604    * not used to determine whether or not to trigger a build.
605    * If ignored_files is not empty, then we ignore any files that match
606    * any of the ignored_file globs. If the change has no files that are
607    * outside of the ignored_files globs, then we do not trigger a build.
608    * </pre>
609    *
610    * <code>repeated string ignored_files = 15;</code>
611    *
612    * @return The count of ignoredFiles.
613    */
getIgnoredFilesCount()614   int getIgnoredFilesCount();
615   /**
616    *
617    *
618    * <pre>
619    * ignored_files and included_files are file glob matches using
620    * https://golang.org/pkg/path/filepath/#Match extended with support for "**".
621    * If ignored_files and changed files are both empty, then they are
622    * not used to determine whether or not to trigger a build.
623    * If ignored_files is not empty, then we ignore any files that match
624    * any of the ignored_file globs. If the change has no files that are
625    * outside of the ignored_files globs, then we do not trigger a build.
626    * </pre>
627    *
628    * <code>repeated string ignored_files = 15;</code>
629    *
630    * @param index The index of the element to return.
631    * @return The ignoredFiles at the given index.
632    */
getIgnoredFiles(int index)633   java.lang.String getIgnoredFiles(int index);
634   /**
635    *
636    *
637    * <pre>
638    * ignored_files and included_files are file glob matches using
639    * https://golang.org/pkg/path/filepath/#Match extended with support for "**".
640    * If ignored_files and changed files are both empty, then they are
641    * not used to determine whether or not to trigger a build.
642    * If ignored_files is not empty, then we ignore any files that match
643    * any of the ignored_file globs. If the change has no files that are
644    * outside of the ignored_files globs, then we do not trigger a build.
645    * </pre>
646    *
647    * <code>repeated string ignored_files = 15;</code>
648    *
649    * @param index The index of the value to return.
650    * @return The bytes of the ignoredFiles at the given index.
651    */
getIgnoredFilesBytes(int index)652   com.google.protobuf.ByteString getIgnoredFilesBytes(int index);
653 
654   /**
655    *
656    *
657    * <pre>
658    * If any of the files altered in the commit pass the ignored_files
659    * filter and included_files is empty, then as far as this filter is
660    * concerned, we should trigger the build.
661    * If any of the files altered in the commit pass the ignored_files
662    * filter and included_files is not empty, then we make sure that at
663    * least one of those files matches a included_files glob. If not,
664    * then we do not trigger a build.
665    * </pre>
666    *
667    * <code>repeated string included_files = 16;</code>
668    *
669    * @return A list containing the includedFiles.
670    */
getIncludedFilesList()671   java.util.List<java.lang.String> getIncludedFilesList();
672   /**
673    *
674    *
675    * <pre>
676    * If any of the files altered in the commit pass the ignored_files
677    * filter and included_files is empty, then as far as this filter is
678    * concerned, we should trigger the build.
679    * If any of the files altered in the commit pass the ignored_files
680    * filter and included_files is not empty, then we make sure that at
681    * least one of those files matches a included_files glob. If not,
682    * then we do not trigger a build.
683    * </pre>
684    *
685    * <code>repeated string included_files = 16;</code>
686    *
687    * @return The count of includedFiles.
688    */
getIncludedFilesCount()689   int getIncludedFilesCount();
690   /**
691    *
692    *
693    * <pre>
694    * If any of the files altered in the commit pass the ignored_files
695    * filter and included_files is empty, then as far as this filter is
696    * concerned, we should trigger the build.
697    * If any of the files altered in the commit pass the ignored_files
698    * filter and included_files is not empty, then we make sure that at
699    * least one of those files matches a included_files glob. If not,
700    * then we do not trigger a build.
701    * </pre>
702    *
703    * <code>repeated string included_files = 16;</code>
704    *
705    * @param index The index of the element to return.
706    * @return The includedFiles at the given index.
707    */
getIncludedFiles(int index)708   java.lang.String getIncludedFiles(int index);
709   /**
710    *
711    *
712    * <pre>
713    * If any of the files altered in the commit pass the ignored_files
714    * filter and included_files is empty, then as far as this filter is
715    * concerned, we should trigger the build.
716    * If any of the files altered in the commit pass the ignored_files
717    * filter and included_files is not empty, then we make sure that at
718    * least one of those files matches a included_files glob. If not,
719    * then we do not trigger a build.
720    * </pre>
721    *
722    * <code>repeated string included_files = 16;</code>
723    *
724    * @param index The index of the value to return.
725    * @return The bytes of the includedFiles at the given index.
726    */
getIncludedFilesBytes(int index)727   com.google.protobuf.ByteString getIncludedFilesBytes(int index);
728 
729   /**
730    *
731    *
732    * <pre>
733    * Optional. A Common Expression Language string.
734    * </pre>
735    *
736    * <code>string filter = 30 [(.google.api.field_behavior) = OPTIONAL];</code>
737    *
738    * @return The filter.
739    */
getFilter()740   java.lang.String getFilter();
741   /**
742    *
743    *
744    * <pre>
745    * Optional. A Common Expression Language string.
746    * </pre>
747    *
748    * <code>string filter = 30 [(.google.api.field_behavior) = OPTIONAL];</code>
749    *
750    * @return The bytes for filter.
751    */
getFilterBytes()752   com.google.protobuf.ByteString getFilterBytes();
753 
754   /**
755    *
756    *
757    * <pre>
758    * The service account used for all user-controlled operations including
759    * UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild.
760    * If no service account is set, then the standard Cloud Build service account
761    * ([PROJECT_NUM]&#64;system.gserviceaccount.com) will be used instead.
762    * Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}`
763    * </pre>
764    *
765    * <code>string service_account = 33 [(.google.api.resource_reference) = { ... }</code>
766    *
767    * @return The serviceAccount.
768    */
getServiceAccount()769   java.lang.String getServiceAccount();
770   /**
771    *
772    *
773    * <pre>
774    * The service account used for all user-controlled operations including
775    * UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild.
776    * If no service account is set, then the standard Cloud Build service account
777    * ([PROJECT_NUM]&#64;system.gserviceaccount.com) will be used instead.
778    * Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}`
779    * </pre>
780    *
781    * <code>string service_account = 33 [(.google.api.resource_reference) = { ... }</code>
782    *
783    * @return The bytes for serviceAccount.
784    */
getServiceAccountBytes()785   com.google.protobuf.ByteString getServiceAccountBytes();
786 
getBuildTemplateCase()787   public com.google.cloudbuild.v1.BuildTrigger.BuildTemplateCase getBuildTemplateCase();
788 }
789