google-cloud-build-v1 0.15.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/devtools/cloudbuild/v1/cloudbuild.proto
3
4
 
@@ -14,534 +15,35 @@ require 'google/protobuf/empty_pb'
14
15
  require 'google/protobuf/field_mask_pb'
15
16
  require 'google/protobuf/timestamp_pb'
16
17
 
17
- Google::Protobuf::DescriptorPool.generated_pool.build do
18
- add_file("google/devtools/cloudbuild/v1/cloudbuild.proto", :syntax => :proto3) do
19
- add_message "google.devtools.cloudbuild.v1.RetryBuildRequest" do
20
- optional :name, :string, 3
21
- optional :project_id, :string, 1
22
- optional :id, :string, 2
23
- end
24
- add_message "google.devtools.cloudbuild.v1.RunBuildTriggerRequest" do
25
- optional :name, :string, 4
26
- optional :project_id, :string, 1
27
- optional :trigger_id, :string, 2
28
- optional :source, :message, 3, "google.devtools.cloudbuild.v1.RepoSource"
29
- end
30
- add_message "google.devtools.cloudbuild.v1.StorageSource" do
31
- optional :bucket, :string, 1
32
- optional :object, :string, 2
33
- optional :generation, :int64, 3
34
- end
35
- add_message "google.devtools.cloudbuild.v1.RepoSource" do
36
- optional :project_id, :string, 1
37
- optional :repo_name, :string, 2
38
- optional :dir, :string, 7
39
- optional :invert_regex, :bool, 8
40
- map :substitutions, :string, :string, 9
41
- oneof :revision do
42
- optional :branch_name, :string, 3
43
- optional :tag_name, :string, 4
44
- optional :commit_sha, :string, 5
45
- end
46
- end
47
- add_message "google.devtools.cloudbuild.v1.StorageSourceManifest" do
48
- optional :bucket, :string, 1
49
- optional :object, :string, 2
50
- optional :generation, :int64, 3
51
- end
52
- add_message "google.devtools.cloudbuild.v1.Source" do
53
- oneof :source do
54
- optional :storage_source, :message, 2, "google.devtools.cloudbuild.v1.StorageSource"
55
- optional :repo_source, :message, 3, "google.devtools.cloudbuild.v1.RepoSource"
56
- optional :storage_source_manifest, :message, 8, "google.devtools.cloudbuild.v1.StorageSourceManifest"
57
- end
58
- end
59
- add_message "google.devtools.cloudbuild.v1.BuiltImage" do
60
- optional :name, :string, 1
61
- optional :digest, :string, 3
62
- optional :push_timing, :message, 4, "google.devtools.cloudbuild.v1.TimeSpan"
63
- end
64
- add_message "google.devtools.cloudbuild.v1.UploadedPythonPackage" do
65
- optional :uri, :string, 1
66
- optional :file_hashes, :message, 2, "google.devtools.cloudbuild.v1.FileHashes"
67
- optional :push_timing, :message, 3, "google.devtools.cloudbuild.v1.TimeSpan"
68
- end
69
- add_message "google.devtools.cloudbuild.v1.UploadedMavenArtifact" do
70
- optional :uri, :string, 1
71
- optional :file_hashes, :message, 2, "google.devtools.cloudbuild.v1.FileHashes"
72
- optional :push_timing, :message, 3, "google.devtools.cloudbuild.v1.TimeSpan"
73
- end
74
- add_message "google.devtools.cloudbuild.v1.BuildStep" do
75
- optional :name, :string, 1
76
- repeated :env, :string, 2
77
- repeated :args, :string, 3
78
- optional :dir, :string, 4
79
- optional :id, :string, 5
80
- repeated :wait_for, :string, 6
81
- optional :entrypoint, :string, 7
82
- repeated :secret_env, :string, 8
83
- repeated :volumes, :message, 9, "google.devtools.cloudbuild.v1.Volume"
84
- optional :timing, :message, 10, "google.devtools.cloudbuild.v1.TimeSpan"
85
- optional :pull_timing, :message, 13, "google.devtools.cloudbuild.v1.TimeSpan"
86
- optional :timeout, :message, 11, "google.protobuf.Duration"
87
- optional :status, :enum, 12, "google.devtools.cloudbuild.v1.Build.Status"
88
- optional :allow_failure, :bool, 14
89
- optional :exit_code, :int32, 16
90
- repeated :allow_exit_codes, :int32, 18
91
- optional :script, :string, 19
92
- end
93
- add_message "google.devtools.cloudbuild.v1.Volume" do
94
- optional :name, :string, 1
95
- optional :path, :string, 2
96
- end
97
- add_message "google.devtools.cloudbuild.v1.Results" do
98
- repeated :images, :message, 2, "google.devtools.cloudbuild.v1.BuiltImage"
99
- repeated :build_step_images, :string, 3
100
- optional :artifact_manifest, :string, 4
101
- optional :num_artifacts, :int64, 5
102
- repeated :build_step_outputs, :bytes, 6
103
- optional :artifact_timing, :message, 7, "google.devtools.cloudbuild.v1.TimeSpan"
104
- repeated :python_packages, :message, 8, "google.devtools.cloudbuild.v1.UploadedPythonPackage"
105
- repeated :maven_artifacts, :message, 9, "google.devtools.cloudbuild.v1.UploadedMavenArtifact"
106
- end
107
- add_message "google.devtools.cloudbuild.v1.ArtifactResult" do
108
- optional :location, :string, 1
109
- repeated :file_hash, :message, 2, "google.devtools.cloudbuild.v1.FileHashes"
110
- end
111
- add_message "google.devtools.cloudbuild.v1.Build" do
112
- optional :name, :string, 45
113
- optional :id, :string, 1
114
- optional :project_id, :string, 16
115
- optional :status, :enum, 2, "google.devtools.cloudbuild.v1.Build.Status"
116
- optional :status_detail, :string, 24
117
- optional :source, :message, 3, "google.devtools.cloudbuild.v1.Source"
118
- repeated :steps, :message, 11, "google.devtools.cloudbuild.v1.BuildStep"
119
- optional :results, :message, 10, "google.devtools.cloudbuild.v1.Results"
120
- optional :create_time, :message, 6, "google.protobuf.Timestamp"
121
- optional :start_time, :message, 7, "google.protobuf.Timestamp"
122
- optional :finish_time, :message, 8, "google.protobuf.Timestamp"
123
- optional :timeout, :message, 12, "google.protobuf.Duration"
124
- repeated :images, :string, 13
125
- optional :queue_ttl, :message, 40, "google.protobuf.Duration"
126
- optional :artifacts, :message, 37, "google.devtools.cloudbuild.v1.Artifacts"
127
- optional :logs_bucket, :string, 19
128
- optional :source_provenance, :message, 21, "google.devtools.cloudbuild.v1.SourceProvenance"
129
- optional :build_trigger_id, :string, 22
130
- optional :options, :message, 23, "google.devtools.cloudbuild.v1.BuildOptions"
131
- optional :log_url, :string, 25
132
- map :substitutions, :string, :string, 29
133
- repeated :tags, :string, 31
134
- repeated :secrets, :message, 32, "google.devtools.cloudbuild.v1.Secret"
135
- map :timing, :string, :message, 33, "google.devtools.cloudbuild.v1.TimeSpan"
136
- optional :approval, :message, 44, "google.devtools.cloudbuild.v1.BuildApproval"
137
- optional :service_account, :string, 42
138
- optional :available_secrets, :message, 47, "google.devtools.cloudbuild.v1.Secrets"
139
- repeated :warnings, :message, 49, "google.devtools.cloudbuild.v1.Build.Warning"
140
- optional :failure_info, :message, 51, "google.devtools.cloudbuild.v1.Build.FailureInfo"
141
- end
142
- add_message "google.devtools.cloudbuild.v1.Build.Warning" do
143
- optional :text, :string, 1
144
- optional :priority, :enum, 2, "google.devtools.cloudbuild.v1.Build.Warning.Priority"
145
- end
146
- add_enum "google.devtools.cloudbuild.v1.Build.Warning.Priority" do
147
- value :PRIORITY_UNSPECIFIED, 0
148
- value :INFO, 1
149
- value :WARNING, 2
150
- value :ALERT, 3
151
- end
152
- add_message "google.devtools.cloudbuild.v1.Build.FailureInfo" do
153
- optional :type, :enum, 1, "google.devtools.cloudbuild.v1.Build.FailureInfo.FailureType"
154
- optional :detail, :string, 2
155
- end
156
- add_enum "google.devtools.cloudbuild.v1.Build.FailureInfo.FailureType" do
157
- value :FAILURE_TYPE_UNSPECIFIED, 0
158
- value :PUSH_FAILED, 1
159
- value :PUSH_IMAGE_NOT_FOUND, 2
160
- value :PUSH_NOT_AUTHORIZED, 3
161
- value :LOGGING_FAILURE, 4
162
- value :USER_BUILD_STEP, 5
163
- value :FETCH_SOURCE_FAILED, 6
164
- end
165
- add_enum "google.devtools.cloudbuild.v1.Build.Status" do
166
- value :STATUS_UNKNOWN, 0
167
- value :PENDING, 10
168
- value :QUEUED, 1
169
- value :WORKING, 2
170
- value :SUCCESS, 3
171
- value :FAILURE, 4
172
- value :INTERNAL_ERROR, 5
173
- value :TIMEOUT, 6
174
- value :CANCELLED, 7
175
- value :EXPIRED, 9
176
- end
177
- add_message "google.devtools.cloudbuild.v1.Artifacts" do
178
- repeated :images, :string, 1
179
- optional :objects, :message, 2, "google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects"
180
- repeated :maven_artifacts, :message, 3, "google.devtools.cloudbuild.v1.Artifacts.MavenArtifact"
181
- repeated :python_packages, :message, 5, "google.devtools.cloudbuild.v1.Artifacts.PythonPackage"
182
- end
183
- add_message "google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects" do
184
- optional :location, :string, 1
185
- repeated :paths, :string, 2
186
- optional :timing, :message, 3, "google.devtools.cloudbuild.v1.TimeSpan"
187
- end
188
- add_message "google.devtools.cloudbuild.v1.Artifacts.MavenArtifact" do
189
- optional :repository, :string, 1
190
- optional :path, :string, 2
191
- optional :artifact_id, :string, 3
192
- optional :group_id, :string, 4
193
- optional :version, :string, 5
194
- end
195
- add_message "google.devtools.cloudbuild.v1.Artifacts.PythonPackage" do
196
- optional :repository, :string, 1
197
- repeated :paths, :string, 2
198
- end
199
- add_message "google.devtools.cloudbuild.v1.TimeSpan" do
200
- optional :start_time, :message, 1, "google.protobuf.Timestamp"
201
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
202
- end
203
- add_message "google.devtools.cloudbuild.v1.BuildOperationMetadata" do
204
- optional :build, :message, 1, "google.devtools.cloudbuild.v1.Build"
205
- end
206
- add_message "google.devtools.cloudbuild.v1.SourceProvenance" do
207
- optional :resolved_storage_source, :message, 3, "google.devtools.cloudbuild.v1.StorageSource"
208
- optional :resolved_repo_source, :message, 6, "google.devtools.cloudbuild.v1.RepoSource"
209
- optional :resolved_storage_source_manifest, :message, 9, "google.devtools.cloudbuild.v1.StorageSourceManifest"
210
- map :file_hashes, :string, :message, 4, "google.devtools.cloudbuild.v1.FileHashes"
211
- end
212
- add_message "google.devtools.cloudbuild.v1.FileHashes" do
213
- repeated :file_hash, :message, 1, "google.devtools.cloudbuild.v1.Hash"
214
- end
215
- add_message "google.devtools.cloudbuild.v1.Hash" do
216
- optional :type, :enum, 1, "google.devtools.cloudbuild.v1.Hash.HashType"
217
- optional :value, :bytes, 2
218
- end
219
- add_enum "google.devtools.cloudbuild.v1.Hash.HashType" do
220
- value :NONE, 0
221
- value :SHA256, 1
222
- value :MD5, 2
223
- end
224
- add_message "google.devtools.cloudbuild.v1.Secrets" do
225
- repeated :secret_manager, :message, 1, "google.devtools.cloudbuild.v1.SecretManagerSecret"
226
- repeated :inline, :message, 2, "google.devtools.cloudbuild.v1.InlineSecret"
227
- end
228
- add_message "google.devtools.cloudbuild.v1.InlineSecret" do
229
- optional :kms_key_name, :string, 1
230
- map :env_map, :string, :bytes, 2
231
- end
232
- add_message "google.devtools.cloudbuild.v1.SecretManagerSecret" do
233
- optional :version_name, :string, 1
234
- optional :env, :string, 2
235
- end
236
- add_message "google.devtools.cloudbuild.v1.Secret" do
237
- optional :kms_key_name, :string, 1
238
- map :secret_env, :string, :bytes, 3
239
- end
240
- add_message "google.devtools.cloudbuild.v1.CreateBuildRequest" do
241
- optional :parent, :string, 4
242
- optional :project_id, :string, 1
243
- optional :build, :message, 2, "google.devtools.cloudbuild.v1.Build"
244
- end
245
- add_message "google.devtools.cloudbuild.v1.GetBuildRequest" do
246
- optional :name, :string, 4
247
- optional :project_id, :string, 1
248
- optional :id, :string, 2
249
- end
250
- add_message "google.devtools.cloudbuild.v1.ListBuildsRequest" do
251
- optional :parent, :string, 9
252
- optional :project_id, :string, 1
253
- optional :page_size, :int32, 2
254
- optional :page_token, :string, 3
255
- optional :filter, :string, 8
256
- end
257
- add_message "google.devtools.cloudbuild.v1.ListBuildsResponse" do
258
- repeated :builds, :message, 1, "google.devtools.cloudbuild.v1.Build"
259
- optional :next_page_token, :string, 2
260
- end
261
- add_message "google.devtools.cloudbuild.v1.CancelBuildRequest" do
262
- optional :name, :string, 4
263
- optional :project_id, :string, 1
264
- optional :id, :string, 2
265
- end
266
- add_message "google.devtools.cloudbuild.v1.ApproveBuildRequest" do
267
- optional :name, :string, 1
268
- optional :approval_result, :message, 2, "google.devtools.cloudbuild.v1.ApprovalResult"
269
- end
270
- add_message "google.devtools.cloudbuild.v1.BuildApproval" do
271
- optional :state, :enum, 1, "google.devtools.cloudbuild.v1.BuildApproval.State"
272
- optional :config, :message, 2, "google.devtools.cloudbuild.v1.ApprovalConfig"
273
- optional :result, :message, 3, "google.devtools.cloudbuild.v1.ApprovalResult"
274
- end
275
- add_enum "google.devtools.cloudbuild.v1.BuildApproval.State" do
276
- value :STATE_UNSPECIFIED, 0
277
- value :PENDING, 1
278
- value :APPROVED, 2
279
- value :REJECTED, 3
280
- value :CANCELLED, 5
281
- end
282
- add_message "google.devtools.cloudbuild.v1.ApprovalConfig" do
283
- optional :approval_required, :bool, 1
284
- end
285
- add_message "google.devtools.cloudbuild.v1.ApprovalResult" do
286
- optional :approver_account, :string, 2
287
- optional :approval_time, :message, 3, "google.protobuf.Timestamp"
288
- optional :decision, :enum, 4, "google.devtools.cloudbuild.v1.ApprovalResult.Decision"
289
- optional :comment, :string, 5
290
- optional :url, :string, 6
291
- end
292
- add_enum "google.devtools.cloudbuild.v1.ApprovalResult.Decision" do
293
- value :DECISION_UNSPECIFIED, 0
294
- value :APPROVED, 1
295
- value :REJECTED, 2
296
- end
297
- add_message "google.devtools.cloudbuild.v1.BuildTrigger" do
298
- optional :resource_name, :string, 34
299
- optional :id, :string, 1
300
- optional :description, :string, 10
301
- optional :name, :string, 21
302
- repeated :tags, :string, 19
303
- optional :trigger_template, :message, 7, "google.devtools.cloudbuild.v1.RepoSource"
304
- optional :github, :message, 13, "google.devtools.cloudbuild.v1.GitHubEventsConfig"
305
- optional :pubsub_config, :message, 29, "google.devtools.cloudbuild.v1.PubsubConfig"
306
- optional :webhook_config, :message, 31, "google.devtools.cloudbuild.v1.WebhookConfig"
307
- optional :create_time, :message, 5, "google.protobuf.Timestamp"
308
- optional :disabled, :bool, 9
309
- map :substitutions, :string, :string, 11
310
- repeated :ignored_files, :string, 15
311
- repeated :included_files, :string, 16
312
- optional :filter, :string, 30
313
- optional :service_account, :string, 33
314
- oneof :build_template do
315
- optional :autodetect, :bool, 18
316
- optional :build, :message, 4, "google.devtools.cloudbuild.v1.Build"
317
- optional :filename, :string, 8
318
- end
319
- end
320
- add_message "google.devtools.cloudbuild.v1.GitHubEventsConfig" do
321
- optional :installation_id, :int64, 1
322
- optional :owner, :string, 6
323
- optional :name, :string, 7
324
- oneof :event do
325
- optional :pull_request, :message, 4, "google.devtools.cloudbuild.v1.PullRequestFilter"
326
- optional :push, :message, 5, "google.devtools.cloudbuild.v1.PushFilter"
327
- end
328
- end
329
- add_message "google.devtools.cloudbuild.v1.PubsubConfig" do
330
- optional :subscription, :string, 1
331
- optional :topic, :string, 2
332
- optional :service_account_email, :string, 3
333
- optional :state, :enum, 4, "google.devtools.cloudbuild.v1.PubsubConfig.State"
334
- end
335
- add_enum "google.devtools.cloudbuild.v1.PubsubConfig.State" do
336
- value :STATE_UNSPECIFIED, 0
337
- value :OK, 1
338
- value :SUBSCRIPTION_DELETED, 2
339
- value :TOPIC_DELETED, 3
340
- value :SUBSCRIPTION_MISCONFIGURED, 4
341
- end
342
- add_message "google.devtools.cloudbuild.v1.WebhookConfig" do
343
- optional :state, :enum, 4, "google.devtools.cloudbuild.v1.WebhookConfig.State"
344
- oneof :auth_method do
345
- optional :secret, :string, 3
346
- end
347
- end
348
- add_enum "google.devtools.cloudbuild.v1.WebhookConfig.State" do
349
- value :STATE_UNSPECIFIED, 0
350
- value :OK, 1
351
- value :SECRET_DELETED, 2
352
- end
353
- add_message "google.devtools.cloudbuild.v1.PullRequestFilter" do
354
- optional :comment_control, :enum, 5, "google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl"
355
- optional :invert_regex, :bool, 6
356
- oneof :git_ref do
357
- optional :branch, :string, 2
358
- end
359
- end
360
- add_enum "google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl" do
361
- value :COMMENTS_DISABLED, 0
362
- value :COMMENTS_ENABLED, 1
363
- value :COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY, 2
364
- end
365
- add_message "google.devtools.cloudbuild.v1.PushFilter" do
366
- optional :invert_regex, :bool, 4
367
- oneof :git_ref do
368
- optional :branch, :string, 2
369
- optional :tag, :string, 3
370
- end
371
- end
372
- add_message "google.devtools.cloudbuild.v1.CreateBuildTriggerRequest" do
373
- optional :parent, :string, 3
374
- optional :project_id, :string, 1
375
- optional :trigger, :message, 2, "google.devtools.cloudbuild.v1.BuildTrigger"
376
- end
377
- add_message "google.devtools.cloudbuild.v1.GetBuildTriggerRequest" do
378
- optional :name, :string, 3
379
- optional :project_id, :string, 1
380
- optional :trigger_id, :string, 2
381
- end
382
- add_message "google.devtools.cloudbuild.v1.ListBuildTriggersRequest" do
383
- optional :parent, :string, 4
384
- optional :project_id, :string, 1
385
- optional :page_size, :int32, 2
386
- optional :page_token, :string, 3
387
- end
388
- add_message "google.devtools.cloudbuild.v1.ListBuildTriggersResponse" do
389
- repeated :triggers, :message, 1, "google.devtools.cloudbuild.v1.BuildTrigger"
390
- optional :next_page_token, :string, 2
391
- end
392
- add_message "google.devtools.cloudbuild.v1.DeleteBuildTriggerRequest" do
393
- optional :name, :string, 3
394
- optional :project_id, :string, 1
395
- optional :trigger_id, :string, 2
396
- end
397
- add_message "google.devtools.cloudbuild.v1.UpdateBuildTriggerRequest" do
398
- optional :project_id, :string, 1
399
- optional :trigger_id, :string, 2
400
- optional :trigger, :message, 3, "google.devtools.cloudbuild.v1.BuildTrigger"
401
- end
402
- add_message "google.devtools.cloudbuild.v1.BuildOptions" do
403
- repeated :source_provenance_hash, :enum, 1, "google.devtools.cloudbuild.v1.Hash.HashType"
404
- optional :requested_verify_option, :enum, 2, "google.devtools.cloudbuild.v1.BuildOptions.VerifyOption"
405
- optional :machine_type, :enum, 3, "google.devtools.cloudbuild.v1.BuildOptions.MachineType"
406
- optional :disk_size_gb, :int64, 6
407
- optional :substitution_option, :enum, 4, "google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption"
408
- optional :dynamic_substitutions, :bool, 17
409
- optional :log_streaming_option, :enum, 5, "google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption"
410
- optional :worker_pool, :string, 7
411
- optional :pool, :message, 19, "google.devtools.cloudbuild.v1.BuildOptions.PoolOption"
412
- optional :logging, :enum, 11, "google.devtools.cloudbuild.v1.BuildOptions.LoggingMode"
413
- repeated :env, :string, 12
414
- repeated :secret_env, :string, 13
415
- repeated :volumes, :message, 14, "google.devtools.cloudbuild.v1.Volume"
416
- optional :default_logs_bucket_behavior, :enum, 21, "google.devtools.cloudbuild.v1.BuildOptions.DefaultLogsBucketBehavior"
417
- end
418
- add_message "google.devtools.cloudbuild.v1.BuildOptions.PoolOption" do
419
- optional :name, :string, 1
420
- end
421
- add_enum "google.devtools.cloudbuild.v1.BuildOptions.VerifyOption" do
422
- value :NOT_VERIFIED, 0
423
- value :VERIFIED, 1
424
- end
425
- add_enum "google.devtools.cloudbuild.v1.BuildOptions.MachineType" do
426
- value :UNSPECIFIED, 0
427
- value :N1_HIGHCPU_8, 1
428
- value :N1_HIGHCPU_32, 2
429
- value :E2_HIGHCPU_8, 5
430
- value :E2_HIGHCPU_32, 6
431
- end
432
- add_enum "google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption" do
433
- value :MUST_MATCH, 0
434
- value :ALLOW_LOOSE, 1
435
- end
436
- add_enum "google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption" do
437
- value :STREAM_DEFAULT, 0
438
- value :STREAM_ON, 1
439
- value :STREAM_OFF, 2
440
- end
441
- add_enum "google.devtools.cloudbuild.v1.BuildOptions.LoggingMode" do
442
- value :LOGGING_UNSPECIFIED, 0
443
- value :LEGACY, 1
444
- value :GCS_ONLY, 2
445
- value :STACKDRIVER_ONLY, 3
446
- value :CLOUD_LOGGING_ONLY, 5
447
- value :NONE, 4
448
- end
449
- add_enum "google.devtools.cloudbuild.v1.BuildOptions.DefaultLogsBucketBehavior" do
450
- value :DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED, 0
451
- value :REGIONAL_USER_OWNED_BUCKET, 1
452
- end
453
- add_message "google.devtools.cloudbuild.v1.ReceiveTriggerWebhookRequest" do
454
- optional :name, :string, 5
455
- optional :body, :message, 1, "google.api.HttpBody"
456
- optional :project_id, :string, 2
457
- optional :trigger, :string, 3
458
- optional :secret, :string, 4
459
- end
460
- add_message "google.devtools.cloudbuild.v1.ReceiveTriggerWebhookResponse" do
461
- end
462
- add_message "google.devtools.cloudbuild.v1.WorkerPool" do
463
- optional :name, :string, 1
464
- optional :display_name, :string, 2
465
- optional :uid, :string, 3
466
- map :annotations, :string, :string, 4
467
- optional :create_time, :message, 5, "google.protobuf.Timestamp"
468
- optional :update_time, :message, 6, "google.protobuf.Timestamp"
469
- optional :delete_time, :message, 7, "google.protobuf.Timestamp"
470
- optional :state, :enum, 8, "google.devtools.cloudbuild.v1.WorkerPool.State"
471
- optional :etag, :string, 11
472
- oneof :config do
473
- optional :private_pool_v1_config, :message, 12, "google.devtools.cloudbuild.v1.PrivatePoolV1Config"
474
- end
475
- end
476
- add_enum "google.devtools.cloudbuild.v1.WorkerPool.State" do
477
- value :STATE_UNSPECIFIED, 0
478
- value :CREATING, 1
479
- value :RUNNING, 2
480
- value :DELETING, 3
481
- value :DELETED, 4
482
- end
483
- add_message "google.devtools.cloudbuild.v1.PrivatePoolV1Config" do
484
- optional :worker_config, :message, 1, "google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig"
485
- optional :network_config, :message, 2, "google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig"
486
- end
487
- add_message "google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig" do
488
- optional :machine_type, :string, 1
489
- optional :disk_size_gb, :int64, 2
490
- end
491
- add_message "google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig" do
492
- optional :peered_network, :string, 1
493
- optional :egress_option, :enum, 2, "google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig.EgressOption"
494
- end
495
- add_enum "google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig.EgressOption" do
496
- value :EGRESS_OPTION_UNSPECIFIED, 0
497
- value :NO_PUBLIC_EGRESS, 1
498
- value :PUBLIC_EGRESS, 2
499
- end
500
- add_message "google.devtools.cloudbuild.v1.CreateWorkerPoolRequest" do
501
- optional :parent, :string, 1
502
- optional :worker_pool, :message, 2, "google.devtools.cloudbuild.v1.WorkerPool"
503
- optional :worker_pool_id, :string, 3
504
- optional :validate_only, :bool, 4
505
- end
506
- add_message "google.devtools.cloudbuild.v1.GetWorkerPoolRequest" do
507
- optional :name, :string, 1
508
- end
509
- add_message "google.devtools.cloudbuild.v1.DeleteWorkerPoolRequest" do
510
- optional :name, :string, 1
511
- optional :etag, :string, 2
512
- optional :allow_missing, :bool, 3
513
- optional :validate_only, :bool, 4
514
- end
515
- add_message "google.devtools.cloudbuild.v1.UpdateWorkerPoolRequest" do
516
- optional :worker_pool, :message, 1, "google.devtools.cloudbuild.v1.WorkerPool"
517
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
518
- optional :validate_only, :bool, 4
519
- end
520
- add_message "google.devtools.cloudbuild.v1.ListWorkerPoolsRequest" do
521
- optional :parent, :string, 1
522
- optional :page_size, :int32, 2
523
- optional :page_token, :string, 3
524
- end
525
- add_message "google.devtools.cloudbuild.v1.ListWorkerPoolsResponse" do
526
- repeated :worker_pools, :message, 1, "google.devtools.cloudbuild.v1.WorkerPool"
527
- optional :next_page_token, :string, 2
528
- end
529
- add_message "google.devtools.cloudbuild.v1.CreateWorkerPoolOperationMetadata" do
530
- optional :worker_pool, :string, 1
531
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
532
- optional :complete_time, :message, 3, "google.protobuf.Timestamp"
533
- end
534
- add_message "google.devtools.cloudbuild.v1.UpdateWorkerPoolOperationMetadata" do
535
- optional :worker_pool, :string, 1
536
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
537
- optional :complete_time, :message, 3, "google.protobuf.Timestamp"
538
- end
539
- add_message "google.devtools.cloudbuild.v1.DeleteWorkerPoolOperationMetadata" do
540
- optional :worker_pool, :string, 1
541
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
542
- optional :complete_time, :message, 3, "google.protobuf.Timestamp"
18
+
19
+ descriptor_data = "\n.google/devtools/cloudbuild/v1/cloudbuild.proto\x12\x1dgoogle.devtools.cloudbuild.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"q\n\x11RetryBuildRequest\x12\x32\n\x04name\x18\x03 \x01(\tB$\xfa\x41!\n\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xc0\x01\n\x16RunBuildTriggerRequest\x12\x39\n\x04name\x18\x04 \x01(\tB+\xfa\x41(\n&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x06source\x18\x03 \x01(\x0b\x32).google.devtools.cloudbuild.v1.RepoSource\"C\n\rStorageSource\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x0e\n\x06object\x18\x02 \x01(\t\x12\x12\n\ngeneration\x18\x03 \x01(\x03\"7\n\tGitSource\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0b\n\x03\x64ir\x18\x05 \x01(\t\x12\x10\n\x08revision\x18\x06 \x01(\t\"\xae\x02\n\nRepoSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x11\n\trepo_name\x18\x02 \x01(\t\x12\x15\n\x0b\x62ranch_name\x18\x03 \x01(\tH\x00\x12\x12\n\x08tag_name\x18\x04 \x01(\tH\x00\x12\x14\n\ncommit_sha\x18\x05 \x01(\tH\x00\x12\x0b\n\x03\x64ir\x18\x07 \x01(\t\x12\x14\n\x0cinvert_regex\x18\x08 \x01(\x08\x12S\n\rsubstitutions\x18\t \x03(\x0b\x32<.google.devtools.cloudbuild.v1.RepoSource.SubstitutionsEntry\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08revision\"K\n\x15StorageSourceManifest\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x0e\n\x06object\x18\x02 \x01(\t\x12\x12\n\ngeneration\x18\x03 \x01(\x03\"\xb5\x02\n\x06Source\x12\x46\n\x0estorage_source\x18\x02 \x01(\x0b\x32,.google.devtools.cloudbuild.v1.StorageSourceH\x00\x12@\n\x0brepo_source\x18\x03 \x01(\x0b\x32).google.devtools.cloudbuild.v1.RepoSourceH\x00\x12>\n\ngit_source\x18\x05 \x01(\x0b\x32(.google.devtools.cloudbuild.v1.GitSourceH\x00\x12W\n\x17storage_source_manifest\x18\x08 \x01(\x0b\x32\x34.google.devtools.cloudbuild.v1.StorageSourceManifestH\x00\x42\x08\n\x06source\"m\n\nBuiltImage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x64igest\x18\x03 \x01(\t\x12\x41\n\x0bpush_timing\x18\x04 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\"\xa7\x01\n\x15UploadedPythonPackage\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12>\n\x0b\x66ile_hashes\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\x12\x41\n\x0bpush_timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\"\xa7\x01\n\x15UploadedMavenArtifact\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12>\n\x0b\x66ile_hashes\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\x12\x41\n\x0bpush_timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\"\xa4\x01\n\x12UploadedNpmPackage\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12>\n\x0b\x66ile_hashes\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\x12\x41\n\x0bpush_timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\"\x87\x04\n\tBuildStep\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x65nv\x18\x02 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\t\x12\x0b\n\x03\x64ir\x18\x04 \x01(\t\x12\n\n\x02id\x18\x05 \x01(\t\x12\x10\n\x08wait_for\x18\x06 \x03(\t\x12\x12\n\nentrypoint\x18\x07 \x01(\t\x12\x12\n\nsecret_env\x18\x08 \x03(\t\x12\x36\n\x07volumes\x18\t \x03(\x0b\x32%.google.devtools.cloudbuild.v1.Volume\x12<\n\x06timing\x18\n \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x12\x41\n\x0bpull_timing\x18\r \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x12*\n\x07timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x06status\x18\x0c \x01(\x0e\x32+.google.devtools.cloudbuild.v1.Build.StatusB\x03\xe0\x41\x03\x12\x15\n\rallow_failure\x18\x0e \x01(\x08\x12\x16\n\texit_code\x18\x10 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x10\x61llow_exit_codes\x18\x12 \x03(\x05\x12\x0e\n\x06script\x18\x13 \x01(\t\"$\n\x06Volume\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\xd6\x03\n\x07Results\x12\x39\n\x06images\x18\x02 \x03(\x0b\x32).google.devtools.cloudbuild.v1.BuiltImage\x12\x19\n\x11\x62uild_step_images\x18\x03 \x03(\t\x12\x19\n\x11\x61rtifact_manifest\x18\x04 \x01(\t\x12\x15\n\rnum_artifacts\x18\x05 \x01(\x03\x12\x1a\n\x12\x62uild_step_outputs\x18\x06 \x03(\x0c\x12@\n\x0f\x61rtifact_timing\x18\x07 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpan\x12M\n\x0fpython_packages\x18\x08 \x03(\x0b\x32\x34.google.devtools.cloudbuild.v1.UploadedPythonPackage\x12M\n\x0fmaven_artifacts\x18\t \x03(\x0b\x32\x34.google.devtools.cloudbuild.v1.UploadedMavenArtifact\x12G\n\x0cnpm_packages\x18\x0c \x03(\x0b\x32\x31.google.devtools.cloudbuild.v1.UploadedNpmPackage\"`\n\x0e\x41rtifactResult\x12\x10\n\x08location\x18\x01 \x01(\t\x12<\n\tfile_hash\x18\x02 \x03(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\"\xa0\x12\n\x05\x42uild\x12\x11\n\x04name\x18- \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nproject_id\x18\x10 \x01(\tB\x03\xe0\x41\x03\x12@\n\x06status\x18\x02 \x01(\x0e\x32+.google.devtools.cloudbuild.v1.Build.StatusB\x03\xe0\x41\x03\x12\x1a\n\rstatus_detail\x18\x18 \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x06source\x18\x03 \x01(\x0b\x32%.google.devtools.cloudbuild.v1.Source\x12\x37\n\x05steps\x18\x0b \x03(\x0b\x32(.google.devtools.cloudbuild.v1.BuildStep\x12<\n\x07results\x18\n \x01(\x0b\x32&.google.devtools.cloudbuild.v1.ResultsB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x66inish_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12*\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06images\x18\r \x03(\t\x12,\n\tqueue_ttl\x18( \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\tartifacts\x18% \x01(\x0b\x32(.google.devtools.cloudbuild.v1.Artifacts\x12\x13\n\x0blogs_bucket\x18\x13 \x01(\t\x12O\n\x11source_provenance\x18\x15 \x01(\x0b\x32/.google.devtools.cloudbuild.v1.SourceProvenanceB\x03\xe0\x41\x03\x12\x1d\n\x10\x62uild_trigger_id\x18\x16 \x01(\tB\x03\xe0\x41\x03\x12<\n\x07options\x18\x17 \x01(\x0b\x32+.google.devtools.cloudbuild.v1.BuildOptions\x12\x14\n\x07log_url\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12N\n\rsubstitutions\x18\x1d \x03(\x0b\x32\x37.google.devtools.cloudbuild.v1.Build.SubstitutionsEntry\x12\x0c\n\x04tags\x18\x1f \x03(\t\x12\x36\n\x07secrets\x18 \x03(\x0b\x32%.google.devtools.cloudbuild.v1.Secret\x12\x45\n\x06timing\x18! \x03(\x0b\x32\x30.google.devtools.cloudbuild.v1.Build.TimingEntryB\x03\xe0\x41\x03\x12\x43\n\x08\x61pproval\x18, \x01(\x0b\x32,.google.devtools.cloudbuild.v1.BuildApprovalB\x03\xe0\x41\x03\x12?\n\x0fservice_account\x18* \x01(\tB&\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12\x41\n\x11\x61vailable_secrets\x18/ \x01(\x0b\x32&.google.devtools.cloudbuild.v1.Secrets\x12\x43\n\x08warnings\x18\x31 \x03(\x0b\x32,.google.devtools.cloudbuild.v1.Build.WarningB\x03\xe0\x41\x03\x12K\n\x0c\x66\x61ilure_info\x18\x33 \x01(\x0b\x32\x30.google.devtools.cloudbuild.v1.Build.FailureInfoB\x03\xe0\x41\x03\x1a\xa8\x01\n\x07Warning\x12\x0c\n\x04text\x18\x01 \x01(\t\x12G\n\x08priority\x18\x02 \x01(\x0e\x32\x35.google.devtools.cloudbuild.v1.Build.Warning.Priority\"F\n\x08Priority\x12\x18\n\x14PRIORITY_UNSPECIFIED\x10\x00\x12\x08\n\x04INFO\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x41LERT\x10\x03\x1a\x9e\x02\n\x0b\x46\x61ilureInfo\x12J\n\x04type\x18\x01 \x01(\x0e\x32<.google.devtools.cloudbuild.v1.Build.FailureInfo.FailureType\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\"\xb2\x01\n\x0b\x46\x61ilureType\x12\x1c\n\x18\x46\x41ILURE_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPUSH_FAILED\x10\x01\x12\x18\n\x14PUSH_IMAGE_NOT_FOUND\x10\x02\x12\x17\n\x13PUSH_NOT_AUTHORIZED\x10\x03\x12\x13\n\x0fLOGGING_FAILURE\x10\x04\x12\x13\n\x0fUSER_BUILD_STEP\x10\x05\x12\x17\n\x13\x46\x45TCH_SOURCE_FAILED\x10\x06\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aV\n\x0bTimingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpan:\x02\x38\x01\"\x99\x01\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0b\n\x07PENDING\x10\n\x12\n\n\x06QUEUED\x10\x01\x12\x0b\n\x07WORKING\x10\x02\x12\x0b\n\x07SUCCESS\x10\x03\x12\x0b\n\x07\x46\x41ILURE\x10\x04\x12\x12\n\x0eINTERNAL_ERROR\x10\x05\x12\x0b\n\x07TIMEOUT\x10\x06\x12\r\n\tCANCELLED\x10\x07\x12\x0b\n\x07\x45XPIRED\x10\t:\x7f\xea\x41|\n\x1f\x63loudbuild.googleapis.com/Build\x12!projects/{project}/builds/{build}\x12\x36projects/{project}/locations/{location}/builds/{build}\"\x9c\x05\n\tArtifacts\x12\x0e\n\x06images\x18\x01 \x03(\t\x12I\n\x07objects\x18\x02 \x01(\x0b\x32\x38.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects\x12O\n\x0fmaven_artifacts\x18\x03 \x03(\x0b\x32\x36.google.devtools.cloudbuild.v1.Artifacts.MavenArtifact\x12O\n\x0fpython_packages\x18\x05 \x03(\x0b\x32\x36.google.devtools.cloudbuild.v1.Artifacts.PythonPackage\x12I\n\x0cnpm_packages\x18\x06 \x03(\x0b\x32\x33.google.devtools.cloudbuild.v1.Artifacts.NpmPackage\x1ap\n\x0f\x41rtifactObjects\x12\x10\n\x08location\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12<\n\x06timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x1ai\n\rMavenArtifact\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x13\n\x0b\x61rtifact_id\x18\x03 \x01(\t\x12\x10\n\x08group_id\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x1a\x32\n\rPythonPackage\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x1a\x36\n\nNpmPackage\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x14\n\x0cpackage_path\x18\x02 \x01(\t\"h\n\x08TimeSpan\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"M\n\x16\x42uildOperationMetadata\x12\x33\n\x05\x62uild\x18\x01 \x01(\x0b\x32$.google.devtools.cloudbuild.v1.Build\"\xc3\x03\n\x10SourceProvenance\x12M\n\x17resolved_storage_source\x18\x03 \x01(\x0b\x32,.google.devtools.cloudbuild.v1.StorageSource\x12G\n\x14resolved_repo_source\x18\x06 \x01(\x0b\x32).google.devtools.cloudbuild.v1.RepoSource\x12^\n resolved_storage_source_manifest\x18\t \x01(\x0b\x32\x34.google.devtools.cloudbuild.v1.StorageSourceManifest\x12Y\n\x0b\x66ile_hashes\x18\x04 \x03(\x0b\x32?.google.devtools.cloudbuild.v1.SourceProvenance.FileHashesEntryB\x03\xe0\x41\x03\x1a\\\n\x0f\x46ileHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes:\x02\x38\x01\"D\n\nFileHashes\x12\x36\n\tfile_hash\x18\x01 \x03(\x0b\x32#.google.devtools.cloudbuild.v1.Hash\"\x88\x01\n\x04Hash\x12:\n\x04type\x18\x01 \x01(\x0e\x32,.google.devtools.cloudbuild.v1.Hash.HashType\x12\r\n\x05value\x18\x02 \x01(\x0c\"5\n\x08HashType\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\x07\n\x03MD5\x10\x02\x12\n\n\x06SHA512\x10\x04\"\x92\x01\n\x07Secrets\x12J\n\x0esecret_manager\x18\x01 \x03(\x0b\x32\x32.google.devtools.cloudbuild.v1.SecretManagerSecret\x12;\n\x06inline\x18\x02 \x03(\x0b\x32+.google.devtools.cloudbuild.v1.InlineSecret\"\xc5\x01\n\x0cInlineSecret\x12<\n\x0ckms_key_name\x18\x01 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12H\n\x07\x65nv_map\x18\x02 \x03(\x0b\x32\x37.google.devtools.cloudbuild.v1.InlineSecret.EnvMapEntry\x1a-\n\x0b\x45nvMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"i\n\x13SecretManagerSecret\x12\x45\n\x0cversion_name\x18\x01 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x0b\n\x03\x65nv\x18\x02 \x01(\t\"\x9a\x01\n\x06Secret\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\x12H\n\nsecret_env\x18\x03 \x03(\x0b\x32\x34.google.devtools.cloudbuild.v1.Secret.SecretEnvEntry\x1a\x30\n\x0eSecretEnvEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\x9d\x01\n\x12\x43reateBuildRequest\x12\x34\n\x06parent\x18\x04 \x01(\tB$\xfa\x41!\x12\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x05\x62uild\x18\x02 \x01(\x0b\x32$.google.devtools.cloudbuild.v1.BuildB\x03\xe0\x41\x02\"o\n\x0fGetBuildRequest\x12\x32\n\x04name\x18\x04 \x01(\tB$\xfa\x41!\n\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x99\x01\n\x11ListBuildsRequest\x12\x34\n\x06parent\x18\t \x01(\tB$\xfa\x41!\x12\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x08 \x01(\t\"c\n\x12ListBuildsResponse\x12\x34\n\x06\x62uilds\x18\x01 \x03(\x0b\x32$.google.devtools.cloudbuild.v1.Build\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"r\n\x12\x43\x61ncelBuildRequest\x12\x32\n\x04name\x18\x04 \x01(\tB$\xfa\x41!\n\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"p\n\x13\x41pproveBuildRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x0f\x61pproval_result\x18\x02 \x01(\x0b\x32-.google.devtools.cloudbuild.v1.ApprovalResult\"\xb7\x02\n\rBuildApproval\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32\x32.google.devtools.cloudbuild.v1.BuildApproval.StateB\x03\xe0\x41\x03\x12\x42\n\x06\x63onfig\x18\x02 \x01(\x0b\x32-.google.devtools.cloudbuild.v1.ApprovalConfigB\x03\xe0\x41\x03\x12\x42\n\x06result\x18\x03 \x01(\x0b\x32-.google.devtools.cloudbuild.v1.ApprovalResultB\x03\xe0\x41\x03\"V\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0c\n\x08\x41PPROVED\x10\x02\x12\x0c\n\x08REJECTED\x10\x03\x12\r\n\tCANCELLED\x10\x05\"+\n\x0e\x41pprovalConfig\x12\x19\n\x11\x61pproval_required\x18\x01 \x01(\x08\"\xa0\x02\n\x0e\x41pprovalResult\x12\x1d\n\x10\x61pprover_account\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x36\n\rapproval_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12M\n\x08\x64\x65\x63ision\x18\x04 \x01(\x0e\x32\x36.google.devtools.cloudbuild.v1.ApprovalResult.DecisionB\x03\xe0\x41\x02\x12\x14\n\x07\x63omment\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03url\x18\x06 \x01(\tB\x03\xe0\x41\x01\"@\n\x08\x44\x65\x63ision\x12\x18\n\x14\x44\x45\x43ISION_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x41PPROVED\x10\x01\x12\x0c\n\x08REJECTED\x10\x02\"\xeb\x07\n\x0c\x42uildTrigger\x12\x15\n\rresource_name\x18\" \x01(\t\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\n \x01(\t\x12\x0c\n\x04name\x18\x15 \x01(\t\x12\x0c\n\x04tags\x18\x13 \x03(\t\x12\x43\n\x10trigger_template\x18\x07 \x01(\x0b\x32).google.devtools.cloudbuild.v1.RepoSource\x12\x41\n\x06github\x18\r \x01(\x0b\x32\x31.google.devtools.cloudbuild.v1.GitHubEventsConfig\x12\x42\n\rpubsub_config\x18\x1d \x01(\x0b\x32+.google.devtools.cloudbuild.v1.PubsubConfig\x12\x44\n\x0ewebhook_config\x18\x1f \x01(\x0b\x32,.google.devtools.cloudbuild.v1.WebhookConfig\x12\x14\n\nautodetect\x18\x12 \x01(\x08H\x00\x12\x35\n\x05\x62uild\x18\x04 \x01(\x0b\x32$.google.devtools.cloudbuild.v1.BuildH\x00\x12\x12\n\x08\x66ilename\x18\x08 \x01(\tH\x00\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12U\n\rsubstitutions\x18\x0b \x03(\x0b\x32>.google.devtools.cloudbuild.v1.BuildTrigger.SubstitutionsEntry\x12\x15\n\rignored_files\x18\x0f \x03(\t\x12\x16\n\x0eincluded_files\x18\x10 \x03(\t\x12\x13\n\x06\x66ilter\x18\x1e \x01(\tB\x03\xe0\x41\x01\x12?\n\x0fservice_account\x18! \x01(\tB&\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xa2\x01\xea\x41\x9e\x01\n&cloudbuild.googleapis.com/BuildTrigger\x12%projects/{project}/triggers/{trigger}\x12:projects/{project}/locations/{location}/triggers/{trigger}*\x08triggers2\x07triggerB\x10\n\x0e\x62uild_template\"\xdc\x01\n\x12GitHubEventsConfig\x12\x1b\n\x0finstallation_id\x18\x01 \x01(\x03\x42\x02\x18\x01\x12\r\n\x05owner\x18\x06 \x01(\t\x12\x0c\n\x04name\x18\x07 \x01(\t\x12H\n\x0cpull_request\x18\x04 \x01(\x0b\x32\x30.google.devtools.cloudbuild.v1.PullRequestFilterH\x00\x12\x39\n\x04push\x18\x05 \x01(\x0b\x32).google.devtools.cloudbuild.v1.PushFilterH\x00\x42\x07\n\x05\x65vent\"\xff\x02\n\x0cPubsubConfig\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x03\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12/\n\x05topic\x18\x02 \x01(\tB \xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x45\n\x15service_account_email\x18\x03 \x01(\tB&\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12@\n\x05state\x18\x04 \x01(\x0e\x32\x31.google.devtools.cloudbuild.v1.PubsubConfig.State\"s\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x18\n\x14SUBSCRIPTION_DELETED\x10\x02\x12\x11\n\rTOPIC_DELETED\x10\x03\x12\x1e\n\x1aSUBSCRIPTION_MISCONFIGURED\x10\x04\"\xe3\x01\n\rWebhookConfig\x12\x44\n\x06secret\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x41\n\x05state\x18\x04 \x01(\x0e\x32\x32.google.devtools.cloudbuild.v1.WebhookConfig.State\":\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x12\n\x0eSECRET_DELETED\x10\x02\x42\r\n\x0b\x61uth_method\"\x94\x02\n\x11PullRequestFilter\x12\x10\n\x06\x62ranch\x18\x02 \x01(\tH\x00\x12X\n\x0f\x63omment_control\x18\x05 \x01(\x0e\x32?.google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl\x12\x14\n\x0cinvert_regex\x18\x06 \x01(\x08\"r\n\x0e\x43ommentControl\x12\x15\n\x11\x43OMMENTS_DISABLED\x10\x00\x12\x14\n\x10\x43OMMENTS_ENABLED\x10\x01\x12\x33\n/COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY\x10\x02\x42\t\n\x07git_ref\"N\n\nPushFilter\x12\x10\n\x06\x62ranch\x18\x02 \x01(\tH\x00\x12\r\n\x03tag\x18\x03 \x01(\tH\x00\x12\x14\n\x0cinvert_regex\x18\x04 \x01(\x08\x42\t\n\x07git_ref\"\xb4\x01\n\x19\x43reateBuildTriggerRequest\x12;\n\x06parent\x18\x03 \x01(\tB+\xfa\x41(\x12&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x07trigger\x18\x02 \x01(\x0b\x32+.google.devtools.cloudbuild.v1.BuildTriggerB\x03\xe0\x41\x02\"\x85\x01\n\x16GetBuildTriggerRequest\x12\x39\n\x04name\x18\x03 \x01(\tB+\xfa\x41(\n&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x97\x01\n\x18ListBuildTriggersRequest\x12;\n\x06parent\x18\x04 \x01(\tB+\xfa\x41(\x12&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"s\n\x19ListBuildTriggersResponse\x12=\n\x08triggers\x18\x01 \x03(\x0b\x32+.google.devtools.cloudbuild.v1.BuildTrigger\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x88\x01\n\x19\x44\x65leteBuildTriggerRequest\x12\x39\n\x04name\x18\x03 \x01(\tB+\xfa\x41(\n&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x90\x01\n\x19UpdateBuildTriggerRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x07trigger\x18\x03 \x01(\x0b\x32+.google.devtools.cloudbuild.v1.BuildTriggerB\x03\xe0\x41\x02\"\xb9\x0b\n\x0c\x42uildOptions\x12L\n\x16source_provenance_hash\x18\x01 \x03(\x0e\x32,.google.devtools.cloudbuild.v1.Hash.HashType\x12Y\n\x17requested_verify_option\x18\x02 \x01(\x0e\x32\x38.google.devtools.cloudbuild.v1.BuildOptions.VerifyOption\x12M\n\x0cmachine_type\x18\x03 \x01(\x0e\x32\x37.google.devtools.cloudbuild.v1.BuildOptions.MachineType\x12\x14\n\x0c\x64isk_size_gb\x18\x06 \x01(\x03\x12[\n\x13substitution_option\x18\x04 \x01(\x0e\x32>.google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption\x12\x1d\n\x15\x64ynamic_substitutions\x18\x11 \x01(\x08\x12\\\n\x14log_streaming_option\x18\x05 \x01(\x0e\x32>.google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption\x12\x17\n\x0bworker_pool\x18\x07 \x01(\tB\x02\x18\x01\x12I\n\x04pool\x18\x13 \x01(\x0b\x32\x36.google.devtools.cloudbuild.v1.BuildOptions.PoolOptionB\x03\xe0\x41\x01\x12H\n\x07logging\x18\x0b \x01(\x0e\x32\x37.google.devtools.cloudbuild.v1.BuildOptions.LoggingMode\x12\x0b\n\x03\x65nv\x18\x0c \x03(\t\x12\x12\n\nsecret_env\x18\r \x03(\t\x12\x36\n\x07volumes\x18\x0e \x03(\x0b\x32%.google.devtools.cloudbuild.v1.Volume\x12p\n\x1c\x64\x65\x66\x61ult_logs_bucket_behavior\x18\x15 \x01(\x0e\x32\x45.google.devtools.cloudbuild.v1.BuildOptions.DefaultLogsBucketBehaviorB\x03\xe0\x41\x01\x1a\x45\n\nPoolOption\x12\x37\n\x04name\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\".\n\x0cVerifyOption\x12\x10\n\x0cNOT_VERIFIED\x10\x00\x12\x0c\n\x08VERIFIED\x10\x01\"h\n\x0bMachineType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x10\n\x0cN1_HIGHCPU_8\x10\x01\x12\x11\n\rN1_HIGHCPU_32\x10\x02\x12\x10\n\x0c\x45\x32_HIGHCPU_8\x10\x05\x12\x11\n\rE2_HIGHCPU_32\x10\x06\"5\n\x12SubstitutionOption\x12\x0e\n\nMUST_MATCH\x10\x00\x12\x0f\n\x0b\x41LLOW_LOOSE\x10\x01\"G\n\x12LogStreamingOption\x12\x12\n\x0eSTREAM_DEFAULT\x10\x00\x12\r\n\tSTREAM_ON\x10\x01\x12\x0e\n\nSTREAM_OFF\x10\x02\"|\n\x0bLoggingMode\x12\x17\n\x13LOGGING_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x0c\n\x08GCS_ONLY\x10\x02\x12\x18\n\x10STACKDRIVER_ONLY\x10\x03\x1a\x02\x08\x01\x12\x16\n\x12\x43LOUD_LOGGING_ONLY\x10\x05\x12\x08\n\x04NONE\x10\x04\"i\n\x19\x44\x65\x66\x61ultLogsBucketBehavior\x12,\n(DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x1e\n\x1aREGIONAL_USER_OWNED_BUCKET\x10\x01\"\x85\x01\n\x1cReceiveTriggerWebhookRequest\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\"\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x14.google.api.HttpBody\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0f\n\x07trigger\x18\x03 \x01(\t\x12\x0e\n\x06secret\x18\x04 \x01(\t\"\x1f\n\x1dReceiveTriggerWebhookResponse\"\x88\x06\n\nWorkerPool\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12O\n\x0b\x61nnotations\x18\x04 \x03(\x0b\x32:.google.devtools.cloudbuild.v1.WorkerPool.AnnotationsEntry\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x05state\x18\x08 \x01(\x0e\x32/.google.devtools.cloudbuild.v1.WorkerPool.StateB\x03\xe0\x41\x03\x12T\n\x16private_pool_v1_config\x18\x0c \x01(\x0b\x32\x32.google.devtools.cloudbuild.v1.PrivatePoolV1ConfigH\x00\x12\x11\n\x04\x65tag\x18\x0b \x01(\tB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04:\x89\x01\xea\x41\x85\x01\n$cloudbuild.googleapis.com/WorkerPool\x12\x41projects/{project}/locations/{location}/workerPools/{worker_pool}*\x0bworkerPools2\nworkerPoolR\x01\x01\x42\x08\n\x06\x63onfig\"\xbc\x04\n\x13PrivatePoolV1Config\x12V\n\rworker_config\x18\x01 \x01(\x0b\x32?.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig\x12X\n\x0enetwork_config\x18\x02 \x01(\x0b\x32@.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig\x1a:\n\x0cWorkerConfig\x12\x14\n\x0cmachine_type\x18\x01 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x02 \x01(\x03\x1a\xb6\x02\n\rNetworkConfig\x12\x41\n\x0epeered_network\x18\x01 \x01(\tB)\xe0\x41\x05\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x64\n\regress_option\x18\x02 \x01(\x0e\x32M.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig.EgressOption\x12$\n\x17peered_network_ip_range\x18\x03 \x01(\tB\x03\xe0\x41\x05\"V\n\x0c\x45gressOption\x12\x1d\n\x19\x45GRESS_OPTION_UNSPECIFIED\x10\x00\x12\x14\n\x10NO_PUBLIC_EGRESS\x10\x01\x12\x11\n\rPUBLIC_EGRESS\x10\x02\"\xd0\x01\n\x17\x43reateWorkerPoolRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x43\n\x0bworker_pool\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.WorkerPoolB\x03\xe0\x41\x02\x12\x1e\n\x0eworker_pool_id\x18\x03 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"R\n\x14GetWorkerPoolRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\"\x91\x01\n\x17\x44\x65leteWorkerPoolRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xa6\x01\n\x17UpdateWorkerPoolRequest\x12\x43\n\x0bworker_pool\x18\x01 \x01(\x0b\x32).google.devtools.cloudbuild.v1.WorkerPoolB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"z\n\x16ListWorkerPoolsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"s\n\x17ListWorkerPoolsResponse\x12?\n\x0cworker_pools\x18\x01 \x03(\x0b\x32).google.devtools.cloudbuild.v1.WorkerPool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc7\x01\n!CreateWorkerPoolOperationMetadata\x12>\n\x0bworker_pool\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rcomplete_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc7\x01\n!UpdateWorkerPoolOperationMetadata\x12>\n\x0bworker_pool\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rcomplete_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc7\x01\n!DeleteWorkerPoolOperationMetadata\x12>\n\x0bworker_pool\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rcomplete_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xb6#\n\nCloudBuild\x12\xfb\x01\n\x0b\x43reateBuild\x12\x31.google.devtools.cloudbuild.v1.CreateBuildRequest\x1a\x1d.google.longrunning.Operation\"\x99\x01\x82\xd3\xe4\x93\x02^\" /v1/projects/{project_id}/builds:\x05\x62uildZ3\"*/v1/{parent=projects/*/locations/*}/builds:\x05\x62uild\xda\x41\x10project_id,build\xca\x41\x1f\n\x05\x42uild\x12\x16\x42uildOperationMetadata\x12\xcd\x01\n\x08GetBuild\x12..google.devtools.cloudbuild.v1.GetBuildRequest\x1a$.google.devtools.cloudbuild.v1.Build\"k\x82\xd3\xe4\x93\x02U\x12%/v1/projects/{project_id}/builds/{id}Z,\x12*/v1/{name=projects/*/locations/*/builds/*}\xda\x41\rproject_id,id\x12\xdd\x01\n\nListBuilds\x12\x30.google.devtools.cloudbuild.v1.ListBuildsRequest\x1a\x31.google.devtools.cloudbuild.v1.ListBuildsResponse\"j\x82\xd3\xe4\x93\x02P\x12 /v1/projects/{project_id}/buildsZ,\x12*/v1/{parent=projects/*/locations/*}/builds\xda\x41\x11project_id,filter\x12\xe7\x01\n\x0b\x43\x61ncelBuild\x12\x31.google.devtools.cloudbuild.v1.CancelBuildRequest\x1a$.google.devtools.cloudbuild.v1.Build\"\x7f\x82\xd3\xe4\x93\x02i\",/v1/projects/{project_id}/builds/{id}:cancel:\x01*Z6\"1/v1/{name=projects/*/locations/*/builds/*}:cancel:\x01*\xda\x41\rproject_id,id\x12\xff\x01\n\nRetryBuild\x12\x30.google.devtools.cloudbuild.v1.RetryBuildRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\x82\xd3\xe4\x93\x02g\"+/v1/projects/{project_id}/builds/{id}:retry:\x01*Z5\"0/v1/{name=projects/*/locations/*/builds/*}:retry:\x01*\xda\x41\rproject_id,id\xca\x41\x1f\n\x05\x42uild\x12\x16\x42uildOperationMetadata\x12\x87\x02\n\x0c\x41pproveBuild\x12\x32.google.devtools.cloudbuild.v1.ApproveBuildRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\x82\xd3\xe4\x93\x02\x64\"&/v1/{name=projects/*/builds/*}:approve:\x01*Z7\"2/v1/{name=projects/*/locations/*/builds/*}:approve:\x01*\xda\x41\x14name,approval_result\xca\x41\x1f\n\x05\x42uild\x12\x16\x42uildOperationMetadata\x12\xff\x01\n\x12\x43reateBuildTrigger\x12\x38.google.devtools.cloudbuild.v1.CreateBuildTriggerRequest\x1a+.google.devtools.cloudbuild.v1.BuildTrigger\"\x81\x01\x82\xd3\xe4\x93\x02\x66\"\"/v1/projects/{project_id}/triggers:\x07triggerZ7\",/v1/{parent=projects/*/locations/*}/triggers:\x07trigger\xda\x41\x12project_id,trigger\x12\xf6\x01\n\x0fGetBuildTrigger\x12\x35.google.devtools.cloudbuild.v1.GetBuildTriggerRequest\x1a+.google.devtools.cloudbuild.v1.BuildTrigger\"\x7f\x82\xd3\xe4\x93\x02\x61\x12//v1/projects/{project_id}/triggers/{trigger_id}Z.\x12,/v1/{name=projects/*/locations/*/triggers/*}\xda\x41\x15project_id,trigger_id\x12\xef\x01\n\x11ListBuildTriggers\x12\x37.google.devtools.cloudbuild.v1.ListBuildTriggersRequest\x1a\x38.google.devtools.cloudbuild.v1.ListBuildTriggersResponse\"g\x82\xd3\xe4\x93\x02T\x12\"/v1/projects/{project_id}/triggersZ.\x12,/v1/{parent=projects/*/locations/*}/triggers\xda\x41\nproject_id\x12\xe7\x01\n\x12\x44\x65leteBuildTrigger\x12\x38.google.devtools.cloudbuild.v1.DeleteBuildTriggerRequest\x1a\x16.google.protobuf.Empty\"\x7f\x82\xd3\xe4\x93\x02\x61*//v1/projects/{project_id}/triggers/{trigger_id}Z.*,/v1/{name=projects/*/locations/*/triggers/*}\xda\x41\x15project_id,trigger_id\x12\xa9\x02\n\x12UpdateBuildTrigger\x12\x38.google.devtools.cloudbuild.v1.UpdateBuildTriggerRequest\x1a+.google.devtools.cloudbuild.v1.BuildTrigger\"\xab\x01\x82\xd3\xe4\x93\x02\x84\x01\x32//v1/projects/{project_id}/triggers/{trigger_id}:\x07triggerZH2=/v1/{trigger.resource_name=projects/*/locations/*/triggers/*}:\x07trigger\xda\x41\x1dproject_id,trigger_id,trigger\x12\xa5\x02\n\x0fRunBuildTrigger\x12\x35.google.devtools.cloudbuild.v1.RunBuildTriggerRequest\x1a\x1d.google.longrunning.Operation\"\xbb\x01\x82\xd3\xe4\x93\x02t\"3/v1/projects/{project_id}/triggers/{trigger_id}:run:\x06sourceZ5\"0/v1/{name=projects/*/locations/*/triggers/*}:run:\x01*\xda\x41\x1cproject_id,trigger_id,source\xca\x41\x1f\n\x05\x42uild\x12\x16\x42uildOperationMetadata\x12\x95\x02\n\x15ReceiveTriggerWebhook\x12;.google.devtools.cloudbuild.v1.ReceiveTriggerWebhookRequest\x1a<.google.devtools.cloudbuild.v1.ReceiveTriggerWebhookResponse\"\x80\x01\x82\xd3\xe4\x93\x02z\"4/v1/projects/{project_id}/triggers/{trigger}:webhook:\x04\x62odyZ<\"4/v1/{name=projects/*/locations/*/triggers/*}:webhook:\x04\x62ody\x12\x86\x02\n\x10\x43reateWorkerPool\x12\x36.google.devtools.cloudbuild.v1.CreateWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/workerPools:\x0bworker_pool\xda\x41!parent,worker_pool,worker_pool_id\xca\x41/\n\nWorkerPool\x12!CreateWorkerPoolOperationMetadata\x12\xaf\x01\n\rGetWorkerPool\x12\x33.google.devtools.cloudbuild.v1.GetWorkerPoolRequest\x1a).google.devtools.cloudbuild.v1.WorkerPool\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/workerPools/*}\xda\x41\x04name\x12\xe6\x01\n\x10\x44\x65leteWorkerPool\x12\x36.google.devtools.cloudbuild.v1.DeleteWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"{\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/workerPools/*}\xda\x41\x04name\xca\x41:\n\x15google.protobuf.Empty\x12!DeleteWorkerPoolOperationMetadata\x12\x88\x02\n\x10UpdateWorkerPool\x12\x36.google.devtools.cloudbuild.v1.UpdateWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x01\x82\xd3\xe4\x93\x02J2;/v1/{worker_pool.name=projects/*/locations/*/workerPools/*}:\x0bworker_pool\xda\x41\x17worker_pool,update_mask\xca\x41/\n\nWorkerPool\x12!UpdateWorkerPoolOperationMetadata\x12\xc2\x01\n\x0fListWorkerPools\x12\x35.google.devtools.cloudbuild.v1.ListWorkerPoolsRequest\x1a\x36.google.devtools.cloudbuild.v1.ListWorkerPoolsResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/workerPools\xda\x41\x06parent\x1aM\xca\x41\x19\x63loudbuild.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa4\x06\n\x18\x63om.google.cloudbuild.v1P\x01ZAcloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb;cloudbuildpb\xa2\x02\x03GCB\xaa\x02\x1aGoogle.Cloud.CloudBuild.V1\xca\x02\x15Google\\Cloud\\Build\\V1\xea\x02\x18Google::Cloud::Build::V1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}\xea\x41J\n#secretmanager.googleapis.com/Secret\x12#projects/{project}/secrets/{secret}\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}\xea\x41p\n!cloudkms.googleapis.com/CryptoKey\x12Kprojects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}\xea\x41U\n\"pubsub.googleapis.com/Subscription\x12/projects/{project}/subscriptions/{subscription}\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}b\x06proto3"
20
+
21
+ pool = Google::Protobuf::DescriptorPool.generated_pool
22
+
23
+ begin
24
+ pool.add_serialized_file(descriptor_data)
25
+ rescue TypeError => e
26
+ # Compatibility code: will be removed in the next major version.
27
+ require 'google/protobuf/descriptor_pb'
28
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
29
+ parsed.clear_dependency
30
+ serialized = parsed.class.encode(parsed)
31
+ file = pool.add_serialized_file(serialized)
32
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
33
+ imports = [
34
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
35
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
36
+ ["google.api.HttpBody", "google/api/httpbody.proto"],
37
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
38
+ ]
39
+ imports.each do |type_name, expected_filename|
40
+ import_file = pool.lookup(type_name).file_descriptor
41
+ if import_file.name != expected_filename
42
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
543
43
  end
544
44
  end
45
+ warn "Each proto file must use a consistent fully-qualified name."
46
+ warn "This will become an error in the next major version."
545
47
  end
546
48
 
547
49
  module Google
@@ -551,12 +53,14 @@ module Google
551
53
  RetryBuildRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.RetryBuildRequest").msgclass
552
54
  RunBuildTriggerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.RunBuildTriggerRequest").msgclass
553
55
  StorageSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.StorageSource").msgclass
56
+ GitSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.GitSource").msgclass
554
57
  RepoSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.RepoSource").msgclass
555
58
  StorageSourceManifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.StorageSourceManifest").msgclass
556
59
  Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.Source").msgclass
557
60
  BuiltImage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.BuiltImage").msgclass
558
61
  UploadedPythonPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.UploadedPythonPackage").msgclass
559
62
  UploadedMavenArtifact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.UploadedMavenArtifact").msgclass
63
+ UploadedNpmPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.UploadedNpmPackage").msgclass
560
64
  BuildStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.BuildStep").msgclass
561
65
  Volume = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.Volume").msgclass
562
66
  Results = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.Results").msgclass
@@ -571,6 +75,7 @@ module Google
571
75
  Artifacts::ArtifactObjects = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects").msgclass
572
76
  Artifacts::MavenArtifact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.Artifacts.MavenArtifact").msgclass
573
77
  Artifacts::PythonPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.Artifacts.PythonPackage").msgclass
78
+ Artifacts::NpmPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.Artifacts.NpmPackage").msgclass
574
79
  TimeSpan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.TimeSpan").msgclass
575
80
  BuildOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.BuildOperationMetadata").msgclass
576
81
  SourceProvenance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.SourceProvenance").msgclass