• 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 BuildOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.Build)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Output only. The 'Build' name with format:
31    * `projects/{project}/locations/{location}/builds/{build}`, where {build}
32    * is a unique identifier generated by the service.
33    * </pre>
34    *
35    * <code>string name = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
36    *
37    * @return The name.
38    */
getName()39   java.lang.String getName();
40   /**
41    *
42    *
43    * <pre>
44    * Output only. The 'Build' name with format:
45    * `projects/{project}/locations/{location}/builds/{build}`, where {build}
46    * is a unique identifier generated by the service.
47    * </pre>
48    *
49    * <code>string name = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
50    *
51    * @return The bytes for name.
52    */
getNameBytes()53   com.google.protobuf.ByteString getNameBytes();
54 
55   /**
56    *
57    *
58    * <pre>
59    * Output only. Unique identifier of the build.
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 build.
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    * Output only. ID of the project.
85    * </pre>
86    *
87    * <code>string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
88    *
89    * @return The projectId.
90    */
getProjectId()91   java.lang.String getProjectId();
92   /**
93    *
94    *
95    * <pre>
96    * Output only. ID of the project.
97    * </pre>
98    *
99    * <code>string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
100    *
101    * @return The bytes for projectId.
102    */
getProjectIdBytes()103   com.google.protobuf.ByteString getProjectIdBytes();
104 
105   /**
106    *
107    *
108    * <pre>
109    * Output only. Status of the build.
110    * </pre>
111    *
112    * <code>
113    * .google.devtools.cloudbuild.v1.Build.Status status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
114    * </code>
115    *
116    * @return The enum numeric value on the wire for status.
117    */
getStatusValue()118   int getStatusValue();
119   /**
120    *
121    *
122    * <pre>
123    * Output only. Status of the build.
124    * </pre>
125    *
126    * <code>
127    * .google.devtools.cloudbuild.v1.Build.Status status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
128    * </code>
129    *
130    * @return The status.
131    */
getStatus()132   com.google.cloudbuild.v1.Build.Status getStatus();
133 
134   /**
135    *
136    *
137    * <pre>
138    * Output only. Customer-readable message about the current status.
139    * </pre>
140    *
141    * <code>string status_detail = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
142    *
143    * @return The statusDetail.
144    */
getStatusDetail()145   java.lang.String getStatusDetail();
146   /**
147    *
148    *
149    * <pre>
150    * Output only. Customer-readable message about the current status.
151    * </pre>
152    *
153    * <code>string status_detail = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
154    *
155    * @return The bytes for statusDetail.
156    */
getStatusDetailBytes()157   com.google.protobuf.ByteString getStatusDetailBytes();
158 
159   /**
160    *
161    *
162    * <pre>
163    * The location of the source files to build.
164    * </pre>
165    *
166    * <code>.google.devtools.cloudbuild.v1.Source source = 3;</code>
167    *
168    * @return Whether the source field is set.
169    */
hasSource()170   boolean hasSource();
171   /**
172    *
173    *
174    * <pre>
175    * The location of the source files to build.
176    * </pre>
177    *
178    * <code>.google.devtools.cloudbuild.v1.Source source = 3;</code>
179    *
180    * @return The source.
181    */
getSource()182   com.google.cloudbuild.v1.Source getSource();
183   /**
184    *
185    *
186    * <pre>
187    * The location of the source files to build.
188    * </pre>
189    *
190    * <code>.google.devtools.cloudbuild.v1.Source source = 3;</code>
191    */
getSourceOrBuilder()192   com.google.cloudbuild.v1.SourceOrBuilder getSourceOrBuilder();
193 
194   /**
195    *
196    *
197    * <pre>
198    * Required. The operations to be performed on the workspace.
199    * </pre>
200    *
201    * <code>repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;</code>
202    */
getStepsList()203   java.util.List<com.google.cloudbuild.v1.BuildStep> getStepsList();
204   /**
205    *
206    *
207    * <pre>
208    * Required. The operations to be performed on the workspace.
209    * </pre>
210    *
211    * <code>repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;</code>
212    */
getSteps(int index)213   com.google.cloudbuild.v1.BuildStep getSteps(int index);
214   /**
215    *
216    *
217    * <pre>
218    * Required. The operations to be performed on the workspace.
219    * </pre>
220    *
221    * <code>repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;</code>
222    */
getStepsCount()223   int getStepsCount();
224   /**
225    *
226    *
227    * <pre>
228    * Required. The operations to be performed on the workspace.
229    * </pre>
230    *
231    * <code>repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;</code>
232    */
getStepsOrBuilderList()233   java.util.List<? extends com.google.cloudbuild.v1.BuildStepOrBuilder> getStepsOrBuilderList();
234   /**
235    *
236    *
237    * <pre>
238    * Required. The operations to be performed on the workspace.
239    * </pre>
240    *
241    * <code>repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;</code>
242    */
getStepsOrBuilder(int index)243   com.google.cloudbuild.v1.BuildStepOrBuilder getStepsOrBuilder(int index);
244 
245   /**
246    *
247    *
248    * <pre>
249    * Output only. Results of the build.
250    * </pre>
251    *
252    * <code>
253    * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
254    * </code>
255    *
256    * @return Whether the results field is set.
257    */
hasResults()258   boolean hasResults();
259   /**
260    *
261    *
262    * <pre>
263    * Output only. Results of the build.
264    * </pre>
265    *
266    * <code>
267    * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
268    * </code>
269    *
270    * @return The results.
271    */
getResults()272   com.google.cloudbuild.v1.Results getResults();
273   /**
274    *
275    *
276    * <pre>
277    * Output only. Results of the build.
278    * </pre>
279    *
280    * <code>
281    * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
282    * </code>
283    */
getResultsOrBuilder()284   com.google.cloudbuild.v1.ResultsOrBuilder getResultsOrBuilder();
285 
286   /**
287    *
288    *
289    * <pre>
290    * Output only. Time at which the request to create the build was received.
291    * </pre>
292    *
293    * <code>.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
294    * </code>
295    *
296    * @return Whether the createTime field is set.
297    */
hasCreateTime()298   boolean hasCreateTime();
299   /**
300    *
301    *
302    * <pre>
303    * Output only. Time at which the request to create the build was received.
304    * </pre>
305    *
306    * <code>.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
307    * </code>
308    *
309    * @return The createTime.
310    */
getCreateTime()311   com.google.protobuf.Timestamp getCreateTime();
312   /**
313    *
314    *
315    * <pre>
316    * Output only. Time at which the request to create the build was received.
317    * </pre>
318    *
319    * <code>.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
320    * </code>
321    */
getCreateTimeOrBuilder()322   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
323 
324   /**
325    *
326    *
327    * <pre>
328    * Output only. Time at which execution of the build was started.
329    * </pre>
330    *
331    * <code>.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
332    * </code>
333    *
334    * @return Whether the startTime field is set.
335    */
hasStartTime()336   boolean hasStartTime();
337   /**
338    *
339    *
340    * <pre>
341    * Output only. Time at which execution of the build was started.
342    * </pre>
343    *
344    * <code>.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
345    * </code>
346    *
347    * @return The startTime.
348    */
getStartTime()349   com.google.protobuf.Timestamp getStartTime();
350   /**
351    *
352    *
353    * <pre>
354    * Output only. Time at which execution of the build was started.
355    * </pre>
356    *
357    * <code>.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
358    * </code>
359    */
getStartTimeOrBuilder()360   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
361 
362   /**
363    *
364    *
365    * <pre>
366    * Output only. Time at which execution of the build was finished.
367    * The difference between finish_time and start_time is the duration of the
368    * build's execution.
369    * </pre>
370    *
371    * <code>.google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
372    * </code>
373    *
374    * @return Whether the finishTime field is set.
375    */
hasFinishTime()376   boolean hasFinishTime();
377   /**
378    *
379    *
380    * <pre>
381    * Output only. Time at which execution of the build was finished.
382    * The difference between finish_time and start_time is the duration of the
383    * build's execution.
384    * </pre>
385    *
386    * <code>.google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
387    * </code>
388    *
389    * @return The finishTime.
390    */
getFinishTime()391   com.google.protobuf.Timestamp getFinishTime();
392   /**
393    *
394    *
395    * <pre>
396    * Output only. Time at which execution of the build was finished.
397    * The difference between finish_time and start_time is the duration of the
398    * build's execution.
399    * </pre>
400    *
401    * <code>.google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
402    * </code>
403    */
getFinishTimeOrBuilder()404   com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder();
405 
406   /**
407    *
408    *
409    * <pre>
410    * Amount of time that this build should be allowed to run, to second
411    * granularity. If this amount of time elapses, work on the build will cease
412    * and the build status will be `TIMEOUT`.
413    * `timeout` starts ticking from `startTime`.
414    * Default time is 60 minutes.
415    * </pre>
416    *
417    * <code>.google.protobuf.Duration timeout = 12;</code>
418    *
419    * @return Whether the timeout field is set.
420    */
hasTimeout()421   boolean hasTimeout();
422   /**
423    *
424    *
425    * <pre>
426    * Amount of time that this build should be allowed to run, to second
427    * granularity. If this amount of time elapses, work on the build will cease
428    * and the build status will be `TIMEOUT`.
429    * `timeout` starts ticking from `startTime`.
430    * Default time is 60 minutes.
431    * </pre>
432    *
433    * <code>.google.protobuf.Duration timeout = 12;</code>
434    *
435    * @return The timeout.
436    */
getTimeout()437   com.google.protobuf.Duration getTimeout();
438   /**
439    *
440    *
441    * <pre>
442    * Amount of time that this build should be allowed to run, to second
443    * granularity. If this amount of time elapses, work on the build will cease
444    * and the build status will be `TIMEOUT`.
445    * `timeout` starts ticking from `startTime`.
446    * Default time is 60 minutes.
447    * </pre>
448    *
449    * <code>.google.protobuf.Duration timeout = 12;</code>
450    */
getTimeoutOrBuilder()451   com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder();
452 
453   /**
454    *
455    *
456    * <pre>
457    * A list of images to be pushed upon the successful completion of all build
458    * steps.
459    * The images are pushed using the builder service account's credentials.
460    * The digests of the pushed images will be stored in the `Build` resource's
461    * results field.
462    * If any of the images fail to be pushed, the build status is marked
463    * `FAILURE`.
464    * </pre>
465    *
466    * <code>repeated string images = 13;</code>
467    *
468    * @return A list containing the images.
469    */
getImagesList()470   java.util.List<java.lang.String> getImagesList();
471   /**
472    *
473    *
474    * <pre>
475    * A list of images to be pushed upon the successful completion of all build
476    * steps.
477    * The images are pushed using the builder service account's credentials.
478    * The digests of the pushed images will be stored in the `Build` resource's
479    * results field.
480    * If any of the images fail to be pushed, the build status is marked
481    * `FAILURE`.
482    * </pre>
483    *
484    * <code>repeated string images = 13;</code>
485    *
486    * @return The count of images.
487    */
getImagesCount()488   int getImagesCount();
489   /**
490    *
491    *
492    * <pre>
493    * A list of images to be pushed upon the successful completion of all build
494    * steps.
495    * The images are pushed using the builder service account's credentials.
496    * The digests of the pushed images will be stored in the `Build` resource's
497    * results field.
498    * If any of the images fail to be pushed, the build status is marked
499    * `FAILURE`.
500    * </pre>
501    *
502    * <code>repeated string images = 13;</code>
503    *
504    * @param index The index of the element to return.
505    * @return The images at the given index.
506    */
getImages(int index)507   java.lang.String getImages(int index);
508   /**
509    *
510    *
511    * <pre>
512    * A list of images to be pushed upon the successful completion of all build
513    * steps.
514    * The images are pushed using the builder service account's credentials.
515    * The digests of the pushed images will be stored in the `Build` resource's
516    * results field.
517    * If any of the images fail to be pushed, the build status is marked
518    * `FAILURE`.
519    * </pre>
520    *
521    * <code>repeated string images = 13;</code>
522    *
523    * @param index The index of the value to return.
524    * @return The bytes of the images at the given index.
525    */
getImagesBytes(int index)526   com.google.protobuf.ByteString getImagesBytes(int index);
527 
528   /**
529    *
530    *
531    * <pre>
532    * TTL in queue for this build. If provided and the build is enqueued longer
533    * than this value, the build will expire and the build status will be
534    * `EXPIRED`.
535    * The TTL starts ticking from create_time.
536    * </pre>
537    *
538    * <code>.google.protobuf.Duration queue_ttl = 40;</code>
539    *
540    * @return Whether the queueTtl field is set.
541    */
hasQueueTtl()542   boolean hasQueueTtl();
543   /**
544    *
545    *
546    * <pre>
547    * TTL in queue for this build. If provided and the build is enqueued longer
548    * than this value, the build will expire and the build status will be
549    * `EXPIRED`.
550    * The TTL starts ticking from create_time.
551    * </pre>
552    *
553    * <code>.google.protobuf.Duration queue_ttl = 40;</code>
554    *
555    * @return The queueTtl.
556    */
getQueueTtl()557   com.google.protobuf.Duration getQueueTtl();
558   /**
559    *
560    *
561    * <pre>
562    * TTL in queue for this build. If provided and the build is enqueued longer
563    * than this value, the build will expire and the build status will be
564    * `EXPIRED`.
565    * The TTL starts ticking from create_time.
566    * </pre>
567    *
568    * <code>.google.protobuf.Duration queue_ttl = 40;</code>
569    */
getQueueTtlOrBuilder()570   com.google.protobuf.DurationOrBuilder getQueueTtlOrBuilder();
571 
572   /**
573    *
574    *
575    * <pre>
576    * Artifacts produced by the build that should be uploaded upon
577    * successful completion of all build steps.
578    * </pre>
579    *
580    * <code>.google.devtools.cloudbuild.v1.Artifacts artifacts = 37;</code>
581    *
582    * @return Whether the artifacts field is set.
583    */
hasArtifacts()584   boolean hasArtifacts();
585   /**
586    *
587    *
588    * <pre>
589    * Artifacts produced by the build that should be uploaded upon
590    * successful completion of all build steps.
591    * </pre>
592    *
593    * <code>.google.devtools.cloudbuild.v1.Artifacts artifacts = 37;</code>
594    *
595    * @return The artifacts.
596    */
getArtifacts()597   com.google.cloudbuild.v1.Artifacts getArtifacts();
598   /**
599    *
600    *
601    * <pre>
602    * Artifacts produced by the build that should be uploaded upon
603    * successful completion of all build steps.
604    * </pre>
605    *
606    * <code>.google.devtools.cloudbuild.v1.Artifacts artifacts = 37;</code>
607    */
getArtifactsOrBuilder()608   com.google.cloudbuild.v1.ArtifactsOrBuilder getArtifactsOrBuilder();
609 
610   /**
611    *
612    *
613    * <pre>
614    * Google Cloud Storage bucket where logs should be written (see
615    * [Bucket Name
616    * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
617    * Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
618    * </pre>
619    *
620    * <code>string logs_bucket = 19;</code>
621    *
622    * @return The logsBucket.
623    */
getLogsBucket()624   java.lang.String getLogsBucket();
625   /**
626    *
627    *
628    * <pre>
629    * Google Cloud Storage bucket where logs should be written (see
630    * [Bucket Name
631    * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
632    * Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
633    * </pre>
634    *
635    * <code>string logs_bucket = 19;</code>
636    *
637    * @return The bytes for logsBucket.
638    */
getLogsBucketBytes()639   com.google.protobuf.ByteString getLogsBucketBytes();
640 
641   /**
642    *
643    *
644    * <pre>
645    * Output only. A permanent fixed identifier for source.
646    * </pre>
647    *
648    * <code>
649    * .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
650    * </code>
651    *
652    * @return Whether the sourceProvenance field is set.
653    */
hasSourceProvenance()654   boolean hasSourceProvenance();
655   /**
656    *
657    *
658    * <pre>
659    * Output only. A permanent fixed identifier for source.
660    * </pre>
661    *
662    * <code>
663    * .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
664    * </code>
665    *
666    * @return The sourceProvenance.
667    */
getSourceProvenance()668   com.google.cloudbuild.v1.SourceProvenance getSourceProvenance();
669   /**
670    *
671    *
672    * <pre>
673    * Output only. A permanent fixed identifier for source.
674    * </pre>
675    *
676    * <code>
677    * .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
678    * </code>
679    */
getSourceProvenanceOrBuilder()680   com.google.cloudbuild.v1.SourceProvenanceOrBuilder getSourceProvenanceOrBuilder();
681 
682   /**
683    *
684    *
685    * <pre>
686    * Output only. The ID of the `BuildTrigger` that triggered this build, if it
687    * was triggered automatically.
688    * </pre>
689    *
690    * <code>string build_trigger_id = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
691    *
692    * @return The buildTriggerId.
693    */
getBuildTriggerId()694   java.lang.String getBuildTriggerId();
695   /**
696    *
697    *
698    * <pre>
699    * Output only. The ID of the `BuildTrigger` that triggered this build, if it
700    * was triggered automatically.
701    * </pre>
702    *
703    * <code>string build_trigger_id = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
704    *
705    * @return The bytes for buildTriggerId.
706    */
getBuildTriggerIdBytes()707   com.google.protobuf.ByteString getBuildTriggerIdBytes();
708 
709   /**
710    *
711    *
712    * <pre>
713    * Special options for this build.
714    * </pre>
715    *
716    * <code>.google.devtools.cloudbuild.v1.BuildOptions options = 23;</code>
717    *
718    * @return Whether the options field is set.
719    */
hasOptions()720   boolean hasOptions();
721   /**
722    *
723    *
724    * <pre>
725    * Special options for this build.
726    * </pre>
727    *
728    * <code>.google.devtools.cloudbuild.v1.BuildOptions options = 23;</code>
729    *
730    * @return The options.
731    */
getOptions()732   com.google.cloudbuild.v1.BuildOptions getOptions();
733   /**
734    *
735    *
736    * <pre>
737    * Special options for this build.
738    * </pre>
739    *
740    * <code>.google.devtools.cloudbuild.v1.BuildOptions options = 23;</code>
741    */
getOptionsOrBuilder()742   com.google.cloudbuild.v1.BuildOptionsOrBuilder getOptionsOrBuilder();
743 
744   /**
745    *
746    *
747    * <pre>
748    * Output only. URL to logs for this build in Google Cloud Console.
749    * </pre>
750    *
751    * <code>string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
752    *
753    * @return The logUrl.
754    */
getLogUrl()755   java.lang.String getLogUrl();
756   /**
757    *
758    *
759    * <pre>
760    * Output only. URL to logs for this build in Google Cloud Console.
761    * </pre>
762    *
763    * <code>string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
764    *
765    * @return The bytes for logUrl.
766    */
getLogUrlBytes()767   com.google.protobuf.ByteString getLogUrlBytes();
768 
769   /**
770    *
771    *
772    * <pre>
773    * Substitutions data for `Build` resource.
774    * </pre>
775    *
776    * <code>map&lt;string, string&gt; substitutions = 29;</code>
777    */
getSubstitutionsCount()778   int getSubstitutionsCount();
779   /**
780    *
781    *
782    * <pre>
783    * Substitutions data for `Build` resource.
784    * </pre>
785    *
786    * <code>map&lt;string, string&gt; substitutions = 29;</code>
787    */
containsSubstitutions(java.lang.String key)788   boolean containsSubstitutions(java.lang.String key);
789   /** Use {@link #getSubstitutionsMap()} instead. */
790   @java.lang.Deprecated
getSubstitutions()791   java.util.Map<java.lang.String, java.lang.String> getSubstitutions();
792   /**
793    *
794    *
795    * <pre>
796    * Substitutions data for `Build` resource.
797    * </pre>
798    *
799    * <code>map&lt;string, string&gt; substitutions = 29;</code>
800    */
getSubstitutionsMap()801   java.util.Map<java.lang.String, java.lang.String> getSubstitutionsMap();
802   /**
803    *
804    *
805    * <pre>
806    * Substitutions data for `Build` resource.
807    * </pre>
808    *
809    * <code>map&lt;string, string&gt; substitutions = 29;</code>
810    */
811   /* nullable */
getSubstitutionsOrDefault( java.lang.String key, java.lang.String defaultValue)812   java.lang.String getSubstitutionsOrDefault(
813       java.lang.String key,
814       /* nullable */
815       java.lang.String defaultValue);
816   /**
817    *
818    *
819    * <pre>
820    * Substitutions data for `Build` resource.
821    * </pre>
822    *
823    * <code>map&lt;string, string&gt; substitutions = 29;</code>
824    */
getSubstitutionsOrThrow(java.lang.String key)825   java.lang.String getSubstitutionsOrThrow(java.lang.String key);
826 
827   /**
828    *
829    *
830    * <pre>
831    * Tags for annotation of a `Build`. These are not docker tags.
832    * </pre>
833    *
834    * <code>repeated string tags = 31;</code>
835    *
836    * @return A list containing the tags.
837    */
getTagsList()838   java.util.List<java.lang.String> getTagsList();
839   /**
840    *
841    *
842    * <pre>
843    * Tags for annotation of a `Build`. These are not docker tags.
844    * </pre>
845    *
846    * <code>repeated string tags = 31;</code>
847    *
848    * @return The count of tags.
849    */
getTagsCount()850   int getTagsCount();
851   /**
852    *
853    *
854    * <pre>
855    * Tags for annotation of a `Build`. These are not docker tags.
856    * </pre>
857    *
858    * <code>repeated string tags = 31;</code>
859    *
860    * @param index The index of the element to return.
861    * @return The tags at the given index.
862    */
getTags(int index)863   java.lang.String getTags(int index);
864   /**
865    *
866    *
867    * <pre>
868    * Tags for annotation of a `Build`. These are not docker tags.
869    * </pre>
870    *
871    * <code>repeated string tags = 31;</code>
872    *
873    * @param index The index of the value to return.
874    * @return The bytes of the tags at the given index.
875    */
getTagsBytes(int index)876   com.google.protobuf.ByteString getTagsBytes(int index);
877 
878   /**
879    *
880    *
881    * <pre>
882    * Secrets to decrypt using Cloud Key Management Service.
883    * Note: Secret Manager is the recommended technique
884    * for managing sensitive data with Cloud Build. Use `available_secrets` to
885    * configure builds to access secrets from Secret Manager. For instructions,
886    * see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
887    * </pre>
888    *
889    * <code>repeated .google.devtools.cloudbuild.v1.Secret secrets = 32;</code>
890    */
getSecretsList()891   java.util.List<com.google.cloudbuild.v1.Secret> getSecretsList();
892   /**
893    *
894    *
895    * <pre>
896    * Secrets to decrypt using Cloud Key Management Service.
897    * Note: Secret Manager is the recommended technique
898    * for managing sensitive data with Cloud Build. Use `available_secrets` to
899    * configure builds to access secrets from Secret Manager. For instructions,
900    * see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
901    * </pre>
902    *
903    * <code>repeated .google.devtools.cloudbuild.v1.Secret secrets = 32;</code>
904    */
getSecrets(int index)905   com.google.cloudbuild.v1.Secret getSecrets(int index);
906   /**
907    *
908    *
909    * <pre>
910    * Secrets to decrypt using Cloud Key Management Service.
911    * Note: Secret Manager is the recommended technique
912    * for managing sensitive data with Cloud Build. Use `available_secrets` to
913    * configure builds to access secrets from Secret Manager. For instructions,
914    * see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
915    * </pre>
916    *
917    * <code>repeated .google.devtools.cloudbuild.v1.Secret secrets = 32;</code>
918    */
getSecretsCount()919   int getSecretsCount();
920   /**
921    *
922    *
923    * <pre>
924    * Secrets to decrypt using Cloud Key Management Service.
925    * Note: Secret Manager is the recommended technique
926    * for managing sensitive data with Cloud Build. Use `available_secrets` to
927    * configure builds to access secrets from Secret Manager. For instructions,
928    * see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
929    * </pre>
930    *
931    * <code>repeated .google.devtools.cloudbuild.v1.Secret secrets = 32;</code>
932    */
getSecretsOrBuilderList()933   java.util.List<? extends com.google.cloudbuild.v1.SecretOrBuilder> getSecretsOrBuilderList();
934   /**
935    *
936    *
937    * <pre>
938    * Secrets to decrypt using Cloud Key Management Service.
939    * Note: Secret Manager is the recommended technique
940    * for managing sensitive data with Cloud Build. Use `available_secrets` to
941    * configure builds to access secrets from Secret Manager. For instructions,
942    * see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
943    * </pre>
944    *
945    * <code>repeated .google.devtools.cloudbuild.v1.Secret secrets = 32;</code>
946    */
getSecretsOrBuilder(int index)947   com.google.cloudbuild.v1.SecretOrBuilder getSecretsOrBuilder(int index);
948 
949   /**
950    *
951    *
952    * <pre>
953    * Output only. Stores timing information for phases of the build. Valid keys
954    * are:
955    * * BUILD: time to execute all build steps.
956    * * PUSH: time to push all artifacts including docker images and non docker
957    * artifacts.
958    * * FETCHSOURCE: time to fetch source.
959    * * SETUPBUILD: time to set up build.
960    * If the build does not specify source or images,
961    * these keys will not be included.
962    * </pre>
963    *
964    * <code>
965    * map&lt;string, .google.devtools.cloudbuild.v1.TimeSpan&gt; timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
966    * </code>
967    */
getTimingCount()968   int getTimingCount();
969   /**
970    *
971    *
972    * <pre>
973    * Output only. Stores timing information for phases of the build. Valid keys
974    * are:
975    * * BUILD: time to execute all build steps.
976    * * PUSH: time to push all artifacts including docker images and non docker
977    * artifacts.
978    * * FETCHSOURCE: time to fetch source.
979    * * SETUPBUILD: time to set up build.
980    * If the build does not specify source or images,
981    * these keys will not be included.
982    * </pre>
983    *
984    * <code>
985    * map&lt;string, .google.devtools.cloudbuild.v1.TimeSpan&gt; timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
986    * </code>
987    */
containsTiming(java.lang.String key)988   boolean containsTiming(java.lang.String key);
989   /** Use {@link #getTimingMap()} instead. */
990   @java.lang.Deprecated
getTiming()991   java.util.Map<java.lang.String, com.google.cloudbuild.v1.TimeSpan> getTiming();
992   /**
993    *
994    *
995    * <pre>
996    * Output only. Stores timing information for phases of the build. Valid keys
997    * are:
998    * * BUILD: time to execute all build steps.
999    * * PUSH: time to push all artifacts including docker images and non docker
1000    * artifacts.
1001    * * FETCHSOURCE: time to fetch source.
1002    * * SETUPBUILD: time to set up build.
1003    * If the build does not specify source or images,
1004    * these keys will not be included.
1005    * </pre>
1006    *
1007    * <code>
1008    * map&lt;string, .google.devtools.cloudbuild.v1.TimeSpan&gt; timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
1009    * </code>
1010    */
getTimingMap()1011   java.util.Map<java.lang.String, com.google.cloudbuild.v1.TimeSpan> getTimingMap();
1012   /**
1013    *
1014    *
1015    * <pre>
1016    * Output only. Stores timing information for phases of the build. Valid keys
1017    * are:
1018    * * BUILD: time to execute all build steps.
1019    * * PUSH: time to push all artifacts including docker images and non docker
1020    * artifacts.
1021    * * FETCHSOURCE: time to fetch source.
1022    * * SETUPBUILD: time to set up build.
1023    * If the build does not specify source or images,
1024    * these keys will not be included.
1025    * </pre>
1026    *
1027    * <code>
1028    * map&lt;string, .google.devtools.cloudbuild.v1.TimeSpan&gt; timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
1029    * </code>
1030    */
1031   /* nullable */
getTimingOrDefault( java.lang.String key, com.google.cloudbuild.v1.TimeSpan defaultValue)1032   com.google.cloudbuild.v1.TimeSpan getTimingOrDefault(
1033       java.lang.String key,
1034       /* nullable */
1035       com.google.cloudbuild.v1.TimeSpan defaultValue);
1036   /**
1037    *
1038    *
1039    * <pre>
1040    * Output only. Stores timing information for phases of the build. Valid keys
1041    * are:
1042    * * BUILD: time to execute all build steps.
1043    * * PUSH: time to push all artifacts including docker images and non docker
1044    * artifacts.
1045    * * FETCHSOURCE: time to fetch source.
1046    * * SETUPBUILD: time to set up build.
1047    * If the build does not specify source or images,
1048    * these keys will not be included.
1049    * </pre>
1050    *
1051    * <code>
1052    * map&lt;string, .google.devtools.cloudbuild.v1.TimeSpan&gt; timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
1053    * </code>
1054    */
getTimingOrThrow(java.lang.String key)1055   com.google.cloudbuild.v1.TimeSpan getTimingOrThrow(java.lang.String key);
1056 
1057   /**
1058    *
1059    *
1060    * <pre>
1061    * Output only. Describes this build's approval configuration, status,
1062    * and result.
1063    * </pre>
1064    *
1065    * <code>
1066    * .google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
1067    * </code>
1068    *
1069    * @return Whether the approval field is set.
1070    */
hasApproval()1071   boolean hasApproval();
1072   /**
1073    *
1074    *
1075    * <pre>
1076    * Output only. Describes this build's approval configuration, status,
1077    * and result.
1078    * </pre>
1079    *
1080    * <code>
1081    * .google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
1082    * </code>
1083    *
1084    * @return The approval.
1085    */
getApproval()1086   com.google.cloudbuild.v1.BuildApproval getApproval();
1087   /**
1088    *
1089    *
1090    * <pre>
1091    * Output only. Describes this build's approval configuration, status,
1092    * and result.
1093    * </pre>
1094    *
1095    * <code>
1096    * .google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
1097    * </code>
1098    */
getApprovalOrBuilder()1099   com.google.cloudbuild.v1.BuildApprovalOrBuilder getApprovalOrBuilder();
1100 
1101   /**
1102    *
1103    *
1104    * <pre>
1105    * IAM service account whose credentials will be used at build runtime.
1106    * Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
1107    * ACCOUNT can be email address or uniqueId of the service account.
1108    * </pre>
1109    *
1110    * <code>string service_account = 42 [(.google.api.resource_reference) = { ... }</code>
1111    *
1112    * @return The serviceAccount.
1113    */
getServiceAccount()1114   java.lang.String getServiceAccount();
1115   /**
1116    *
1117    *
1118    * <pre>
1119    * IAM service account whose credentials will be used at build runtime.
1120    * Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
1121    * ACCOUNT can be email address or uniqueId of the service account.
1122    * </pre>
1123    *
1124    * <code>string service_account = 42 [(.google.api.resource_reference) = { ... }</code>
1125    *
1126    * @return The bytes for serviceAccount.
1127    */
getServiceAccountBytes()1128   com.google.protobuf.ByteString getServiceAccountBytes();
1129 
1130   /**
1131    *
1132    *
1133    * <pre>
1134    * Secrets and secret environment variables.
1135    * </pre>
1136    *
1137    * <code>.google.devtools.cloudbuild.v1.Secrets available_secrets = 47;</code>
1138    *
1139    * @return Whether the availableSecrets field is set.
1140    */
hasAvailableSecrets()1141   boolean hasAvailableSecrets();
1142   /**
1143    *
1144    *
1145    * <pre>
1146    * Secrets and secret environment variables.
1147    * </pre>
1148    *
1149    * <code>.google.devtools.cloudbuild.v1.Secrets available_secrets = 47;</code>
1150    *
1151    * @return The availableSecrets.
1152    */
getAvailableSecrets()1153   com.google.cloudbuild.v1.Secrets getAvailableSecrets();
1154   /**
1155    *
1156    *
1157    * <pre>
1158    * Secrets and secret environment variables.
1159    * </pre>
1160    *
1161    * <code>.google.devtools.cloudbuild.v1.Secrets available_secrets = 47;</code>
1162    */
getAvailableSecretsOrBuilder()1163   com.google.cloudbuild.v1.SecretsOrBuilder getAvailableSecretsOrBuilder();
1164 
1165   /**
1166    *
1167    *
1168    * <pre>
1169    * Output only. Non-fatal problems encountered during the execution of the
1170    * build.
1171    * </pre>
1172    *
1173    * <code>
1174    * repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
1175    * </code>
1176    */
getWarningsList()1177   java.util.List<com.google.cloudbuild.v1.Build.Warning> getWarningsList();
1178   /**
1179    *
1180    *
1181    * <pre>
1182    * Output only. Non-fatal problems encountered during the execution of the
1183    * build.
1184    * </pre>
1185    *
1186    * <code>
1187    * repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
1188    * </code>
1189    */
getWarnings(int index)1190   com.google.cloudbuild.v1.Build.Warning getWarnings(int index);
1191   /**
1192    *
1193    *
1194    * <pre>
1195    * Output only. Non-fatal problems encountered during the execution of the
1196    * build.
1197    * </pre>
1198    *
1199    * <code>
1200    * repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
1201    * </code>
1202    */
getWarningsCount()1203   int getWarningsCount();
1204   /**
1205    *
1206    *
1207    * <pre>
1208    * Output only. Non-fatal problems encountered during the execution of the
1209    * build.
1210    * </pre>
1211    *
1212    * <code>
1213    * repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
1214    * </code>
1215    */
1216   java.util.List<? extends com.google.cloudbuild.v1.Build.WarningOrBuilder>
getWarningsOrBuilderList()1217       getWarningsOrBuilderList();
1218   /**
1219    *
1220    *
1221    * <pre>
1222    * Output only. Non-fatal problems encountered during the execution of the
1223    * build.
1224    * </pre>
1225    *
1226    * <code>
1227    * repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
1228    * </code>
1229    */
getWarningsOrBuilder(int index)1230   com.google.cloudbuild.v1.Build.WarningOrBuilder getWarningsOrBuilder(int index);
1231 
1232   /**
1233    *
1234    *
1235    * <pre>
1236    * Output only. Contains information about the build when status=FAILURE.
1237    * </pre>
1238    *
1239    * <code>
1240    * .google.devtools.cloudbuild.v1.Build.FailureInfo failure_info = 51 [(.google.api.field_behavior) = OUTPUT_ONLY];
1241    * </code>
1242    *
1243    * @return Whether the failureInfo field is set.
1244    */
hasFailureInfo()1245   boolean hasFailureInfo();
1246   /**
1247    *
1248    *
1249    * <pre>
1250    * Output only. Contains information about the build when status=FAILURE.
1251    * </pre>
1252    *
1253    * <code>
1254    * .google.devtools.cloudbuild.v1.Build.FailureInfo failure_info = 51 [(.google.api.field_behavior) = OUTPUT_ONLY];
1255    * </code>
1256    *
1257    * @return The failureInfo.
1258    */
getFailureInfo()1259   com.google.cloudbuild.v1.Build.FailureInfo getFailureInfo();
1260   /**
1261    *
1262    *
1263    * <pre>
1264    * Output only. Contains information about the build when status=FAILURE.
1265    * </pre>
1266    *
1267    * <code>
1268    * .google.devtools.cloudbuild.v1.Build.FailureInfo failure_info = 51 [(.google.api.field_behavior) = OUTPUT_ONLY];
1269    * </code>
1270    */
getFailureInfoOrBuilder()1271   com.google.cloudbuild.v1.Build.FailureInfoOrBuilder getFailureInfoOrBuilder();
1272 }
1273