Debian Codegraph @

googleapis/cloud/batch/v1alpha1/job.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.12.2
19 // source: google/cloud/batch/v1alpha1/job.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 // The order that TaskGroups are scheduled relative to each other.
42 //
43 // [NotImplemented]
44 type Job_SchedulingPolicy int32
45
46 const (
47 // Unspecified.
48 Job_SCHEDULING_POLICY_UNSPECIFIED Job_SchedulingPolicy = 0
49 // Run all TaskGroups as soon as possible.
50 Job_AS_SOON_AS_POSSIBLE Job_SchedulingPolicy = 1
51 )
52
53 // Enum value maps for Job_SchedulingPolicy.
54 var (
55 Job_SchedulingPolicy_name = map[int32]string{
56 0: "SCHEDULING_POLICY_UNSPECIFIED",
57 1: "AS_SOON_AS_POSSIBLE",
58 }
59 Job_SchedulingPolicy_value = map[string]int32{
60 "SCHEDULING_POLICY_UNSPECIFIED": 0,
61 "AS_SOON_AS_POSSIBLE": 1,
62 }
63 )
64
65 func (x Job_SchedulingPolicy) Enum() *Job_SchedulingPolicy {
66 p := new(Job_SchedulingPolicy)
67 *p = x
68 return p
69 }
70
71 func (x Job_SchedulingPolicy) String() string {
72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73 }
74
75 func (Job_SchedulingPolicy) Descriptor() protoreflect.EnumDescriptor {
76 return file_google_cloud_batch_v1alpha1_job_proto_enumTypes[0].Descriptor()
77 }
78
79 func (Job_SchedulingPolicy) Type() protoreflect.EnumType {
80 return &file_google_cloud_batch_v1alpha1_job_proto_enumTypes[0]
81 }
82
83 func (x Job_SchedulingPolicy) Number() protoreflect.EnumNumber {
84 return protoreflect.EnumNumber(x)
85 }
86
87 // Deprecated: Use Job_SchedulingPolicy.Descriptor instead.
88 func (Job_SchedulingPolicy) EnumDescriptor() ([]byte, []int) {
89 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{0, 0}
90 }
91
92 // The destination (if any) for logs.
93 type LogsPolicy_Destination int32
94
95 const (
96 // Logs are not preserved.
97 LogsPolicy_DESTINATION_UNSPECIFIED LogsPolicy_Destination = 0
98 // Logs are streamed to Cloud Logging.
99 LogsPolicy_CLOUD_LOGGING LogsPolicy_Destination = 1
100 // Logs are saved to a path.
101 LogsPolicy_PATH LogsPolicy_Destination = 2
102 )
103
104 // Enum value maps for LogsPolicy_Destination.
105 var (
106 LogsPolicy_Destination_name = map[int32]string{
107 0: "DESTINATION_UNSPECIFIED",
108 1: "CLOUD_LOGGING",
109 2: "PATH",
110 }
111 LogsPolicy_Destination_value = map[string]int32{
112 "DESTINATION_UNSPECIFIED": 0,
113 "CLOUD_LOGGING": 1,
114 "PATH": 2,
115 }
116 )
117
118 func (x LogsPolicy_Destination) Enum() *LogsPolicy_Destination {
119 p := new(LogsPolicy_Destination)
120 *p = x
121 return p
122 }
123
124 func (x LogsPolicy_Destination) String() string {
125 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
126 }
127
128 func (LogsPolicy_Destination) Descriptor() protoreflect.EnumDescriptor {
129 return file_google_cloud_batch_v1alpha1_job_proto_enumTypes[1].Descriptor()
130 }
131
132 func (LogsPolicy_Destination) Type() protoreflect.EnumType {
133 return &file_google_cloud_batch_v1alpha1_job_proto_enumTypes[1]
134 }
135
136 func (x LogsPolicy_Destination) Number() protoreflect.EnumNumber {
137 return protoreflect.EnumNumber(x)
138 }
139
140 // Deprecated: Use LogsPolicy_Destination.Descriptor instead.
141 func (LogsPolicy_Destination) EnumDescriptor() ([]byte, []int) {
142 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{1, 0}
143 }
144
145 // Dependency type.
146 type JobDependency_Type int32
147
148 const (
149 // Unspecified.
150 JobDependency_TYPE_UNSPECIFIED JobDependency_Type = 0
151 // The dependent Job has succeeded.
152 JobDependency_SUCCEEDED JobDependency_Type = 1
153 // The dependent Job has failed.
154 JobDependency_FAILED JobDependency_Type = 2
155 // SUCCEEDED or FAILED.
156 JobDependency_FINISHED JobDependency_Type = 3
157 )
158
159 // Enum value maps for JobDependency_Type.
160 var (
161 JobDependency_Type_name = map[int32]string{
162 0: "TYPE_UNSPECIFIED",
163 1: "SUCCEEDED",
164 2: "FAILED",
165 3: "FINISHED",
166 }
167 JobDependency_Type_value = map[string]int32{
168 "TYPE_UNSPECIFIED": 0,
169 "SUCCEEDED": 1,
170 "FAILED": 2,
171 "FINISHED": 3,
172 }
173 )
174
175 func (x JobDependency_Type) Enum() *JobDependency_Type {
176 p := new(JobDependency_Type)
177 *p = x
178 return p
179 }
180
181 func (x JobDependency_Type) String() string {
182 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
183 }
184
185 func (JobDependency_Type) Descriptor() protoreflect.EnumDescriptor {
186 return file_google_cloud_batch_v1alpha1_job_proto_enumTypes[2].Descriptor()
187 }
188
189 func (JobDependency_Type) Type() protoreflect.EnumType {
190 return &file_google_cloud_batch_v1alpha1_job_proto_enumTypes[2]
191 }
192
193 func (x JobDependency_Type) Number() protoreflect.EnumNumber {
194 return protoreflect.EnumNumber(x)
195 }
196
197 // Deprecated: Use JobDependency_Type.Descriptor instead.
198 func (JobDependency_Type) EnumDescriptor() ([]byte, []int) {
199 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{2, 0}
200 }
201
202 // Valid Job states.
203 type JobStatus_State int32
204
205 const (
206 JobStatus_STATE_UNSPECIFIED JobStatus_State = 0
207 // Job is submitted into a ResourcePool and waiting
208 // for resource allocation.
209 JobStatus_QUEUED JobStatus_State = 1
210 // Job is scheduled to run as soon as resource allocation is ready.
211 // The resource allocation may happen at a later time but with a high
212 // chance to succeed.
213 JobStatus_SCHEDULED JobStatus_State = 2
214 // Resource allocation has been successful. At least one Task in the Job is
215 // RUNNING.
216 JobStatus_RUNNING JobStatus_State = 3
217 // All Tasks in the Job have finished successfully.
218 JobStatus_SUCCEEDED JobStatus_State = 4
219 // At least one Task in the Job has failed.
220 JobStatus_FAILED JobStatus_State = 5
221 // The Job will be deleted, but has not been deleted yet. Typically this is
222 // because resources used by the Job are still being cleaned up.
223 JobStatus_DELETION_IN_PROGRESS JobStatus_State = 6
224 )
225
226 // Enum value maps for JobStatus_State.
227 var (
228 JobStatus_State_name = map[int32]string{
229 0: "STATE_UNSPECIFIED",
230 1: "QUEUED",
231 2: "SCHEDULED",
232 3: "RUNNING",
233 4: "SUCCEEDED",
234 5: "FAILED",
235 6: "DELETION_IN_PROGRESS",
236 }
237 JobStatus_State_value = map[string]int32{
238 "STATE_UNSPECIFIED": 0,
239 "QUEUED": 1,
240 "SCHEDULED": 2,
241 "RUNNING": 3,
242 "SUCCEEDED": 4,
243 "FAILED": 5,
244 "DELETION_IN_PROGRESS": 6,
245 }
246 )
247
248 func (x JobStatus_State) Enum() *JobStatus_State {
249 p := new(JobStatus_State)
250 *p = x
251 return p
252 }
253
254 func (x JobStatus_State) String() string {
255 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
256 }
257
258 func (JobStatus_State) Descriptor() protoreflect.EnumDescriptor {
259 return file_google_cloud_batch_v1alpha1_job_proto_enumTypes[3].Descriptor()
260 }
261
262 func (JobStatus_State) Type() protoreflect.EnumType {
263 return &file_google_cloud_batch_v1alpha1_job_proto_enumTypes[3]
264 }
265
266 func (x JobStatus_State) Number() protoreflect.EnumNumber {
267 return protoreflect.EnumNumber(x)
268 }
269
270 // Deprecated: Use JobStatus_State.Descriptor instead.
271 func (JobStatus_State) EnumDescriptor() ([]byte, []int) {
272 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{3, 0}
273 }
274
275 // Compute Engine VM instance provisioning model.
276 type AllocationPolicy_ProvisioningModel int32
277
278 const (
279 // Unspecified.
280 AllocationPolicy_PROVISIONING_MODEL_UNSPECIFIED AllocationPolicy_ProvisioningModel = 0
281 // Standard VM.
282 AllocationPolicy_STANDARD AllocationPolicy_ProvisioningModel = 1
283 // SPOT VM.
284 AllocationPolicy_SPOT AllocationPolicy_ProvisioningModel = 2
285 // Preemptible VM (PVM).
286 //
287 // Above SPOT VM is the preferable model for preemptible VM instances: the
288 // old preemptible VM model (indicated by this field) is the older model,
289 // and has been migrated to use the SPOT model as the underlying technology.
290 // This old model will still be supported.
291 AllocationPolicy_PREEMPTIBLE AllocationPolicy_ProvisioningModel = 3
292 )
293
294 // Enum value maps for AllocationPolicy_ProvisioningModel.
295 var (
296 AllocationPolicy_ProvisioningModel_name = map[int32]string{
297 0: "PROVISIONING_MODEL_UNSPECIFIED",
298 1: "STANDARD",
299 2: "SPOT",
300 3: "PREEMPTIBLE",
301 }
302 AllocationPolicy_ProvisioningModel_value = map[string]int32{
303 "PROVISIONING_MODEL_UNSPECIFIED": 0,
304 "STANDARD": 1,
305 "SPOT": 2,
306 "PREEMPTIBLE": 3,
307 }
308 )
309
310 func (x AllocationPolicy_ProvisioningModel) Enum() *AllocationPolicy_ProvisioningModel {
311 p := new(AllocationPolicy_ProvisioningModel)
312 *p = x
313 return p
314 }
315
316 func (x AllocationPolicy_ProvisioningModel) String() string {
317 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
318 }
319
320 func (AllocationPolicy_ProvisioningModel) Descriptor() protoreflect.EnumDescriptor {
321 return file_google_cloud_batch_v1alpha1_job_proto_enumTypes[4].Descriptor()
322 }
323
324 func (AllocationPolicy_ProvisioningModel) Type() protoreflect.EnumType {
325 return &file_google_cloud_batch_v1alpha1_job_proto_enumTypes[4]
326 }
327
328 func (x AllocationPolicy_ProvisioningModel) Number() protoreflect.EnumNumber {
329 return protoreflect.EnumNumber(x)
330 }
331
332 // Deprecated: Use AllocationPolicy_ProvisioningModel.Descriptor instead.
333 func (AllocationPolicy_ProvisioningModel) EnumDescriptor() ([]byte, []int) {
334 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{5, 0}
335 }
336
337 // How Tasks in the TaskGroup should be scheduled relative to each other.
338 type TaskGroup_SchedulingPolicy int32
339
340 const (
341 // Unspecified.
342 TaskGroup_SCHEDULING_POLICY_UNSPECIFIED TaskGroup_SchedulingPolicy = 0
343 // Run Tasks as soon as resources are available.
344 TaskGroup_AS_SOON_AS_POSSIBLE TaskGroup_SchedulingPolicy = 1
345 )
346
347 // Enum value maps for TaskGroup_SchedulingPolicy.
348 var (
349 TaskGroup_SchedulingPolicy_name = map[int32]string{
350 0: "SCHEDULING_POLICY_UNSPECIFIED",
351 1: "AS_SOON_AS_POSSIBLE",
352 }
353 TaskGroup_SchedulingPolicy_value = map[string]int32{
354 "SCHEDULING_POLICY_UNSPECIFIED": 0,
355 "AS_SOON_AS_POSSIBLE": 1,
356 }
357 )
358
359 func (x TaskGroup_SchedulingPolicy) Enum() *TaskGroup_SchedulingPolicy {
360 p := new(TaskGroup_SchedulingPolicy)
361 *p = x
362 return p
363 }
364
365 func (x TaskGroup_SchedulingPolicy) String() string {
366 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
367 }
368
369 func (TaskGroup_SchedulingPolicy) Descriptor() protoreflect.EnumDescriptor {
370 return file_google_cloud_batch_v1alpha1_job_proto_enumTypes[5].Descriptor()
371 }
372
373 func (TaskGroup_SchedulingPolicy) Type() protoreflect.EnumType {
374 return &file_google_cloud_batch_v1alpha1_job_proto_enumTypes[5]
375 }
376
377 func (x TaskGroup_SchedulingPolicy) Number() protoreflect.EnumNumber {
378 return protoreflect.EnumNumber(x)
379 }
380
381 // Deprecated: Use TaskGroup_SchedulingPolicy.Descriptor instead.
382 func (TaskGroup_SchedulingPolicy) EnumDescriptor() ([]byte, []int) {
383 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{6, 0}
384 }
385
386 // The Cloud Batch Job description.
387 type Job struct {
388 state protoimpl.MessageState
389 sizeCache protoimpl.SizeCache
390 unknownFields protoimpl.UnknownFields
391
392 // Job name.
393 // It must have the format of "projects/*/locations/*/jobs/*".
394 // For example: "projects/123456/locations/us-west1/jobs/job01".
395 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
396 // Output only. A system generated unique ID (in UUID4 format) for the Job.
397 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
398 // Priority of the Job.
399 // The valid value range is [0, 100).
400 // A job with higher priority value will be scheduled to run earlier.
401 Priority int64 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
402 // Required. TaskGroups in the Job. Only one TaskGroup is supported now.
403 TaskGroups []*TaskGroup `protobuf:"bytes,4,rep,name=task_groups,json=taskGroups,proto3" json:"task_groups,omitempty"`
404 // Scheduling policy for TaskGroups in the job.
405 SchedulingPolicy Job_SchedulingPolicy `protobuf:"varint,5,opt,name=scheduling_policy,json=schedulingPolicy,proto3,enum=google.cloud.batch.v1alpha1.Job_SchedulingPolicy" json:"scheduling_policy,omitempty"`
406 // At least one of the dependencies must be satisfied before the Job is
407 // scheduled to run.
408 // Only one JobDependency is supported now.
409 // [NotImplemented]
410 Dependencies []*JobDependency `protobuf:"bytes,6,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
411 // Compute resource allocation for all TaskGroups in the Job.
412 AllocationPolicy *AllocationPolicy `protobuf:"bytes,7,opt,name=allocation_policy,json=allocationPolicy,proto3" json:"allocation_policy,omitempty"`
413 // Labels for the Job. Labels could be user provided or system generated.
414 // For example,
415 // "labels": {
416 // "department": "finance",
417 // "environment": "test"
418 // }
419 // You can assign up to 64 labels. [Google Compute Engine label
420 // restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions)
421 // apply.
422 // Label names that start with "goog-" or "google-" are reserved.
423 Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
424 // Output only. Job status. It is read only for users.
425 Status *JobStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
426 // Job notification.
427 Notification *JobNotification `protobuf:"bytes,10,opt,name=notification,proto3" json:"notification,omitempty"`
428 // When the Job was created.
429 CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
430 // The last time the Job was updated.
431 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
432 // Log preservation policy for the Job.
433 LogsPolicy *LogsPolicy `protobuf:"bytes,13,opt,name=logs_policy,json=logsPolicy,proto3" json:"logs_policy,omitempty"`
434 }
435
436 func (x *Job) Reset() {
437 *x = Job{}
438 if protoimpl.UnsafeEnabled {
439 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[0]
440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
441 ms.StoreMessageInfo(mi)
442 }
443 }
444
445 func (x *Job) String() string {
446 return protoimpl.X.MessageStringOf(x)
447 }
448
449 func (*Job) ProtoMessage() {}
450
451 func (x *Job) ProtoReflect() protoreflect.Message {
452 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[0]
453 if protoimpl.UnsafeEnabled && x != nil {
454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
455 if ms.LoadMessageInfo() == nil {
456 ms.StoreMessageInfo(mi)
457 }
458 return ms
459 }
460 return mi.MessageOf(x)
461 }
462
463 // Deprecated: Use Job.ProtoReflect.Descriptor instead.
464 func (*Job) Descriptor() ([]byte, []int) {
465 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{0}
466 }
467
468 func (x *Job) GetName() string {
469 if x != nil {
470 return x.Name
471 }
472 return ""
473 }
474
475 func (x *Job) GetUid() string {
476 if x != nil {
477 return x.Uid
478 }
479 return ""
480 }
481
482 func (x *Job) GetPriority() int64 {
483 if x != nil {
484 return x.Priority
485 }
486 return 0
487 }
488
489 func (x *Job) GetTaskGroups() []*TaskGroup {
490 if x != nil {
491 return x.TaskGroups
492 }
493 return nil
494 }
495
496 func (x *Job) GetSchedulingPolicy() Job_SchedulingPolicy {
497 if x != nil {
498 return x.SchedulingPolicy
499 }
500 return Job_SCHEDULING_POLICY_UNSPECIFIED
501 }
502
503 func (x *Job) GetDependencies() []*JobDependency {
504 if x != nil {
505 return x.Dependencies
506 }
507 return nil
508 }
509
510 func (x *Job) GetAllocationPolicy() *AllocationPolicy {
511 if x != nil {
512 return x.AllocationPolicy
513 }
514 return nil
515 }
516
517 func (x *Job) GetLabels() map[string]string {
518 if x != nil {
519 return x.Labels
520 }
521 return nil
522 }
523
524 func (x *Job) GetStatus() *JobStatus {
525 if x != nil {
526 return x.Status
527 }
528 return nil
529 }
530
531 func (x *Job) GetNotification() *JobNotification {
532 if x != nil {
533 return x.Notification
534 }
535 return nil
536 }
537
538 func (x *Job) GetCreateTime() *timestamppb.Timestamp {
539 if x != nil {
540 return x.CreateTime
541 }
542 return nil
543 }
544
545 func (x *Job) GetUpdateTime() *timestamppb.Timestamp {
546 if x != nil {
547 return x.UpdateTime
548 }
549 return nil
550 }
551
552 func (x *Job) GetLogsPolicy() *LogsPolicy {
553 if x != nil {
554 return x.LogsPolicy
555 }
556 return nil
557 }
558
559 // LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be
560 // preserved.
561 type LogsPolicy struct {
562 state protoimpl.MessageState
563 sizeCache protoimpl.SizeCache
564 unknownFields protoimpl.UnknownFields
565
566 // Where logs should be saved.
567 Destination LogsPolicy_Destination `protobuf:"varint,1,opt,name=destination,proto3,enum=google.cloud.batch.v1alpha1.LogsPolicy_Destination" json:"destination,omitempty"`
568 // The path to which logs are saved when the destination = PATH. This can be a
569 // local filepath on the VM, or under the mount point of a Persistent Disk or
570 // Filestore, or a Cloud Storage path.
571 LogsPath string `protobuf:"bytes,2,opt,name=logs_path,json=logsPath,proto3" json:"logs_path,omitempty"`
572 }
573
574 func (x *LogsPolicy) Reset() {
575 *x = LogsPolicy{}
576 if protoimpl.UnsafeEnabled {
577 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[1]
578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
579 ms.StoreMessageInfo(mi)
580 }
581 }
582
583 func (x *LogsPolicy) String() string {
584 return protoimpl.X.MessageStringOf(x)
585 }
586
587 func (*LogsPolicy) ProtoMessage() {}
588
589 func (x *LogsPolicy) ProtoReflect() protoreflect.Message {
590 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[1]
591 if protoimpl.UnsafeEnabled && x != nil {
592 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
593 if ms.LoadMessageInfo() == nil {
594 ms.StoreMessageInfo(mi)
595 }
596 return ms
597 }
598 return mi.MessageOf(x)
599 }
600
601 // Deprecated: Use LogsPolicy.ProtoReflect.Descriptor instead.
602 func (*LogsPolicy) Descriptor() ([]byte, []int) {
603 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{1}
604 }
605
606 func (x *LogsPolicy) GetDestination() LogsPolicy_Destination {
607 if x != nil {
608 return x.Destination
609 }
610 return LogsPolicy_DESTINATION_UNSPECIFIED
611 }
612
613 func (x *LogsPolicy) GetLogsPath() string {
614 if x != nil {
615 return x.LogsPath
616 }
617 return ""
618 }
619
620 // JobDependency describes the state of other Jobs that the start of this Job
621 // depends on.
622 // All dependent Jobs must have been submitted in the same region.
623 type JobDependency struct {
624 state protoimpl.MessageState
625 sizeCache protoimpl.SizeCache
626 unknownFields protoimpl.UnknownFields
627
628 // Each item maps a Job name to a Type.
629 // All items must be satisfied for the JobDependency to be satisfied (the AND
630 // operation).
631 // Once a condition for one item becomes true, it won't go back to false
632 // even the dependent Job state changes again.
633 Items map[string]JobDependency_Type `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.cloud.batch.v1alpha1.JobDependency_Type"`
634 }
635
636 func (x *JobDependency) Reset() {
637 *x = JobDependency{}
638 if protoimpl.UnsafeEnabled {
639 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[2]
640 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
641 ms.StoreMessageInfo(mi)
642 }
643 }
644
645 func (x *JobDependency) String() string {
646 return protoimpl.X.MessageStringOf(x)
647 }
648
649 func (*JobDependency) ProtoMessage() {}
650
651 func (x *JobDependency) ProtoReflect() protoreflect.Message {
652 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[2]
653 if protoimpl.UnsafeEnabled && x != nil {
654 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
655 if ms.LoadMessageInfo() == nil {
656 ms.StoreMessageInfo(mi)
657 }
658 return ms
659 }
660 return mi.MessageOf(x)
661 }
662
663 // Deprecated: Use JobDependency.ProtoReflect.Descriptor instead.
664 func (*JobDependency) Descriptor() ([]byte, []int) {
665 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{2}
666 }
667
668 func (x *JobDependency) GetItems() map[string]JobDependency_Type {
669 if x != nil {
670 return x.Items
671 }
672 return nil
673 }
674
675 // Job status.
676 type JobStatus struct {
677 state protoimpl.MessageState
678 sizeCache protoimpl.SizeCache
679 unknownFields protoimpl.UnknownFields
680
681 // Job state
682 State JobStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.batch.v1alpha1.JobStatus_State" json:"state,omitempty"`
683 // Job status events
684 StatusEvents []*StatusEvent `protobuf:"bytes,2,rep,name=status_events,json=statusEvents,proto3" json:"status_events,omitempty"`
685 // Aggregated task status for each TaskGroup in the Job.
686 // The map key is TaskGroup ID.
687 TaskGroups map[string]*JobStatus_TaskGroupStatus `protobuf:"bytes,4,rep,name=task_groups,json=taskGroups,proto3" json:"task_groups,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
688 // The duration of time the Job is in status
689 // RUNNING. Once the Job completes (i.e. the Job status is either
690 // SUCCEEDED/FAILED) the run duration represents the time it took the Job
691 // to complete.
692 RunDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=run_duration,json=runDuration,proto3" json:"run_duration,omitempty"`
693 }
694
695 func (x *JobStatus) Reset() {
696 *x = JobStatus{}
697 if protoimpl.UnsafeEnabled {
698 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[3]
699 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
700 ms.StoreMessageInfo(mi)
701 }
702 }
703
704 func (x *JobStatus) String() string {
705 return protoimpl.X.MessageStringOf(x)
706 }
707
708 func (*JobStatus) ProtoMessage() {}
709
710 func (x *JobStatus) ProtoReflect() protoreflect.Message {
711 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[3]
712 if protoimpl.UnsafeEnabled && x != nil {
713 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
714 if ms.LoadMessageInfo() == nil {
715 ms.StoreMessageInfo(mi)
716 }
717 return ms
718 }
719 return mi.MessageOf(x)
720 }
721
722 // Deprecated: Use JobStatus.ProtoReflect.Descriptor instead.
723 func (*JobStatus) Descriptor() ([]byte, []int) {
724 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{3}
725 }
726
727 func (x *JobStatus) GetState() JobStatus_State {
728 if x != nil {
729 return x.State
730 }
731 return JobStatus_STATE_UNSPECIFIED
732 }
733
734 func (x *JobStatus) GetStatusEvents() []*StatusEvent {
735 if x != nil {
736 return x.StatusEvents
737 }
738 return nil
739 }
740
741 func (x *JobStatus) GetTaskGroups() map[string]*JobStatus_TaskGroupStatus {
742 if x != nil {
743 return x.TaskGroups
744 }
745 return nil
746 }
747
748 func (x *JobStatus) GetRunDuration() *durationpb.Duration {
749 if x != nil {
750 return x.RunDuration
751 }
752 return nil
753 }
754
755 // Job notification.
756 type JobNotification struct {
757 state protoimpl.MessageState
758 sizeCache protoimpl.SizeCache
759 unknownFields protoimpl.UnknownFields
760
761 // The Cloud Pub/Sub topic where notifications like the job state changes will
762 // be published. This topic should be an existing topic in the same project
763 // with the job and billings will be charged to this project.
764 PubsubTopic string `protobuf:"bytes,1,opt,name=pubsub_topic,json=pubsubTopic,proto3" json:"pubsub_topic,omitempty"`
765 }
766
767 func (x *JobNotification) Reset() {
768 *x = JobNotification{}
769 if protoimpl.UnsafeEnabled {
770 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[4]
771 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
772 ms.StoreMessageInfo(mi)
773 }
774 }
775
776 func (x *JobNotification) String() string {
777 return protoimpl.X.MessageStringOf(x)
778 }
779
780 func (*JobNotification) ProtoMessage() {}
781
782 func (x *JobNotification) ProtoReflect() protoreflect.Message {
783 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[4]
784 if protoimpl.UnsafeEnabled && x != nil {
785 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
786 if ms.LoadMessageInfo() == nil {
787 ms.StoreMessageInfo(mi)
788 }
789 return ms
790 }
791 return mi.MessageOf(x)
792 }
793
794 // Deprecated: Use JobNotification.ProtoReflect.Descriptor instead.
795 func (*JobNotification) Descriptor() ([]byte, []int) {
796 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{4}
797 }
798
799 func (x *JobNotification) GetPubsubTopic() string {
800 if x != nil {
801 return x.PubsubTopic
802 }
803 return ""
804 }
805
806 // A Job's resource allocation policy describes when, where, and how compute
807 // resources should be allocated for the Job.
808 type AllocationPolicy struct {
809 state protoimpl.MessageState
810 sizeCache protoimpl.SizeCache
811 unknownFields protoimpl.UnknownFields
812
813 // Location where compute resources should be allocated for the Job.
814 Location *AllocationPolicy_LocationPolicy `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
815 // Create only instances allowed by this policy.
816 Instance *AllocationPolicy_InstancePolicy `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
817 // Create instances from the first instance template - MVP
818 // Use 'gcloud compute instance-templates list` to see available templates
819 // in the project If specified, it overrides the 'instance' field.
820 InstanceTemplates []string `protobuf:"bytes,3,rep,name=instance_templates,json=instanceTemplates,proto3" json:"instance_templates,omitempty"`
821 // Create only instances in the listed provisiong models.
822 // Default to allow all.
823 //
824 // Currently only the first model of the provisioning_models list will be
825 // considered; specifying additional models (e.g., 2nd, 3rd, etc.) is a no-op.
826 ProvisioningModels []AllocationPolicy_ProvisioningModel `protobuf:"varint,4,rep,packed,name=provisioning_models,json=provisioningModels,proto3,enum=google.cloud.batch.v1alpha1.AllocationPolicy_ProvisioningModel" json:"provisioning_models,omitempty"`
827 // Email of the service account that VMs will run as.
828 ServiceAccount string `protobuf:"bytes,5,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
829 // Labels applied to all VM instances and other resources
830 // created by AllocationPolicy.
831 // Labels could be user provided or system generated.
832 // You can assign up to 64 labels. [Google Compute Engine label
833 // restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions)
834 // apply.
835 // Label names that start with "goog-" or "google-" are reserved.
836 Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
837 // The network policy.
838 Network *AllocationPolicy_NetworkPolicy `protobuf:"bytes,7,opt,name=network,proto3" json:"network,omitempty"`
839 }
840
841 func (x *AllocationPolicy) Reset() {
842 *x = AllocationPolicy{}
843 if protoimpl.UnsafeEnabled {
844 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[5]
845 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
846 ms.StoreMessageInfo(mi)
847 }
848 }
849
850 func (x *AllocationPolicy) String() string {
851 return protoimpl.X.MessageStringOf(x)
852 }
853
854 func (*AllocationPolicy) ProtoMessage() {}
855
856 func (x *AllocationPolicy) ProtoReflect() protoreflect.Message {
857 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[5]
858 if protoimpl.UnsafeEnabled && x != nil {
859 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
860 if ms.LoadMessageInfo() == nil {
861 ms.StoreMessageInfo(mi)
862 }
863 return ms
864 }
865 return mi.MessageOf(x)
866 }
867
868 // Deprecated: Use AllocationPolicy.ProtoReflect.Descriptor instead.
869 func (*AllocationPolicy) Descriptor() ([]byte, []int) {
870 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{5}
871 }
872
873 func (x *AllocationPolicy) GetLocation() *AllocationPolicy_LocationPolicy {
874 if x != nil {
875 return x.Location
876 }
877 return nil
878 }
879
880 func (x *AllocationPolicy) GetInstance() *AllocationPolicy_InstancePolicy {
881 if x != nil {
882 return x.Instance
883 }
884 return nil
885 }
886
887 func (x *AllocationPolicy) GetInstanceTemplates() []string {
888 if x != nil {
889 return x.InstanceTemplates
890 }
891 return nil
892 }
893
894 func (x *AllocationPolicy) GetProvisioningModels() []AllocationPolicy_ProvisioningModel {
895 if x != nil {
896 return x.ProvisioningModels
897 }
898 return nil
899 }
900
901 func (x *AllocationPolicy) GetServiceAccount() string {
902 if x != nil {
903 return x.ServiceAccount
904 }
905 return ""
906 }
907
908 func (x *AllocationPolicy) GetLabels() map[string]string {
909 if x != nil {
910 return x.Labels
911 }
912 return nil
913 }
914
915 func (x *AllocationPolicy) GetNetwork() *AllocationPolicy_NetworkPolicy {
916 if x != nil {
917 return x.Network
918 }
919 return nil
920 }
921
922 // A TaskGroup contains one or multiple Tasks that share the same
923 // Runnable but with different runtime parameters.
924 type TaskGroup struct {
925 state protoimpl.MessageState
926 sizeCache protoimpl.SizeCache
927 unknownFields protoimpl.UnknownFields
928
929 // Output only. TaskGroup name.
930 // The system generates this field based on parent Job name.
931 // For example:
932 // "projects/123456/locations/us-west1/jobs/job01/taskGroups/default-group".
933 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
934 // Required. Tasks in the group share the same task spec.
935 TaskSpec *TaskSpec `protobuf:"bytes,3,opt,name=task_spec,json=taskSpec,proto3" json:"task_spec,omitempty"`
936 // Number of Tasks in the TaskGroup.
937 // default is 1
938 TaskCount int64 `protobuf:"varint,4,opt,name=task_count,json=taskCount,proto3" json:"task_count,omitempty"`
939 // Max number of tasks that can run in parallel.
940 // Default to min(task_count, 1000).
941 Parallelism int64 `protobuf:"varint,5,opt,name=parallelism,proto3" json:"parallelism,omitempty"`
942 // Scheduling policy for Tasks in the TaskGroup.
943 SchedulingPolicy TaskGroup_SchedulingPolicy `protobuf:"varint,6,opt,name=scheduling_policy,json=schedulingPolicy,proto3,enum=google.cloud.batch.v1alpha1.TaskGroup_SchedulingPolicy" json:"scheduling_policy,omitempty"`
944 // Compute resource allocation for the TaskGroup.
945 // If specified, it overrides resources in Job.
946 AllocationPolicy *AllocationPolicy `protobuf:"bytes,7,opt,name=allocation_policy,json=allocationPolicy,proto3" json:"allocation_policy,omitempty"`
947 // Labels for the TaskGroup.
948 // Labels could be user provided or system generated.
949 // You can assign up to 64 labels. [Google Compute Engine label
950 // restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions)
951 // apply.
952 // Label names that start with "goog-" or "google-" are reserved.
953 Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
954 // An array of environment variable mappings, which are passed to Tasks with
955 // matching indices. If task_environments is used then task_count should
956 // not be specified in the request (and will be ignored). Task count will be
957 // the length of task_environments.
958 //
959 // Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in
960 // addition to any environment variables set in task_environments, specifying
961 // the number of Tasks in the Task's parent TaskGroup, and the specific Task's
962 // index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
963 //
964 // task_environments supports up to 200 entries.
965 TaskEnvironments []*TaskGroup_Environment `protobuf:"bytes,9,rep,name=task_environments,json=taskEnvironments,proto3" json:"task_environments,omitempty"`
966 // Max number of tasks that can be run on a node
967 // at the same time. Default is 1.
968 TaskCountPerNode int64 `protobuf:"varint,10,opt,name=task_count_per_node,json=taskCountPerNode,proto3" json:"task_count_per_node,omitempty"`
969 // When true, Batch will populate a file with a list of all VMs assigned to
970 // the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path
971 // of that file. Defaults to false.
972 RequireHostsFile bool `protobuf:"varint,11,opt,name=require_hosts_file,json=requireHostsFile,proto3" json:"require_hosts_file,omitempty"`
973 }
974
975 func (x *TaskGroup) Reset() {
976 *x = TaskGroup{}
977 if protoimpl.UnsafeEnabled {
978 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[6]
979 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
980 ms.StoreMessageInfo(mi)
981 }
982 }
983
984 func (x *TaskGroup) String() string {
985 return protoimpl.X.MessageStringOf(x)
986 }
987
988 func (*TaskGroup) ProtoMessage() {}
989
990 func (x *TaskGroup) ProtoReflect() protoreflect.Message {
991 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[6]
992 if protoimpl.UnsafeEnabled && x != nil {
993 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
994 if ms.LoadMessageInfo() == nil {
995 ms.StoreMessageInfo(mi)
996 }
997 return ms
998 }
999 return mi.MessageOf(x)
1000 }
1001
1002 // Deprecated: Use TaskGroup.ProtoReflect.Descriptor instead.
1003 func (*TaskGroup) Descriptor() ([]byte, []int) {
1004 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{6}
1005 }
1006
1007 func (x *TaskGroup) GetName() string {
1008 if x != nil {
1009 return x.Name
1010 }
1011 return ""
1012 }
1013
1014 func (x *TaskGroup) GetTaskSpec() *TaskSpec {
1015 if x != nil {
1016 return x.TaskSpec
1017 }
1018 return nil
1019 }
1020
1021 func (x *TaskGroup) GetTaskCount() int64 {
1022 if x != nil {
1023 return x.TaskCount
1024 }
1025 return 0
1026 }
1027
1028 func (x *TaskGroup) GetParallelism() int64 {
1029 if x != nil {
1030 return x.Parallelism
1031 }
1032 return 0
1033 }
1034
1035 func (x *TaskGroup) GetSchedulingPolicy() TaskGroup_SchedulingPolicy {
1036 if x != nil {
1037 return x.SchedulingPolicy
1038 }
1039 return TaskGroup_SCHEDULING_POLICY_UNSPECIFIED
1040 }
1041
1042 func (x *TaskGroup) GetAllocationPolicy() *AllocationPolicy {
1043 if x != nil {
1044 return x.AllocationPolicy
1045 }
1046 return nil
1047 }
1048
1049 func (x *TaskGroup) GetLabels() map[string]string {
1050 if x != nil {
1051 return x.Labels
1052 }
1053 return nil
1054 }
1055
1056 func (x *TaskGroup) GetTaskEnvironments() []*TaskGroup_Environment {
1057 if x != nil {
1058 return x.TaskEnvironments
1059 }
1060 return nil
1061 }
1062
1063 func (x *TaskGroup) GetTaskCountPerNode() int64 {
1064 if x != nil {
1065 return x.TaskCountPerNode
1066 }
1067 return 0
1068 }
1069
1070 func (x *TaskGroup) GetRequireHostsFile() bool {
1071 if x != nil {
1072 return x.RequireHostsFile
1073 }
1074 return false
1075 }
1076
1077 // Aggregated task status for a TaskGroup.
1078 type JobStatus_TaskGroupStatus struct {
1079 state protoimpl.MessageState
1080 sizeCache protoimpl.SizeCache
1081 unknownFields protoimpl.UnknownFields
1082
1083 // Count of task in each state in the TaskGroup.
1084 // The map key is task state name.
1085 Counts map[string]int64 `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
1086 }
1087
1088 func (x *JobStatus_TaskGroupStatus) Reset() {
1089 *x = JobStatus_TaskGroupStatus{}
1090 if protoimpl.UnsafeEnabled {
1091 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[9]
1092 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1093 ms.StoreMessageInfo(mi)
1094 }
1095 }
1096
1097 func (x *JobStatus_TaskGroupStatus) String() string {
1098 return protoimpl.X.MessageStringOf(x)
1099 }
1100
1101 func (*JobStatus_TaskGroupStatus) ProtoMessage() {}
1102
1103 func (x *JobStatus_TaskGroupStatus) ProtoReflect() protoreflect.Message {
1104 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[9]
1105 if protoimpl.UnsafeEnabled && x != nil {
1106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1107 if ms.LoadMessageInfo() == nil {
1108 ms.StoreMessageInfo(mi)
1109 }
1110 return ms
1111 }
1112 return mi.MessageOf(x)
1113 }
1114
1115 // Deprecated: Use JobStatus_TaskGroupStatus.ProtoReflect.Descriptor instead.
1116 func (*JobStatus_TaskGroupStatus) Descriptor() ([]byte, []int) {
1117 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{3, 0}
1118 }
1119
1120 func (x *JobStatus_TaskGroupStatus) GetCounts() map[string]int64 {
1121 if x != nil {
1122 return x.Counts
1123 }
1124 return nil
1125 }
1126
1127 // Be consistent with LocationPolicy in
1128 // //cloud/cluster/api/mixter_instances.proto.
1129 type AllocationPolicy_LocationPolicy struct {
1130 state protoimpl.MessageState
1131 sizeCache protoimpl.SizeCache
1132 unknownFields protoimpl.UnknownFields
1133
1134 // A list of allowed location names represented by internal URLs,
1135 // for example, zones/us-central1-a, regions/us-west1.
1136 // First location in the list should be a region.
1137 AllowedLocations []string `protobuf:"bytes,1,rep,name=allowed_locations,json=allowedLocations,proto3" json:"allowed_locations,omitempty"`
1138 // A list of denied location names.
1139 DeniedLocations []string `protobuf:"bytes,2,rep,name=denied_locations,json=deniedLocations,proto3" json:"denied_locations,omitempty"`
1140 }
1141
1142 func (x *AllocationPolicy_LocationPolicy) Reset() {
1143 *x = AllocationPolicy_LocationPolicy{}
1144 if protoimpl.UnsafeEnabled {
1145 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[12]
1146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1147 ms.StoreMessageInfo(mi)
1148 }
1149 }
1150
1151 func (x *AllocationPolicy_LocationPolicy) String() string {
1152 return protoimpl.X.MessageStringOf(x)
1153 }
1154
1155 func (*AllocationPolicy_LocationPolicy) ProtoMessage() {}
1156
1157 func (x *AllocationPolicy_LocationPolicy) ProtoReflect() protoreflect.Message {
1158 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[12]
1159 if protoimpl.UnsafeEnabled && x != nil {
1160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1161 if ms.LoadMessageInfo() == nil {
1162 ms.StoreMessageInfo(mi)
1163 }
1164 return ms
1165 }
1166 return mi.MessageOf(x)
1167 }
1168
1169 // Deprecated: Use AllocationPolicy_LocationPolicy.ProtoReflect.Descriptor instead.
1170 func (*AllocationPolicy_LocationPolicy) Descriptor() ([]byte, []int) {
1171 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{5, 0}
1172 }
1173
1174 func (x *AllocationPolicy_LocationPolicy) GetAllowedLocations() []string {
1175 if x != nil {
1176 return x.AllowedLocations
1177 }
1178 return nil
1179 }
1180
1181 func (x *AllocationPolicy_LocationPolicy) GetDeniedLocations() []string {
1182 if x != nil {
1183 return x.DeniedLocations
1184 }
1185 return nil
1186 }
1187
1188 // InstancePolicy describes what instances should be created for the Job.
1189 type AllocationPolicy_InstancePolicy struct {
1190 state protoimpl.MessageState
1191 sizeCache protoimpl.SizeCache
1192 unknownFields protoimpl.UnknownFields
1193
1194 // A list of allowed Compute Engine machine types, for example,
1195 // e2-standard-4. Default is empty which means allowing all.
1196 AllowedMachineTypes []string `protobuf:"bytes,1,rep,name=allowed_machine_types,json=allowedMachineTypes,proto3" json:"allowed_machine_types,omitempty"`
1197 // A list of denied Compute Engine machine types.
1198 // Default is empty which means denying none.
1199 // A machine type is allowed if it matches 'allowed_machine_types' AND
1200 // does not match 'denied_machine_types'.
1201 // For example,
1202 // allowed_machine_types = "e2-standard"
1203 // denied_machine_types = "e2-standard-2, e2-standard-4"
1204 // means using all E2 standard machine types except for 'e2-standard-2' and
1205 // 'e2-standard-4.
1206 //
1207 // [NotImplemented]
1208 DeniedMachineTypes []string `protobuf:"bytes,2,rep,name=denied_machine_types,json=deniedMachineTypes,proto3" json:"denied_machine_types,omitempty"`
1209 // A list of allowed CPU platforms, for example,
1210 // "Intel Cascade Lake", "AMD Rome".
1211 // Default is empty which means allowing all.
1212 //
1213 // [NotImplemented]
1214 AllowedCpuPlatforms []string `protobuf:"bytes,3,rep,name=allowed_cpu_platforms,json=allowedCpuPlatforms,proto3" json:"allowed_cpu_platforms,omitempty"`
1215 // A list of denied CPU platforms.
1216 // Default is empty which means denying none.
1217 // A CPU platform is allowed if it matches 'allowed_cpu_platforms' AND
1218 // does not match 'denied_cpu_platforms'.
1219 // If a CPU platform belongs to both lists, it will be denied.
1220 //
1221 // [NotImplemented]
1222 DeniedCpuPlatforms []string `protobuf:"bytes,4,rep,name=denied_cpu_platforms,json=deniedCpuPlatforms,proto3" json:"denied_cpu_platforms,omitempty"`
1223 // A list of allowed accelerator types (GPU models), for example,
1224 // "nvidia-tesla-t4". Default is empty which means allowing all.
1225 //
1226 // [NotImplemented]
1227 AllowedAcceleratorTypes []string `protobuf:"bytes,5,rep,name=allowed_accelerator_types,json=allowedAcceleratorTypes,proto3" json:"allowed_accelerator_types,omitempty"`
1228 // A list of denied accelerator types (GPU models).
1229 // Default is empty which means denying none.
1230 // A accelerator type is allowed if it matches 'allowed_accelerator_types'
1231 // AND does not match 'denied__accelerator_types'.
1232 //
1233 // [NotImplemented]
1234 DeniedAcceleratorTypes []string `protobuf:"bytes,6,rep,name=denied_accelerator_types,json=deniedAcceleratorTypes,proto3" json:"denied_accelerator_types,omitempty"`
1235 // The number of accelerators per VM instance.
1236 //
1237 // [NotImplemented]
1238 AcceleratorCount int64 `protobuf:"varint,7,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"`
1239 }
1240
1241 func (x *AllocationPolicy_InstancePolicy) Reset() {
1242 *x = AllocationPolicy_InstancePolicy{}
1243 if protoimpl.UnsafeEnabled {
1244 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[13]
1245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1246 ms.StoreMessageInfo(mi)
1247 }
1248 }
1249
1250 func (x *AllocationPolicy_InstancePolicy) String() string {
1251 return protoimpl.X.MessageStringOf(x)
1252 }
1253
1254 func (*AllocationPolicy_InstancePolicy) ProtoMessage() {}
1255
1256 func (x *AllocationPolicy_InstancePolicy) ProtoReflect() protoreflect.Message {
1257 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[13]
1258 if protoimpl.UnsafeEnabled && x != nil {
1259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1260 if ms.LoadMessageInfo() == nil {
1261 ms.StoreMessageInfo(mi)
1262 }
1263 return ms
1264 }
1265 return mi.MessageOf(x)
1266 }
1267
1268 // Deprecated: Use AllocationPolicy_InstancePolicy.ProtoReflect.Descriptor instead.
1269 func (*AllocationPolicy_InstancePolicy) Descriptor() ([]byte, []int) {
1270 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{5, 1}
1271 }
1272
1273 func (x *AllocationPolicy_InstancePolicy) GetAllowedMachineTypes() []string {
1274 if x != nil {
1275 return x.AllowedMachineTypes
1276 }
1277 return nil
1278 }
1279
1280 func (x *AllocationPolicy_InstancePolicy) GetDeniedMachineTypes() []string {
1281 if x != nil {
1282 return x.DeniedMachineTypes
1283 }
1284 return nil
1285 }
1286
1287 func (x *AllocationPolicy_InstancePolicy) GetAllowedCpuPlatforms() []string {
1288 if x != nil {
1289 return x.AllowedCpuPlatforms
1290 }
1291 return nil
1292 }
1293
1294 func (x *AllocationPolicy_InstancePolicy) GetDeniedCpuPlatforms() []string {
1295 if x != nil {
1296 return x.DeniedCpuPlatforms
1297 }
1298 return nil
1299 }
1300
1301 func (x *AllocationPolicy_InstancePolicy) GetAllowedAcceleratorTypes() []string {
1302 if x != nil {
1303 return x.AllowedAcceleratorTypes
1304 }
1305 return nil
1306 }
1307
1308 func (x *AllocationPolicy_InstancePolicy) GetDeniedAcceleratorTypes() []string {
1309 if x != nil {
1310 return x.DeniedAcceleratorTypes
1311 }
1312 return nil
1313 }
1314
1315 func (x *AllocationPolicy_InstancePolicy) GetAcceleratorCount() int64 {
1316 if x != nil {
1317 return x.AcceleratorCount
1318 }
1319 return 0
1320 }
1321
1322 // A network interface.
1323 type AllocationPolicy_NetworkInterface struct {
1324 state protoimpl.MessageState
1325 sizeCache protoimpl.SizeCache
1326 unknownFields protoimpl.UnknownFields
1327
1328 // The URL of the network resource.
1329 Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
1330 // The URL of the Subnetwork resource.
1331 Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
1332 // Default is false (with an external IP address). Required if
1333 // no external public IP address is attached to the VM. If no external
1334 // public IP address, additional configuration is required to allow the VM
1335 // to access Google Services. See
1336 // https://cloud.google.com/vpc/docs/configure-private-google-access and
1337 // https://cloud.google.com/nat/docs/gce-example#create-nat for more
1338 // information.
1339 NoExternalIpAddress bool `protobuf:"varint,3,opt,name=no_external_ip_address,json=noExternalIpAddress,proto3" json:"no_external_ip_address,omitempty"`
1340 }
1341
1342 func (x *AllocationPolicy_NetworkInterface) Reset() {
1343 *x = AllocationPolicy_NetworkInterface{}
1344 if protoimpl.UnsafeEnabled {
1345 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[14]
1346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1347 ms.StoreMessageInfo(mi)
1348 }
1349 }
1350
1351 func (x *AllocationPolicy_NetworkInterface) String() string {
1352 return protoimpl.X.MessageStringOf(x)
1353 }
1354
1355 func (*AllocationPolicy_NetworkInterface) ProtoMessage() {}
1356
1357 func (x *AllocationPolicy_NetworkInterface) ProtoReflect() protoreflect.Message {
1358 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[14]
1359 if protoimpl.UnsafeEnabled && x != nil {
1360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1361 if ms.LoadMessageInfo() == nil {
1362 ms.StoreMessageInfo(mi)
1363 }
1364 return ms
1365 }
1366 return mi.MessageOf(x)
1367 }
1368
1369 // Deprecated: Use AllocationPolicy_NetworkInterface.ProtoReflect.Descriptor instead.
1370 func (*AllocationPolicy_NetworkInterface) Descriptor() ([]byte, []int) {
1371 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{5, 2}
1372 }
1373
1374 func (x *AllocationPolicy_NetworkInterface) GetNetwork() string {
1375 if x != nil {
1376 return x.Network
1377 }
1378 return ""
1379 }
1380
1381 func (x *AllocationPolicy_NetworkInterface) GetSubnetwork() string {
1382 if x != nil {
1383 return x.Subnetwork
1384 }
1385 return ""
1386 }
1387
1388 func (x *AllocationPolicy_NetworkInterface) GetNoExternalIpAddress() bool {
1389 if x != nil {
1390 return x.NoExternalIpAddress
1391 }
1392 return false
1393 }
1394
1395 // NetworkPolicy describes network configurations for instances created
1396 // for the job.
1397 type AllocationPolicy_NetworkPolicy struct {
1398 state protoimpl.MessageState
1399 sizeCache protoimpl.SizeCache
1400 unknownFields protoimpl.UnknownFields
1401
1402 // Network configurations.
1403 NetworkInterfaces []*AllocationPolicy_NetworkInterface `protobuf:"bytes,1,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"`
1404 }
1405
1406 func (x *AllocationPolicy_NetworkPolicy) Reset() {
1407 *x = AllocationPolicy_NetworkPolicy{}
1408 if protoimpl.UnsafeEnabled {
1409 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[15]
1410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1411 ms.StoreMessageInfo(mi)
1412 }
1413 }
1414
1415 func (x *AllocationPolicy_NetworkPolicy) String() string {
1416 return protoimpl.X.MessageStringOf(x)
1417 }
1418
1419 func (*AllocationPolicy_NetworkPolicy) ProtoMessage() {}
1420
1421 func (x *AllocationPolicy_NetworkPolicy) ProtoReflect() protoreflect.Message {
1422 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[15]
1423 if protoimpl.UnsafeEnabled && x != nil {
1424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1425 if ms.LoadMessageInfo() == nil {
1426 ms.StoreMessageInfo(mi)
1427 }
1428 return ms
1429 }
1430 return mi.MessageOf(x)
1431 }
1432
1433 // Deprecated: Use AllocationPolicy_NetworkPolicy.ProtoReflect.Descriptor instead.
1434 func (*AllocationPolicy_NetworkPolicy) Descriptor() ([]byte, []int) {
1435 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{5, 3}
1436 }
1437
1438 func (x *AllocationPolicy_NetworkPolicy) GetNetworkInterfaces() []*AllocationPolicy_NetworkInterface {
1439 if x != nil {
1440 return x.NetworkInterfaces
1441 }
1442 return nil
1443 }
1444
1445 // TaskGroup.Environment is a workaround for proto3 not supporting
1446 // repeated map<string, string>.
1447 type TaskGroup_Environment struct {
1448 state protoimpl.MessageState
1449 sizeCache protoimpl.SizeCache
1450 unknownFields protoimpl.UnknownFields
1451
1452 // An map of environment variable names to values.
1453 // The map may contain at most 10 key/value pairs with keys length up to
1454 // 64 characters and values up to 4 KB.
1455 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"`
1456 }
1457
1458 func (x *TaskGroup_Environment) Reset() {
1459 *x = TaskGroup_Environment{}
1460 if protoimpl.UnsafeEnabled {
1461 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[17]
1462 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1463 ms.StoreMessageInfo(mi)
1464 }
1465 }
1466
1467 func (x *TaskGroup_Environment) String() string {
1468 return protoimpl.X.MessageStringOf(x)
1469 }
1470
1471 func (*TaskGroup_Environment) ProtoMessage() {}
1472
1473 func (x *TaskGroup_Environment) ProtoReflect() protoreflect.Message {
1474 mi := &file_google_cloud_batch_v1alpha1_job_proto_msgTypes[17]
1475 if protoimpl.UnsafeEnabled && x != nil {
1476 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1477 if ms.LoadMessageInfo() == nil {
1478 ms.StoreMessageInfo(mi)
1479 }
1480 return ms
1481 }
1482 return mi.MessageOf(x)
1483 }
1484
1485 // Deprecated: Use TaskGroup_Environment.ProtoReflect.Descriptor instead.
1486 func (*TaskGroup_Environment) Descriptor() ([]byte, []int) {
1487 return file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP(), []int{6, 0}
1488 }
1489
1490 func (x *TaskGroup_Environment) GetVariables() map[string]string {
1491 if x != nil {
1492 return x.Variables
1493 }
1494 return nil
1495 }
1496
1497 var File_google_cloud_batch_v1alpha1_job_proto protoreflect.FileDescriptor
1498
1499 var file_google_cloud_batch_v1alpha1_job_proto_rawDesc = []byte{
1500 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
1501 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6a, 0x6f,
1502 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1503 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c,
1504 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
1505 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
1506 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
1507 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1508 0x1a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
1509 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x74, 0x61,
1510 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1511 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
1512 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1513 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
1514 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x08, 0x0a, 0x03, 0x4a, 0x6f,
1515 0x62, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1516 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
1517 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08,
1518 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
1519 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4c, 0x0a, 0x0b, 0x74, 0x61, 0x73, 0x6b,
1520 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e,
1521 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74,
1522 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b,
1523 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b,
1524 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x5e, 0x0a, 0x11, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75,
1525 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28,
1526 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1527 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
1528 0x4a, 0x6f, 0x62, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f,
1529 0x6c, 0x69, 0x63, 0x79, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67,
1530 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4e, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64,
1531 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67,
1532 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63,
1533 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x44, 0x65,
1534 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64,
1535 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61,
1536 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28,
1537 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1538 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
1539 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1540 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69,
1541 0x63, 0x79, 0x12, 0x44, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x03,
1542 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1543 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
1544 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
1545 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x43, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
1546 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1547 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
1548 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
1549 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x50, 0x0a,
1550 0x0c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20,
1551 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1552 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
1553 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
1554 0x6e, 0x52, 0x0c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
1555 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b,
1556 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
1557 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
1558 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b,
1559 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28,
1560 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1561 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75,
1562 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x6c, 0x6f, 0x67,
1563 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27,
1564 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
1565 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x67,
1566 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0a, 0x6c, 0x6f, 0x67, 0x73, 0x50, 0x6f, 0x6c,
1567 0x69, 0x63, 0x79, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74,
1568 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1569 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
1570 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4e,
1571 0x0a, 0x10, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69,
1572 0x63, 0x79, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x49, 0x4e, 0x47,
1573 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
1574 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x53, 0x5f, 0x53, 0x4f, 0x4f, 0x4e,
1575 0x5f, 0x41, 0x53, 0x5f, 0x50, 0x4f, 0x53, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x3a, 0x51,
1576 0xea, 0x41, 0x4e, 0x0a, 0x18, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1577 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4a, 0x6f, 0x62, 0x12, 0x32, 0x70,
1578 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
1579 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63,
1580 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x6a, 0x6f, 0x62,
1581 0x7d, 0x22, 0xc9, 0x01, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1582 0x12, 0x55, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
1583 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1584 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
1585 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44,
1586 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74,
1587 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x73, 0x5f,
1588 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x73,
1589 0x50, 0x61, 0x74, 0x68, 0x22, 0x47, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
1590 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49,
1591 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
1592 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x4c, 0x4f, 0x47, 0x47, 0x49, 0x4e,
1593 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x41, 0x54, 0x48, 0x10, 0x02, 0x22, 0x8e, 0x02,
1594 0x0a, 0x0d, 0x4a, 0x6f, 0x62, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12,
1595 0x4b, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35,
1596 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
1597 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62,
1598 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73,
1599 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x69, 0x0a, 0x0a,
1600 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
1601 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x45, 0x0a, 0x05,
1602 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f,
1603 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68,
1604 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x44, 0x65, 0x70,
1605 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61,
1606 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x45, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12,
1607 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
1608 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44,
1609 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02,
1610 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x03, 0x22, 0xd4,
1611 0x05, 0x0a, 0x09, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x42, 0x0a, 0x05,
1612 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f,
1613 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68,
1614 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61,
1615 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
1616 0x12, 0x4d, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74,
1617 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1618 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61,
1619 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e,
1620 0x74, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12,
1621 0x57, 0x0a, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04,
1622 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
1623 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
1624 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x54, 0x61, 0x73,
1625 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x74, 0x61,
1626 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x72, 0x75, 0x6e, 0x5f,
1627 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
1628 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1629 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x72, 0x75, 0x6e, 0x44, 0x75,
1630 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xa8, 0x01, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x47,
1631 0x72, 0x6f, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x5a, 0x0a, 0x06, 0x63, 0x6f,
1632 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f,
1633 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e,
1634 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74,
1635 0x75, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74,
1636 0x75, 0x73, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06,
1637 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73,
1638 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
1639 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
1640 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
1641 0x01, 0x1a, 0x75, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x45,
1642 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
1643 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
1644 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1645 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
1646 0x68, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x54, 0x61,
1647 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x76,
1648 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7b, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74,
1649 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
1650 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x51, 0x55, 0x45, 0x55,
1651 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45,
1652 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03,
1653 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x04, 0x12,
1654 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x44,
1655 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52,
1656 0x45, 0x53, 0x53, 0x10, 0x06, 0x22, 0x34, 0x0a, 0x0f, 0x4a, 0x6f, 0x62, 0x4e, 0x6f, 0x74, 0x69,
1657 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x73,
1658 0x75, 0x62, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
1659 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x22, 0xc7, 0x0b, 0x0a, 0x10,
1660 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1661 0x12, 0x58, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
1662 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1663 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
1664 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63,
1665 0x79, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1666 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x58, 0x0a, 0x08, 0x69, 0x6e,
1667 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67,
1668 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63,
1669 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63,
1670 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x49, 0x6e, 0x73, 0x74,
1671 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74,
1672 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
1673 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
1674 0x52, 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,
1675 0x74, 0x65, 0x73, 0x12, 0x70, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
1676 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e,
1677 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1678 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41,
1679 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
1680 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65,
1681 0x6c, 0x52, 0x12, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x4d,
1682 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
1683 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
1684 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x51,
1685 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39,
1686 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
1687 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x6c, 0x6c,
1688 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4c, 0x61,
1689 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c,
1690 0x73, 0x12, 0x55, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x07, 0x20, 0x01,
1691 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1692 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
1693 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63,
1694 0x79, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
1695 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x1a, 0x68, 0x0a, 0x0e, 0x4c, 0x6f, 0x63, 0x61,
1696 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x6c,
1697 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1698 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x4c, 0x6f,
1699 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x6e, 0x69, 0x65,
1700 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
1701 0x09, 0x52, 0x0f, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
1702 0x6e, 0x73, 0x1a, 0xff, 0x02, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50,
1703 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64,
1704 0x5f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01,
1705 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x4d, 0x61, 0x63,
1706 0x68, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x6e,
1707 0x69, 0x65, 0x64, 0x5f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65,
1708 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x4d,
1709 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x61,
1710 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x70, 0x6c, 0x61, 0x74, 0x66,
1711 0x6f, 0x72, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x61, 0x6c, 0x6c, 0x6f,
1712 0x77, 0x65, 0x64, 0x43, 0x70, 0x75, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x12,
1713 0x30, 0x0a, 0x14, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x70, 0x6c,
1714 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x64,
1715 0x65, 0x6e, 0x69, 0x65, 0x64, 0x43, 0x70, 0x75, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
1716 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63,
1717 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05,
1718 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x41, 0x63, 0x63,
1719 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x38, 0x0a,
1720 0x18, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61,
1721 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52,
1722 0x16, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x41, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74,
1723 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x63, 0x63, 0x65, 0x6c,
1724 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01,
1725 0x28, 0x03, 0x52, 0x10, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x43,
1726 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x81, 0x01, 0x0a, 0x10, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
1727 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74,
1728 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77,
1729 0x6f, 0x72, 0x6b, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
1730 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x77,
1731 0x6f, 0x72, 0x6b, 0x12, 0x33, 0x0a, 0x16, 0x6e, 0x6f, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e,
1732 0x61, 0x6c, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20,
1733 0x01, 0x28, 0x08, 0x52, 0x13, 0x6e, 0x6f, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49,
1734 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x1a, 0x7e, 0x0a, 0x0d, 0x4e, 0x65, 0x74, 0x77,
1735 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x6d, 0x0a, 0x12, 0x6e, 0x65, 0x74,
1736 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18,
1737 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1738 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
1739 0x68, 0x61, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f,
1740 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x74, 0x65,
1741 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e,
1742 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65,
1743 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
1744 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
1745 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
1746 0x02, 0x38, 0x01, 0x22, 0x60, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
1747 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x52, 0x4f, 0x56,
1748 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x55,
1749 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08,
1750 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x50,
1751 0x4f, 0x54, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x52, 0x45, 0x45, 0x4d, 0x50, 0x54, 0x49,
1752 0x42, 0x4c, 0x45, 0x10, 0x03, 0x22, 0xa5, 0x08, 0x0a, 0x09, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72,
1753 0x6f, 0x75, 0x70, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
1754 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x09,
1755 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
1756 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
1757 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61,
1758 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x74, 0x61, 0x73,
1759 0x6b, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x63, 0x6f,
1760 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x43,
1761 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c,
1762 0x69, 0x73, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c,
1763 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x12, 0x64, 0x0a, 0x11, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75,
1764 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28,
1765 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1766 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
1767 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75,
1768 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65,
1769 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x5a, 0x0a, 0x11,
1770 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
1771 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1772 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61,
1773 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1774 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
1775 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4a, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65,
1776 0x6c, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1777 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
1778 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70,
1779 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61,
1780 0x62, 0x65, 0x6c, 0x73, 0x12, 0x5f, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x6e, 0x76,
1781 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32,
1782 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
1783 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61,
1784 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d,
1785 0x65, 0x6e, 0x74, 0x52, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e,
1786 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2d, 0x0a, 0x13, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x63, 0x6f,
1787 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01,
1788 0x28, 0x03, 0x52, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72,
1789 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f,
1790 0x68, 0x6f, 0x73, 0x74, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08,
1791 0x52, 0x10, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x46, 0x69,
1792 0x6c, 0x65, 0x1a, 0xac, 0x01, 0x0a, 0x0b, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65,
1793 0x6e, 0x74, 0x12, 0x5f, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18,
1794 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1795 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
1796 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x45, 0x6e,
1797 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62,
1798 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62,
1799 0x6c, 0x65, 0x73, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73,
1800 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
1801 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
1802 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
1803 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
1804 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1805 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1806 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4e, 0x0a, 0x10,
1807 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1808 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x50,
1809 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
1810 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x53, 0x5f, 0x53, 0x4f, 0x4f, 0x4e, 0x5f, 0x41,
1811 0x53, 0x5f, 0x50, 0x4f, 0x53, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x3a, 0x6f, 0xea, 0x41,
1812 0x6c, 0x0a, 0x1e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
1813 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75,
1814 0x70, 0x12, 0x4a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
1815 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
1816 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f,
1817 0x7b, 0x6a, 0x6f, 0x62, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73,
1818 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x7d, 0x42, 0x75, 0x0a,
1819 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1820 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
1821 0x42, 0x08, 0x4a, 0x6f, 0x62, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x6f,
1822 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
1823 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
1824 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f,
1825 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x62, 0x61, 0x74, 0x63, 0x68, 0xa2, 0x02,
1826 0x03, 0x47, 0x43, 0x42, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1827 }
1828
1829 var (
1830 file_google_cloud_batch_v1alpha1_job_proto_rawDescOnce sync.Once
1831 file_google_cloud_batch_v1alpha1_job_proto_rawDescData = file_google_cloud_batch_v1alpha1_job_proto_rawDesc
1832 )
1833
1834 func file_google_cloud_batch_v1alpha1_job_proto_rawDescGZIP() []byte {
1835 file_google_cloud_batch_v1alpha1_job_proto_rawDescOnce.Do(func() {
1836 file_google_cloud_batch_v1alpha1_job_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_batch_v1alpha1_job_proto_rawDescData)
1837 })
1838 return file_google_cloud_batch_v1alpha1_job_proto_rawDescData
1839 }
1840
1841 var file_google_cloud_batch_v1alpha1_job_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
1842 var file_google_cloud_batch_v1alpha1_job_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
1843 var file_google_cloud_batch_v1alpha1_job_proto_goTypes = []interface{}{
1844 (Job_SchedulingPolicy)(0), // 0: google.cloud.batch.v1alpha1.Job.SchedulingPolicy
1845 (LogsPolicy_Destination)(0), // 1: google.cloud.batch.v1alpha1.LogsPolicy.Destination
1846 (JobDependency_Type)(0), // 2: google.cloud.batch.v1alpha1.JobDependency.Type
1847 (JobStatus_State)(0), // 3: google.cloud.batch.v1alpha1.JobStatus.State
1848 (AllocationPolicy_ProvisioningModel)(0), // 4: google.cloud.batch.v1alpha1.AllocationPolicy.ProvisioningModel
1849 (TaskGroup_SchedulingPolicy)(0), // 5: google.cloud.batch.v1alpha1.TaskGroup.SchedulingPolicy
1850 (*Job)(nil), // 6: google.cloud.batch.v1alpha1.Job
1851 (*LogsPolicy)(nil), // 7: google.cloud.batch.v1alpha1.LogsPolicy
1852 (*JobDependency)(nil), // 8: google.cloud.batch.v1alpha1.JobDependency
1853 (*JobStatus)(nil), // 9: google.cloud.batch.v1alpha1.JobStatus
1854 (*JobNotification)(nil), // 10: google.cloud.batch.v1alpha1.JobNotification
1855 (*AllocationPolicy)(nil), // 11: google.cloud.batch.v1alpha1.AllocationPolicy
1856 (*TaskGroup)(nil), // 12: google.cloud.batch.v1alpha1.TaskGroup
1857 nil, // 13: google.cloud.batch.v1alpha1.Job.LabelsEntry
1858 nil, // 14: google.cloud.batch.v1alpha1.JobDependency.ItemsEntry
1859 (*JobStatus_TaskGroupStatus)(nil), // 15: google.cloud.batch.v1alpha1.JobStatus.TaskGroupStatus
1860 nil, // 16: google.cloud.batch.v1alpha1.JobStatus.TaskGroupsEntry
1861 nil, // 17: google.cloud.batch.v1alpha1.JobStatus.TaskGroupStatus.CountsEntry
1862 (*AllocationPolicy_LocationPolicy)(nil), // 18: google.cloud.batch.v1alpha1.AllocationPolicy.LocationPolicy
1863 (*AllocationPolicy_InstancePolicy)(nil), // 19: google.cloud.batch.v1alpha1.AllocationPolicy.InstancePolicy
1864 (*AllocationPolicy_NetworkInterface)(nil), // 20: google.cloud.batch.v1alpha1.AllocationPolicy.NetworkInterface
1865 (*AllocationPolicy_NetworkPolicy)(nil), // 21: google.cloud.batch.v1alpha1.AllocationPolicy.NetworkPolicy
1866 nil, // 22: google.cloud.batch.v1alpha1.AllocationPolicy.LabelsEntry
1867 (*TaskGroup_Environment)(nil), // 23: google.cloud.batch.v1alpha1.TaskGroup.Environment
1868 nil, // 24: google.cloud.batch.v1alpha1.TaskGroup.LabelsEntry
1869 nil, // 25: google.cloud.batch.v1alpha1.TaskGroup.Environment.VariablesEntry
1870 (*timestamppb.Timestamp)(nil), // 26: google.protobuf.Timestamp
1871 (*StatusEvent)(nil), // 27: google.cloud.batch.v1alpha1.StatusEvent
1872 (*durationpb.Duration)(nil), // 28: google.protobuf.Duration
1873 (*TaskSpec)(nil), // 29: google.cloud.batch.v1alpha1.TaskSpec
1874 }
1875 var file_google_cloud_batch_v1alpha1_job_proto_depIdxs = []int32{
1876 12, // 0: google.cloud.batch.v1alpha1.Job.task_groups:type_name -> google.cloud.batch.v1alpha1.TaskGroup
1877 0, // 1: google.cloud.batch.v1alpha1.Job.scheduling_policy:type_name -> google.cloud.batch.v1alpha1.Job.SchedulingPolicy
1878 8, // 2: google.cloud.batch.v1alpha1.Job.dependencies:type_name -> google.cloud.batch.v1alpha1.JobDependency
1879 11, // 3: google.cloud.batch.v1alpha1.Job.allocation_policy:type_name -> google.cloud.batch.v1alpha1.AllocationPolicy
1880 13, // 4: google.cloud.batch.v1alpha1.Job.labels:type_name -> google.cloud.batch.v1alpha1.Job.LabelsEntry
1881 9, // 5: google.cloud.batch.v1alpha1.Job.status:type_name -> google.cloud.batch.v1alpha1.JobStatus
1882 10, // 6: google.cloud.batch.v1alpha1.Job.notification:type_name -> google.cloud.batch.v1alpha1.JobNotification
1883 26, // 7: google.cloud.batch.v1alpha1.Job.create_time:type_name -> google.protobuf.Timestamp
1884 26, // 8: google.cloud.batch.v1alpha1.Job.update_time:type_name -> google.protobuf.Timestamp
1885 7, // 9: google.cloud.batch.v1alpha1.Job.logs_policy:type_name -> google.cloud.batch.v1alpha1.LogsPolicy
1886 1, // 10: google.cloud.batch.v1alpha1.LogsPolicy.destination:type_name -> google.cloud.batch.v1alpha1.LogsPolicy.Destination
1887 14, // 11: google.cloud.batch.v1alpha1.JobDependency.items:type_name -> google.cloud.batch.v1alpha1.JobDependency.ItemsEntry
1888 3, // 12: google.cloud.batch.v1alpha1.JobStatus.state:type_name -> google.cloud.batch.v1alpha1.JobStatus.State
1889 27, // 13: google.cloud.batch.v1alpha1.JobStatus.status_events:type_name -> google.cloud.batch.v1alpha1.StatusEvent
1890 16, // 14: google.cloud.batch.v1alpha1.JobStatus.task_groups:type_name -> google.cloud.batch.v1alpha1.JobStatus.TaskGroupsEntry
1891 28, // 15: google.cloud.batch.v1alpha1.JobStatus.run_duration:type_name -> google.protobuf.Duration
1892 18, // 16: google.cloud.batch.v1alpha1.AllocationPolicy.location:type_name -> google.cloud.batch.v1alpha1.AllocationPolicy.LocationPolicy
1893 19, // 17: google.cloud.batch.v1alpha1.AllocationPolicy.instance:type_name -> google.cloud.batch.v1alpha1.AllocationPolicy.InstancePolicy
1894 4, // 18: google.cloud.batch.v1alpha1.AllocationPolicy.provisioning_models:type_name -> google.cloud.batch.v1alpha1.AllocationPolicy.ProvisioningModel
1895 22, // 19: google.cloud.batch.v1alpha1.AllocationPolicy.labels:type_name -> google.cloud.batch.v1alpha1.AllocationPolicy.LabelsEntry
1896 21, // 20: google.cloud.batch.v1alpha1.AllocationPolicy.network:type_name -> google.cloud.batch.v1alpha1.AllocationPolicy.NetworkPolicy
1897 29, // 21: google.cloud.batch.v1alpha1.TaskGroup.task_spec:type_name -> google.cloud.batch.v1alpha1.TaskSpec
1898 5, // 22: google.cloud.batch.v1alpha1.TaskGroup.scheduling_policy:type_name -> google.cloud.batch.v1alpha1.TaskGroup.SchedulingPolicy
1899 11, // 23: google.cloud.batch.v1alpha1.TaskGroup.allocation_policy:type_name -> google.cloud.batch.v1alpha1.AllocationPolicy
1900 24, // 24: google.cloud.batch.v1alpha1.TaskGroup.labels:type_name -> google.cloud.batch.v1alpha1.TaskGroup.LabelsEntry
1901 23, // 25: google.cloud.batch.v1alpha1.TaskGroup.task_environments:type_name -> google.cloud.batch.v1alpha1.TaskGroup.Environment
1902 2, // 26: google.cloud.batch.v1alpha1.JobDependency.ItemsEntry.value:type_name -> google.cloud.batch.v1alpha1.JobDependency.Type
1903 17, // 27: google.cloud.batch.v1alpha1.JobStatus.TaskGroupStatus.counts:type_name -> google.cloud.batch.v1alpha1.JobStatus.TaskGroupStatus.CountsEntry
1904 15, // 28: google.cloud.batch.v1alpha1.JobStatus.TaskGroupsEntry.value:type_name -> google.cloud.batch.v1alpha1.JobStatus.TaskGroupStatus
1905 20, // 29: google.cloud.batch.v1alpha1.AllocationPolicy.NetworkPolicy.network_interfaces:type_name -> google.cloud.batch.v1alpha1.AllocationPolicy.NetworkInterface
1906 25, // 30: google.cloud.batch.v1alpha1.TaskGroup.Environment.variables:type_name -> google.cloud.batch.v1alpha1.TaskGroup.Environment.VariablesEntry
1907 31, // [31:31] is the sub-list for method output_type
1908 31, // [31:31] is the sub-list for method input_type
1909 31, // [31:31] is the sub-list for extension type_name
1910 31, // [31:31] is the sub-list for extension extendee
1911 0, // [0:31] is the sub-list for field type_name
1912 }
1913
1914 func init() { file_google_cloud_batch_v1alpha1_job_proto_init() }
1915 func file_google_cloud_batch_v1alpha1_job_proto_init() {
1916 if File_google_cloud_batch_v1alpha1_job_proto != nil {
1917 return
1918 }
1919 file_google_cloud_batch_v1alpha1_task_proto_init()
1920 if !protoimpl.UnsafeEnabled {
1921 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1922 switch v := v.(*Job); i {
1923 case 0:
1924 return &v.state
1925 case 1:
1926 return &v.sizeCache
1927 case 2:
1928 return &v.unknownFields
1929 default:
1930 return nil
1931 }
1932 }
1933 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1934 switch v := v.(*LogsPolicy); i {
1935 case 0:
1936 return &v.state
1937 case 1:
1938 return &v.sizeCache
1939 case 2:
1940 return &v.unknownFields
1941 default:
1942 return nil
1943 }
1944 }
1945 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1946 switch v := v.(*JobDependency); i {
1947 case 0:
1948 return &v.state
1949 case 1:
1950 return &v.sizeCache
1951 case 2:
1952 return &v.unknownFields
1953 default:
1954 return nil
1955 }
1956 }
1957 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1958 switch v := v.(*JobStatus); i {
1959 case 0:
1960 return &v.state
1961 case 1:
1962 return &v.sizeCache
1963 case 2:
1964 return &v.unknownFields
1965 default:
1966 return nil
1967 }
1968 }
1969 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1970 switch v := v.(*JobNotification); i {
1971 case 0:
1972 return &v.state
1973 case 1:
1974 return &v.sizeCache
1975 case 2:
1976 return &v.unknownFields
1977 default:
1978 return nil
1979 }
1980 }
1981 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1982 switch v := v.(*AllocationPolicy); i {
1983 case 0:
1984 return &v.state
1985 case 1:
1986 return &v.sizeCache
1987 case 2:
1988 return &v.unknownFields
1989 default:
1990 return nil
1991 }
1992 }
1993 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1994 switch v := v.(*TaskGroup); i {
1995 case 0:
1996 return &v.state
1997 case 1:
1998 return &v.sizeCache
1999 case 2:
2000 return &v.unknownFields
2001 default:
2002 return nil
2003 }
2004 }
2005 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2006 switch v := v.(*JobStatus_TaskGroupStatus); i {
2007 case 0:
2008 return &v.state
2009 case 1:
2010 return &v.sizeCache
2011 case 2:
2012 return &v.unknownFields
2013 default:
2014 return nil
2015 }
2016 }
2017 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2018 switch v := v.(*AllocationPolicy_LocationPolicy); i {
2019 case 0:
2020 return &v.state
2021 case 1:
2022 return &v.sizeCache
2023 case 2:
2024 return &v.unknownFields
2025 default:
2026 return nil
2027 }
2028 }
2029 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2030 switch v := v.(*AllocationPolicy_InstancePolicy); i {
2031 case 0:
2032 return &v.state
2033 case 1:
2034 return &v.sizeCache
2035 case 2:
2036 return &v.unknownFields
2037 default:
2038 return nil
2039 }
2040 }
2041 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2042 switch v := v.(*AllocationPolicy_NetworkInterface); i {
2043 case 0:
2044 return &v.state
2045 case 1:
2046 return &v.sizeCache
2047 case 2:
2048 return &v.unknownFields
2049 default:
2050 return nil
2051 }
2052 }
2053 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2054 switch v := v.(*AllocationPolicy_NetworkPolicy); i {
2055 case 0:
2056 return &v.state
2057 case 1:
2058 return &v.sizeCache
2059 case 2:
2060 return &v.unknownFields
2061 default:
2062 return nil
2063 }
2064 }
2065 file_google_cloud_batch_v1alpha1_job_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2066 switch v := v.(*TaskGroup_Environment); i {
2067 case 0:
2068 return &v.state
2069 case 1:
2070 return &v.sizeCache
2071 case 2:
2072 return &v.unknownFields
2073 default:
2074 return nil
2075 }
2076 }
2077 }
2078 type x struct{}
2079 out := protoimpl.TypeBuilder{
2080 File: protoimpl.DescBuilder{
2081 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2082 RawDescriptor: file_google_cloud_batch_v1alpha1_job_proto_rawDesc,
2083 NumEnums: 6,
2084 NumMessages: 20,
2085 NumExtensions: 0,
2086 NumServices: 0,
2087 },
2088 GoTypes: file_google_cloud_batch_v1alpha1_job_proto_goTypes,
2089 DependencyIndexes: file_google_cloud_batch_v1alpha1_job_proto_depIdxs,
2090 EnumInfos: file_google_cloud_batch_v1alpha1_job_proto_enumTypes,
2091 MessageInfos: file_google_cloud_batch_v1alpha1_job_proto_msgTypes,
2092 }.Build()
2093 File_google_cloud_batch_v1alpha1_job_proto = out.File
2094 file_google_cloud_batch_v1alpha1_job_proto_rawDesc = nil
2095 file_google_cloud_batch_v1alpha1_job_proto_goTypes = nil
2096 file_google_cloud_batch_v1alpha1_job_proto_depIdxs = nil
2097 }