• 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 CreateWorkerPoolRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.CreateWorkerPoolRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Required. The parent resource where this worker pool will be created.
31    * Format: `projects/{project}/locations/{location}`.
32    * </pre>
33    *
34    * <code>
35    * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
36    * </code>
37    *
38    * @return The parent.
39    */
getParent()40   java.lang.String getParent();
41   /**
42    *
43    *
44    * <pre>
45    * Required. The parent resource where this worker pool will be created.
46    * Format: `projects/{project}/locations/{location}`.
47    * </pre>
48    *
49    * <code>
50    * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
51    * </code>
52    *
53    * @return The bytes for parent.
54    */
getParentBytes()55   com.google.protobuf.ByteString getParentBytes();
56 
57   /**
58    *
59    *
60    * <pre>
61    * Required. `WorkerPool` resource to create.
62    * </pre>
63    *
64    * <code>
65    * .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
66    * </code>
67    *
68    * @return Whether the workerPool field is set.
69    */
hasWorkerPool()70   boolean hasWorkerPool();
71   /**
72    *
73    *
74    * <pre>
75    * Required. `WorkerPool` resource to create.
76    * </pre>
77    *
78    * <code>
79    * .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
80    * </code>
81    *
82    * @return The workerPool.
83    */
getWorkerPool()84   com.google.cloudbuild.v1.WorkerPool getWorkerPool();
85   /**
86    *
87    *
88    * <pre>
89    * Required. `WorkerPool` resource to create.
90    * </pre>
91    *
92    * <code>
93    * .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
94    * </code>
95    */
getWorkerPoolOrBuilder()96   com.google.cloudbuild.v1.WorkerPoolOrBuilder getWorkerPoolOrBuilder();
97 
98   /**
99    *
100    *
101    * <pre>
102    * Required. Immutable. The ID to use for the `WorkerPool`, which will become
103    * the final component of the resource name.
104    * This value should be 1-63 characters, and valid characters
105    * are /[a-z][0-9]-/.
106    * </pre>
107    *
108    * <code>
109    * string worker_pool_id = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
110    * </code>
111    *
112    * @return The workerPoolId.
113    */
getWorkerPoolId()114   java.lang.String getWorkerPoolId();
115   /**
116    *
117    *
118    * <pre>
119    * Required. Immutable. The ID to use for the `WorkerPool`, which will become
120    * the final component of the resource name.
121    * This value should be 1-63 characters, and valid characters
122    * are /[a-z][0-9]-/.
123    * </pre>
124    *
125    * <code>
126    * string worker_pool_id = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
127    * </code>
128    *
129    * @return The bytes for workerPoolId.
130    */
getWorkerPoolIdBytes()131   com.google.protobuf.ByteString getWorkerPoolIdBytes();
132 
133   /**
134    *
135    *
136    * <pre>
137    * If set, validate the request and preview the response, but do not actually
138    * post it.
139    * </pre>
140    *
141    * <code>bool validate_only = 4;</code>
142    *
143    * @return The validateOnly.
144    */
getValidateOnly()145   boolean getValidateOnly();
146 }
147