Debian Codegraph @

googleapis/cloud/batch/v1alpha/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.21.9
19 // source: google/cloud/batch/v1alpha/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 // Not yet implemented.
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_v1alpha_job_proto_enumTypes[0].Descriptor()
77 }
78
79 func (Job_SchedulingPolicy) Type() protoreflect.EnumType {
80 return &file_google_cloud_batch_v1alpha_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_v1alpha_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 file 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_v1alpha_job_proto_enumTypes[1].Descriptor()
130 }
131
132 func (LogsPolicy_Destination) Type() protoreflect.EnumType {
133 return &file_google_cloud_batch_v1alpha_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_v1alpha_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_v1alpha_job_proto_enumTypes[2].Descriptor()
187 }
188
189 func (JobDependency_Type) Type() protoreflect.EnumType {
190 return &file_google_cloud_batch_v1alpha_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_v1alpha_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 admitted (validated and persisted) and waiting for resources.
208 JobStatus_QUEUED JobStatus_State = 1
209 // Job is scheduled to run as soon as resource allocation is ready.
210 // The resource allocation may happen at a later time but with a high
211 // chance to succeed.
212 JobStatus_SCHEDULED JobStatus_State = 2
213 // Resource allocation has been successful. At least one Task in the Job is
214 // RUNNING.
215 JobStatus_RUNNING JobStatus_State = 3
216 // All Tasks in the Job have finished successfully.
217 JobStatus_SUCCEEDED JobStatus_State = 4
218 // At least one Task in the Job has failed.
219 JobStatus_FAILED JobStatus_State = 5
220 // The Job will be deleted, but has not been deleted yet. Typically this is
221 // because resources used by the Job are still being cleaned up.
222 JobStatus_DELETION_IN_PROGRESS JobStatus_State = 6
223 )
224
225 // Enum value maps for JobStatus_State.
226 var (
227 JobStatus_State_name = map[int32]string{
228 0: "STATE_UNSPECIFIED",
229 1: "QUEUED",
230 2: "SCHEDULED",
231 3: "RUNNING",
232 4: "SUCCEEDED",
233 5: "FAILED",
234 6: "DELETION_IN_PROGRESS",
235 }
236 JobStatus_State_value = map[string]int32{
237 "STATE_UNSPECIFIED": 0,
238 "QUEUED": 1,
239 "SCHEDULED": 2,
240 "RUNNING": 3,
241 "SUCCEEDED": 4,
242 "FAILED": 5,
243 "DELETION_IN_PROGRESS": 6,
244 }
245 )
246
247 func (x JobStatus_State) Enum() *JobStatus_State {
248 p := new(JobStatus_State)
249 *p = x
250 return p
251 }
252
253 func (x JobStatus_State) String() string {
254 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
255 }
256
257 func (JobStatus_State) Descriptor() protoreflect.EnumDescriptor {
258 return file_google_cloud_batch_v1alpha_job_proto_enumTypes[3].Descriptor()
259 }
260
261 func (JobStatus_State) Type() protoreflect.EnumType {
262 return &file_google_cloud_batch_v1alpha_job_proto_enumTypes[3]
263 }
264
265 func (x JobStatus_State) Number() protoreflect.EnumNumber {
266 return protoreflect.EnumNumber(x)
267 }
268
269 // Deprecated: Use JobStatus_State.Descriptor instead.
270 func (JobStatus_State) EnumDescriptor() ([]byte, []int) {
271 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{3, 0}
272 }
273
274 // The message type.
275 type JobNotification_Type int32
276
277 const (
278 // Unspecified.
279 JobNotification_TYPE_UNSPECIFIED JobNotification_Type = 0
280 // Notify users that the job state has changed.
281 JobNotification_JOB_STATE_CHANGED JobNotification_Type = 1
282 // Notify users that the task state has changed.
283 JobNotification_TASK_STATE_CHANGED JobNotification_Type = 2
284 )
285
286 // Enum value maps for JobNotification_Type.
287 var (
288 JobNotification_Type_name = map[int32]string{
289 0: "TYPE_UNSPECIFIED",
290 1: "JOB_STATE_CHANGED",
291 2: "TASK_STATE_CHANGED",
292 }
293 JobNotification_Type_value = map[string]int32{
294 "TYPE_UNSPECIFIED": 0,
295 "JOB_STATE_CHANGED": 1,
296 "TASK_STATE_CHANGED": 2,
297 }
298 )
299
300 func (x JobNotification_Type) Enum() *JobNotification_Type {
301 p := new(JobNotification_Type)
302 *p = x
303 return p
304 }
305
306 func (x JobNotification_Type) String() string {
307 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
308 }
309
310 func (JobNotification_Type) Descriptor() protoreflect.EnumDescriptor {
311 return file_google_cloud_batch_v1alpha_job_proto_enumTypes[4].Descriptor()
312 }
313
314 func (JobNotification_Type) Type() protoreflect.EnumType {
315 return &file_google_cloud_batch_v1alpha_job_proto_enumTypes[4]
316 }
317
318 func (x JobNotification_Type) Number() protoreflect.EnumNumber {
319 return protoreflect.EnumNumber(x)
320 }
321
322 // Deprecated: Use JobNotification_Type.Descriptor instead.
323 func (JobNotification_Type) EnumDescriptor() ([]byte, []int) {
324 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{4, 0}
325 }
326
327 // Compute Engine VM instance provisioning model.
328 type AllocationPolicy_ProvisioningModel int32
329
330 const (
331 // Unspecified.
332 AllocationPolicy_PROVISIONING_MODEL_UNSPECIFIED AllocationPolicy_ProvisioningModel = 0
333 // Standard VM.
334 AllocationPolicy_STANDARD AllocationPolicy_ProvisioningModel = 1
335 // SPOT VM.
336 AllocationPolicy_SPOT AllocationPolicy_ProvisioningModel = 2
337 // Preemptible VM (PVM).
338 //
339 // Above SPOT VM is the preferable model for preemptible VM instances: the
340 // old preemptible VM model (indicated by this field) is the older model,
341 // and has been migrated to use the SPOT model as the underlying technology.
342 // This old model will still be supported.
343 AllocationPolicy_PREEMPTIBLE AllocationPolicy_ProvisioningModel = 3
344 )
345
346 // Enum value maps for AllocationPolicy_ProvisioningModel.
347 var (
348 AllocationPolicy_ProvisioningModel_name = map[int32]string{
349 0: "PROVISIONING_MODEL_UNSPECIFIED",
350 1: "STANDARD",
351 2: "SPOT",
352 3: "PREEMPTIBLE",
353 }
354 AllocationPolicy_ProvisioningModel_value = map[string]int32{
355 "PROVISIONING_MODEL_UNSPECIFIED": 0,
356 "STANDARD": 1,
357 "SPOT": 2,
358 "PREEMPTIBLE": 3,
359 }
360 )
361
362 func (x AllocationPolicy_ProvisioningModel) Enum() *AllocationPolicy_ProvisioningModel {
363 p := new(AllocationPolicy_ProvisioningModel)
364 *p = x
365 return p
366 }
367
368 func (x AllocationPolicy_ProvisioningModel) String() string {
369 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
370 }
371
372 func (AllocationPolicy_ProvisioningModel) Descriptor() protoreflect.EnumDescriptor {
373 return file_google_cloud_batch_v1alpha_job_proto_enumTypes[5].Descriptor()
374 }
375
376 func (AllocationPolicy_ProvisioningModel) Type() protoreflect.EnumType {
377 return &file_google_cloud_batch_v1alpha_job_proto_enumTypes[5]
378 }
379
380 func (x AllocationPolicy_ProvisioningModel) Number() protoreflect.EnumNumber {
381 return protoreflect.EnumNumber(x)
382 }
383
384 // Deprecated: Use AllocationPolicy_ProvisioningModel.Descriptor instead.
385 func (AllocationPolicy_ProvisioningModel) EnumDescriptor() ([]byte, []int) {
386 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{5, 0}
387 }
388
389 // How Tasks in the TaskGroup should be scheduled relative to each other.
390 type TaskGroup_SchedulingPolicy int32
391
392 const (
393 // Unspecified.
394 TaskGroup_SCHEDULING_POLICY_UNSPECIFIED TaskGroup_SchedulingPolicy = 0
395 // Run Tasks as soon as resources are available.
396 TaskGroup_AS_SOON_AS_POSSIBLE TaskGroup_SchedulingPolicy = 1
397 )
398
399 // Enum value maps for TaskGroup_SchedulingPolicy.
400 var (
401 TaskGroup_SchedulingPolicy_name = map[int32]string{
402 0: "SCHEDULING_POLICY_UNSPECIFIED",
403 1: "AS_SOON_AS_POSSIBLE",
404 }
405 TaskGroup_SchedulingPolicy_value = map[string]int32{
406 "SCHEDULING_POLICY_UNSPECIFIED": 0,
407 "AS_SOON_AS_POSSIBLE": 1,
408 }
409 )
410
411 func (x TaskGroup_SchedulingPolicy) Enum() *TaskGroup_SchedulingPolicy {
412 p := new(TaskGroup_SchedulingPolicy)
413 *p = x
414 return p
415 }
416
417 func (x TaskGroup_SchedulingPolicy) String() string {
418 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
419 }
420
421 func (TaskGroup_SchedulingPolicy) Descriptor() protoreflect.EnumDescriptor {
422 return file_google_cloud_batch_v1alpha_job_proto_enumTypes[6].Descriptor()
423 }
424
425 func (TaskGroup_SchedulingPolicy) Type() protoreflect.EnumType {
426 return &file_google_cloud_batch_v1alpha_job_proto_enumTypes[6]
427 }
428
429 func (x TaskGroup_SchedulingPolicy) Number() protoreflect.EnumNumber {
430 return protoreflect.EnumNumber(x)
431 }
432
433 // Deprecated: Use TaskGroup_SchedulingPolicy.Descriptor instead.
434 func (TaskGroup_SchedulingPolicy) EnumDescriptor() ([]byte, []int) {
435 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{6, 0}
436 }
437
438 // The Cloud Batch Job description.
439 type Job struct {
440 state protoimpl.MessageState
441 sizeCache protoimpl.SizeCache
442 unknownFields protoimpl.UnknownFields
443
444 // Output only. Job name.
445 // For example: "projects/123456/locations/us-central1/jobs/job01".
446 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
447 // Output only. A system generated unique ID (in UUID4 format) for the Job.
448 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
449 // Priority of the Job.
450 // The valid value range is [0, 100).
451 // A job with higher priority value is more likely to run earlier if all other
452 // requirements are satisfied.
453 Priority int64 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
454 // Required. TaskGroups in the Job. Only one TaskGroup is supported now.
455 TaskGroups []*TaskGroup `protobuf:"bytes,4,rep,name=task_groups,json=taskGroups,proto3" json:"task_groups,omitempty"`
456 // Scheduling policy for TaskGroups in the job.
457 SchedulingPolicy Job_SchedulingPolicy `protobuf:"varint,5,opt,name=scheduling_policy,json=schedulingPolicy,proto3,enum=google.cloud.batch.v1alpha.Job_SchedulingPolicy" json:"scheduling_policy,omitempty"`
458 // At least one of the dependencies must be satisfied before the Job is
459 // scheduled to run.
460 // Only one JobDependency is supported now.
461 // Not yet implemented.
462 Dependencies []*JobDependency `protobuf:"bytes,6,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
463 // Compute resource allocation for all TaskGroups in the Job.
464 AllocationPolicy *AllocationPolicy `protobuf:"bytes,7,opt,name=allocation_policy,json=allocationPolicy,proto3" json:"allocation_policy,omitempty"`
465 // Labels for the Job. Labels could be user provided or system generated.
466 // For example,
467 //
468 // "labels": {
469 // "department": "finance",
470 // "environment": "test"
471 // }
472 //
473 // You can assign up to 64 labels. [Google Compute Engine label
474 // restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions)
475 // apply.
476 // Label names that start with "goog-" or "google-" are reserved.
477 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"`
478 // Output only. Job status. It is read only for users.
479 Status *JobStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
480 // Deprecated: please use notifications instead.
481 //
482 // Deprecated: Do not use.
483 Notification *JobNotification `protobuf:"bytes,10,opt,name=notification,proto3" json:"notification,omitempty"`
484 // Output only. When the Job was created.
485 CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
486 // Output only. The last time the Job was updated.
487 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
488 // Log preservation policy for the Job.
489 LogsPolicy *LogsPolicy `protobuf:"bytes,13,opt,name=logs_policy,json=logsPolicy,proto3" json:"logs_policy,omitempty"`
490 // Notification configurations.
491 Notifications []*JobNotification `protobuf:"bytes,14,rep,name=notifications,proto3" json:"notifications,omitempty"`
492 }
493
494 func (x *Job) Reset() {
495 *x = Job{}
496 if protoimpl.UnsafeEnabled {
497 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[0]
498 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
499 ms.StoreMessageInfo(mi)
500 }
501 }
502
503 func (x *Job) String() string {
504 return protoimpl.X.MessageStringOf(x)
505 }
506
507 func (*Job) ProtoMessage() {}
508
509 func (x *Job) ProtoReflect() protoreflect.Message {
510 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[0]
511 if protoimpl.UnsafeEnabled && x != nil {
512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
513 if ms.LoadMessageInfo() == nil {
514 ms.StoreMessageInfo(mi)
515 }
516 return ms
517 }
518 return mi.MessageOf(x)
519 }
520
521 // Deprecated: Use Job.ProtoReflect.Descriptor instead.
522 func (*Job) Descriptor() ([]byte, []int) {
523 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{0}
524 }
525
526 func (x *Job) GetName() string {
527 if x != nil {
528 return x.Name
529 }
530 return ""
531 }
532
533 func (x *Job) GetUid() string {
534 if x != nil {
535 return x.Uid
536 }
537 return ""
538 }
539
540 func (x *Job) GetPriority() int64 {
541 if x != nil {
542 return x.Priority
543 }
544 return 0
545 }
546
547 func (x *Job) GetTaskGroups() []*TaskGroup {
548 if x != nil {
549 return x.TaskGroups
550 }
551 return nil
552 }
553
554 func (x *Job) GetSchedulingPolicy() Job_SchedulingPolicy {
555 if x != nil {
556 return x.SchedulingPolicy
557 }
558 return Job_SCHEDULING_POLICY_UNSPECIFIED
559 }
560
561 func (x *Job) GetDependencies() []*JobDependency {
562 if x != nil {
563 return x.Dependencies
564 }
565 return nil
566 }
567
568 func (x *Job) GetAllocationPolicy() *AllocationPolicy {
569 if x != nil {
570 return x.AllocationPolicy
571 }
572 return nil
573 }
574
575 func (x *Job) GetLabels() map[string]string {
576 if x != nil {
577 return x.Labels
578 }
579 return nil
580 }
581
582 func (x *Job) GetStatus() *JobStatus {
583 if x != nil {
584 return x.Status
585 }
586 return nil
587 }
588
589 // Deprecated: Do not use.
590 func (x *Job) GetNotification() *JobNotification {
591 if x != nil {
592 return x.Notification
593 }
594 return nil
595 }
596
597 func (x *Job) GetCreateTime() *timestamppb.Timestamp {
598 if x != nil {
599 return x.CreateTime
600 }
601 return nil
602 }
603
604 func (x *Job) GetUpdateTime() *timestamppb.Timestamp {
605 if x != nil {
606 return x.UpdateTime
607 }
608 return nil
609 }
610
611 func (x *Job) GetLogsPolicy() *LogsPolicy {
612 if x != nil {
613 return x.LogsPolicy
614 }
615 return nil
616 }
617
618 func (x *Job) GetNotifications() []*JobNotification {
619 if x != nil {
620 return x.Notifications
621 }
622 return nil
623 }
624
625 // LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be
626 // preserved.
627 type LogsPolicy struct {
628 state protoimpl.MessageState
629 sizeCache protoimpl.SizeCache
630 unknownFields protoimpl.UnknownFields
631
632 // Where logs should be saved.
633 Destination LogsPolicy_Destination `protobuf:"varint,1,opt,name=destination,proto3,enum=google.cloud.batch.v1alpha.LogsPolicy_Destination" json:"destination,omitempty"`
634 // The path to which logs are saved when the destination = PATH. This can be a
635 // local file path on the VM, or under the mount point of a Persistent Disk or
636 // Filestore, or a Cloud Storage path.
637 LogsPath string `protobuf:"bytes,2,opt,name=logs_path,json=logsPath,proto3" json:"logs_path,omitempty"`
638 }
639
640 func (x *LogsPolicy) Reset() {
641 *x = LogsPolicy{}
642 if protoimpl.UnsafeEnabled {
643 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[1]
644 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
645 ms.StoreMessageInfo(mi)
646 }
647 }
648
649 func (x *LogsPolicy) String() string {
650 return protoimpl.X.MessageStringOf(x)
651 }
652
653 func (*LogsPolicy) ProtoMessage() {}
654
655 func (x *LogsPolicy) ProtoReflect() protoreflect.Message {
656 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[1]
657 if protoimpl.UnsafeEnabled && x != nil {
658 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
659 if ms.LoadMessageInfo() == nil {
660 ms.StoreMessageInfo(mi)
661 }
662 return ms
663 }
664 return mi.MessageOf(x)
665 }
666
667 // Deprecated: Use LogsPolicy.ProtoReflect.Descriptor instead.
668 func (*LogsPolicy) Descriptor() ([]byte, []int) {
669 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{1}
670 }
671
672 func (x *LogsPolicy) GetDestination() LogsPolicy_Destination {
673 if x != nil {
674 return x.Destination
675 }
676 return LogsPolicy_DESTINATION_UNSPECIFIED
677 }
678
679 func (x *LogsPolicy) GetLogsPath() string {
680 if x != nil {
681 return x.LogsPath
682 }
683 return ""
684 }
685
686 // JobDependency describes the state of other Jobs that the start of this Job
687 // depends on.
688 // All dependent Jobs must have been submitted in the same region.
689 type JobDependency struct {
690 state protoimpl.MessageState
691 sizeCache protoimpl.SizeCache
692 unknownFields protoimpl.UnknownFields
693
694 // Each item maps a Job name to a Type.
695 // All items must be satisfied for the JobDependency to be satisfied (the AND
696 // operation).
697 // Once a condition for one item becomes true, it won't go back to false
698 // even the dependent Job state changes again.
699 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.v1alpha.JobDependency_Type"`
700 }
701
702 func (x *JobDependency) Reset() {
703 *x = JobDependency{}
704 if protoimpl.UnsafeEnabled {
705 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[2]
706 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
707 ms.StoreMessageInfo(mi)
708 }
709 }
710
711 func (x *JobDependency) String() string {
712 return protoimpl.X.MessageStringOf(x)
713 }
714
715 func (*JobDependency) ProtoMessage() {}
716
717 func (x *JobDependency) ProtoReflect() protoreflect.Message {
718 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[2]
719 if protoimpl.UnsafeEnabled && x != nil {
720 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
721 if ms.LoadMessageInfo() == nil {
722 ms.StoreMessageInfo(mi)
723 }
724 return ms
725 }
726 return mi.MessageOf(x)
727 }
728
729 // Deprecated: Use JobDependency.ProtoReflect.Descriptor instead.
730 func (*JobDependency) Descriptor() ([]byte, []int) {
731 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{2}
732 }
733
734 func (x *JobDependency) GetItems() map[string]JobDependency_Type {
735 if x != nil {
736 return x.Items
737 }
738 return nil
739 }
740
741 // Job status.
742 type JobStatus struct {
743 state protoimpl.MessageState
744 sizeCache protoimpl.SizeCache
745 unknownFields protoimpl.UnknownFields
746
747 // Job state
748 State JobStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.batch.v1alpha.JobStatus_State" json:"state,omitempty"`
749 // Job status events
750 StatusEvents []*StatusEvent `protobuf:"bytes,2,rep,name=status_events,json=statusEvents,proto3" json:"status_events,omitempty"`
751 // Aggregated task status for each TaskGroup in the Job.
752 // The map key is TaskGroup ID.
753 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"`
754 // The duration of time that the Job spent in status RUNNING.
755 RunDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=run_duration,json=runDuration,proto3" json:"run_duration,omitempty"`
756 }
757
758 func (x *JobStatus) Reset() {
759 *x = JobStatus{}
760 if protoimpl.UnsafeEnabled {
761 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[3]
762 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
763 ms.StoreMessageInfo(mi)
764 }
765 }
766
767 func (x *JobStatus) String() string {
768 return protoimpl.X.MessageStringOf(x)
769 }
770
771 func (*JobStatus) ProtoMessage() {}
772
773 func (x *JobStatus) ProtoReflect() protoreflect.Message {
774 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[3]
775 if protoimpl.UnsafeEnabled && x != nil {
776 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
777 if ms.LoadMessageInfo() == nil {
778 ms.StoreMessageInfo(mi)
779 }
780 return ms
781 }
782 return mi.MessageOf(x)
783 }
784
785 // Deprecated: Use JobStatus.ProtoReflect.Descriptor instead.
786 func (*JobStatus) Descriptor() ([]byte, []int) {
787 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{3}
788 }
789
790 func (x *JobStatus) GetState() JobStatus_State {
791 if x != nil {
792 return x.State
793 }
794 return JobStatus_STATE_UNSPECIFIED
795 }
796
797 func (x *JobStatus) GetStatusEvents() []*StatusEvent {
798 if x != nil {
799 return x.StatusEvents
800 }
801 return nil
802 }
803
804 func (x *JobStatus) GetTaskGroups() map[string]*JobStatus_TaskGroupStatus {
805 if x != nil {
806 return x.TaskGroups
807 }
808 return nil
809 }
810
811 func (x *JobStatus) GetRunDuration() *durationpb.Duration {
812 if x != nil {
813 return x.RunDuration
814 }
815 return nil
816 }
817
818 // Notification configurations.
819 type JobNotification struct {
820 state protoimpl.MessageState
821 sizeCache protoimpl.SizeCache
822 unknownFields protoimpl.UnknownFields
823
824 // The Pub/Sub topic where notifications like the job state changes
825 // will be published. This topic exist in the same project as the job
826 // and billings will be charged to this project.
827 // If not specified, no Pub/Sub messages will be sent.
828 // Topic format: `projects/{project}/topics/{topic}`.
829 PubsubTopic string `protobuf:"bytes,1,opt,name=pubsub_topic,json=pubsubTopic,proto3" json:"pubsub_topic,omitempty"`
830 // The attribute requirements of messages to be sent to this Pub/Sub topic.
831 // Without this field, no message will be sent.
832 Message *JobNotification_Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
833 }
834
835 func (x *JobNotification) Reset() {
836 *x = JobNotification{}
837 if protoimpl.UnsafeEnabled {
838 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[4]
839 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
840 ms.StoreMessageInfo(mi)
841 }
842 }
843
844 func (x *JobNotification) String() string {
845 return protoimpl.X.MessageStringOf(x)
846 }
847
848 func (*JobNotification) ProtoMessage() {}
849
850 func (x *JobNotification) ProtoReflect() protoreflect.Message {
851 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[4]
852 if protoimpl.UnsafeEnabled && x != nil {
853 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
854 if ms.LoadMessageInfo() == nil {
855 ms.StoreMessageInfo(mi)
856 }
857 return ms
858 }
859 return mi.MessageOf(x)
860 }
861
862 // Deprecated: Use JobNotification.ProtoReflect.Descriptor instead.
863 func (*JobNotification) Descriptor() ([]byte, []int) {
864 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{4}
865 }
866
867 func (x *JobNotification) GetPubsubTopic() string {
868 if x != nil {
869 return x.PubsubTopic
870 }
871 return ""
872 }
873
874 func (x *JobNotification) GetMessage() *JobNotification_Message {
875 if x != nil {
876 return x.Message
877 }
878 return nil
879 }
880
881 // A Job's resource allocation policy describes when, where, and how compute
882 // resources should be allocated for the Job.
883 type AllocationPolicy struct {
884 state protoimpl.MessageState
885 sizeCache protoimpl.SizeCache
886 unknownFields protoimpl.UnknownFields
887
888 // Location where compute resources should be allocated for the Job.
889 Location *AllocationPolicy_LocationPolicy `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
890 // Deprecated: please use instances[0].policy instead.
891 //
892 // Deprecated: Do not use.
893 Instance *AllocationPolicy_InstancePolicy `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
894 // Describe instances that can be created by this AllocationPolicy.
895 // Only instances[0] is supported now.
896 Instances []*AllocationPolicy_InstancePolicyOrTemplate `protobuf:"bytes,8,rep,name=instances,proto3" json:"instances,omitempty"`
897 // Deprecated: please use instances[0].template instead.
898 //
899 // Deprecated: Do not use.
900 InstanceTemplates []string `protobuf:"bytes,3,rep,name=instance_templates,json=instanceTemplates,proto3" json:"instance_templates,omitempty"`
901 // Deprecated: please use instances[0].policy.provisioning_model instead.
902 //
903 // Deprecated: Do not use.
904 ProvisioningModels []AllocationPolicy_ProvisioningModel `protobuf:"varint,4,rep,packed,name=provisioning_models,json=provisioningModels,proto3,enum=google.cloud.batch.v1alpha.AllocationPolicy_ProvisioningModel" json:"provisioning_models,omitempty"`
905 // Deprecated: please use service_account instead.
906 //
907 // Deprecated: Do not use.
908 ServiceAccountEmail string `protobuf:"bytes,5,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"`
909 // Service account that VMs will run as.
910 ServiceAccount *ServiceAccount `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
911 // Labels applied to all VM instances and other resources
912 // created by AllocationPolicy.
913 // Labels could be user provided or system generated.
914 // You can assign up to 64 labels. [Google Compute Engine label
915 // restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions)
916 // apply.
917 // Label names that start with "goog-" or "google-" are reserved.
918 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"`
919 // The network policy.
920 Network *AllocationPolicy_NetworkPolicy `protobuf:"bytes,7,opt,name=network,proto3" json:"network,omitempty"`
921 }
922
923 func (x *AllocationPolicy) Reset() {
924 *x = AllocationPolicy{}
925 if protoimpl.UnsafeEnabled {
926 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[5]
927 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
928 ms.StoreMessageInfo(mi)
929 }
930 }
931
932 func (x *AllocationPolicy) String() string {
933 return protoimpl.X.MessageStringOf(x)
934 }
935
936 func (*AllocationPolicy) ProtoMessage() {}
937
938 func (x *AllocationPolicy) ProtoReflect() protoreflect.Message {
939 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[5]
940 if protoimpl.UnsafeEnabled && x != nil {
941 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
942 if ms.LoadMessageInfo() == nil {
943 ms.StoreMessageInfo(mi)
944 }
945 return ms
946 }
947 return mi.MessageOf(x)
948 }
949
950 // Deprecated: Use AllocationPolicy.ProtoReflect.Descriptor instead.
951 func (*AllocationPolicy) Descriptor() ([]byte, []int) {
952 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{5}
953 }
954
955 func (x *AllocationPolicy) GetLocation() *AllocationPolicy_LocationPolicy {
956 if x != nil {
957 return x.Location
958 }
959 return nil
960 }
961
962 // Deprecated: Do not use.
963 func (x *AllocationPolicy) GetInstance() *AllocationPolicy_InstancePolicy {
964 if x != nil {
965 return x.Instance
966 }
967 return nil
968 }
969
970 func (x *AllocationPolicy) GetInstances() []*AllocationPolicy_InstancePolicyOrTemplate {
971 if x != nil {
972 return x.Instances
973 }
974 return nil
975 }
976
977 // Deprecated: Do not use.
978 func (x *AllocationPolicy) GetInstanceTemplates() []string {
979 if x != nil {
980 return x.InstanceTemplates
981 }
982 return nil
983 }
984
985 // Deprecated: Do not use.
986 func (x *AllocationPolicy) GetProvisioningModels() []AllocationPolicy_ProvisioningModel {
987 if x != nil {
988 return x.ProvisioningModels
989 }
990 return nil
991 }
992
993 // Deprecated: Do not use.
994 func (x *AllocationPolicy) GetServiceAccountEmail() string {
995 if x != nil {
996 return x.ServiceAccountEmail
997 }
998 return ""
999 }
1000
1001 func (x *AllocationPolicy) GetServiceAccount() *ServiceAccount {
1002 if x != nil {
1003 return x.ServiceAccount
1004 }
1005 return nil
1006 }
1007
1008 func (x *AllocationPolicy) GetLabels() map[string]string {
1009 if x != nil {
1010 return x.Labels
1011 }
1012 return nil
1013 }
1014
1015 func (x *AllocationPolicy) GetNetwork() *AllocationPolicy_NetworkPolicy {
1016 if x != nil {
1017 return x.Network
1018 }
1019 return nil
1020 }
1021
1022 // A TaskGroup contains one or multiple Tasks that share the same
1023 // Runnable but with different runtime parameters.
1024 type TaskGroup struct {
1025 state protoimpl.MessageState
1026 sizeCache protoimpl.SizeCache
1027 unknownFields protoimpl.UnknownFields
1028
1029 // Output only. TaskGroup name.
1030 // The system generates this field based on parent Job name.
1031 // For example:
1032 // "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01".
1033 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1034 // Required. Tasks in the group share the same task spec.
1035 TaskSpec *TaskSpec `protobuf:"bytes,3,opt,name=task_spec,json=taskSpec,proto3" json:"task_spec,omitempty"`
1036 // Number of Tasks in the TaskGroup.
1037 // default is 1
1038 TaskCount int64 `protobuf:"varint,4,opt,name=task_count,json=taskCount,proto3" json:"task_count,omitempty"`
1039 // Max number of tasks that can run in parallel.
1040 // Default to min(task_count, 1000).
1041 Parallelism int64 `protobuf:"varint,5,opt,name=parallelism,proto3" json:"parallelism,omitempty"`
1042 // Scheduling policy for Tasks in the TaskGroup.
1043 SchedulingPolicy TaskGroup_SchedulingPolicy `protobuf:"varint,6,opt,name=scheduling_policy,json=schedulingPolicy,proto3,enum=google.cloud.batch.v1alpha.TaskGroup_SchedulingPolicy" json:"scheduling_policy,omitempty"`
1044 // Compute resource allocation for the TaskGroup.
1045 // If specified, it overrides resources in Job.
1046 AllocationPolicy *AllocationPolicy `protobuf:"bytes,7,opt,name=allocation_policy,json=allocationPolicy,proto3" json:"allocation_policy,omitempty"`
1047 // Labels for the TaskGroup.
1048 // Labels could be user provided or system generated.
1049 // You can assign up to 64 labels. [Google Compute Engine label
1050 // restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions)
1051 // apply.
1052 // Label names that start with "goog-" or "google-" are reserved.
1053 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"`
1054 // An array of environment variable mappings, which are passed to Tasks with
1055 // matching indices. If task_environments is used then task_count should
1056 // not be specified in the request (and will be ignored). Task count will be
1057 // the length of task_environments.
1058 //
1059 // Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in
1060 // addition to any environment variables set in task_environments, specifying
1061 // the number of Tasks in the Task's parent TaskGroup, and the specific Task's
1062 // index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
1063 //
1064 // task_environments supports up to 200 entries.
1065 TaskEnvironments []*Environment `protobuf:"bytes,9,rep,name=task_environments,json=taskEnvironments,proto3" json:"task_environments,omitempty"`
1066 // Max number of tasks that can be run on a VM at the same time.
1067 // If not specified, the system will decide a value based on available
1068 // compute resources on a VM and task requirements.
1069 TaskCountPerNode int64 `protobuf:"varint,10,opt,name=task_count_per_node,json=taskCountPerNode,proto3" json:"task_count_per_node,omitempty"`
1070 // When true, Batch will populate a file with a list of all VMs assigned to
1071 // the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path
1072 // of that file. Defaults to false.
1073 RequireHostsFile bool `protobuf:"varint,11,opt,name=require_hosts_file,json=requireHostsFile,proto3" json:"require_hosts_file,omitempty"`
1074 // When true, Batch will configure SSH to allow passwordless login between
1075 // VMs running the Batch tasks in the same TaskGroup.
1076 PermissiveSsh bool `protobuf:"varint,12,opt,name=permissive_ssh,json=permissiveSsh,proto3" json:"permissive_ssh,omitempty"`
1077 }
1078
1079 func (x *TaskGroup) Reset() {
1080 *x = TaskGroup{}
1081 if protoimpl.UnsafeEnabled {
1082 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[6]
1083 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1084 ms.StoreMessageInfo(mi)
1085 }
1086 }
1087
1088 func (x *TaskGroup) String() string {
1089 return protoimpl.X.MessageStringOf(x)
1090 }
1091
1092 func (*TaskGroup) ProtoMessage() {}
1093
1094 func (x *TaskGroup) ProtoReflect() protoreflect.Message {
1095 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[6]
1096 if protoimpl.UnsafeEnabled && x != nil {
1097 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1098 if ms.LoadMessageInfo() == nil {
1099 ms.StoreMessageInfo(mi)
1100 }
1101 return ms
1102 }
1103 return mi.MessageOf(x)
1104 }
1105
1106 // Deprecated: Use TaskGroup.ProtoReflect.Descriptor instead.
1107 func (*TaskGroup) Descriptor() ([]byte, []int) {
1108 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{6}
1109 }
1110
1111 func (x *TaskGroup) GetName() string {
1112 if x != nil {
1113 return x.Name
1114 }
1115 return ""
1116 }
1117
1118 func (x *TaskGroup) GetTaskSpec() *TaskSpec {
1119 if x != nil {
1120 return x.TaskSpec
1121 }
1122 return nil
1123 }
1124
1125 func (x *TaskGroup) GetTaskCount() int64 {
1126 if x != nil {
1127 return x.TaskCount
1128 }
1129 return 0
1130 }
1131
1132 func (x *TaskGroup) GetParallelism() int64 {
1133 if x != nil {
1134 return x.Parallelism
1135 }
1136 return 0
1137 }
1138
1139 func (x *TaskGroup) GetSchedulingPolicy() TaskGroup_SchedulingPolicy {
1140 if x != nil {
1141 return x.SchedulingPolicy
1142 }
1143 return TaskGroup_SCHEDULING_POLICY_UNSPECIFIED
1144 }
1145
1146 func (x *TaskGroup) GetAllocationPolicy() *AllocationPolicy {
1147 if x != nil {
1148 return x.AllocationPolicy
1149 }
1150 return nil
1151 }
1152
1153 func (x *TaskGroup) GetLabels() map[string]string {
1154 if x != nil {
1155 return x.Labels
1156 }
1157 return nil
1158 }
1159
1160 func (x *TaskGroup) GetTaskEnvironments() []*Environment {
1161 if x != nil {
1162 return x.TaskEnvironments
1163 }
1164 return nil
1165 }
1166
1167 func (x *TaskGroup) GetTaskCountPerNode() int64 {
1168 if x != nil {
1169 return x.TaskCountPerNode
1170 }
1171 return 0
1172 }
1173
1174 func (x *TaskGroup) GetRequireHostsFile() bool {
1175 if x != nil {
1176 return x.RequireHostsFile
1177 }
1178 return false
1179 }
1180
1181 func (x *TaskGroup) GetPermissiveSsh() bool {
1182 if x != nil {
1183 return x.PermissiveSsh
1184 }
1185 return false
1186 }
1187
1188 // Carries information about a Google Cloud service account.
1189 type ServiceAccount struct {
1190 state protoimpl.MessageState
1191 sizeCache protoimpl.SizeCache
1192 unknownFields protoimpl.UnknownFields
1193
1194 // Email address of the service account. If not specified, the default
1195 // Compute Engine service account for the project will be used. If instance
1196 // template is being used, the service account has to be specified in the
1197 // instance template and it has to match the email field here.
1198 Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
1199 // List of scopes to be enabled for this service account on the VM, in
1200 // addition to the cloud-platform API scope that will be added by default.
1201 Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
1202 }
1203
1204 func (x *ServiceAccount) Reset() {
1205 *x = ServiceAccount{}
1206 if protoimpl.UnsafeEnabled {
1207 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[7]
1208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1209 ms.StoreMessageInfo(mi)
1210 }
1211 }
1212
1213 func (x *ServiceAccount) String() string {
1214 return protoimpl.X.MessageStringOf(x)
1215 }
1216
1217 func (*ServiceAccount) ProtoMessage() {}
1218
1219 func (x *ServiceAccount) ProtoReflect() protoreflect.Message {
1220 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[7]
1221 if protoimpl.UnsafeEnabled && x != nil {
1222 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1223 if ms.LoadMessageInfo() == nil {
1224 ms.StoreMessageInfo(mi)
1225 }
1226 return ms
1227 }
1228 return mi.MessageOf(x)
1229 }
1230
1231 // Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.
1232 func (*ServiceAccount) Descriptor() ([]byte, []int) {
1233 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{7}
1234 }
1235
1236 func (x *ServiceAccount) GetEmail() string {
1237 if x != nil {
1238 return x.Email
1239 }
1240 return ""
1241 }
1242
1243 func (x *ServiceAccount) GetScopes() []string {
1244 if x != nil {
1245 return x.Scopes
1246 }
1247 return nil
1248 }
1249
1250 // VM instance status.
1251 type JobStatus_InstanceStatus struct {
1252 state protoimpl.MessageState
1253 sizeCache protoimpl.SizeCache
1254 unknownFields protoimpl.UnknownFields
1255
1256 // The Compute Engine machine type.
1257 MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
1258 // The VM instance provisioning model.
1259 ProvisioningModel AllocationPolicy_ProvisioningModel `protobuf:"varint,2,opt,name=provisioning_model,json=provisioningModel,proto3,enum=google.cloud.batch.v1alpha.AllocationPolicy_ProvisioningModel" json:"provisioning_model,omitempty"`
1260 // The max number of tasks can be assigned to this instance type.
1261 TaskPack int64 `protobuf:"varint,3,opt,name=task_pack,json=taskPack,proto3" json:"task_pack,omitempty"`
1262 }
1263
1264 func (x *JobStatus_InstanceStatus) Reset() {
1265 *x = JobStatus_InstanceStatus{}
1266 if protoimpl.UnsafeEnabled {
1267 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[10]
1268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1269 ms.StoreMessageInfo(mi)
1270 }
1271 }
1272
1273 func (x *JobStatus_InstanceStatus) String() string {
1274 return protoimpl.X.MessageStringOf(x)
1275 }
1276
1277 func (*JobStatus_InstanceStatus) ProtoMessage() {}
1278
1279 func (x *JobStatus_InstanceStatus) ProtoReflect() protoreflect.Message {
1280 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[10]
1281 if protoimpl.UnsafeEnabled && x != nil {
1282 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1283 if ms.LoadMessageInfo() == nil {
1284 ms.StoreMessageInfo(mi)
1285 }
1286 return ms
1287 }
1288 return mi.MessageOf(x)
1289 }
1290
1291 // Deprecated: Use JobStatus_InstanceStatus.ProtoReflect.Descriptor instead.
1292 func (*JobStatus_InstanceStatus) Descriptor() ([]byte, []int) {
1293 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{3, 0}
1294 }
1295
1296 func (x *JobStatus_InstanceStatus) GetMachineType() string {
1297 if x != nil {
1298 return x.MachineType
1299 }
1300 return ""
1301 }
1302
1303 func (x *JobStatus_InstanceStatus) GetProvisioningModel() AllocationPolicy_ProvisioningModel {
1304 if x != nil {
1305 return x.ProvisioningModel
1306 }
1307 return AllocationPolicy_PROVISIONING_MODEL_UNSPECIFIED
1308 }
1309
1310 func (x *JobStatus_InstanceStatus) GetTaskPack() int64 {
1311 if x != nil {
1312 return x.TaskPack
1313 }
1314 return 0
1315 }
1316
1317 // Aggregated task status for a TaskGroup.
1318 type JobStatus_TaskGroupStatus struct {
1319 state protoimpl.MessageState
1320 sizeCache protoimpl.SizeCache
1321 unknownFields protoimpl.UnknownFields
1322
1323 // Count of task in each state in the TaskGroup.
1324 // The map key is task state name.
1325 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"`
1326 // Status of instances allocated for the TaskGroup.
1327 Instances []*JobStatus_InstanceStatus `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"`
1328 }
1329
1330 func (x *JobStatus_TaskGroupStatus) Reset() {
1331 *x = JobStatus_TaskGroupStatus{}
1332 if protoimpl.UnsafeEnabled {
1333 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[11]
1334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1335 ms.StoreMessageInfo(mi)
1336 }
1337 }
1338
1339 func (x *JobStatus_TaskGroupStatus) String() string {
1340 return protoimpl.X.MessageStringOf(x)
1341 }
1342
1343 func (*JobStatus_TaskGroupStatus) ProtoMessage() {}
1344
1345 func (x *JobStatus_TaskGroupStatus) ProtoReflect() protoreflect.Message {
1346 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[11]
1347 if protoimpl.UnsafeEnabled && x != nil {
1348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1349 if ms.LoadMessageInfo() == nil {
1350 ms.StoreMessageInfo(mi)
1351 }
1352 return ms
1353 }
1354 return mi.MessageOf(x)
1355 }
1356
1357 // Deprecated: Use JobStatus_TaskGroupStatus.ProtoReflect.Descriptor instead.
1358 func (*JobStatus_TaskGroupStatus) Descriptor() ([]byte, []int) {
1359 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{3, 1}
1360 }
1361
1362 func (x *JobStatus_TaskGroupStatus) GetCounts() map[string]int64 {
1363 if x != nil {
1364 return x.Counts
1365 }
1366 return nil
1367 }
1368
1369 func (x *JobStatus_TaskGroupStatus) GetInstances() []*JobStatus_InstanceStatus {
1370 if x != nil {
1371 return x.Instances
1372 }
1373 return nil
1374 }
1375
1376 // Message details.
1377 // Describe the attribute that a message should have.
1378 // Without specified message attributes, no message will be sent by default.
1379 type JobNotification_Message struct {
1380 state protoimpl.MessageState
1381 sizeCache protoimpl.SizeCache
1382 unknownFields protoimpl.UnknownFields
1383
1384 // The message type.
1385 Type JobNotification_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.batch.v1alpha.JobNotification_Type" json:"type,omitempty"`
1386 // The new job state.
1387 NewJobState JobStatus_State `protobuf:"varint,2,opt,name=new_job_state,json=newJobState,proto3,enum=google.cloud.batch.v1alpha.JobStatus_State" json:"new_job_state,omitempty"`
1388 // The new task state.
1389 NewTaskState TaskStatus_State `protobuf:"varint,3,opt,name=new_task_state,json=newTaskState,proto3,enum=google.cloud.batch.v1alpha.TaskStatus_State" json:"new_task_state,omitempty"`
1390 }
1391
1392 func (x *JobNotification_Message) Reset() {
1393 *x = JobNotification_Message{}
1394 if protoimpl.UnsafeEnabled {
1395 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[14]
1396 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1397 ms.StoreMessageInfo(mi)
1398 }
1399 }
1400
1401 func (x *JobNotification_Message) String() string {
1402 return protoimpl.X.MessageStringOf(x)
1403 }
1404
1405 func (*JobNotification_Message) ProtoMessage() {}
1406
1407 func (x *JobNotification_Message) ProtoReflect() protoreflect.Message {
1408 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[14]
1409 if protoimpl.UnsafeEnabled && x != nil {
1410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1411 if ms.LoadMessageInfo() == nil {
1412 ms.StoreMessageInfo(mi)
1413 }
1414 return ms
1415 }
1416 return mi.MessageOf(x)
1417 }
1418
1419 // Deprecated: Use JobNotification_Message.ProtoReflect.Descriptor instead.
1420 func (*JobNotification_Message) Descriptor() ([]byte, []int) {
1421 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{4, 0}
1422 }
1423
1424 func (x *JobNotification_Message) GetType() JobNotification_Type {
1425 if x != nil {
1426 return x.Type
1427 }
1428 return JobNotification_TYPE_UNSPECIFIED
1429 }
1430
1431 func (x *JobNotification_Message) GetNewJobState() JobStatus_State {
1432 if x != nil {
1433 return x.NewJobState
1434 }
1435 return JobStatus_STATE_UNSPECIFIED
1436 }
1437
1438 func (x *JobNotification_Message) GetNewTaskState() TaskStatus_State {
1439 if x != nil {
1440 return x.NewTaskState
1441 }
1442 return TaskStatus_STATE_UNSPECIFIED
1443 }
1444
1445 type AllocationPolicy_LocationPolicy struct {
1446 state protoimpl.MessageState
1447 sizeCache protoimpl.SizeCache
1448 unknownFields protoimpl.UnknownFields
1449
1450 // A list of allowed location names represented by internal URLs.
1451 // Each location can be a region or a zone.
1452 // Only one region or multiple zones in one region is supported now.
1453 // For example,
1454 // ["regions/us-central1"] allow VMs in any zones in region us-central1.
1455 // ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs
1456 // in zones us-central1-a and us-central1-c.
1457 // All locations end up in different regions would cause errors.
1458 // For example,
1459 // ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b",
1460 // "zones/us-west1-a"] contains 2 regions "us-central1" and
1461 // "us-west1". An error is expected in this case.
1462 AllowedLocations []string `protobuf:"bytes,1,rep,name=allowed_locations,json=allowedLocations,proto3" json:"allowed_locations,omitempty"`
1463 // A list of denied location names.
1464 //
1465 // Not yet implemented.
1466 DeniedLocations []string `protobuf:"bytes,2,rep,name=denied_locations,json=deniedLocations,proto3" json:"denied_locations,omitempty"`
1467 }
1468
1469 func (x *AllocationPolicy_LocationPolicy) Reset() {
1470 *x = AllocationPolicy_LocationPolicy{}
1471 if protoimpl.UnsafeEnabled {
1472 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[15]
1473 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1474 ms.StoreMessageInfo(mi)
1475 }
1476 }
1477
1478 func (x *AllocationPolicy_LocationPolicy) String() string {
1479 return protoimpl.X.MessageStringOf(x)
1480 }
1481
1482 func (*AllocationPolicy_LocationPolicy) ProtoMessage() {}
1483
1484 func (x *AllocationPolicy_LocationPolicy) ProtoReflect() protoreflect.Message {
1485 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[15]
1486 if protoimpl.UnsafeEnabled && x != nil {
1487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1488 if ms.LoadMessageInfo() == nil {
1489 ms.StoreMessageInfo(mi)
1490 }
1491 return ms
1492 }
1493 return mi.MessageOf(x)
1494 }
1495
1496 // Deprecated: Use AllocationPolicy_LocationPolicy.ProtoReflect.Descriptor instead.
1497 func (*AllocationPolicy_LocationPolicy) Descriptor() ([]byte, []int) {
1498 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{5, 0}
1499 }
1500
1501 func (x *AllocationPolicy_LocationPolicy) GetAllowedLocations() []string {
1502 if x != nil {
1503 return x.AllowedLocations
1504 }
1505 return nil
1506 }
1507
1508 func (x *AllocationPolicy_LocationPolicy) GetDeniedLocations() []string {
1509 if x != nil {
1510 return x.DeniedLocations
1511 }
1512 return nil
1513 }
1514
1515 // A new persistent disk or a local ssd.
1516 // A VM can only have one local SSD setting but multiple local SSD partitions.
1517 // https://cloud.google.com/compute/docs/disks#pdspecs.
1518 // https://cloud.google.com/compute/docs/disks#localssds.
1519 type AllocationPolicy_Disk struct {
1520 state protoimpl.MessageState
1521 sizeCache protoimpl.SizeCache
1522 unknownFields protoimpl.UnknownFields
1523
1524 // A data source from which a PD will be created.
1525 //
1526 // Types that are assignable to DataSource:
1527 //
1528 // *AllocationPolicy_Disk_Image
1529 // *AllocationPolicy_Disk_Snapshot
1530 DataSource isAllocationPolicy_Disk_DataSource `protobuf_oneof:"data_source"`
1531 // Disk type as shown in `gcloud compute disk-types list`
1532 // For example, "pd-ssd", "pd-standard", "pd-balanced", "local-ssd".
1533 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
1534 // Disk size in GB.
1535 // This field is ignored if `data_source` is `disk` or `image`.
1536 // If `type` is `local-ssd`, size_gb should be a multiple of 375GB,
1537 // otherwise, the final size will be the next greater multiple of 375 GB.
1538 SizeGb int64 `protobuf:"varint,2,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
1539 // Local SSDs are available through both "SCSI" and "NVMe" interfaces.
1540 // If not indicated, "NVMe" will be the default one for local ssds.
1541 // We only support "SCSI" for persistent disks now.
1542 DiskInterface string `protobuf:"bytes,6,opt,name=disk_interface,json=diskInterface,proto3" json:"disk_interface,omitempty"`
1543 }
1544
1545 func (x *AllocationPolicy_Disk) Reset() {
1546 *x = AllocationPolicy_Disk{}
1547 if protoimpl.UnsafeEnabled {
1548 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[16]
1549 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1550 ms.StoreMessageInfo(mi)
1551 }
1552 }
1553
1554 func (x *AllocationPolicy_Disk) String() string {
1555 return protoimpl.X.MessageStringOf(x)
1556 }
1557
1558 func (*AllocationPolicy_Disk) ProtoMessage() {}
1559
1560 func (x *AllocationPolicy_Disk) ProtoReflect() protoreflect.Message {
1561 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[16]
1562 if protoimpl.UnsafeEnabled && x != nil {
1563 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1564 if ms.LoadMessageInfo() == nil {
1565 ms.StoreMessageInfo(mi)
1566 }
1567 return ms
1568 }
1569 return mi.MessageOf(x)
1570 }
1571
1572 // Deprecated: Use AllocationPolicy_Disk.ProtoReflect.Descriptor instead.
1573 func (*AllocationPolicy_Disk) Descriptor() ([]byte, []int) {
1574 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{5, 1}
1575 }
1576
1577 func (m *AllocationPolicy_Disk) GetDataSource() isAllocationPolicy_Disk_DataSource {
1578 if m != nil {
1579 return m.DataSource
1580 }
1581 return nil
1582 }
1583
1584 func (x *AllocationPolicy_Disk) GetImage() string {
1585 if x, ok := x.GetDataSource().(*AllocationPolicy_Disk_Image); ok {
1586 return x.Image
1587 }
1588 return ""
1589 }
1590
1591 func (x *AllocationPolicy_Disk) GetSnapshot() string {
1592 if x, ok := x.GetDataSource().(*AllocationPolicy_Disk_Snapshot); ok {
1593 return x.Snapshot
1594 }
1595 return ""
1596 }
1597
1598 func (x *AllocationPolicy_Disk) GetType() string {
1599 if x != nil {
1600 return x.Type
1601 }
1602 return ""
1603 }
1604
1605 func (x *AllocationPolicy_Disk) GetSizeGb() int64 {
1606 if x != nil {
1607 return x.SizeGb
1608 }
1609 return 0
1610 }
1611
1612 func (x *AllocationPolicy_Disk) GetDiskInterface() string {
1613 if x != nil {
1614 return x.DiskInterface
1615 }
1616 return ""
1617 }
1618
1619 type isAllocationPolicy_Disk_DataSource interface {
1620 isAllocationPolicy_Disk_DataSource()
1621 }
1622
1623 type AllocationPolicy_Disk_Image struct {
1624 // Name of a public or custom image used as the data source.
1625 Image string `protobuf:"bytes,4,opt,name=image,proto3,oneof"`
1626 }
1627
1628 type AllocationPolicy_Disk_Snapshot struct {
1629 // Name of a snapshot used as the data source.
1630 Snapshot string `protobuf:"bytes,5,opt,name=snapshot,proto3,oneof"`
1631 }
1632
1633 func (*AllocationPolicy_Disk_Image) isAllocationPolicy_Disk_DataSource() {}
1634
1635 func (*AllocationPolicy_Disk_Snapshot) isAllocationPolicy_Disk_DataSource() {}
1636
1637 // A new or an existing persistent disk (PD) or a local ssd attached to a VM
1638 // instance.
1639 type AllocationPolicy_AttachedDisk struct {
1640 state protoimpl.MessageState
1641 sizeCache protoimpl.SizeCache
1642 unknownFields protoimpl.UnknownFields
1643
1644 // Types that are assignable to Attached:
1645 //
1646 // *AllocationPolicy_AttachedDisk_NewDisk
1647 // *AllocationPolicy_AttachedDisk_ExistingDisk
1648 Attached isAllocationPolicy_AttachedDisk_Attached `protobuf_oneof:"attached"`
1649 // Device name that the guest operating system will see.
1650 // It is used by Runnable.volumes field to mount disks. So please specify
1651 // the device_name if you want Batch to help mount the disk, and it should
1652 // match the device_name field in volumes.
1653 DeviceName string `protobuf:"bytes,3,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
1654 }
1655
1656 func (x *AllocationPolicy_AttachedDisk) Reset() {
1657 *x = AllocationPolicy_AttachedDisk{}
1658 if protoimpl.UnsafeEnabled {
1659 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[17]
1660 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1661 ms.StoreMessageInfo(mi)
1662 }
1663 }
1664
1665 func (x *AllocationPolicy_AttachedDisk) String() string {
1666 return protoimpl.X.MessageStringOf(x)
1667 }
1668
1669 func (*AllocationPolicy_AttachedDisk) ProtoMessage() {}
1670
1671 func (x *AllocationPolicy_AttachedDisk) ProtoReflect() protoreflect.Message {
1672 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[17]
1673 if protoimpl.UnsafeEnabled && x != nil {
1674 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1675 if ms.LoadMessageInfo() == nil {
1676 ms.StoreMessageInfo(mi)
1677 }
1678 return ms
1679 }
1680 return mi.MessageOf(x)
1681 }
1682
1683 // Deprecated: Use AllocationPolicy_AttachedDisk.ProtoReflect.Descriptor instead.
1684 func (*AllocationPolicy_AttachedDisk) Descriptor() ([]byte, []int) {
1685 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{5, 2}
1686 }
1687
1688 func (m *AllocationPolicy_AttachedDisk) GetAttached() isAllocationPolicy_AttachedDisk_Attached {
1689 if m != nil {
1690 return m.Attached
1691 }
1692 return nil
1693 }
1694
1695 func (x *AllocationPolicy_AttachedDisk) GetNewDisk() *AllocationPolicy_Disk {
1696 if x, ok := x.GetAttached().(*AllocationPolicy_AttachedDisk_NewDisk); ok {
1697 return x.NewDisk
1698 }
1699 return nil
1700 }
1701
1702 func (x *AllocationPolicy_AttachedDisk) GetExistingDisk() string {
1703 if x, ok := x.GetAttached().(*AllocationPolicy_AttachedDisk_ExistingDisk); ok {
1704 return x.ExistingDisk
1705 }
1706 return ""
1707 }
1708
1709 func (x *AllocationPolicy_AttachedDisk) GetDeviceName() string {
1710 if x != nil {
1711 return x.DeviceName
1712 }
1713 return ""
1714 }
1715
1716 type isAllocationPolicy_AttachedDisk_Attached interface {
1717 isAllocationPolicy_AttachedDisk_Attached()
1718 }
1719
1720 type AllocationPolicy_AttachedDisk_NewDisk struct {
1721 NewDisk *AllocationPolicy_Disk `protobuf:"bytes,1,opt,name=new_disk,json=newDisk,proto3,oneof"`
1722 }
1723
1724 type AllocationPolicy_AttachedDisk_ExistingDisk struct {
1725 // Name of an existing PD.
1726 ExistingDisk string `protobuf:"bytes,2,opt,name=existing_disk,json=existingDisk,proto3,oneof"`
1727 }
1728
1729 func (*AllocationPolicy_AttachedDisk_NewDisk) isAllocationPolicy_AttachedDisk_Attached() {}
1730
1731 func (*AllocationPolicy_AttachedDisk_ExistingDisk) isAllocationPolicy_AttachedDisk_Attached() {}
1732
1733 // Accelerator describes Compute Engine accelerators to be attached to the VM.
1734 type AllocationPolicy_Accelerator struct {
1735 state protoimpl.MessageState
1736 sizeCache protoimpl.SizeCache
1737 unknownFields protoimpl.UnknownFields
1738
1739 // The accelerator type. For example, "nvidia-tesla-t4".
1740 // See `gcloud compute accelerator-types list`.
1741 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
1742 // The number of accelerators of this type.
1743 Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
1744 // Deprecated: please use instances[0].install_gpu_drivers instead.
1745 //
1746 // Deprecated: Do not use.
1747 InstallGpuDrivers bool `protobuf:"varint,3,opt,name=install_gpu_drivers,json=installGpuDrivers,proto3" json:"install_gpu_drivers,omitempty"`
1748 }
1749
1750 func (x *AllocationPolicy_Accelerator) Reset() {
1751 *x = AllocationPolicy_Accelerator{}
1752 if protoimpl.UnsafeEnabled {
1753 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[18]
1754 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1755 ms.StoreMessageInfo(mi)
1756 }
1757 }
1758
1759 func (x *AllocationPolicy_Accelerator) String() string {
1760 return protoimpl.X.MessageStringOf(x)
1761 }
1762
1763 func (*AllocationPolicy_Accelerator) ProtoMessage() {}
1764
1765 func (x *AllocationPolicy_Accelerator) ProtoReflect() protoreflect.Message {
1766 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[18]
1767 if protoimpl.UnsafeEnabled && x != nil {
1768 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1769 if ms.LoadMessageInfo() == nil {
1770 ms.StoreMessageInfo(mi)
1771 }
1772 return ms
1773 }
1774 return mi.MessageOf(x)
1775 }
1776
1777 // Deprecated: Use AllocationPolicy_Accelerator.ProtoReflect.Descriptor instead.
1778 func (*AllocationPolicy_Accelerator) Descriptor() ([]byte, []int) {
1779 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{5, 3}
1780 }
1781
1782 func (x *AllocationPolicy_Accelerator) GetType() string {
1783 if x != nil {
1784 return x.Type
1785 }
1786 return ""
1787 }
1788
1789 func (x *AllocationPolicy_Accelerator) GetCount() int64 {
1790 if x != nil {
1791 return x.Count
1792 }
1793 return 0
1794 }
1795
1796 // Deprecated: Do not use.
1797 func (x *AllocationPolicy_Accelerator) GetInstallGpuDrivers() bool {
1798 if x != nil {
1799 return x.InstallGpuDrivers
1800 }
1801 return false
1802 }
1803
1804 // InstancePolicy describes an instance type and resources attached to each VM
1805 // created by this InstancePolicy.
1806 type AllocationPolicy_InstancePolicy struct {
1807 state protoimpl.MessageState
1808 sizeCache protoimpl.SizeCache
1809 unknownFields protoimpl.UnknownFields
1810
1811 // Deprecated: please use machine_type instead.
1812 //
1813 // Deprecated: Do not use.
1814 AllowedMachineTypes []string `protobuf:"bytes,1,rep,name=allowed_machine_types,json=allowedMachineTypes,proto3" json:"allowed_machine_types,omitempty"`
1815 // The Compute Engine machine type.
1816 MachineType string `protobuf:"bytes,2,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
1817 // The minimum CPU platform.
1818 // See
1819 // `https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform`.
1820 // Not yet implemented.
1821 MinCpuPlatform string `protobuf:"bytes,3,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"`
1822 // The provisioning model.
1823 ProvisioningModel AllocationPolicy_ProvisioningModel `protobuf:"varint,4,opt,name=provisioning_model,json=provisioningModel,proto3,enum=google.cloud.batch.v1alpha.AllocationPolicy_ProvisioningModel" json:"provisioning_model,omitempty"`
1824 // The accelerators attached to each VM instance.
1825 Accelerators []*AllocationPolicy_Accelerator `protobuf:"bytes,5,rep,name=accelerators,proto3" json:"accelerators,omitempty"`
1826 // Book disk to be created and attached to each VM by this InstancePolicy.
1827 // Boot disk will be deleted when the VM is deleted.
1828 BootDisk *AllocationPolicy_Disk `protobuf:"bytes,8,opt,name=boot_disk,json=bootDisk,proto3" json:"boot_disk,omitempty"`
1829 // Non-boot disks to be attached for each VM created by this InstancePolicy.
1830 // New disks will be deleted when the VM is deleted.
1831 Disks []*AllocationPolicy_AttachedDisk `protobuf:"bytes,6,rep,name=disks,proto3" json:"disks,omitempty"`
1832 // If specified, VMs will be allocated only inside the matching reservation.
1833 Reservation string `protobuf:"bytes,7,opt,name=reservation,proto3" json:"reservation,omitempty"`
1834 }
1835
1836 func (x *AllocationPolicy_InstancePolicy) Reset() {
1837 *x = AllocationPolicy_InstancePolicy{}
1838 if protoimpl.UnsafeEnabled {
1839 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[19]
1840 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1841 ms.StoreMessageInfo(mi)
1842 }
1843 }
1844
1845 func (x *AllocationPolicy_InstancePolicy) String() string {
1846 return protoimpl.X.MessageStringOf(x)
1847 }
1848
1849 func (*AllocationPolicy_InstancePolicy) ProtoMessage() {}
1850
1851 func (x *AllocationPolicy_InstancePolicy) ProtoReflect() protoreflect.Message {
1852 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[19]
1853 if protoimpl.UnsafeEnabled && x != nil {
1854 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1855 if ms.LoadMessageInfo() == nil {
1856 ms.StoreMessageInfo(mi)
1857 }
1858 return ms
1859 }
1860 return mi.MessageOf(x)
1861 }
1862
1863 // Deprecated: Use AllocationPolicy_InstancePolicy.ProtoReflect.Descriptor instead.
1864 func (*AllocationPolicy_InstancePolicy) Descriptor() ([]byte, []int) {
1865 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{5, 4}
1866 }
1867
1868 // Deprecated: Do not use.
1869 func (x *AllocationPolicy_InstancePolicy) GetAllowedMachineTypes() []string {
1870 if x != nil {
1871 return x.AllowedMachineTypes
1872 }
1873 return nil
1874 }
1875
1876 func (x *AllocationPolicy_InstancePolicy) GetMachineType() string {
1877 if x != nil {
1878 return x.MachineType
1879 }
1880 return ""
1881 }
1882
1883 func (x *AllocationPolicy_InstancePolicy) GetMinCpuPlatform() string {
1884 if x != nil {
1885 return x.MinCpuPlatform
1886 }
1887 return ""
1888 }
1889
1890 func (x *AllocationPolicy_InstancePolicy) GetProvisioningModel() AllocationPolicy_ProvisioningModel {
1891 if x != nil {
1892 return x.ProvisioningModel
1893 }
1894 return AllocationPolicy_PROVISIONING_MODEL_UNSPECIFIED
1895 }
1896
1897 func (x *AllocationPolicy_InstancePolicy) GetAccelerators() []*AllocationPolicy_Accelerator {
1898 if x != nil {
1899 return x.Accelerators
1900 }
1901 return nil
1902 }
1903
1904 func (x *AllocationPolicy_InstancePolicy) GetBootDisk() *AllocationPolicy_Disk {
1905 if x != nil {
1906 return x.BootDisk
1907 }
1908 return nil
1909 }
1910
1911 func (x *AllocationPolicy_InstancePolicy) GetDisks() []*AllocationPolicy_AttachedDisk {
1912 if x != nil {
1913 return x.Disks
1914 }
1915 return nil
1916 }
1917
1918 func (x *AllocationPolicy_InstancePolicy) GetReservation() string {
1919 if x != nil {
1920 return x.Reservation
1921 }
1922 return ""
1923 }
1924
1925 // Either an InstancePolicy or an instance template.
1926 type AllocationPolicy_InstancePolicyOrTemplate struct {
1927 state protoimpl.MessageState
1928 sizeCache protoimpl.SizeCache
1929 unknownFields protoimpl.UnknownFields
1930
1931 // Types that are assignable to PolicyTemplate:
1932 //
1933 // *AllocationPolicy_InstancePolicyOrTemplate_Policy
1934 // *AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate
1935 PolicyTemplate isAllocationPolicy_InstancePolicyOrTemplate_PolicyTemplate `protobuf_oneof:"policy_template"`
1936 // Set this field true if users want Batch to help fetch drivers from a
1937 // third party location and install them for GPUs specified in
1938 // policy.accelerators or instance_template on their behalf. Default is
1939 // false.
1940 InstallGpuDrivers bool `protobuf:"varint,3,opt,name=install_gpu_drivers,json=installGpuDrivers,proto3" json:"install_gpu_drivers,omitempty"`
1941 }
1942
1943 func (x *AllocationPolicy_InstancePolicyOrTemplate) Reset() {
1944 *x = AllocationPolicy_InstancePolicyOrTemplate{}
1945 if protoimpl.UnsafeEnabled {
1946 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[20]
1947 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1948 ms.StoreMessageInfo(mi)
1949 }
1950 }
1951
1952 func (x *AllocationPolicy_InstancePolicyOrTemplate) String() string {
1953 return protoimpl.X.MessageStringOf(x)
1954 }
1955
1956 func (*AllocationPolicy_InstancePolicyOrTemplate) ProtoMessage() {}
1957
1958 func (x *AllocationPolicy_InstancePolicyOrTemplate) ProtoReflect() protoreflect.Message {
1959 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[20]
1960 if protoimpl.UnsafeEnabled && x != nil {
1961 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1962 if ms.LoadMessageInfo() == nil {
1963 ms.StoreMessageInfo(mi)
1964 }
1965 return ms
1966 }
1967 return mi.MessageOf(x)
1968 }
1969
1970 // Deprecated: Use AllocationPolicy_InstancePolicyOrTemplate.ProtoReflect.Descriptor instead.
1971 func (*AllocationPolicy_InstancePolicyOrTemplate) Descriptor() ([]byte, []int) {
1972 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{5, 5}
1973 }
1974
1975 func (m *AllocationPolicy_InstancePolicyOrTemplate) GetPolicyTemplate() isAllocationPolicy_InstancePolicyOrTemplate_PolicyTemplate {
1976 if m != nil {
1977 return m.PolicyTemplate
1978 }
1979 return nil
1980 }
1981
1982 func (x *AllocationPolicy_InstancePolicyOrTemplate) GetPolicy() *AllocationPolicy_InstancePolicy {
1983 if x, ok := x.GetPolicyTemplate().(*AllocationPolicy_InstancePolicyOrTemplate_Policy); ok {
1984 return x.Policy
1985 }
1986 return nil
1987 }
1988
1989 func (x *AllocationPolicy_InstancePolicyOrTemplate) GetInstanceTemplate() string {
1990 if x, ok := x.GetPolicyTemplate().(*AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate); ok {
1991 return x.InstanceTemplate
1992 }
1993 return ""
1994 }
1995
1996 func (x *AllocationPolicy_InstancePolicyOrTemplate) GetInstallGpuDrivers() bool {
1997 if x != nil {
1998 return x.InstallGpuDrivers
1999 }
2000 return false
2001 }
2002
2003 type isAllocationPolicy_InstancePolicyOrTemplate_PolicyTemplate interface {
2004 isAllocationPolicy_InstancePolicyOrTemplate_PolicyTemplate()
2005 }
2006
2007 type AllocationPolicy_InstancePolicyOrTemplate_Policy struct {
2008 // InstancePolicy.
2009 Policy *AllocationPolicy_InstancePolicy `protobuf:"bytes,1,opt,name=policy,proto3,oneof"`
2010 }
2011
2012 type AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate struct {
2013 // Name of an instance template used to create VMs.
2014 // Named the field as 'instance_template' instead of 'template' to avoid
2015 // c++ keyword conflict.
2016 InstanceTemplate string `protobuf:"bytes,2,opt,name=instance_template,json=instanceTemplate,proto3,oneof"`
2017 }
2018
2019 func (*AllocationPolicy_InstancePolicyOrTemplate_Policy) isAllocationPolicy_InstancePolicyOrTemplate_PolicyTemplate() {
2020 }
2021
2022 func (*AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate) isAllocationPolicy_InstancePolicyOrTemplate_PolicyTemplate() {
2023 }
2024
2025 // A network interface.
2026 type AllocationPolicy_NetworkInterface struct {
2027 state protoimpl.MessageState
2028 sizeCache protoimpl.SizeCache
2029 unknownFields protoimpl.UnknownFields
2030
2031 // The URL of an existing network resource.
2032 // You can specify the network as a full or partial URL.
2033 // For example, the following are all valid URLs:
2034 // https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
2035 // projects/{project}/global/networks/{network}
2036 // global/networks/{network}
2037 Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
2038 // The URL of an existing subnetwork resource in the network.
2039 // You can specify the subnetwork as a full or partial URL.
2040 // For example, the following are all valid URLs:
2041 // https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
2042 // projects/{project}/regions/{region}/subnetworks/{subnetwork}
2043 // regions/{region}/subnetworks/{subnetwork}
2044 Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
2045 // Default is false (with an external IP address). Required if
2046 // no external public IP address is attached to the VM. If no external
2047 // public IP address, additional configuration is required to allow the VM
2048 // to access Google Services. See
2049 // https://cloud.google.com/vpc/docs/configure-private-google-access and
2050 // https://cloud.google.com/nat/docs/gce-example#create-nat for more
2051 // information.
2052 NoExternalIpAddress bool `protobuf:"varint,3,opt,name=no_external_ip_address,json=noExternalIpAddress,proto3" json:"no_external_ip_address,omitempty"`
2053 }
2054
2055 func (x *AllocationPolicy_NetworkInterface) Reset() {
2056 *x = AllocationPolicy_NetworkInterface{}
2057 if protoimpl.UnsafeEnabled {
2058 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[21]
2059 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2060 ms.StoreMessageInfo(mi)
2061 }
2062 }
2063
2064 func (x *AllocationPolicy_NetworkInterface) String() string {
2065 return protoimpl.X.MessageStringOf(x)
2066 }
2067
2068 func (*AllocationPolicy_NetworkInterface) ProtoMessage() {}
2069
2070 func (x *AllocationPolicy_NetworkInterface) ProtoReflect() protoreflect.Message {
2071 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[21]
2072 if protoimpl.UnsafeEnabled && x != nil {
2073 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2074 if ms.LoadMessageInfo() == nil {
2075 ms.StoreMessageInfo(mi)
2076 }
2077 return ms
2078 }
2079 return mi.MessageOf(x)
2080 }
2081
2082 // Deprecated: Use AllocationPolicy_NetworkInterface.ProtoReflect.Descriptor instead.
2083 func (*AllocationPolicy_NetworkInterface) Descriptor() ([]byte, []int) {
2084 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{5, 6}
2085 }
2086
2087 func (x *AllocationPolicy_NetworkInterface) GetNetwork() string {
2088 if x != nil {
2089 return x.Network
2090 }
2091 return ""
2092 }
2093
2094 func (x *AllocationPolicy_NetworkInterface) GetSubnetwork() string {
2095 if x != nil {
2096 return x.Subnetwork
2097 }
2098 return ""
2099 }
2100
2101 func (x *AllocationPolicy_NetworkInterface) GetNoExternalIpAddress() bool {
2102 if x != nil {
2103 return x.NoExternalIpAddress
2104 }
2105 return false
2106 }
2107
2108 // NetworkPolicy describes VM instance network configurations.
2109 type AllocationPolicy_NetworkPolicy struct {
2110 state protoimpl.MessageState
2111 sizeCache protoimpl.SizeCache
2112 unknownFields protoimpl.UnknownFields
2113
2114 // Network configurations.
2115 NetworkInterfaces []*AllocationPolicy_NetworkInterface `protobuf:"bytes,1,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"`
2116 }
2117
2118 func (x *AllocationPolicy_NetworkPolicy) Reset() {
2119 *x = AllocationPolicy_NetworkPolicy{}
2120 if protoimpl.UnsafeEnabled {
2121 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[22]
2122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2123 ms.StoreMessageInfo(mi)
2124 }
2125 }
2126
2127 func (x *AllocationPolicy_NetworkPolicy) String() string {
2128 return protoimpl.X.MessageStringOf(x)
2129 }
2130
2131 func (*AllocationPolicy_NetworkPolicy) ProtoMessage() {}
2132
2133 func (x *AllocationPolicy_NetworkPolicy) ProtoReflect() protoreflect.Message {
2134 mi := &file_google_cloud_batch_v1alpha_job_proto_msgTypes[22]
2135 if protoimpl.UnsafeEnabled && x != nil {
2136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2137 if ms.LoadMessageInfo() == nil {
2138 ms.StoreMessageInfo(mi)
2139 }
2140 return ms
2141 }
2142 return mi.MessageOf(x)
2143 }
2144
2145 // Deprecated: Use AllocationPolicy_NetworkPolicy.ProtoReflect.Descriptor instead.
2146 func (*AllocationPolicy_NetworkPolicy) Descriptor() ([]byte, []int) {
2147 return file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP(), []int{5, 7}
2148 }
2149
2150 func (x *AllocationPolicy_NetworkPolicy) GetNetworkInterfaces() []*AllocationPolicy_NetworkInterface {
2151 if x != nil {
2152 return x.NetworkInterfaces
2153 }
2154 return nil
2155 }
2156
2157 var File_google_cloud_batch_v1alpha_job_proto protoreflect.FileDescriptor
2158
2159 var file_google_cloud_batch_v1alpha_job_proto_rawDesc = []byte{
2160 0x0a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
2161 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6a, 0x6f, 0x62,
2162 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2163 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
2164 0x68, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
2165 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
2166 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
2167 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25,
2168 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x61, 0x74,
2169 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2e,
2170 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
2171 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
2172 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
2173 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
2174 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x09, 0x0a, 0x03, 0x4a, 0x6f, 0x62, 0x12, 0x17,
2175 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
2176 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02,
2177 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a,
2178 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
2179 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4b, 0x0a, 0x0b, 0x74, 0x61,
2180 0x73, 0x6b, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
2181 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
2182 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73,
2183 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x74, 0x61, 0x73,
2184 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x5d, 0x0a, 0x11, 0x73, 0x63, 0x68, 0x65, 0x64,
2185 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01,
2186 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2187 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
2188 0x4a, 0x6f, 0x62, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f,
2189 0x6c, 0x69, 0x63, 0x79, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67,
2190 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4d, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64,
2191 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67,
2192 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63,
2193 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62, 0x44, 0x65, 0x70,
2194 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65,
2195 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x59, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74,
2196 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
2197 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2198 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c,
2199 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x10,
2200 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2201 0x12, 0x43, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b,
2202 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2203 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f,
2204 0x62, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c,
2205 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
2206 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2207 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
2208 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x03, 0xe0, 0x41,
2209 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x53, 0x0a, 0x0c, 0x6e, 0x6f, 0x74,
2210 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32,
2211 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
2212 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62,
2213 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x02, 0x18, 0x01,
2214 0x52, 0x0c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40,
2215 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20,
2216 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2217 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42,
2218 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
2219 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
2220 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
2221 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
2222 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69,
2223 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
2224 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2225 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61,
2226 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
2227 0x0a, 0x6c, 0x6f, 0x67, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x51, 0x0a, 0x0d, 0x6e,
2228 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0e, 0x20, 0x03,
2229 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2230 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
2231 0x4a, 0x6f, 0x62, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
2232 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x39,
2233 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
2234 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
2235 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
2236 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4e, 0x0a, 0x10, 0x53, 0x63, 0x68,
2237 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x21, 0x0a,
2238 0x1d, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x4c, 0x49,
2239 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
2240 0x12, 0x17, 0x0a, 0x13, 0x41, 0x53, 0x5f, 0x53, 0x4f, 0x4f, 0x4e, 0x5f, 0x41, 0x53, 0x5f, 0x50,
2241 0x4f, 0x53, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x3a, 0x51, 0xea, 0x41, 0x4e, 0x0a, 0x18,
2242 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
2243 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4a, 0x6f, 0x62, 0x12, 0x32, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
2244 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63,
2245 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2246 0x7d, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x6a, 0x6f, 0x62, 0x7d, 0x22, 0xc8, 0x01, 0x0a,
2247 0x0a, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x54, 0x0a, 0x0b, 0x64,
2248 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
2249 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2250 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x6f,
2251 0x67, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
2252 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
2253 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02,
2254 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, 0x22, 0x47,
2255 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a,
2256 0x17, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53,
2257 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4c,
2258 0x4f, 0x55, 0x44, 0x5f, 0x4c, 0x4f, 0x47, 0x47, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a,
2259 0x04, 0x50, 0x41, 0x54, 0x48, 0x10, 0x02, 0x22, 0x8c, 0x02, 0x0a, 0x0d, 0x4a, 0x6f, 0x62, 0x44,
2260 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x4a, 0x0a, 0x05, 0x69, 0x74, 0x65,
2261 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2262 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
2263 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65,
2264 0x6e, 0x63, 0x79, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05,
2265 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x68, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e,
2266 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
2267 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
2268 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2269 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
2270 0x61, 0x2e, 0x4a, 0x6f, 0x62, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x2e,
2271 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
2272 0x45, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f,
2273 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a,
2274 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06,
2275 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x49, 0x4e, 0x49,
2276 0x53, 0x48, 0x45, 0x44, 0x10, 0x03, 0x22, 0xe5, 0x07, 0x0a, 0x09, 0x4a, 0x6f, 0x62, 0x53, 0x74,
2277 0x61, 0x74, 0x75, 0x73, 0x12, 0x41, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20,
2278 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2279 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
2280 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65,
2281 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4c, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75,
2282 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27,
2283 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
2284 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74,
2285 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45,
2286 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x56, 0x0a, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x67, 0x72,
2287 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f,
2288 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e,
2289 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75,
2290 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72,
2291 0x79, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x3c, 0x0a,
2292 0x0c, 0x72, 0x75, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20,
2293 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2294 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b,
2295 0x72, 0x75, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xbf, 0x01, 0x0a, 0x0e,
2296 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21,
2297 0x0a, 0x0c, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
2298 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70,
2299 0x65, 0x12, 0x6d, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e,
2300 0x67, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e,
2301 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74,
2302 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63,
2303 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x76,
2304 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x11, 0x70,
2305 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
2306 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x18, 0x03, 0x20,
2307 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x61, 0x63, 0x6b, 0x1a, 0xfb, 0x01,
2308 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75,
2309 0x73, 0x12, 0x59, 0x0a, 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
2310 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2311 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a,
2312 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f,
2313 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x45,
2314 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x52, 0x0a, 0x09,
2315 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
2316 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
2317 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62,
2318 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53,
2319 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,
2320 0x1a, 0x39, 0x0a, 0x0b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
2321 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
2322 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
2323 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x74, 0x0a, 0x0f, 0x54,
2324 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
2325 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
2326 0x12, 0x4b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
2327 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
2328 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62,
2329 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70,
2330 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
2331 0x01, 0x22, 0x7b, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54,
2332 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
2333 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a,
2334 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07,
2335 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43,
2336 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c,
2337 0x45, 0x44, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4f, 0x4e,
2338 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x06, 0x22, 0xc7,
2339 0x03, 0x0a, 0x0f, 0x4a, 0x6f, 0x62, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
2340 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x6f, 0x70,
2341 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62,
2342 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x4d, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
2343 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2344 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c,
2345 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
2346 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x73,
2347 0x73, 0x61, 0x67, 0x65, 0x1a, 0xf4, 0x01, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
2348 0x12, 0x44, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30,
2349 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
2350 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62, 0x4e,
2351 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65,
2352 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x5f, 0x6a, 0x6f,
2353 0x62, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e,
2354 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74,
2355 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74,
2356 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x4a,
2357 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x52, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x74,
2358 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
2359 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
2360 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73,
2361 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x6e,
2362 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x4b, 0x0a, 0x04, 0x54,
2363 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
2364 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x4a, 0x4f, 0x42,
2365 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x01,
2366 0x12, 0x16, 0x0a, 0x12, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43,
2367 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x02, 0x22, 0xe6, 0x13, 0x0a, 0x10, 0x41, 0x6c, 0x6c,
2368 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x57, 0x0a,
2369 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
2370 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
2371 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c, 0x6c,
2372 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4c, 0x6f,
2373 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x08, 0x6c, 0x6f,
2374 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5b, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,
2375 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2376 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
2377 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2378 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50,
2379 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61,
2380 0x6e, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,
2381 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2382 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c,
2383 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f,
2384 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f, 0x6c,
2385 0x69, 0x63, 0x79, 0x4f, 0x72, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x09, 0x69,
2386 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x12, 0x69, 0x6e, 0x73, 0x74,
2387 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03,
2388 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,
2389 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x73, 0x0a, 0x13, 0x70,
2390 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f, 0x64, 0x65,
2391 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2392 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
2393 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2394 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2395 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x12, 0x70, 0x72,
2396 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73,
2397 0x12, 0x36, 0x0a, 0x15, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f,
2398 0x75, 0x6e, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42,
2399 0x02, 0x18, 0x01, 0x52, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f,
2400 0x75, 0x6e, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x53, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76,
2401 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28,
2402 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2403 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53,
2404 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0e, 0x73,
2405 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x50, 0x0a,
2406 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e,
2407 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74,
2408 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63,
2409 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4c, 0x61, 0x62, 0x65,
2410 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12,
2411 0x54, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
2412 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2413 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c,
2414 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4e,
2415 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x07, 0x6e, 0x65,
2416 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x1a, 0x68, 0x0a, 0x0e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
2417 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77,
2418 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03,
2419 0x28, 0x09, 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74,
2420 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x5f, 0x6c,
2421 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f,
2422 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a,
2423 0x9f, 0x01, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67,
2424 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65,
2425 0x12, 0x1c, 0x0a, 0x08, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01,
2426 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x12,
2427 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79,
2428 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x67, 0x62, 0x18, 0x02, 0x20,
2429 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x69, 0x7a, 0x65, 0x47, 0x62, 0x12, 0x25, 0x0a, 0x0e, 0x64,
2430 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20,
2431 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61,
2432 0x63, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63,
2433 0x65, 0x1a, 0xb2, 0x01, 0x0a, 0x0c, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x44, 0x69,
2434 0x73, 0x6b, 0x12, 0x4e, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x64, 0x69, 0x73, 0x6b, 0x18, 0x01,
2435 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2436 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
2437 0x61, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69,
2438 0x63, 0x79, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x44, 0x69,
2439 0x73, 0x6b, 0x12, 0x25, 0x0a, 0x0d, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x64,
2440 0x69, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x65, 0x78, 0x69,
2441 0x73, 0x74, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76,
2442 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
2443 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x61, 0x74,
2444 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x1a, 0x6b, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x65, 0x6c, 0x65,
2445 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
2446 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75,
2447 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12,
2448 0x32, 0x0a, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x5f, 0x67, 0x70, 0x75, 0x5f, 0x64,
2449 0x72, 0x69, 0x76, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01,
2450 0x52, 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x47, 0x70, 0x75, 0x44, 0x72, 0x69, 0x76,
2451 0x65, 0x72, 0x73, 0x1a, 0xa5, 0x04, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
2452 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x36, 0x0a, 0x15, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65,
2453 0x64, 0x5f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18,
2454 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77,
2455 0x65, 0x64, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x21,
2456 0x0a, 0x0c, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
2457 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70,
2458 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x70, 0x6c, 0x61,
2459 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x69, 0x6e,
2460 0x43, 0x70, 0x75, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x6d, 0x0a, 0x12, 0x70,
2461 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f, 0x64, 0x65,
2462 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2463 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61,
2464 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50,
2465 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69,
2466 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69,
2467 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x5c, 0x0a, 0x0c, 0x61, 0x63,
2468 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,
2469 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2470 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c,
2471 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x41,
2472 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x65,
2473 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x4e, 0x0a, 0x09, 0x62, 0x6f, 0x6f, 0x74,
2474 0x5f, 0x64, 0x69, 0x73, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f,
2475 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68,
2476 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74,
2477 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x08,
2478 0x62, 0x6f, 0x6f, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x4f, 0x0a, 0x05, 0x64, 0x69, 0x73, 0x6b,
2479 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2480 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61,
2481 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50,
2482 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x44, 0x69,
2483 0x73, 0x6b, 0x52, 0x05, 0x64, 0x69, 0x73, 0x6b, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x73,
2484 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
2485 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xe3, 0x01, 0x0a, 0x18,
2486 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x72,
2487 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x55, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69,
2488 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2489 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
2490 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2491 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50,
2492 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x48, 0x00, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12,
2493 0x2d, 0x0a, 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70,
2494 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x69, 0x6e,
2495 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2e,
2496 0x0a, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x5f, 0x67, 0x70, 0x75, 0x5f, 0x64, 0x72,
2497 0x69, 0x76, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x6e, 0x73,
2498 0x74, 0x61, 0x6c, 0x6c, 0x47, 0x70, 0x75, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x73, 0x42, 0x11,
2499 0x0a, 0x0f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
2500 0x65, 0x1a, 0x81, 0x01, 0x0a, 0x10, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x74,
2501 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
2502 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
2503 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x02,
2504 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
2505 0x12, 0x33, 0x0a, 0x16, 0x6e, 0x6f, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f,
2506 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
2507 0x52, 0x13, 0x6e, 0x6f, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x70, 0x41, 0x64,
2508 0x64, 0x72, 0x65, 0x73, 0x73, 0x1a, 0x7d, 0x0a, 0x0d, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
2509 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x6c, 0x0a, 0x12, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
2510 0x6b, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
2511 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2512 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
2513 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2514 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63,
2515 0x65, 0x52, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66,
2516 0x61, 0x63, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
2517 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
2518 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
2519 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
2520 0x60, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x4d,
2521 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x53, 0x49, 0x4f,
2522 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
2523 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x41, 0x4e,
2524 0x44, 0x41, 0x52, 0x44, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x50, 0x4f, 0x54, 0x10, 0x02,
2525 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x52, 0x45, 0x45, 0x4d, 0x50, 0x54, 0x49, 0x42, 0x4c, 0x45, 0x10,
2526 0x03, 0x22, 0x8e, 0x07, 0x0a, 0x09, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
2527 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
2528 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b,
2529 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f,
2530 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68,
2531 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65,
2532 0x63, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63,
2533 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04,
2534 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
2535 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x05,
2536 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73,
2537 0x6d, 0x12, 0x63, 0x0a, 0x11, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x5f,
2538 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67,
2539 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63,
2540 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72,
2541 0x6f, 0x75, 0x70, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f,
2542 0x6c, 0x69, 0x63, 0x79, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67,
2543 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x59, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61,
2544 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28,
2545 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2546 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41,
2547 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
2548 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63,
2549 0x79, 0x12, 0x49, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28,
2550 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2551 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54,
2552 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45,
2553 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x54, 0x0a, 0x11,
2554 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
2555 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2556 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61,
2557 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
2558 0x52, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e,
2559 0x74, 0x73, 0x12, 0x2d, 0x0a, 0x13, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
2560 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52,
2561 0x10, 0x74, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x4e, 0x6f, 0x64,
2562 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f, 0x68, 0x6f, 0x73,
2563 0x74, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x72,
2564 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x12,
2565 0x25, 0x0a, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x73,
2566 0x68, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
2567 0x69, 0x76, 0x65, 0x53, 0x73, 0x68, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
2568 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
2569 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
2570 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
2571 0x01, 0x22, 0x4e, 0x0a, 0x10, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x50,
2572 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c,
2573 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
2574 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x53, 0x5f, 0x53,
2575 0x4f, 0x4f, 0x4e, 0x5f, 0x41, 0x53, 0x5f, 0x50, 0x4f, 0x53, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10,
2576 0x01, 0x3a, 0x6f, 0xea, 0x41, 0x6c, 0x0a, 0x1e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x67, 0x6f,
2577 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73,
2578 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x4a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
2579 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
2580 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f,
2581 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x6a, 0x6f, 0x62, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x47,
2582 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x67, 0x72, 0x6f, 0x75,
2583 0x70, 0x7d, 0x22, 0x3e, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63,
2584 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20,
2585 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63,
2586 0x6f, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70,
2587 0x65, 0x73, 0x42, 0xcd, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2588 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
2589 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x08, 0x4a, 0x6f, 0x62, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
2590 0x01, 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
2591 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
2592 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
2593 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x62, 0x61, 0x74,
2594 0x63, 0x68, 0xa2, 0x02, 0x03, 0x47, 0x43, 0x42, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
2595 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x56, 0x31,
2596 0x41, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43,
2597 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70,
2598 0x68, 0x61, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f,
2599 0x75, 0x64, 0x3a, 0x3a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70,
2600 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2601 }
2602
2603 var (
2604 file_google_cloud_batch_v1alpha_job_proto_rawDescOnce sync.Once
2605 file_google_cloud_batch_v1alpha_job_proto_rawDescData = file_google_cloud_batch_v1alpha_job_proto_rawDesc
2606 )
2607
2608 func file_google_cloud_batch_v1alpha_job_proto_rawDescGZIP() []byte {
2609 file_google_cloud_batch_v1alpha_job_proto_rawDescOnce.Do(func() {
2610 file_google_cloud_batch_v1alpha_job_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_batch_v1alpha_job_proto_rawDescData)
2611 })
2612 return file_google_cloud_batch_v1alpha_job_proto_rawDescData
2613 }
2614
2615 var file_google_cloud_batch_v1alpha_job_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
2616 var file_google_cloud_batch_v1alpha_job_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
2617 var file_google_cloud_batch_v1alpha_job_proto_goTypes = []interface{}{
2618 (Job_SchedulingPolicy)(0), // 0: google.cloud.batch.v1alpha.Job.SchedulingPolicy
2619 (LogsPolicy_Destination)(0), // 1: google.cloud.batch.v1alpha.LogsPolicy.Destination
2620 (JobDependency_Type)(0), // 2: google.cloud.batch.v1alpha.JobDependency.Type
2621 (JobStatus_State)(0), // 3: google.cloud.batch.v1alpha.JobStatus.State
2622 (JobNotification_Type)(0), // 4: google.cloud.batch.v1alpha.JobNotification.Type
2623 (AllocationPolicy_ProvisioningModel)(0), // 5: google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel
2624 (TaskGroup_SchedulingPolicy)(0), // 6: google.cloud.batch.v1alpha.TaskGroup.SchedulingPolicy
2625 (*Job)(nil), // 7: google.cloud.batch.v1alpha.Job
2626 (*LogsPolicy)(nil), // 8: google.cloud.batch.v1alpha.LogsPolicy
2627 (*JobDependency)(nil), // 9: google.cloud.batch.v1alpha.JobDependency
2628 (*JobStatus)(nil), // 10: google.cloud.batch.v1alpha.JobStatus
2629 (*JobNotification)(nil), // 11: google.cloud.batch.v1alpha.JobNotification
2630 (*AllocationPolicy)(nil), // 12: google.cloud.batch.v1alpha.AllocationPolicy
2631 (*TaskGroup)(nil), // 13: google.cloud.batch.v1alpha.TaskGroup
2632 (*ServiceAccount)(nil), // 14: google.cloud.batch.v1alpha.ServiceAccount
2633 nil, // 15: google.cloud.batch.v1alpha.Job.LabelsEntry
2634 nil, // 16: google.cloud.batch.v1alpha.JobDependency.ItemsEntry
2635 (*JobStatus_InstanceStatus)(nil), // 17: google.cloud.batch.v1alpha.JobStatus.InstanceStatus
2636 (*JobStatus_TaskGroupStatus)(nil), // 18: google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus
2637 nil, // 19: google.cloud.batch.v1alpha.JobStatus.TaskGroupsEntry
2638 nil, // 20: google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus.CountsEntry
2639 (*JobNotification_Message)(nil), // 21: google.cloud.batch.v1alpha.JobNotification.Message
2640 (*AllocationPolicy_LocationPolicy)(nil), // 22: google.cloud.batch.v1alpha.AllocationPolicy.LocationPolicy
2641 (*AllocationPolicy_Disk)(nil), // 23: google.cloud.batch.v1alpha.AllocationPolicy.Disk
2642 (*AllocationPolicy_AttachedDisk)(nil), // 24: google.cloud.batch.v1alpha.AllocationPolicy.AttachedDisk
2643 (*AllocationPolicy_Accelerator)(nil), // 25: google.cloud.batch.v1alpha.AllocationPolicy.Accelerator
2644 (*AllocationPolicy_InstancePolicy)(nil), // 26: google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy
2645 (*AllocationPolicy_InstancePolicyOrTemplate)(nil), // 27: google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicyOrTemplate
2646 (*AllocationPolicy_NetworkInterface)(nil), // 28: google.cloud.batch.v1alpha.AllocationPolicy.NetworkInterface
2647 (*AllocationPolicy_NetworkPolicy)(nil), // 29: google.cloud.batch.v1alpha.AllocationPolicy.NetworkPolicy
2648 nil, // 30: google.cloud.batch.v1alpha.AllocationPolicy.LabelsEntry
2649 nil, // 31: google.cloud.batch.v1alpha.TaskGroup.LabelsEntry
2650 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
2651 (*StatusEvent)(nil), // 33: google.cloud.batch.v1alpha.StatusEvent
2652 (*durationpb.Duration)(nil), // 34: google.protobuf.Duration
2653 (*TaskSpec)(nil), // 35: google.cloud.batch.v1alpha.TaskSpec
2654 (*Environment)(nil), // 36: google.cloud.batch.v1alpha.Environment
2655 (TaskStatus_State)(0), // 37: google.cloud.batch.v1alpha.TaskStatus.State
2656 }
2657 var file_google_cloud_batch_v1alpha_job_proto_depIdxs = []int32{
2658 13, // 0: google.cloud.batch.v1alpha.Job.task_groups:type_name -> google.cloud.batch.v1alpha.TaskGroup
2659 0, // 1: google.cloud.batch.v1alpha.Job.scheduling_policy:type_name -> google.cloud.batch.v1alpha.Job.SchedulingPolicy
2660 9, // 2: google.cloud.batch.v1alpha.Job.dependencies:type_name -> google.cloud.batch.v1alpha.JobDependency
2661 12, // 3: google.cloud.batch.v1alpha.Job.allocation_policy:type_name -> google.cloud.batch.v1alpha.AllocationPolicy
2662 15, // 4: google.cloud.batch.v1alpha.Job.labels:type_name -> google.cloud.batch.v1alpha.Job.LabelsEntry
2663 10, // 5: google.cloud.batch.v1alpha.Job.status:type_name -> google.cloud.batch.v1alpha.JobStatus
2664 11, // 6: google.cloud.batch.v1alpha.Job.notification:type_name -> google.cloud.batch.v1alpha.JobNotification
2665 32, // 7: google.cloud.batch.v1alpha.Job.create_time:type_name -> google.protobuf.Timestamp
2666 32, // 8: google.cloud.batch.v1alpha.Job.update_time:type_name -> google.protobuf.Timestamp
2667 8, // 9: google.cloud.batch.v1alpha.Job.logs_policy:type_name -> google.cloud.batch.v1alpha.LogsPolicy
2668 11, // 10: google.cloud.batch.v1alpha.Job.notifications:type_name -> google.cloud.batch.v1alpha.JobNotification
2669 1, // 11: google.cloud.batch.v1alpha.LogsPolicy.destination:type_name -> google.cloud.batch.v1alpha.LogsPolicy.Destination
2670 16, // 12: google.cloud.batch.v1alpha.JobDependency.items:type_name -> google.cloud.batch.v1alpha.JobDependency.ItemsEntry
2671 3, // 13: google.cloud.batch.v1alpha.JobStatus.state:type_name -> google.cloud.batch.v1alpha.JobStatus.State
2672 33, // 14: google.cloud.batch.v1alpha.JobStatus.status_events:type_name -> google.cloud.batch.v1alpha.StatusEvent
2673 19, // 15: google.cloud.batch.v1alpha.JobStatus.task_groups:type_name -> google.cloud.batch.v1alpha.JobStatus.TaskGroupsEntry
2674 34, // 16: google.cloud.batch.v1alpha.JobStatus.run_duration:type_name -> google.protobuf.Duration
2675 21, // 17: google.cloud.batch.v1alpha.JobNotification.message:type_name -> google.cloud.batch.v1alpha.JobNotification.Message
2676 22, // 18: google.cloud.batch.v1alpha.AllocationPolicy.location:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.LocationPolicy
2677 26, // 19: google.cloud.batch.v1alpha.AllocationPolicy.instance:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy
2678 27, // 20: google.cloud.batch.v1alpha.AllocationPolicy.instances:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicyOrTemplate
2679 5, // 21: google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel
2680 14, // 22: google.cloud.batch.v1alpha.AllocationPolicy.service_account:type_name -> google.cloud.batch.v1alpha.ServiceAccount
2681 30, // 23: google.cloud.batch.v1alpha.AllocationPolicy.labels:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.LabelsEntry
2682 29, // 24: google.cloud.batch.v1alpha.AllocationPolicy.network:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.NetworkPolicy
2683 35, // 25: google.cloud.batch.v1alpha.TaskGroup.task_spec:type_name -> google.cloud.batch.v1alpha.TaskSpec
2684 6, // 26: google.cloud.batch.v1alpha.TaskGroup.scheduling_policy:type_name -> google.cloud.batch.v1alpha.TaskGroup.SchedulingPolicy
2685 12, // 27: google.cloud.batch.v1alpha.TaskGroup.allocation_policy:type_name -> google.cloud.batch.v1alpha.AllocationPolicy
2686 31, // 28: google.cloud.batch.v1alpha.TaskGroup.labels:type_name -> google.cloud.batch.v1alpha.TaskGroup.LabelsEntry
2687 36, // 29: google.cloud.batch.v1alpha.TaskGroup.task_environments:type_name -> google.cloud.batch.v1alpha.Environment
2688 2, // 30: google.cloud.batch.v1alpha.JobDependency.ItemsEntry.value:type_name -> google.cloud.batch.v1alpha.JobDependency.Type
2689 5, // 31: google.cloud.batch.v1alpha.JobStatus.InstanceStatus.provisioning_model:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel
2690 20, // 32: google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus.counts:type_name -> google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus.CountsEntry
2691 17, // 33: google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus.instances:type_name -> google.cloud.batch.v1alpha.JobStatus.InstanceStatus
2692 18, // 34: google.cloud.batch.v1alpha.JobStatus.TaskGroupsEntry.value:type_name -> google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus
2693 4, // 35: google.cloud.batch.v1alpha.JobNotification.Message.type:type_name -> google.cloud.batch.v1alpha.JobNotification.Type
2694 3, // 36: google.cloud.batch.v1alpha.JobNotification.Message.new_job_state:type_name -> google.cloud.batch.v1alpha.JobStatus.State
2695 37, // 37: google.cloud.batch.v1alpha.JobNotification.Message.new_task_state:type_name -> google.cloud.batch.v1alpha.TaskStatus.State
2696 23, // 38: google.cloud.batch.v1alpha.AllocationPolicy.AttachedDisk.new_disk:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.Disk
2697 5, // 39: google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.provisioning_model:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel
2698 25, // 40: google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.accelerators:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.Accelerator
2699 23, // 41: google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.boot_disk:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.Disk
2700 24, // 42: google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.disks:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.AttachedDisk
2701 26, // 43: google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicyOrTemplate.policy:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy
2702 28, // 44: google.cloud.batch.v1alpha.AllocationPolicy.NetworkPolicy.network_interfaces:type_name -> google.cloud.batch.v1alpha.AllocationPolicy.NetworkInterface
2703 45, // [45:45] is the sub-list for method output_type
2704 45, // [45:45] is the sub-list for method input_type
2705 45, // [45:45] is the sub-list for extension type_name
2706 45, // [45:45] is the sub-list for extension extendee
2707 0, // [0:45] is the sub-list for field type_name
2708 }
2709
2710 func init() { file_google_cloud_batch_v1alpha_job_proto_init() }
2711 func file_google_cloud_batch_v1alpha_job_proto_init() {
2712 if File_google_cloud_batch_v1alpha_job_proto != nil {
2713 return
2714 }
2715 file_google_cloud_batch_v1alpha_task_proto_init()
2716 if !protoimpl.UnsafeEnabled {
2717 file_google_cloud_batch_v1alpha_job_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2718 switch v := v.(*Job); i {
2719 case 0:
2720 return &v.state
2721 case 1:
2722 return &v.sizeCache
2723 case 2:
2724 return &v.unknownFields
2725 default:
2726 return nil
2727 }
2728 }
2729 file_google_cloud_batch_v1alpha_job_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2730 switch v := v.(*LogsPolicy); i {
2731 case 0:
2732 return &v.state
2733 case 1:
2734 return &v.sizeCache
2735 case 2:
2736 return &v.unknownFields
2737 default:
2738 return nil
2739 }
2740 }
2741 file_google_cloud_batch_v1alpha_job_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2742 switch v := v.(*JobDependency); i {
2743 case 0:
2744 return &v.state
2745 case 1:
2746 return &v.sizeCache
2747 case 2:
2748 return &v.unknownFields
2749 default:
2750 return nil
2751 }
2752 }
2753 file_google_cloud_batch_v1alpha_job_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2754 switch v := v.(*JobStatus); i {
2755 case 0:
2756 return &v.state
2757 case 1:
2758 return &v.sizeCache
2759 case 2:
2760 return &v.unknownFields
2761 default:
2762 return nil
2763 }
2764 }
2765 file_google_cloud_batch_v1alpha_job_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2766 switch v := v.(*JobNotification); i {
2767 case 0:
2768 return &v.state
2769 case 1:
2770 return &v.sizeCache
2771 case 2:
2772 return &v.unknownFields
2773 default:
2774 return nil
2775 }
2776 }
2777 file_google_cloud_batch_v1alpha_job_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2778 switch v := v.(*AllocationPolicy); i {
2779 case 0:
2780 return &v.state
2781 case 1:
2782 return &v.sizeCache
2783 case 2:
2784 return &v.unknownFields
2785 default:
2786 return nil
2787 }
2788 }
2789 file_google_cloud_batch_v1alpha_job_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2790 switch v := v.(*TaskGroup); i {
2791 case 0:
2792 return &v.state
2793 case 1:
2794 return &v.sizeCache
2795 case 2:
2796 return &v.unknownFields
2797 default:
2798 return nil
2799 }
2800 }
2801 file_google_cloud_batch_v1alpha_job_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2802 switch v := v.(*ServiceAccount); i {
2803 case 0:
2804 return &v.state
2805 case 1:
2806 return &v.sizeCache
2807 case 2:
2808 return &v.unknownFields
2809 default:
2810 return nil
2811 }
2812 }
2813 file_google_cloud_batch_v1alpha_job_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2814 switch v := v.(*JobStatus_InstanceStatus); i {
2815 case 0:
2816 return &v.state
2817 case 1:
2818 return &v.sizeCache
2819 case 2:
2820 return &v.unknownFields
2821 default:
2822 return nil
2823 }
2824 }
2825 file_google_cloud_batch_v1alpha_job_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2826 switch v := v.(*JobStatus_TaskGroupStatus); i {
2827 case 0:
2828 return &v.state
2829 case 1:
2830 return &v.sizeCache
2831 case 2:
2832 return &v.unknownFields
2833 default:
2834 return nil
2835 }
2836 }
2837 file_google_cloud_batch_v1alpha_job_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2838 switch v := v.(*JobNotification_Message); i {
2839 case 0:
2840 return &v.state
2841 case 1:
2842 return &v.sizeCache
2843 case 2:
2844 return &v.unknownFields
2845 default:
2846 return nil
2847 }
2848 }
2849 file_google_cloud_batch_v1alpha_job_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2850 switch v := v.(*AllocationPolicy_LocationPolicy); i {
2851 case 0:
2852 return &v.state
2853 case 1:
2854 return &v.sizeCache
2855 case 2:
2856 return &v.unknownFields
2857 default:
2858 return nil
2859 }
2860 }
2861 file_google_cloud_batch_v1alpha_job_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2862 switch v := v.(*AllocationPolicy_Disk); i {
2863 case 0:
2864 return &v.state
2865 case 1:
2866 return &v.sizeCache
2867 case 2:
2868 return &v.unknownFields
2869 default:
2870 return nil
2871 }
2872 }
2873 file_google_cloud_batch_v1alpha_job_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2874 switch v := v.(*AllocationPolicy_AttachedDisk); i {
2875 case 0:
2876 return &v.state
2877 case 1:
2878 return &v.sizeCache
2879 case 2:
2880 return &v.unknownFields
2881 default:
2882 return nil
2883 }
2884 }
2885 file_google_cloud_batch_v1alpha_job_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2886 switch v := v.(*AllocationPolicy_Accelerator); i {
2887 case 0:
2888 return &v.state
2889 case 1:
2890 return &v.sizeCache
2891 case 2:
2892 return &v.unknownFields
2893 default:
2894 return nil
2895 }
2896 }
2897 file_google_cloud_batch_v1alpha_job_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
2898 switch v := v.(*AllocationPolicy_InstancePolicy); i {
2899 case 0:
2900 return &v.state
2901 case 1:
2902 return &v.sizeCache
2903 case 2:
2904 return &v.unknownFields
2905 default:
2906 return nil
2907 }
2908 }
2909 file_google_cloud_batch_v1alpha_job_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
2910 switch v := v.(*AllocationPolicy_InstancePolicyOrTemplate); i {
2911 case 0:
2912 return &v.state
2913 case 1:
2914 return &v.sizeCache
2915 case 2:
2916 return &v.unknownFields
2917 default:
2918 return nil
2919 }
2920 }
2921 file_google_cloud_batch_v1alpha_job_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
2922 switch v := v.(*AllocationPolicy_NetworkInterface); i {
2923 case 0:
2924 return &v.state
2925 case 1:
2926 return &v.sizeCache
2927 case 2:
2928 return &v.unknownFields
2929 default:
2930 return nil
2931 }
2932 }
2933 file_google_cloud_batch_v1alpha_job_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
2934 switch v := v.(*AllocationPolicy_NetworkPolicy); i {
2935 case 0:
2936 return &v.state
2937 case 1:
2938 return &v.sizeCache
2939 case 2:
2940 return &v.unknownFields
2941 default:
2942 return nil
2943 }
2944 }
2945 }
2946 file_google_cloud_batch_v1alpha_job_proto_msgTypes[16].OneofWrappers = []interface{}{
2947 (*AllocationPolicy_Disk_Image)(nil),
2948 (*AllocationPolicy_Disk_Snapshot)(nil),
2949 }
2950 file_google_cloud_batch_v1alpha_job_proto_msgTypes[17].OneofWrappers = []interface{}{
2951 (*AllocationPolicy_AttachedDisk_NewDisk)(nil),
2952 (*AllocationPolicy_AttachedDisk_ExistingDisk)(nil),
2953 }
2954 file_google_cloud_batch_v1alpha_job_proto_msgTypes[20].OneofWrappers = []interface{}{
2955 (*AllocationPolicy_InstancePolicyOrTemplate_Policy)(nil),
2956 (*AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate)(nil),
2957 }
2958 type x struct{}
2959 out := protoimpl.TypeBuilder{
2960 File: protoimpl.DescBuilder{
2961 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2962 RawDescriptor: file_google_cloud_batch_v1alpha_job_proto_rawDesc,
2963 NumEnums: 7,
2964 NumMessages: 25,
2965 NumExtensions: 0,
2966 NumServices: 0,
2967 },
2968 GoTypes: file_google_cloud_batch_v1alpha_job_proto_goTypes,
2969 DependencyIndexes: file_google_cloud_batch_v1alpha_job_proto_depIdxs,
2970 EnumInfos: file_google_cloud_batch_v1alpha_job_proto_enumTypes,
2971 MessageInfos: file_google_cloud_batch_v1alpha_job_proto_msgTypes,
2972 }.Build()
2973 File_google_cloud_batch_v1alpha_job_proto = out.File
2974 file_google_cloud_batch_v1alpha_job_proto_rawDesc = nil
2975 file_google_cloud_batch_v1alpha_job_proto_goTypes = nil
2976 file_google_cloud_batch_v1alpha_job_proto_depIdxs = nil
2977 }