Debian Codegraph @

googleapis/cloud/batch/v1alpha/task.pb.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.21.9
19 // source: google/cloud/batch/v1alpha/task.proto
20
21 package batch
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 durationpb "google.golang.org/protobuf/types/known/durationpb"
31 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
32 )
33
34 const (
35 // Verify that this generated code is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37 // Verify that runtime/protoimpl is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41 // Task states.
42 type TaskStatus_State int32
43
44 const (
45 // unknown state
46 TaskStatus_STATE_UNSPECIFIED TaskStatus_State = 0
47 // The Task is created and waiting for resources.
48 TaskStatus_PENDING TaskStatus_State = 1
49 // The Task is assigned to at least one VM.
50 TaskStatus_ASSIGNED TaskStatus_State = 2
51 // The Task is running.
52 TaskStatus_RUNNING TaskStatus_State = 3
53 // The Task has failed.
54 TaskStatus_FAILED TaskStatus_State = 4
55 // The Task has succeeded.
56 TaskStatus_SUCCEEDED TaskStatus_State = 5
57 )
58
59 // Enum value maps for TaskStatus_State.
60 var (
61 TaskStatus_State_name = map[int32]string{
62 0: "STATE_UNSPECIFIED",
63 1: "PENDING",
64 2: "ASSIGNED",
65 3: "RUNNING",
66 4: "FAILED",
67 5: "SUCCEEDED",
68 }
69 TaskStatus_State_value = map[string]int32{
70 "STATE_UNSPECIFIED": 0,
71 "PENDING": 1,
72 "ASSIGNED": 2,
73 "RUNNING": 3,
74 "FAILED": 4,
75 "SUCCEEDED": 5,
76 }
77 )
78
79 func (x TaskStatus_State) Enum() *TaskStatus_State {
80 p := new(TaskStatus_State)
81 *p = x
82 return p
83 }
84
85 func (x TaskStatus_State) String() string {
86 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
87 }
88
89 func (TaskStatus_State) Descriptor() protoreflect.EnumDescriptor {
90 return file_google_cloud_batch_v1alpha_task_proto_enumTypes[0].Descriptor()
91 }
92
93 func (TaskStatus_State) Type() protoreflect.EnumType {
94 return &file_google_cloud_batch_v1alpha_task_proto_enumTypes[0]
95 }
96
97 func (x TaskStatus_State) Number() protoreflect.EnumNumber {
98 return protoreflect.EnumNumber(x)
99 }
100
101 // Deprecated: Use TaskStatus_State.Descriptor instead.
102 func (TaskStatus_State) EnumDescriptor() ([]byte, []int) {
103 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{3, 0}
104 }
105
106 // Action on task failures based on different conditions.
107 type LifecyclePolicy_Action int32
108
109 const (
110 // Action unspecified.
111 LifecyclePolicy_ACTION_UNSPECIFIED LifecyclePolicy_Action = 0
112 // Action that tasks in the group will be scheduled to re-execute.
113 LifecyclePolicy_RETRY_TASK LifecyclePolicy_Action = 1
114 // Action that tasks in the group will be stopped immediately.
115 LifecyclePolicy_FAIL_TASK LifecyclePolicy_Action = 2
116 )
117
118 // Enum value maps for LifecyclePolicy_Action.
119 var (
120 LifecyclePolicy_Action_name = map[int32]string{
121 0: "ACTION_UNSPECIFIED",
122 1: "RETRY_TASK",
123 2: "FAIL_TASK",
124 }
125 LifecyclePolicy_Action_value = map[string]int32{
126 "ACTION_UNSPECIFIED": 0,
127 "RETRY_TASK": 1,
128 "FAIL_TASK": 2,
129 }
130 )
131
132 func (x LifecyclePolicy_Action) Enum() *LifecyclePolicy_Action {
133 p := new(LifecyclePolicy_Action)
134 *p = x
135 return p
136 }
137
138 func (x LifecyclePolicy_Action) String() string {
139 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
140 }
141
142 func (LifecyclePolicy_Action) Descriptor() protoreflect.EnumDescriptor {
143 return file_google_cloud_batch_v1alpha_task_proto_enumTypes[1].Descriptor()
144 }
145
146 func (LifecyclePolicy_Action) Type() protoreflect.EnumType {
147 return &file_google_cloud_batch_v1alpha_task_proto_enumTypes[1]
148 }
149
150 func (x LifecyclePolicy_Action) Number() protoreflect.EnumNumber {
151 return protoreflect.EnumNumber(x)
152 }
153
154 // Deprecated: Use LifecyclePolicy_Action.Descriptor instead.
155 func (LifecyclePolicy_Action) EnumDescriptor() ([]byte, []int) {
156 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{6, 0}
157 }
158
159 // Compute resource requirements
160 type ComputeResource struct {
161 state protoimpl.MessageState
162 sizeCache protoimpl.SizeCache
163 unknownFields protoimpl.UnknownFields
164
165 // The milliCPU count.
166 CpuMilli int64 `protobuf:"varint,1,opt,name=cpu_milli,json=cpuMilli,proto3" json:"cpu_milli,omitempty"`
167 // Memory in MiB.
168 MemoryMib int64 `protobuf:"varint,2,opt,name=memory_mib,json=memoryMib,proto3" json:"memory_mib,omitempty"`
169 // The GPU count.
170 //
171 // Not yet implemented.
172 GpuCount int64 `protobuf:"varint,3,opt,name=gpu_count,json=gpuCount,proto3" json:"gpu_count,omitempty"`
173 // Extra boot disk size in MiB for each task.
174 BootDiskMib int64 `protobuf:"varint,4,opt,name=boot_disk_mib,json=bootDiskMib,proto3" json:"boot_disk_mib,omitempty"`
175 }
176
177 func (x *ComputeResource) Reset() {
178 *x = ComputeResource{}
179 if protoimpl.UnsafeEnabled {
180 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[0]
181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
182 ms.StoreMessageInfo(mi)
183 }
184 }
185
186 func (x *ComputeResource) String() string {
187 return protoimpl.X.MessageStringOf(x)
188 }
189
190 func (*ComputeResource) ProtoMessage() {}
191
192 func (x *ComputeResource) ProtoReflect() protoreflect.Message {
193 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[0]
194 if protoimpl.UnsafeEnabled && x != nil {
195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
196 if ms.LoadMessageInfo() == nil {
197 ms.StoreMessageInfo(mi)
198 }
199 return ms
200 }
201 return mi.MessageOf(x)
202 }
203
204 // Deprecated: Use ComputeResource.ProtoReflect.Descriptor instead.
205 func (*ComputeResource) Descriptor() ([]byte, []int) {
206 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{0}
207 }
208
209 func (x *ComputeResource) GetCpuMilli() int64 {
210 if x != nil {
211 return x.CpuMilli
212 }
213 return 0
214 }
215
216 func (x *ComputeResource) GetMemoryMib() int64 {
217 if x != nil {
218 return x.MemoryMib
219 }
220 return 0
221 }
222
223 func (x *ComputeResource) GetGpuCount() int64 {
224 if x != nil {
225 return x.GpuCount
226 }
227 return 0
228 }
229
230 func (x *ComputeResource) GetBootDiskMib() int64 {
231 if x != nil {
232 return x.BootDiskMib
233 }
234 return 0
235 }
236
237 // Status event
238 type StatusEvent struct {
239 state protoimpl.MessageState
240 sizeCache protoimpl.SizeCache
241 unknownFields protoimpl.UnknownFields
242
243 // Type of the event.
244 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
245 // Description of the event.
246 Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
247 // The time this event occurred.
248 EventTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
249 // Task Execution
250 TaskExecution *TaskExecution `protobuf:"bytes,4,opt,name=task_execution,json=taskExecution,proto3" json:"task_execution,omitempty"`
251 }
252
253 func (x *StatusEvent) Reset() {
254 *x = StatusEvent{}
255 if protoimpl.UnsafeEnabled {
256 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[1]
257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
258 ms.StoreMessageInfo(mi)
259 }
260 }
261
262 func (x *StatusEvent) String() string {
263 return protoimpl.X.MessageStringOf(x)
264 }
265
266 func (*StatusEvent) ProtoMessage() {}
267
268 func (x *StatusEvent) ProtoReflect() protoreflect.Message {
269 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[1]
270 if protoimpl.UnsafeEnabled && x != nil {
271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
272 if ms.LoadMessageInfo() == nil {
273 ms.StoreMessageInfo(mi)
274 }
275 return ms
276 }
277 return mi.MessageOf(x)
278 }
279
280 // Deprecated: Use StatusEvent.ProtoReflect.Descriptor instead.
281 func (*StatusEvent) Descriptor() ([]byte, []int) {
282 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{1}
283 }
284
285 func (x *StatusEvent) GetType() string {
286 if x != nil {
287 return x.Type
288 }
289 return ""
290 }
291
292 func (x *StatusEvent) GetDescription() string {
293 if x != nil {
294 return x.Description
295 }
296 return ""
297 }
298
299 func (x *StatusEvent) GetEventTime() *timestamppb.Timestamp {
300 if x != nil {
301 return x.EventTime
302 }
303 return nil
304 }
305
306 func (x *StatusEvent) GetTaskExecution() *TaskExecution {
307 if x != nil {
308 return x.TaskExecution
309 }
310 return nil
311 }
312
313 // This Task Execution field includes detail information for
314 // task execution procedures, based on StatusEvent types.
315 type TaskExecution struct {
316 state protoimpl.MessageState
317 sizeCache protoimpl.SizeCache
318 unknownFields protoimpl.UnknownFields
319
320 // When task is completed as the status of FAILED or SUCCEEDED,
321 // exit code is for one task execution result, default is 0 as success.
322 ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
323 }
324
325 func (x *TaskExecution) Reset() {
326 *x = TaskExecution{}
327 if protoimpl.UnsafeEnabled {
328 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[2]
329 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
330 ms.StoreMessageInfo(mi)
331 }
332 }
333
334 func (x *TaskExecution) String() string {
335 return protoimpl.X.MessageStringOf(x)
336 }
337
338 func (*TaskExecution) ProtoMessage() {}
339
340 func (x *TaskExecution) ProtoReflect() protoreflect.Message {
341 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[2]
342 if protoimpl.UnsafeEnabled && x != nil {
343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
344 if ms.LoadMessageInfo() == nil {
345 ms.StoreMessageInfo(mi)
346 }
347 return ms
348 }
349 return mi.MessageOf(x)
350 }
351
352 // Deprecated: Use TaskExecution.ProtoReflect.Descriptor instead.
353 func (*TaskExecution) Descriptor() ([]byte, []int) {
354 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{2}
355 }
356
357 func (x *TaskExecution) GetExitCode() int32 {
358 if x != nil {
359 return x.ExitCode
360 }
361 return 0
362 }
363
364 // Status of a task
365 type TaskStatus struct {
366 state protoimpl.MessageState
367 sizeCache protoimpl.SizeCache
368 unknownFields protoimpl.UnknownFields
369
370 // Task state
371 State TaskStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.batch.v1alpha.TaskStatus_State" json:"state,omitempty"`
372 // Detailed info about why the state is reached.
373 StatusEvents []*StatusEvent `protobuf:"bytes,2,rep,name=status_events,json=statusEvents,proto3" json:"status_events,omitempty"`
374 }
375
376 func (x *TaskStatus) Reset() {
377 *x = TaskStatus{}
378 if protoimpl.UnsafeEnabled {
379 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[3]
380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
381 ms.StoreMessageInfo(mi)
382 }
383 }
384
385 func (x *TaskStatus) String() string {
386 return protoimpl.X.MessageStringOf(x)
387 }
388
389 func (*TaskStatus) ProtoMessage() {}
390
391 func (x *TaskStatus) ProtoReflect() protoreflect.Message {
392 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[3]
393 if protoimpl.UnsafeEnabled && x != nil {
394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
395 if ms.LoadMessageInfo() == nil {
396 ms.StoreMessageInfo(mi)
397 }
398 return ms
399 }
400 return mi.MessageOf(x)
401 }
402
403 // Deprecated: Use TaskStatus.ProtoReflect.Descriptor instead.
404 func (*TaskStatus) Descriptor() ([]byte, []int) {
405 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{3}
406 }
407
408 func (x *TaskStatus) GetState() TaskStatus_State {
409 if x != nil {
410 return x.State
411 }
412 return TaskStatus_STATE_UNSPECIFIED
413 }
414
415 func (x *TaskStatus) GetStatusEvents() []*StatusEvent {
416 if x != nil {
417 return x.StatusEvents
418 }
419 return nil
420 }
421
422 // Runnable describes instructions for executing a specific script or container
423 // as part of a Task.
424 type Runnable struct {
425 state protoimpl.MessageState
426 sizeCache protoimpl.SizeCache
427 unknownFields protoimpl.UnknownFields
428
429 // The script or container to run.
430 //
431 // Types that are assignable to Executable:
432 //
433 // *Runnable_Container_
434 // *Runnable_Script_
435 // *Runnable_Barrier_
436 Executable isRunnable_Executable `protobuf_oneof:"executable"`
437 // Normally, a non-zero exit status causes the Task to fail. This flag allows
438 // execution of other Runnables to continue instead.
439 IgnoreExitStatus bool `protobuf:"varint,3,opt,name=ignore_exit_status,json=ignoreExitStatus,proto3" json:"ignore_exit_status,omitempty"`
440 // This flag allows a Runnable to continue running in the background while the
441 // Task executes subsequent Runnables. This is useful to provide services to
442 // other Runnables (or to provide debugging support tools like SSH servers).
443 Background bool `protobuf:"varint,4,opt,name=background,proto3" json:"background,omitempty"`
444 // By default, after a Runnable fails, no further Runnable are executed. This
445 // flag indicates that this Runnable must be run even if the Task has already
446 // failed. This is useful for Runnables that copy output files off of the VM
447 // or for debugging.
448 //
449 // The always_run flag does not override the Task's overall max_run_duration.
450 // If the max_run_duration has expired then no further Runnables will execute,
451 // not even always_run Runnables.
452 AlwaysRun bool `protobuf:"varint,5,opt,name=always_run,json=alwaysRun,proto3" json:"always_run,omitempty"`
453 // Environment variables for this Runnable (overrides variables set for the
454 // whole Task or TaskGroup).
455 Environment *Environment `protobuf:"bytes,7,opt,name=environment,proto3" json:"environment,omitempty"`
456 // Timeout for this Runnable.
457 Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"`
458 // Labels for this Runnable.
459 Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
460 }
461
462 func (x *Runnable) Reset() {
463 *x = Runnable{}
464 if protoimpl.UnsafeEnabled {
465 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[4]
466 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
467 ms.StoreMessageInfo(mi)
468 }
469 }
470
471 func (x *Runnable) String() string {
472 return protoimpl.X.MessageStringOf(x)
473 }
474
475 func (*Runnable) ProtoMessage() {}
476
477 func (x *Runnable) ProtoReflect() protoreflect.Message {
478 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[4]
479 if protoimpl.UnsafeEnabled && x != nil {
480 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
481 if ms.LoadMessageInfo() == nil {
482 ms.StoreMessageInfo(mi)
483 }
484 return ms
485 }
486 return mi.MessageOf(x)
487 }
488
489 // Deprecated: Use Runnable.ProtoReflect.Descriptor instead.
490 func (*Runnable) Descriptor() ([]byte, []int) {
491 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{4}
492 }
493
494 func (m *Runnable) GetExecutable() isRunnable_Executable {
495 if m != nil {
496 return m.Executable
497 }
498 return nil
499 }
500
501 func (x *Runnable) GetContainer() *Runnable_Container {
502 if x, ok := x.GetExecutable().(*Runnable_Container_); ok {
503 return x.Container
504 }
505 return nil
506 }
507
508 func (x *Runnable) GetScript() *Runnable_Script {
509 if x, ok := x.GetExecutable().(*Runnable_Script_); ok {
510 return x.Script
511 }
512 return nil
513 }
514
515 func (x *Runnable) GetBarrier() *Runnable_Barrier {
516 if x, ok := x.GetExecutable().(*Runnable_Barrier_); ok {
517 return x.Barrier
518 }
519 return nil
520 }
521
522 func (x *Runnable) GetIgnoreExitStatus() bool {
523 if x != nil {
524 return x.IgnoreExitStatus
525 }
526 return false
527 }
528
529 func (x *Runnable) GetBackground() bool {
530 if x != nil {
531 return x.Background
532 }
533 return false
534 }
535
536 func (x *Runnable) GetAlwaysRun() bool {
537 if x != nil {
538 return x.AlwaysRun
539 }
540 return false
541 }
542
543 func (x *Runnable) GetEnvironment() *Environment {
544 if x != nil {
545 return x.Environment
546 }
547 return nil
548 }
549
550 func (x *Runnable) GetTimeout() *durationpb.Duration {
551 if x != nil {
552 return x.Timeout
553 }
554 return nil
555 }
556
557 func (x *Runnable) GetLabels() map[string]string {
558 if x != nil {
559 return x.Labels
560 }
561 return nil
562 }
563
564 type isRunnable_Executable interface {
565 isRunnable_Executable()
566 }
567
568 type Runnable_Container_ struct {
569 // Container runnable.
570 Container *Runnable_Container `protobuf:"bytes,1,opt,name=container,proto3,oneof"`
571 }
572
573 type Runnable_Script_ struct {
574 // Script runnable.
575 Script *Runnable_Script `protobuf:"bytes,2,opt,name=script,proto3,oneof"`
576 }
577
578 type Runnable_Barrier_ struct {
579 // Barrier runnable.
580 Barrier *Runnable_Barrier `protobuf:"bytes,6,opt,name=barrier,proto3,oneof"`
581 }
582
583 func (*Runnable_Container_) isRunnable_Executable() {}
584
585 func (*Runnable_Script_) isRunnable_Executable() {}
586
587 func (*Runnable_Barrier_) isRunnable_Executable() {}
588
589 // Spec of a task
590 type TaskSpec struct {
591 state protoimpl.MessageState
592 sizeCache protoimpl.SizeCache
593 unknownFields protoimpl.UnknownFields
594
595 // The sequence of scripts or containers to run for this Task. Each Task using
596 // this TaskSpec executes its list of runnables in order. The Task succeeds if
597 // all of its runnables either exit with a zero status or any that exit with a
598 // non-zero status have the ignore_exit_status flag.
599 //
600 // Background runnables are killed automatically (if they have not already
601 // exited) a short time after all foreground runnables have completed. Even
602 // though this is likely to result in a non-zero exit status for the
603 // background runnable, these automatic kills are not treated as Task
604 // failures.
605 Runnables []*Runnable `protobuf:"bytes,8,rep,name=runnables,proto3" json:"runnables,omitempty"`
606 // ComputeResource requirements.
607 ComputeResource *ComputeResource `protobuf:"bytes,3,opt,name=compute_resource,json=computeResource,proto3" json:"compute_resource,omitempty"`
608 // Maximum duration the task should run.
609 // The task will be killed and marked as FAILED if over this limit.
610 MaxRunDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=max_run_duration,json=maxRunDuration,proto3" json:"max_run_duration,omitempty"`
611 // Maximum number of retries on failures.
612 // The default, 0, which means never retry.
613 // The valid value range is [0, 10].
614 MaxRetryCount int32 `protobuf:"varint,5,opt,name=max_retry_count,json=maxRetryCount,proto3" json:"max_retry_count,omitempty"`
615 // Lifecycle management schema when any task in a task group is failed.
616 // The valid size of lifecycle policies are [0, 10].
617 // For each lifecycle policy, when the condition is met,
618 // the action in that policy will execute.
619 // If there are multiple policies that the task execution result matches,
620 // we use the action from the first matched policy. If task execution result
621 // does not meet with any of the defined lifecycle policy, we consider it as
622 // the default policy. Default policy means if the exit code is 0, exit task.
623 // If task ends with non-zero exit code, retry the task with max_retry_count.
624 LifecyclePolicies []*LifecyclePolicy `protobuf:"bytes,9,rep,name=lifecycle_policies,json=lifecyclePolicies,proto3" json:"lifecycle_policies,omitempty"`
625 // Deprecated: please use environment(non-plural) instead.
626 //
627 // Deprecated: Do not use.
628 Environments map[string]string `protobuf:"bytes,6,rep,name=environments,proto3" json:"environments,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
629 // Volumes to mount before running Tasks using this TaskSpec.
630 Volumes []*Volume `protobuf:"bytes,7,rep,name=volumes,proto3" json:"volumes,omitempty"`
631 // Environment variables to set before running the Task.
632 Environment *Environment `protobuf:"bytes,10,opt,name=environment,proto3" json:"environment,omitempty"`
633 }
634
635 func (x *TaskSpec) Reset() {
636 *x = TaskSpec{}
637 if protoimpl.UnsafeEnabled {
638 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[5]
639 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
640 ms.StoreMessageInfo(mi)
641 }
642 }
643
644 func (x *TaskSpec) String() string {
645 return protoimpl.X.MessageStringOf(x)
646 }
647
648 func (*TaskSpec) ProtoMessage() {}
649
650 func (x *TaskSpec) ProtoReflect() protoreflect.Message {
651 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[5]
652 if protoimpl.UnsafeEnabled && x != nil {
653 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
654 if ms.LoadMessageInfo() == nil {
655 ms.StoreMessageInfo(mi)
656 }
657 return ms
658 }
659 return mi.MessageOf(x)
660 }
661
662 // Deprecated: Use TaskSpec.ProtoReflect.Descriptor instead.
663 func (*TaskSpec) Descriptor() ([]byte, []int) {
664 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{5}
665 }
666
667 func (x *TaskSpec) GetRunnables() []*Runnable {
668 if x != nil {
669 return x.Runnables
670 }
671 return nil
672 }
673
674 func (x *TaskSpec) GetComputeResource() *ComputeResource {
675 if x != nil {
676 return x.ComputeResource
677 }
678 return nil
679 }
680
681 func (x *TaskSpec) GetMaxRunDuration() *durationpb.Duration {
682 if x != nil {
683 return x.MaxRunDuration
684 }
685 return nil
686 }
687
688 func (x *TaskSpec) GetMaxRetryCount() int32 {
689 if x != nil {
690 return x.MaxRetryCount
691 }
692 return 0
693 }
694
695 func (x *TaskSpec) GetLifecyclePolicies() []*LifecyclePolicy {
696 if x != nil {
697 return x.LifecyclePolicies
698 }
699 return nil
700 }
701
702 // Deprecated: Do not use.
703 func (x *TaskSpec) GetEnvironments() map[string]string {
704 if x != nil {
705 return x.Environments
706 }
707 return nil
708 }
709
710 func (x *TaskSpec) GetVolumes() []*Volume {
711 if x != nil {
712 return x.Volumes
713 }
714 return nil
715 }
716
717 func (x *TaskSpec) GetEnvironment() *Environment {
718 if x != nil {
719 return x.Environment
720 }
721 return nil
722 }
723
724 // LifecyclePolicy describes how to deal with task failures
725 // based on different conditions.
726 type LifecyclePolicy struct {
727 state protoimpl.MessageState
728 sizeCache protoimpl.SizeCache
729 unknownFields protoimpl.UnknownFields
730
731 // Action to execute when ActionCondition is true.
732 Action LifecyclePolicy_Action `protobuf:"varint,1,opt,name=action,proto3,enum=google.cloud.batch.v1alpha.LifecyclePolicy_Action" json:"action,omitempty"`
733 // Conditions that decide why a task failure is dealt with a specific action.
734 ActionCondition *LifecyclePolicy_ActionCondition `protobuf:"bytes,2,opt,name=action_condition,json=actionCondition,proto3" json:"action_condition,omitempty"`
735 }
736
737 func (x *LifecyclePolicy) Reset() {
738 *x = LifecyclePolicy{}
739 if protoimpl.UnsafeEnabled {
740 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[6]
741 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
742 ms.StoreMessageInfo(mi)
743 }
744 }
745
746 func (x *LifecyclePolicy) String() string {
747 return protoimpl.X.MessageStringOf(x)
748 }
749
750 func (*LifecyclePolicy) ProtoMessage() {}
751
752 func (x *LifecyclePolicy) ProtoReflect() protoreflect.Message {
753 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[6]
754 if protoimpl.UnsafeEnabled && x != nil {
755 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
756 if ms.LoadMessageInfo() == nil {
757 ms.StoreMessageInfo(mi)
758 }
759 return ms
760 }
761 return mi.MessageOf(x)
762 }
763
764 // Deprecated: Use LifecyclePolicy.ProtoReflect.Descriptor instead.
765 func (*LifecyclePolicy) Descriptor() ([]byte, []int) {
766 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{6}
767 }
768
769 func (x *LifecyclePolicy) GetAction() LifecyclePolicy_Action {
770 if x != nil {
771 return x.Action
772 }
773 return LifecyclePolicy_ACTION_UNSPECIFIED
774 }
775
776 func (x *LifecyclePolicy) GetActionCondition() *LifecyclePolicy_ActionCondition {
777 if x != nil {
778 return x.ActionCondition
779 }
780 return nil
781 }
782
783 // A Cloud Batch task.
784 type Task struct {
785 state protoimpl.MessageState
786 sizeCache protoimpl.SizeCache
787 unknownFields protoimpl.UnknownFields
788
789 // Task name.
790 // The name is generated from the parent TaskGroup name and 'id' field.
791 // For example:
792 // "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01".
793 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
794 // Task Status.
795 Status *TaskStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
796 }
797
798 func (x *Task) Reset() {
799 *x = Task{}
800 if protoimpl.UnsafeEnabled {
801 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[7]
802 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
803 ms.StoreMessageInfo(mi)
804 }
805 }
806
807 func (x *Task) String() string {
808 return protoimpl.X.MessageStringOf(x)
809 }
810
811 func (*Task) ProtoMessage() {}
812
813 func (x *Task) ProtoReflect() protoreflect.Message {
814 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[7]
815 if protoimpl.UnsafeEnabled && x != nil {
816 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
817 if ms.LoadMessageInfo() == nil {
818 ms.StoreMessageInfo(mi)
819 }
820 return ms
821 }
822 return mi.MessageOf(x)
823 }
824
825 // Deprecated: Use Task.ProtoReflect.Descriptor instead.
826 func (*Task) Descriptor() ([]byte, []int) {
827 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{7}
828 }
829
830 func (x *Task) GetName() string {
831 if x != nil {
832 return x.Name
833 }
834 return ""
835 }
836
837 func (x *Task) GetStatus() *TaskStatus {
838 if x != nil {
839 return x.Status
840 }
841 return nil
842 }
843
844 // An Environment describes a collection of environment variables to set when
845 // executing Tasks.
846 type Environment struct {
847 state protoimpl.MessageState
848 sizeCache protoimpl.SizeCache
849 unknownFields protoimpl.UnknownFields
850
851 // A map of environment variable names to values.
852 Variables map[string]string `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
853 // A map of environment variable names to Secret Manager secret names.
854 // The VM will access the named secrets to set the value of each environment
855 // variable.
856 SecretVariables map[string]string `protobuf:"bytes,2,rep,name=secret_variables,json=secretVariables,proto3" json:"secret_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
857 // An encrypted JSON dictionary where the key/value pairs correspond to
858 // environment variable names and their values.
859 EncryptedVariables *Environment_KMSEnvMap `protobuf:"bytes,3,opt,name=encrypted_variables,json=encryptedVariables,proto3" json:"encrypted_variables,omitempty"`
860 }
861
862 func (x *Environment) Reset() {
863 *x = Environment{}
864 if protoimpl.UnsafeEnabled {
865 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[8]
866 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
867 ms.StoreMessageInfo(mi)
868 }
869 }
870
871 func (x *Environment) String() string {
872 return protoimpl.X.MessageStringOf(x)
873 }
874
875 func (*Environment) ProtoMessage() {}
876
877 func (x *Environment) ProtoReflect() protoreflect.Message {
878 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[8]
879 if protoimpl.UnsafeEnabled && x != nil {
880 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
881 if ms.LoadMessageInfo() == nil {
882 ms.StoreMessageInfo(mi)
883 }
884 return ms
885 }
886 return mi.MessageOf(x)
887 }
888
889 // Deprecated: Use Environment.ProtoReflect.Descriptor instead.
890 func (*Environment) Descriptor() ([]byte, []int) {
891 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{8}
892 }
893
894 func (x *Environment) GetVariables() map[string]string {
895 if x != nil {
896 return x.Variables
897 }
898 return nil
899 }
900
901 func (x *Environment) GetSecretVariables() map[string]string {
902 if x != nil {
903 return x.SecretVariables
904 }
905 return nil
906 }
907
908 func (x *Environment) GetEncryptedVariables() *Environment_KMSEnvMap {
909 if x != nil {
910 return x.EncryptedVariables
911 }
912 return nil
913 }
914
915 // Container runnable.
916 type Runnable_Container struct {
917 state protoimpl.MessageState
918 sizeCache protoimpl.SizeCache
919 unknownFields protoimpl.UnknownFields
920
921 // The URI to pull the container image from.
922 ImageUri string `protobuf:"bytes,1,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
923 // Overrides the `CMD` specified in the container. If there is an ENTRYPOINT
924 // (either in the container image or with the entrypoint field below) then
925 // commands are appended as arguments to the ENTRYPOINT.
926 Commands []string `protobuf:"bytes,2,rep,name=commands,proto3" json:"commands,omitempty"`
927 // Overrides the `ENTRYPOINT` specified in the container.
928 Entrypoint string `protobuf:"bytes,3,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
929 // Volumes to mount (bind mount) from the host machine files or directories
930 // into the container, formatted to match docker run's --volume option,
931 // e.g. /foo:/bar, or /foo:/bar:ro
932 Volumes []string `protobuf:"bytes,7,rep,name=volumes,proto3" json:"volumes,omitempty"`
933 // Arbitrary additional options to include in the "docker run" command when
934 // running this container, e.g. "--network host".
935 Options string `protobuf:"bytes,8,opt,name=options,proto3" json:"options,omitempty"`
936 // If set to true, external network access to and from container will be
937 // blocked. The container will use the default internal network
938 // 'goog-internal'.
939 BlockExternalNetwork bool `protobuf:"varint,9,opt,name=block_external_network,json=blockExternalNetwork,proto3" json:"block_external_network,omitempty"`
940 // Optional username for logging in to a docker registry. If username
941 // matches `projects/*/secrets/*/versions/*` then Batch will read the
942 // username from the Secret Manager.
943 Username string `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty"`
944 // Optional password for logging in to a docker registry. If password
945 // matches `projects/*/secrets/*/versions/*` then Batch will read the
946 // password from the Secret Manager;
947 Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"`
948 }
949
950 func (x *Runnable_Container) Reset() {
951 *x = Runnable_Container{}
952 if protoimpl.UnsafeEnabled {
953 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[9]
954 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
955 ms.StoreMessageInfo(mi)
956 }
957 }
958
959 func (x *Runnable_Container) String() string {
960 return protoimpl.X.MessageStringOf(x)
961 }
962
963 func (*Runnable_Container) ProtoMessage() {}
964
965 func (x *Runnable_Container) ProtoReflect() protoreflect.Message {
966 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[9]
967 if protoimpl.UnsafeEnabled && x != nil {
968 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
969 if ms.LoadMessageInfo() == nil {
970 ms.StoreMessageInfo(mi)
971 }
972 return ms
973 }
974 return mi.MessageOf(x)
975 }
976
977 // Deprecated: Use Runnable_Container.ProtoReflect.Descriptor instead.
978 func (*Runnable_Container) Descriptor() ([]byte, []int) {
979 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{4, 0}
980 }
981
982 func (x *Runnable_Container) GetImageUri() string {
983 if x != nil {
984 return x.ImageUri
985 }
986 return ""
987 }
988
989 func (x *Runnable_Container) GetCommands() []string {
990 if x != nil {
991 return x.Commands
992 }
993 return nil
994 }
995
996 func (x *Runnable_Container) GetEntrypoint() string {
997 if x != nil {
998 return x.Entrypoint
999 }
1000 return ""
1001 }
1002
1003 func (x *Runnable_Container) GetVolumes() []string {
1004 if x != nil {
1005 return x.Volumes
1006 }
1007 return nil
1008 }
1009
1010 func (x *Runnable_Container) GetOptions() string {
1011 if x != nil {
1012 return x.Options
1013 }
1014 return ""
1015 }
1016
1017 func (x *Runnable_Container) GetBlockExternalNetwork() bool {
1018 if x != nil {
1019 return x.BlockExternalNetwork
1020 }
1021 return false
1022 }
1023
1024 func (x *Runnable_Container) GetUsername() string {
1025 if x != nil {
1026 return x.Username
1027 }
1028 return ""
1029 }
1030
1031 func (x *Runnable_Container) GetPassword() string {
1032 if x != nil {
1033 return x.Password
1034 }
1035 return ""
1036 }
1037
1038 // Script runnable.
1039 type Runnable_Script struct {
1040 state protoimpl.MessageState
1041 sizeCache protoimpl.SizeCache
1042 unknownFields protoimpl.UnknownFields
1043
1044 // Types that are assignable to Command:
1045 //
1046 // *Runnable_Script_Path
1047 // *Runnable_Script_Text
1048 Command isRunnable_Script_Command `protobuf_oneof:"command"`
1049 }
1050
1051 func (x *Runnable_Script) Reset() {
1052 *x = Runnable_Script{}
1053 if protoimpl.UnsafeEnabled {
1054 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[10]
1055 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1056 ms.StoreMessageInfo(mi)
1057 }
1058 }
1059
1060 func (x *Runnable_Script) String() string {
1061 return protoimpl.X.MessageStringOf(x)
1062 }
1063
1064 func (*Runnable_Script) ProtoMessage() {}
1065
1066 func (x *Runnable_Script) ProtoReflect() protoreflect.Message {
1067 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[10]
1068 if protoimpl.UnsafeEnabled && x != nil {
1069 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1070 if ms.LoadMessageInfo() == nil {
1071 ms.StoreMessageInfo(mi)
1072 }
1073 return ms
1074 }
1075 return mi.MessageOf(x)
1076 }
1077
1078 // Deprecated: Use Runnable_Script.ProtoReflect.Descriptor instead.
1079 func (*Runnable_Script) Descriptor() ([]byte, []int) {
1080 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{4, 1}
1081 }
1082
1083 func (m *Runnable_Script) GetCommand() isRunnable_Script_Command {
1084 if m != nil {
1085 return m.Command
1086 }
1087 return nil
1088 }
1089
1090 func (x *Runnable_Script) GetPath() string {
1091 if x, ok := x.GetCommand().(*Runnable_Script_Path); ok {
1092 return x.Path
1093 }
1094 return ""
1095 }
1096
1097 func (x *Runnable_Script) GetText() string {
1098 if x, ok := x.GetCommand().(*Runnable_Script_Text); ok {
1099 return x.Text
1100 }
1101 return ""
1102 }
1103
1104 type isRunnable_Script_Command interface {
1105 isRunnable_Script_Command()
1106 }
1107
1108 type Runnable_Script_Path struct {
1109 // Script file path on the host VM.
1110 Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
1111 }
1112
1113 type Runnable_Script_Text struct {
1114 // Shell script text.
1115 Text string `protobuf:"bytes,2,opt,name=text,proto3,oneof"`
1116 }
1117
1118 func (*Runnable_Script_Path) isRunnable_Script_Command() {}
1119
1120 func (*Runnable_Script_Text) isRunnable_Script_Command() {}
1121
1122 // Barrier runnable blocks until all tasks in a taskgroup reach it.
1123 type Runnable_Barrier struct {
1124 state protoimpl.MessageState
1125 sizeCache protoimpl.SizeCache
1126 unknownFields protoimpl.UnknownFields
1127
1128 // Barriers are identified by their index in runnable list.
1129 // Names are not required, but if present should be an identifier.
1130 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1131 }
1132
1133 func (x *Runnable_Barrier) Reset() {
1134 *x = Runnable_Barrier{}
1135 if protoimpl.UnsafeEnabled {
1136 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[11]
1137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1138 ms.StoreMessageInfo(mi)
1139 }
1140 }
1141
1142 func (x *Runnable_Barrier) String() string {
1143 return protoimpl.X.MessageStringOf(x)
1144 }
1145
1146 func (*Runnable_Barrier) ProtoMessage() {}
1147
1148 func (x *Runnable_Barrier) ProtoReflect() protoreflect.Message {
1149 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[11]
1150 if protoimpl.UnsafeEnabled && x != nil {
1151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1152 if ms.LoadMessageInfo() == nil {
1153 ms.StoreMessageInfo(mi)
1154 }
1155 return ms
1156 }
1157 return mi.MessageOf(x)
1158 }
1159
1160 // Deprecated: Use Runnable_Barrier.ProtoReflect.Descriptor instead.
1161 func (*Runnable_Barrier) Descriptor() ([]byte, []int) {
1162 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{4, 2}
1163 }
1164
1165 func (x *Runnable_Barrier) GetName() string {
1166 if x != nil {
1167 return x.Name
1168 }
1169 return ""
1170 }
1171
1172 // Conditions for actions to deal with task failures.
1173 type LifecyclePolicy_ActionCondition struct {
1174 state protoimpl.MessageState
1175 sizeCache protoimpl.SizeCache
1176 unknownFields protoimpl.UnknownFields
1177
1178 // Exit codes of a task execution.
1179 // If there are more than 1 exit codes,
1180 // when task executes with any of the exit code in the list,
1181 // the condition is met and the action will be executed.
1182 ExitCodes []int32 `protobuf:"varint,1,rep,packed,name=exit_codes,json=exitCodes,proto3" json:"exit_codes,omitempty"`
1183 }
1184
1185 func (x *LifecyclePolicy_ActionCondition) Reset() {
1186 *x = LifecyclePolicy_ActionCondition{}
1187 if protoimpl.UnsafeEnabled {
1188 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[14]
1189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1190 ms.StoreMessageInfo(mi)
1191 }
1192 }
1193
1194 func (x *LifecyclePolicy_ActionCondition) String() string {
1195 return protoimpl.X.MessageStringOf(x)
1196 }
1197
1198 func (*LifecyclePolicy_ActionCondition) ProtoMessage() {}
1199
1200 func (x *LifecyclePolicy_ActionCondition) ProtoReflect() protoreflect.Message {
1201 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[14]
1202 if protoimpl.UnsafeEnabled && x != nil {
1203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1204 if ms.LoadMessageInfo() == nil {
1205 ms.StoreMessageInfo(mi)
1206 }
1207 return ms
1208 }
1209 return mi.MessageOf(x)
1210 }
1211
1212 // Deprecated: Use LifecyclePolicy_ActionCondition.ProtoReflect.Descriptor instead.
1213 func (*LifecyclePolicy_ActionCondition) Descriptor() ([]byte, []int) {
1214 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{6, 0}
1215 }
1216
1217 func (x *LifecyclePolicy_ActionCondition) GetExitCodes() []int32 {
1218 if x != nil {
1219 return x.ExitCodes
1220 }
1221 return nil
1222 }
1223
1224 type Environment_KMSEnvMap struct {
1225 state protoimpl.MessageState
1226 sizeCache protoimpl.SizeCache
1227 unknownFields protoimpl.UnknownFields
1228
1229 // The name of the KMS key that will be used to decrypt the cipher text.
1230 KeyName string `protobuf:"bytes,1,opt,name=key_name,json=keyName,proto3" json:"key_name,omitempty"`
1231 // The value of the cipherText response from the `encrypt` method.
1232 CipherText string `protobuf:"bytes,2,opt,name=cipher_text,json=cipherText,proto3" json:"cipher_text,omitempty"`
1233 }
1234
1235 func (x *Environment_KMSEnvMap) Reset() {
1236 *x = Environment_KMSEnvMap{}
1237 if protoimpl.UnsafeEnabled {
1238 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[15]
1239 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1240 ms.StoreMessageInfo(mi)
1241 }
1242 }
1243
1244 func (x *Environment_KMSEnvMap) String() string {
1245 return protoimpl.X.MessageStringOf(x)
1246 }
1247
1248 func (*Environment_KMSEnvMap) ProtoMessage() {}
1249
1250 func (x *Environment_KMSEnvMap) ProtoReflect() protoreflect.Message {
1251 mi := &file_google_cloud_batch_v1alpha_task_proto_msgTypes[15]
1252 if protoimpl.UnsafeEnabled && x != nil {
1253 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1254 if ms.LoadMessageInfo() == nil {
1255 ms.StoreMessageInfo(mi)
1256 }
1257 return ms
1258 }
1259 return mi.MessageOf(x)
1260 }
1261
1262 // Deprecated: Use Environment_KMSEnvMap.ProtoReflect.Descriptor instead.
1263 func (*Environment_KMSEnvMap) Descriptor() ([]byte, []int) {
1264 return file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP(), []int{8, 0}
1265 }
1266
1267 func (x *Environment_KMSEnvMap) GetKeyName() string {
1268 if x != nil {
1269 return x.KeyName
1270 }
1271 return ""
1272 }
1273
1274 func (x *Environment_KMSEnvMap) GetCipherText() string {
1275 if x != nil {
1276 return x.CipherText
1277 }
1278 return ""
1279 }
1280
1281 var File_google_cloud_batch_v1alpha_task_proto protoreflect.FileDescriptor
1282
1283 var file_google_cloud_batch_v1alpha_task_proto_rawDesc = []byte{
1284 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
1285 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73,
1286 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1287 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c,
1288 0x70, 0x68, 0x61, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
1289 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27,
1290 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x61, 0x74,
1291 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
1292 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
1293 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
1294 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
1295 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
1296 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d,
1297 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09,
1298 0x63, 0x70, 0x75, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
1299 0x08, 0x63, 0x70, 0x75, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x6d,
1300 0x6f, 0x72, 0x79, 0x5f, 0x6d, 0x69, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6d,
1301 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x69, 0x62, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x70, 0x75, 0x5f,
1302 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x67, 0x70, 0x75,
1303 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x62, 0x6f, 0x6f, 0x74, 0x5f, 0x64, 0x69,
1304 0x73, 0x6b, 0x5f, 0x6d, 0x69, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6f,
1305 0x6f, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4d, 0x69, 0x62, 0x22, 0xd0, 0x01, 0x0a, 0x0b, 0x53, 0x74,
1306 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
1307 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a,
1308 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
1309 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
1310 0x39, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20,
1311 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1312 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
1313 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x0e, 0x74, 0x61,
1314 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01,
1315 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1316 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
1317 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x74,
1318 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x0a, 0x0d,
1319 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a,
1320 0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
1321 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x81, 0x02, 0x0a, 0x0a, 0x54,
1322 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x42, 0x0a, 0x05, 0x73, 0x74, 0x61,
1323 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1324 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
1325 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
1326 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4c, 0x0a,
1327 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02,
1328 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
1329 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
1330 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x73,
1331 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x61, 0x0a, 0x05, 0x53,
1332 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e,
1333 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50,
1334 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x53, 0x53, 0x49,
1335 0x47, 0x4e, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e,
1336 0x47, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12,
1337 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x05, 0x22, 0xd4,
1338 0x07, 0x0a, 0x08, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x4e, 0x0a, 0x09, 0x63,
1339 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e,
1340 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
1341 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x75, 0x6e, 0x6e,
1342 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x00,
1343 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x06, 0x73,
1344 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f,
1345 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68,
1346 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c,
1347 0x65, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x48, 0x00, 0x52, 0x06, 0x73, 0x63, 0x72, 0x69,
1348 0x70, 0x74, 0x12, 0x48, 0x0a, 0x07, 0x62, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x18, 0x06, 0x20,
1349 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1350 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
1351 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x42, 0x61, 0x72, 0x72, 0x69, 0x65,
1352 0x72, 0x48, 0x00, 0x52, 0x07, 0x62, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x12,
1353 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74,
1354 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65,
1355 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x61,
1356 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a,
1357 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6c,
1358 0x77, 0x61, 0x79, 0x73, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
1359 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x52, 0x75, 0x6e, 0x12, 0x49, 0x0a, 0x0b, 0x65, 0x6e, 0x76,
1360 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27,
1361 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
1362 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x6e, 0x76, 0x69,
1363 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e,
1364 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18,
1365 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
1366 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1367 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x48, 0x0a, 0x06, 0x6c, 0x61, 0x62,
1368 0x65, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1369 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76,
1370 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x2e,
1371 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62,
1372 0x65, 0x6c, 0x73, 0x1a, 0x86, 0x02, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
1373 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01,
1374 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x69, 0x12, 0x1a,
1375 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
1376 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e,
1377 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
1378 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x6f,
1379 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x76, 0x6f, 0x6c,
1380 0x75, 0x6d, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1381 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34,
1382 0x0a, 0x16, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
1383 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14,
1384 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x65, 0x74,
1385 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
1386 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
1387 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x0b, 0x20, 0x01,
1388 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x3f, 0x0a, 0x06,
1389 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01,
1390 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x04,
1391 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65,
1392 0x78, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x1a, 0x1d, 0x0a,
1393 0x07, 0x42, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1394 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x39, 0x0a, 0x0b,
1395 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
1396 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
1397 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
1398 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75,
1399 0x74, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x99, 0x05, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70,
1400 0x65, 0x63, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18,
1401 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1402 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
1403 0x68, 0x61, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x09, 0x72, 0x75, 0x6e,
1404 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74,
1405 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
1406 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1407 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f,
1408 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0f, 0x63,
1409 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x43,
1410 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
1411 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1412 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74,
1413 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x52, 0x75, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74,
1414 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79,
1415 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61,
1416 0x78, 0x52, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x12, 0x6c,
1417 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
1418 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1419 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61,
1420 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x50, 0x6f,
1421 0x6c, 0x69, 0x63, 0x79, 0x52, 0x11, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x50,
1422 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x5e, 0x0a, 0x0c, 0x65, 0x6e, 0x76, 0x69, 0x72,
1423 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e,
1424 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74,
1425 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53,
1426 0x70, 0x65, 0x63, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73,
1427 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x65, 0x6e, 0x76, 0x69, 0x72,
1428 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
1429 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1430 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
1431 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x07, 0x76, 0x6f,
1432 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x49, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e,
1433 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f,
1434 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e,
1435 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d,
1436 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
1437 0x1a, 0x3f, 0x0a, 0x11, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73,
1438 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
1439 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
1440 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
1441 0x01, 0x22, 0xb8, 0x02, 0x0a, 0x0f, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x50,
1442 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4a, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
1443 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1444 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
1445 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69,
1446 0x63, 0x79, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f,
1447 0x6e, 0x12, 0x66, 0x0a, 0x10, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x64,
1448 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f,
1449 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68,
1450 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63,
1451 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43,
1452 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1453 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x30, 0x0a, 0x0f, 0x41, 0x63, 0x74,
1454 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a,
1455 0x65, 0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05,
1456 0x52, 0x09, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x06, 0x41,
1457 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f,
1458 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a,
1459 0x0a, 0x52, 0x45, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x10, 0x01, 0x12, 0x0d, 0x0a,
1460 0x09, 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x10, 0x02, 0x22, 0xd3, 0x01, 0x0a,
1461 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
1462 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61,
1463 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1464 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76,
1465 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75,
1466 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x77, 0xea, 0x41, 0x74, 0x0a, 0x19,
1467 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
1468 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x57, 0x70, 0x72, 0x6f, 0x6a, 0x65,
1469 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f,
1470 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
1471 0x6e, 0x7d, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x6a, 0x6f, 0x62, 0x7d, 0x2f, 0x74, 0x61,
1472 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x67,
1473 0x72, 0x6f, 0x75, 0x70, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x73,
1474 0x6b, 0x7d, 0x22, 0xfb, 0x03, 0x0a, 0x0b, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65,
1475 0x6e, 0x74, 0x12, 0x54, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18,
1476 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1477 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
1478 0x68, 0x61, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x56,
1479 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76,
1480 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x67, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x72,
1481 0x65, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03,
1482 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1483 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
1484 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x72,
1485 0x65, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
1486 0x52, 0x0f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65,
1487 0x73, 0x12, 0x62, 0x0a, 0x13, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76,
1488 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31,
1489 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
1490 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x6e, 0x76, 0x69,
1491 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x4b, 0x4d, 0x53, 0x45, 0x6e, 0x76, 0x4d, 0x61,
1492 0x70, 0x52, 0x12, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x61, 0x72, 0x69,
1493 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x47, 0x0a, 0x09, 0x4b, 0x4d, 0x53, 0x45, 0x6e, 0x76, 0x4d,
1494 0x61, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
1495 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a,
1496 0x0b, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01,
1497 0x28, 0x09, 0x52, 0x0a, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x65, 0x78, 0x74, 0x1a, 0x3c,
1498 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
1499 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1500 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1501 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14,
1502 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45,
1503 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
1504 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
1505 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
1506 0x42, 0xce, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1507 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c,
1508 0x70, 0x68, 0x61, 0x42, 0x09, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
1509 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
1510 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
1511 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x61,
1512 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x62, 0x61, 0x74, 0x63,
1513 0x68, 0xa2, 0x02, 0x03, 0x47, 0x43, 0x42, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1514 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x56, 0x31, 0x41,
1515 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
1516 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68,
1517 0x61, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75,
1518 0x64, 0x3a, 0x3a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68,
1519 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1520 }
1521
1522 var (
1523 file_google_cloud_batch_v1alpha_task_proto_rawDescOnce sync.Once
1524 file_google_cloud_batch_v1alpha_task_proto_rawDescData = file_google_cloud_batch_v1alpha_task_proto_rawDesc
1525 )
1526
1527 func file_google_cloud_batch_v1alpha_task_proto_rawDescGZIP() []byte {
1528 file_google_cloud_batch_v1alpha_task_proto_rawDescOnce.Do(func() {
1529 file_google_cloud_batch_v1alpha_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_batch_v1alpha_task_proto_rawDescData)
1530 })
1531 return file_google_cloud_batch_v1alpha_task_proto_rawDescData
1532 }
1533
1534 var file_google_cloud_batch_v1alpha_task_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1535 var file_google_cloud_batch_v1alpha_task_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
1536 var file_google_cloud_batch_v1alpha_task_proto_goTypes = []interface{}{
1537 (TaskStatus_State)(0), // 0: google.cloud.batch.v1alpha.TaskStatus.State
1538 (LifecyclePolicy_Action)(0), // 1: google.cloud.batch.v1alpha.LifecyclePolicy.Action
1539 (*ComputeResource)(nil), // 2: google.cloud.batch.v1alpha.ComputeResource
1540 (*StatusEvent)(nil), // 3: google.cloud.batch.v1alpha.StatusEvent
1541 (*TaskExecution)(nil), // 4: google.cloud.batch.v1alpha.TaskExecution
1542 (*TaskStatus)(nil), // 5: google.cloud.batch.v1alpha.TaskStatus
1543 (*Runnable)(nil), // 6: google.cloud.batch.v1alpha.Runnable
1544 (*TaskSpec)(nil), // 7: google.cloud.batch.v1alpha.TaskSpec
1545 (*LifecyclePolicy)(nil), // 8: google.cloud.batch.v1alpha.LifecyclePolicy
1546 (*Task)(nil), // 9: google.cloud.batch.v1alpha.Task
1547 (*Environment)(nil), // 10: google.cloud.batch.v1alpha.Environment
1548 (*Runnable_Container)(nil), // 11: google.cloud.batch.v1alpha.Runnable.Container
1549 (*Runnable_Script)(nil), // 12: google.cloud.batch.v1alpha.Runnable.Script
1550 (*Runnable_Barrier)(nil), // 13: google.cloud.batch.v1alpha.Runnable.Barrier
1551 nil, // 14: google.cloud.batch.v1alpha.Runnable.LabelsEntry
1552 nil, // 15: google.cloud.batch.v1alpha.TaskSpec.EnvironmentsEntry
1553 (*LifecyclePolicy_ActionCondition)(nil), // 16: google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition
1554 (*Environment_KMSEnvMap)(nil), // 17: google.cloud.batch.v1alpha.Environment.KMSEnvMap
1555 nil, // 18: google.cloud.batch.v1alpha.Environment.VariablesEntry
1556 nil, // 19: google.cloud.batch.v1alpha.Environment.SecretVariablesEntry
1557 (*timestamppb.Timestamp)(nil), // 20: google.protobuf.Timestamp
1558 (*durationpb.Duration)(nil), // 21: google.protobuf.Duration
1559 (*Volume)(nil), // 22: google.cloud.batch.v1alpha.Volume
1560 }
1561 var file_google_cloud_batch_v1alpha_task_proto_depIdxs = []int32{
1562 20, // 0: google.cloud.batch.v1alpha.StatusEvent.event_time:type_name -> google.protobuf.Timestamp
1563 4, // 1: google.cloud.batch.v1alpha.StatusEvent.task_execution:type_name -> google.cloud.batch.v1alpha.TaskExecution
1564 0, // 2: google.cloud.batch.v1alpha.TaskStatus.state:type_name -> google.cloud.batch.v1alpha.TaskStatus.State
1565 3, // 3: google.cloud.batch.v1alpha.TaskStatus.status_events:type_name -> google.cloud.batch.v1alpha.StatusEvent
1566 11, // 4: google.cloud.batch.v1alpha.Runnable.container:type_name -> google.cloud.batch.v1alpha.Runnable.Container
1567 12, // 5: google.cloud.batch.v1alpha.Runnable.script:type_name -> google.cloud.batch.v1alpha.Runnable.Script
1568 13, // 6: google.cloud.batch.v1alpha.Runnable.barrier:type_name -> google.cloud.batch.v1alpha.Runnable.Barrier
1569 10, // 7: google.cloud.batch.v1alpha.Runnable.environment:type_name -> google.cloud.batch.v1alpha.Environment
1570 21, // 8: google.cloud.batch.v1alpha.Runnable.timeout:type_name -> google.protobuf.Duration
1571 14, // 9: google.cloud.batch.v1alpha.Runnable.labels:type_name -> google.cloud.batch.v1alpha.Runnable.LabelsEntry
1572 6, // 10: google.cloud.batch.v1alpha.TaskSpec.runnables:type_name -> google.cloud.batch.v1alpha.Runnable
1573 2, // 11: google.cloud.batch.v1alpha.TaskSpec.compute_resource:type_name -> google.cloud.batch.v1alpha.ComputeResource
1574 21, // 12: google.cloud.batch.v1alpha.TaskSpec.max_run_duration:type_name -> google.protobuf.Duration
1575 8, // 13: google.cloud.batch.v1alpha.TaskSpec.lifecycle_policies:type_name -> google.cloud.batch.v1alpha.LifecyclePolicy
1576 15, // 14: google.cloud.batch.v1alpha.TaskSpec.environments:type_name -> google.cloud.batch.v1alpha.TaskSpec.EnvironmentsEntry
1577 22, // 15: google.cloud.batch.v1alpha.TaskSpec.volumes:type_name -> google.cloud.batch.v1alpha.Volume
1578 10, // 16: google.cloud.batch.v1alpha.TaskSpec.environment:type_name -> google.cloud.batch.v1alpha.Environment
1579 1, // 17: google.cloud.batch.v1alpha.LifecyclePolicy.action:type_name -> google.cloud.batch.v1alpha.LifecyclePolicy.Action
1580 16, // 18: google.cloud.batch.v1alpha.LifecyclePolicy.action_condition:type_name -> google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition
1581 5, // 19: google.cloud.batch.v1alpha.Task.status:type_name -> google.cloud.batch.v1alpha.TaskStatus
1582 18, // 20: google.cloud.batch.v1alpha.Environment.variables:type_name -> google.cloud.batch.v1alpha.Environment.VariablesEntry
1583 19, // 21: google.cloud.batch.v1alpha.Environment.secret_variables:type_name -> google.cloud.batch.v1alpha.Environment.SecretVariablesEntry
1584 17, // 22: google.cloud.batch.v1alpha.Environment.encrypted_variables:type_name -> google.cloud.batch.v1alpha.Environment.KMSEnvMap
1585 23, // [23:23] is the sub-list for method output_type
1586 23, // [23:23] is the sub-list for method input_type
1587 23, // [23:23] is the sub-list for extension type_name
1588 23, // [23:23] is the sub-list for extension extendee
1589 0, // [0:23] is the sub-list for field type_name
1590 }
1591
1592 func init() { file_google_cloud_batch_v1alpha_task_proto_init() }
1593 func file_google_cloud_batch_v1alpha_task_proto_init() {
1594 if File_google_cloud_batch_v1alpha_task_proto != nil {
1595 return
1596 }
1597 file_google_cloud_batch_v1alpha_volume_proto_init()
1598 if !protoimpl.UnsafeEnabled {
1599 file_google_cloud_batch_v1alpha_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1600 switch v := v.(*ComputeResource); i {
1601 case 0:
1602 return &v.state
1603 case 1:
1604 return &v.sizeCache
1605 case 2:
1606 return &v.unknownFields
1607 default:
1608 return nil
1609 }
1610 }
1611 file_google_cloud_batch_v1alpha_task_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1612 switch v := v.(*StatusEvent); i {
1613 case 0:
1614 return &v.state
1615 case 1:
1616 return &v.sizeCache
1617 case 2:
1618 return &v.unknownFields
1619 default:
1620 return nil
1621 }
1622 }
1623 file_google_cloud_batch_v1alpha_task_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1624 switch v := v.(*TaskExecution); i {
1625 case 0:
1626 return &v.state
1627 case 1:
1628 return &v.sizeCache
1629 case 2:
1630 return &v.unknownFields
1631 default:
1632 return nil
1633 }
1634 }
1635 file_google_cloud_batch_v1alpha_task_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1636 switch v := v.(*TaskStatus); i {
1637 case 0:
1638 return &v.state
1639 case 1:
1640 return &v.sizeCache
1641 case 2:
1642 return &v.unknownFields
1643 default:
1644 return nil
1645 }
1646 }
1647 file_google_cloud_batch_v1alpha_task_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1648 switch v := v.(*Runnable); i {
1649 case 0:
1650 return &v.state
1651 case 1:
1652 return &v.sizeCache
1653 case 2:
1654 return &v.unknownFields
1655 default:
1656 return nil
1657 }
1658 }
1659 file_google_cloud_batch_v1alpha_task_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1660 switch v := v.(*TaskSpec); i {
1661 case 0:
1662 return &v.state
1663 case 1:
1664 return &v.sizeCache
1665 case 2:
1666 return &v.unknownFields
1667 default:
1668 return nil
1669 }
1670 }
1671 file_google_cloud_batch_v1alpha_task_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1672 switch v := v.(*LifecyclePolicy); i {
1673 case 0:
1674 return &v.state
1675 case 1:
1676 return &v.sizeCache
1677 case 2:
1678 return &v.unknownFields
1679 default:
1680 return nil
1681 }
1682 }
1683 file_google_cloud_batch_v1alpha_task_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1684 switch v := v.(*Task); i {
1685 case 0:
1686 return &v.state
1687 case 1:
1688 return &v.sizeCache
1689 case 2:
1690 return &v.unknownFields
1691 default:
1692 return nil
1693 }
1694 }
1695 file_google_cloud_batch_v1alpha_task_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1696 switch v := v.(*Environment); i {
1697 case 0:
1698 return &v.state
1699 case 1:
1700 return &v.sizeCache
1701 case 2:
1702 return &v.unknownFields
1703 default:
1704 return nil
1705 }
1706 }
1707 file_google_cloud_batch_v1alpha_task_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1708 switch v := v.(*Runnable_Container); i {
1709 case 0:
1710 return &v.state
1711 case 1:
1712 return &v.sizeCache
1713 case 2:
1714 return &v.unknownFields
1715 default:
1716 return nil
1717 }
1718 }
1719 file_google_cloud_batch_v1alpha_task_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1720 switch v := v.(*Runnable_Script); i {
1721 case 0:
1722 return &v.state
1723 case 1:
1724 return &v.sizeCache
1725 case 2:
1726 return &v.unknownFields
1727 default:
1728 return nil
1729 }
1730 }
1731 file_google_cloud_batch_v1alpha_task_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1732 switch v := v.(*Runnable_Barrier); i {
1733 case 0:
1734 return &v.state
1735 case 1:
1736 return &v.sizeCache
1737 case 2:
1738 return &v.unknownFields
1739 default:
1740 return nil
1741 }
1742 }
1743 file_google_cloud_batch_v1alpha_task_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
1744 switch v := v.(*LifecyclePolicy_ActionCondition); i {
1745 case 0:
1746 return &v.state
1747 case 1:
1748 return &v.sizeCache
1749 case 2:
1750 return &v.unknownFields
1751 default:
1752 return nil
1753 }
1754 }
1755 file_google_cloud_batch_v1alpha_task_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
1756 switch v := v.(*Environment_KMSEnvMap); i {
1757 case 0:
1758 return &v.state
1759 case 1:
1760 return &v.sizeCache
1761 case 2:
1762 return &v.unknownFields
1763 default:
1764 return nil
1765 }
1766 }
1767 }
1768 file_google_cloud_batch_v1alpha_task_proto_msgTypes[4].OneofWrappers = []interface{}{
1769 (*Runnable_Container_)(nil),
1770 (*Runnable_Script_)(nil),
1771 (*Runnable_Barrier_)(nil),
1772 }
1773 file_google_cloud_batch_v1alpha_task_proto_msgTypes[10].OneofWrappers = []interface{}{
1774 (*Runnable_Script_Path)(nil),
1775 (*Runnable_Script_Text)(nil),
1776 }
1777 type x struct{}
1778 out := protoimpl.TypeBuilder{
1779 File: protoimpl.DescBuilder{
1780 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1781 RawDescriptor: file_google_cloud_batch_v1alpha_task_proto_rawDesc,
1782 NumEnums: 2,
1783 NumMessages: 18,
1784 NumExtensions: 0,
1785 NumServices: 0,
1786 },
1787 GoTypes: file_google_cloud_batch_v1alpha_task_proto_goTypes,
1788 DependencyIndexes: file_google_cloud_batch_v1alpha_task_proto_depIdxs,
1789 EnumInfos: file_google_cloud_batch_v1alpha_task_proto_enumTypes,
1790 MessageInfos: file_google_cloud_batch_v1alpha_task_proto_msgTypes,
1791 }.Build()
1792 File_google_cloud_batch_v1alpha_task_proto = out.File
1793 file_google_cloud_batch_v1alpha_task_proto_rawDesc = nil
1794 file_google_cloud_batch_v1alpha_task_proto_goTypes = nil
1795 file_google_cloud_batch_v1alpha_task_proto_depIdxs = nil
1796 }