• 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 WorkerPoolOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.WorkerPool)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Output only. The resource name of the `WorkerPool`, with format
31    * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
32    * The value of `{worker_pool}` is provided by `worker_pool_id` in
33    * `CreateWorkerPool` request and the value of `{location}` is determined by
34    * the endpoint accessed.
35    * </pre>
36    *
37    * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
38    *
39    * @return The name.
40    */
getName()41   java.lang.String getName();
42   /**
43    *
44    *
45    * <pre>
46    * Output only. The resource name of the `WorkerPool`, with format
47    * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
48    * The value of `{worker_pool}` is provided by `worker_pool_id` in
49    * `CreateWorkerPool` request and the value of `{location}` is determined by
50    * the endpoint accessed.
51    * </pre>
52    *
53    * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
54    *
55    * @return The bytes for name.
56    */
getNameBytes()57   com.google.protobuf.ByteString getNameBytes();
58 
59   /**
60    *
61    *
62    * <pre>
63    * A user-specified, human-readable name for the `WorkerPool`. If provided,
64    * this value must be 1-63 characters.
65    * </pre>
66    *
67    * <code>string display_name = 2;</code>
68    *
69    * @return The displayName.
70    */
getDisplayName()71   java.lang.String getDisplayName();
72   /**
73    *
74    *
75    * <pre>
76    * A user-specified, human-readable name for the `WorkerPool`. If provided,
77    * this value must be 1-63 characters.
78    * </pre>
79    *
80    * <code>string display_name = 2;</code>
81    *
82    * @return The bytes for displayName.
83    */
getDisplayNameBytes()84   com.google.protobuf.ByteString getDisplayNameBytes();
85 
86   /**
87    *
88    *
89    * <pre>
90    * Output only. A unique identifier for the `WorkerPool`.
91    * </pre>
92    *
93    * <code>string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
94    *
95    * @return The uid.
96    */
getUid()97   java.lang.String getUid();
98   /**
99    *
100    *
101    * <pre>
102    * Output only. A unique identifier for the `WorkerPool`.
103    * </pre>
104    *
105    * <code>string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
106    *
107    * @return The bytes for uid.
108    */
getUidBytes()109   com.google.protobuf.ByteString getUidBytes();
110 
111   /**
112    *
113    *
114    * <pre>
115    * User specified annotations. See https://google.aip.dev/128#annotations
116    * for more details such as format and size limitations.
117    * </pre>
118    *
119    * <code>map&lt;string, string&gt; annotations = 4;</code>
120    */
getAnnotationsCount()121   int getAnnotationsCount();
122   /**
123    *
124    *
125    * <pre>
126    * User specified annotations. See https://google.aip.dev/128#annotations
127    * for more details such as format and size limitations.
128    * </pre>
129    *
130    * <code>map&lt;string, string&gt; annotations = 4;</code>
131    */
containsAnnotations(java.lang.String key)132   boolean containsAnnotations(java.lang.String key);
133   /** Use {@link #getAnnotationsMap()} instead. */
134   @java.lang.Deprecated
getAnnotations()135   java.util.Map<java.lang.String, java.lang.String> getAnnotations();
136   /**
137    *
138    *
139    * <pre>
140    * User specified annotations. See https://google.aip.dev/128#annotations
141    * for more details such as format and size limitations.
142    * </pre>
143    *
144    * <code>map&lt;string, string&gt; annotations = 4;</code>
145    */
getAnnotationsMap()146   java.util.Map<java.lang.String, java.lang.String> getAnnotationsMap();
147   /**
148    *
149    *
150    * <pre>
151    * User specified annotations. See https://google.aip.dev/128#annotations
152    * for more details such as format and size limitations.
153    * </pre>
154    *
155    * <code>map&lt;string, string&gt; annotations = 4;</code>
156    */
157   /* nullable */
getAnnotationsOrDefault( java.lang.String key, java.lang.String defaultValue)158   java.lang.String getAnnotationsOrDefault(
159       java.lang.String key,
160       /* nullable */
161       java.lang.String defaultValue);
162   /**
163    *
164    *
165    * <pre>
166    * User specified annotations. See https://google.aip.dev/128#annotations
167    * for more details such as format and size limitations.
168    * </pre>
169    *
170    * <code>map&lt;string, string&gt; annotations = 4;</code>
171    */
getAnnotationsOrThrow(java.lang.String key)172   java.lang.String getAnnotationsOrThrow(java.lang.String key);
173 
174   /**
175    *
176    *
177    * <pre>
178    * Output only. Time at which the request to create the `WorkerPool` was
179    * received.
180    * </pre>
181    *
182    * <code>.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
183    * </code>
184    *
185    * @return Whether the createTime field is set.
186    */
hasCreateTime()187   boolean hasCreateTime();
188   /**
189    *
190    *
191    * <pre>
192    * Output only. Time at which the request to create the `WorkerPool` was
193    * received.
194    * </pre>
195    *
196    * <code>.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
197    * </code>
198    *
199    * @return The createTime.
200    */
getCreateTime()201   com.google.protobuf.Timestamp getCreateTime();
202   /**
203    *
204    *
205    * <pre>
206    * Output only. Time at which the request to create the `WorkerPool` was
207    * received.
208    * </pre>
209    *
210    * <code>.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
211    * </code>
212    */
getCreateTimeOrBuilder()213   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
214 
215   /**
216    *
217    *
218    * <pre>
219    * Output only. Time at which the request to update the `WorkerPool` was
220    * received.
221    * </pre>
222    *
223    * <code>.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
224    * </code>
225    *
226    * @return Whether the updateTime field is set.
227    */
hasUpdateTime()228   boolean hasUpdateTime();
229   /**
230    *
231    *
232    * <pre>
233    * Output only. Time at which the request to update the `WorkerPool` was
234    * received.
235    * </pre>
236    *
237    * <code>.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
238    * </code>
239    *
240    * @return The updateTime.
241    */
getUpdateTime()242   com.google.protobuf.Timestamp getUpdateTime();
243   /**
244    *
245    *
246    * <pre>
247    * Output only. Time at which the request to update the `WorkerPool` was
248    * received.
249    * </pre>
250    *
251    * <code>.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
252    * </code>
253    */
getUpdateTimeOrBuilder()254   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
255 
256   /**
257    *
258    *
259    * <pre>
260    * Output only. Time at which the request to delete the `WorkerPool` was
261    * received.
262    * </pre>
263    *
264    * <code>.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
265    * </code>
266    *
267    * @return Whether the deleteTime field is set.
268    */
hasDeleteTime()269   boolean hasDeleteTime();
270   /**
271    *
272    *
273    * <pre>
274    * Output only. Time at which the request to delete the `WorkerPool` was
275    * received.
276    * </pre>
277    *
278    * <code>.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
279    * </code>
280    *
281    * @return The deleteTime.
282    */
getDeleteTime()283   com.google.protobuf.Timestamp getDeleteTime();
284   /**
285    *
286    *
287    * <pre>
288    * Output only. Time at which the request to delete the `WorkerPool` was
289    * received.
290    * </pre>
291    *
292    * <code>.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
293    * </code>
294    */
getDeleteTimeOrBuilder()295   com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder();
296 
297   /**
298    *
299    *
300    * <pre>
301    * Output only. `WorkerPool` state.
302    * </pre>
303    *
304    * <code>
305    * .google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
306    * </code>
307    *
308    * @return The enum numeric value on the wire for state.
309    */
getStateValue()310   int getStateValue();
311   /**
312    *
313    *
314    * <pre>
315    * Output only. `WorkerPool` state.
316    * </pre>
317    *
318    * <code>
319    * .google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
320    * </code>
321    *
322    * @return The state.
323    */
getState()324   com.google.cloudbuild.v1.WorkerPool.State getState();
325 
326   /**
327    *
328    *
329    * <pre>
330    * Legacy Private Pool configuration.
331    * </pre>
332    *
333    * <code>.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;</code>
334    *
335    * @return Whether the privatePoolV1Config field is set.
336    */
hasPrivatePoolV1Config()337   boolean hasPrivatePoolV1Config();
338   /**
339    *
340    *
341    * <pre>
342    * Legacy Private Pool configuration.
343    * </pre>
344    *
345    * <code>.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;</code>
346    *
347    * @return The privatePoolV1Config.
348    */
getPrivatePoolV1Config()349   com.google.cloudbuild.v1.PrivatePoolV1Config getPrivatePoolV1Config();
350   /**
351    *
352    *
353    * <pre>
354    * Legacy Private Pool configuration.
355    * </pre>
356    *
357    * <code>.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;</code>
358    */
getPrivatePoolV1ConfigOrBuilder()359   com.google.cloudbuild.v1.PrivatePoolV1ConfigOrBuilder getPrivatePoolV1ConfigOrBuilder();
360 
361   /**
362    *
363    *
364    * <pre>
365    * Output only. Checksum computed by the server. May be sent on update and
366    * delete requests to ensure that the client has an up-to-date value before
367    * proceeding.
368    * </pre>
369    *
370    * <code>string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
371    *
372    * @return The etag.
373    */
getEtag()374   java.lang.String getEtag();
375   /**
376    *
377    *
378    * <pre>
379    * Output only. Checksum computed by the server. May be sent on update and
380    * delete requests to ensure that the client has an up-to-date value before
381    * proceeding.
382    * </pre>
383    *
384    * <code>string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
385    *
386    * @return The bytes for etag.
387    */
getEtagBytes()388   com.google.protobuf.ByteString getEtagBytes();
389 
getConfigCase()390   public com.google.cloudbuild.v1.WorkerPool.ConfigCase getConfigCase();
391 }
392