• 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 BuildApprovalOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.BuildApproval)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Output only. The state of this build's approval.
31    * </pre>
32    *
33    * <code>
34    * .google.devtools.cloudbuild.v1.BuildApproval.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
35    * </code>
36    *
37    * @return The enum numeric value on the wire for state.
38    */
getStateValue()39   int getStateValue();
40   /**
41    *
42    *
43    * <pre>
44    * Output only. The state of this build's approval.
45    * </pre>
46    *
47    * <code>
48    * .google.devtools.cloudbuild.v1.BuildApproval.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
49    * </code>
50    *
51    * @return The state.
52    */
getState()53   com.google.cloudbuild.v1.BuildApproval.State getState();
54 
55   /**
56    *
57    *
58    * <pre>
59    * Output only. Configuration for manual approval of this build.
60    * </pre>
61    *
62    * <code>
63    * .google.devtools.cloudbuild.v1.ApprovalConfig config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
64    * </code>
65    *
66    * @return Whether the config field is set.
67    */
hasConfig()68   boolean hasConfig();
69   /**
70    *
71    *
72    * <pre>
73    * Output only. Configuration for manual approval of this build.
74    * </pre>
75    *
76    * <code>
77    * .google.devtools.cloudbuild.v1.ApprovalConfig config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
78    * </code>
79    *
80    * @return The config.
81    */
getConfig()82   com.google.cloudbuild.v1.ApprovalConfig getConfig();
83   /**
84    *
85    *
86    * <pre>
87    * Output only. Configuration for manual approval of this build.
88    * </pre>
89    *
90    * <code>
91    * .google.devtools.cloudbuild.v1.ApprovalConfig config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
92    * </code>
93    */
getConfigOrBuilder()94   com.google.cloudbuild.v1.ApprovalConfigOrBuilder getConfigOrBuilder();
95 
96   /**
97    *
98    *
99    * <pre>
100    * Output only. Result of manual approval for this Build.
101    * </pre>
102    *
103    * <code>
104    * .google.devtools.cloudbuild.v1.ApprovalResult result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
105    * </code>
106    *
107    * @return Whether the result field is set.
108    */
hasResult()109   boolean hasResult();
110   /**
111    *
112    *
113    * <pre>
114    * Output only. Result of manual approval for this Build.
115    * </pre>
116    *
117    * <code>
118    * .google.devtools.cloudbuild.v1.ApprovalResult result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
119    * </code>
120    *
121    * @return The result.
122    */
getResult()123   com.google.cloudbuild.v1.ApprovalResult getResult();
124   /**
125    *
126    *
127    * <pre>
128    * Output only. Result of manual approval for this Build.
129    * </pre>
130    *
131    * <code>
132    * .google.devtools.cloudbuild.v1.ApprovalResult result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
133    * </code>
134    */
getResultOrBuilder()135   com.google.cloudbuild.v1.ApprovalResultOrBuilder getResultOrBuilder();
136 }
137