Debian Codegraph @

batch/apiv1/batchpb/job.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/cloud/batch/v1/job.proto
20
21 package batchpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 durationpb "google.golang.org/protobuf/types/known/durationpb"
28 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // The destination (if any) for logs.
41 type LogsPolicy_Destination int32
42
43 const (
44 // (Default) Logs are not preserved.
45 LogsPolicy_DESTINATION_UNSPECIFIED LogsPolicy_Destination = 0
46 // Logs are streamed to Cloud Logging. Optionally, you can configure
47 // additional settings in the `cloudLoggingOption` field.
48 LogsPolicy_CLOUD_LOGGING LogsPolicy_Destination = 1
49 // Logs are saved to the file path specified in the `logsPath` field.
50 LogsPolicy_PATH LogsPolicy_Destination = 2
51 )
52
53 // Enum value maps for LogsPolicy_Destination.
54 var (
55 LogsPolicy_Destination_name = map[int32]string{
56 0: "DESTINATION_UNSPECIFIED",
57 1: "CLOUD_LOGGING",
58 2: "PATH",
59 }
60 LogsPolicy_Destination_value = map[string]int32{
61 "DESTINATION_UNSPECIFIED": 0,
62 "CLOUD_LOGGING": 1,
63 "PATH": 2,
64 }
65 )
66
67 func (x LogsPolicy_Destination) Enum() *LogsPolicy_Destination {
68 p := new(LogsPolicy_Destination)
69 *p = x
70 return p
71 }
72
73 func (x LogsPolicy_Destination) String() string {
74 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
75 }
76
77 func (LogsPolicy_Destination) Descriptor() protoreflect.EnumDescriptor {
78 return file_google_cloud_batch_v1_job_proto_enumTypes[0].Descriptor()
79 }
80
81 func (LogsPolicy_Destination) Type() protoreflect.EnumType {
82 return &file_google_cloud_batch_v1_job_proto_enumTypes[0]
83 }
84
85 func (x LogsPolicy_Destination) Number() protoreflect.EnumNumber {
86 return protoreflect.EnumNumber(x)
87 }
88
89 // Deprecated: Use LogsPolicy_Destination.Descriptor instead.
90 func (LogsPolicy_Destination) EnumDescriptor() ([]byte, []int) {
91 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{1, 0}
92 }
93
94 // Valid Job states.
95 type JobStatus_State int32
96
97 const (
98 // Job state unspecified.
99 JobStatus_STATE_UNSPECIFIED JobStatus_State = 0
100 // Job is admitted (validated and persisted) and waiting for resources.
101 JobStatus_QUEUED JobStatus_State = 1
102 // Job is scheduled to run as soon as resource allocation is ready.
103 // The resource allocation may happen at a later time but with a high
104 // chance to succeed.
105 JobStatus_SCHEDULED JobStatus_State = 2
106 // Resource allocation has been successful. At least one Task in the Job is
107 // RUNNING.
108 JobStatus_RUNNING JobStatus_State = 3
109 // All Tasks in the Job have finished successfully.
110 JobStatus_SUCCEEDED JobStatus_State = 4
111 // At least one Task in the Job has failed.
112 JobStatus_FAILED JobStatus_State = 5
113 // The Job will be deleted, but has not been deleted yet. Typically this is
114 // because resources used by the Job are still being cleaned up.
115 JobStatus_DELETION_IN_PROGRESS JobStatus_State = 6
116 // The Job cancellation is in progress, this is because the resources used
117 // by the Job are still being cleaned up.
118 JobStatus_CANCELLATION_IN_PROGRESS JobStatus_State = 7
119 // The Job has been cancelled, the task executions were stopped and the
120 // resources were cleaned up.
121 JobStatus_CANCELLED JobStatus_State = 8
122 )
123
124 // Enum value maps for JobStatus_State.
125 var (
126 JobStatus_State_name = map[int32]string{
127 0: "STATE_UNSPECIFIED",
128 1: "QUEUED",
129 2: "SCHEDULED",
130 3: "RUNNING",
131 4: "SUCCEEDED",
132 5: "FAILED",
133 6: "DELETION_IN_PROGRESS",
134 7: "CANCELLATION_IN_PROGRESS",
135 8: "CANCELLED",
136 }
137 JobStatus_State_value = map[string]int32{
138 "STATE_UNSPECIFIED": 0,
139 "QUEUED": 1,
140 "SCHEDULED": 2,
141 "RUNNING": 3,
142 "SUCCEEDED": 4,
143 "FAILED": 5,
144 "DELETION_IN_PROGRESS": 6,
145 "CANCELLATION_IN_PROGRESS": 7,
146 "CANCELLED": 8,
147 }
148 )
149
150 func (x JobStatus_State) Enum() *JobStatus_State {
151 p := new(JobStatus_State)
152 *p = x
153 return p
154 }
155
156 func (x JobStatus_State) String() string {
157 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
158 }
159
160 func (JobStatus_State) Descriptor() protoreflect.EnumDescriptor {
161 return file_google_cloud_batch_v1_job_proto_enumTypes[1].Descriptor()
162 }
163
164 func (JobStatus_State) Type() protoreflect.EnumType {
165 return &file_google_cloud_batch_v1_job_proto_enumTypes[1]
166 }
167
168 func (x JobStatus_State) Number() protoreflect.EnumNumber {
169 return protoreflect.EnumNumber(x)
170 }
171
172 // Deprecated: Use JobStatus_State.Descriptor instead.
173 func (JobStatus_State) EnumDescriptor() ([]byte, []int) {
174 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{2, 0}
175 }
176
177 // The message type.
178 type JobNotification_Type int32
179
180 const (
181 // Unspecified.
182 JobNotification_TYPE_UNSPECIFIED JobNotification_Type = 0
183 // Notify users that the job state has changed.
184 JobNotification_JOB_STATE_CHANGED JobNotification_Type = 1
185 // Notify users that the task state has changed.
186 JobNotification_TASK_STATE_CHANGED JobNotification_Type = 2
187 )
188
189 // Enum value maps for JobNotification_Type.
190 var (
191 JobNotification_Type_name = map[int32]string{
192 0: "TYPE_UNSPECIFIED",
193 1: "JOB_STATE_CHANGED",
194 2: "TASK_STATE_CHANGED",
195 }
196 JobNotification_Type_value = map[string]int32{
197 "TYPE_UNSPECIFIED": 0,
198 "JOB_STATE_CHANGED": 1,
199 "TASK_STATE_CHANGED": 2,
200 }
201 )
202
203 func (x JobNotification_Type) Enum() *JobNotification_Type {
204 p := new(JobNotification_Type)
205 *p = x
206 return p
207 }
208
209 func (x JobNotification_Type) String() string {
210 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
211 }
212
213 func (JobNotification_Type) Descriptor() protoreflect.EnumDescriptor {
214 return file_google_cloud_batch_v1_job_proto_enumTypes[2].Descriptor()
215 }
216
217 func (JobNotification_Type) Type() protoreflect.EnumType {
218 return &file_google_cloud_batch_v1_job_proto_enumTypes[2]
219 }
220
221 func (x JobNotification_Type) Number() protoreflect.EnumNumber {
222 return protoreflect.EnumNumber(x)
223 }
224
225 // Deprecated: Use JobNotification_Type.Descriptor instead.
226 func (JobNotification_Type) EnumDescriptor() ([]byte, []int) {
227 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{3, 0}
228 }
229
230 // Compute Engine VM instance provisioning model.
231 type AllocationPolicy_ProvisioningModel int32
232
233 const (
234 // Unspecified.
235 AllocationPolicy_PROVISIONING_MODEL_UNSPECIFIED AllocationPolicy_ProvisioningModel = 0
236 // Standard VM.
237 AllocationPolicy_STANDARD AllocationPolicy_ProvisioningModel = 1
238 // SPOT VM.
239 AllocationPolicy_SPOT AllocationPolicy_ProvisioningModel = 2
240 // Preemptible VM (PVM).
241 //
242 // Above SPOT VM is the preferable model for preemptible VM instances: the
243 // old preemptible VM model (indicated by this field) is the older model,
244 // and has been migrated to use the SPOT model as the underlying technology.
245 // This old model will still be supported.
246 AllocationPolicy_PREEMPTIBLE AllocationPolicy_ProvisioningModel = 3
247 )
248
249 // Enum value maps for AllocationPolicy_ProvisioningModel.
250 var (
251 AllocationPolicy_ProvisioningModel_name = map[int32]string{
252 0: "PROVISIONING_MODEL_UNSPECIFIED",
253 1: "STANDARD",
254 2: "SPOT",
255 3: "PREEMPTIBLE",
256 }
257 AllocationPolicy_ProvisioningModel_value = map[string]int32{
258 "PROVISIONING_MODEL_UNSPECIFIED": 0,
259 "STANDARD": 1,
260 "SPOT": 2,
261 "PREEMPTIBLE": 3,
262 }
263 )
264
265 func (x AllocationPolicy_ProvisioningModel) Enum() *AllocationPolicy_ProvisioningModel {
266 p := new(AllocationPolicy_ProvisioningModel)
267 *p = x
268 return p
269 }
270
271 func (x AllocationPolicy_ProvisioningModel) String() string {
272 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
273 }
274
275 func (AllocationPolicy_ProvisioningModel) Descriptor() protoreflect.EnumDescriptor {
276 return file_google_cloud_batch_v1_job_proto_enumTypes[3].Descriptor()
277 }
278
279 func (AllocationPolicy_ProvisioningModel) Type() protoreflect.EnumType {
280 return &file_google_cloud_batch_v1_job_proto_enumTypes[3]
281 }
282
283 func (x AllocationPolicy_ProvisioningModel) Number() protoreflect.EnumNumber {
284 return protoreflect.EnumNumber(x)
285 }
286
287 // Deprecated: Use AllocationPolicy_ProvisioningModel.Descriptor instead.
288 func (AllocationPolicy_ProvisioningModel) EnumDescriptor() ([]byte, []int) {
289 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{4, 0}
290 }
291
292 // How Tasks in the TaskGroup should be scheduled relative to each other.
293 type TaskGroup_SchedulingPolicy int32
294
295 const (
296 // Unspecified.
297 TaskGroup_SCHEDULING_POLICY_UNSPECIFIED TaskGroup_SchedulingPolicy = 0
298 // Run Tasks as soon as resources are available.
299 //
300 // Tasks might be executed in parallel depending on parallelism and
301 // task_count values.
302 TaskGroup_AS_SOON_AS_POSSIBLE TaskGroup_SchedulingPolicy = 1
303 // Run Tasks sequentially with increased task index.
304 TaskGroup_IN_ORDER TaskGroup_SchedulingPolicy = 2
305 )
306
307 // Enum value maps for TaskGroup_SchedulingPolicy.
308 var (
309 TaskGroup_SchedulingPolicy_name = map[int32]string{
310 0: "SCHEDULING_POLICY_UNSPECIFIED",
311 1: "AS_SOON_AS_POSSIBLE",
312 2: "IN_ORDER",
313 }
314 TaskGroup_SchedulingPolicy_value = map[string]int32{
315 "SCHEDULING_POLICY_UNSPECIFIED": 0,
316 "AS_SOON_AS_POSSIBLE": 1,
317 "IN_ORDER": 2,
318 }
319 )
320
321 func (x TaskGroup_SchedulingPolicy) Enum() *TaskGroup_SchedulingPolicy {
322 p := new(TaskGroup_SchedulingPolicy)
323 *p = x
324 return p
325 }
326
327 func (x TaskGroup_SchedulingPolicy) String() string {
328 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
329 }
330
331 func (TaskGroup_SchedulingPolicy) Descriptor() protoreflect.EnumDescriptor {
332 return file_google_cloud_batch_v1_job_proto_enumTypes[4].Descriptor()
333 }
334
335 func (TaskGroup_SchedulingPolicy) Type() protoreflect.EnumType {
336 return &file_google_cloud_batch_v1_job_proto_enumTypes[4]
337 }
338
339 func (x TaskGroup_SchedulingPolicy) Number() protoreflect.EnumNumber {
340 return protoreflect.EnumNumber(x)
341 }
342
343 // Deprecated: Use TaskGroup_SchedulingPolicy.Descriptor instead.
344 func (TaskGroup_SchedulingPolicy) EnumDescriptor() ([]byte, []int) {
345 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{5, 0}
346 }
347
348 // The Cloud Batch Job description.
349 type Job struct {
350 state protoimpl.MessageState
351 sizeCache protoimpl.SizeCache
352 unknownFields protoimpl.UnknownFields
353
354 // Output only. Job name.
355 // For example: "projects/123456/locations/us-central1/jobs/job01".
356 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
357 // Output only. A system generated unique ID for the Job.
358 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
359 // Priority of the Job.
360 // The valid value range is [0, 100). Default value is 0.
361 // Higher value indicates higher priority.
362 // A job with higher priority value is more likely to run earlier if all other
363 // requirements are satisfied.
364 Priority int64 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
365 // Required. TaskGroups in the Job. Only one TaskGroup is supported now.
366 TaskGroups []*TaskGroup `protobuf:"bytes,4,rep,name=task_groups,json=taskGroups,proto3" json:"task_groups,omitempty"`
367 // Compute resource allocation for all TaskGroups in the Job.
368 AllocationPolicy *AllocationPolicy `protobuf:"bytes,7,opt,name=allocation_policy,json=allocationPolicy,proto3" json:"allocation_policy,omitempty"`
369 // Custom labels to apply to the job and any Cloud Logging
370 // [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)
371 // that it generates.
372 //
373 // Use labels to group and describe the resources they are applied to. Batch
374 // automatically applies predefined labels and supports multiple `labels`
375 // fields for each job, which each let you apply custom labels to various
376 // resources. Label names that start with "goog-" or "google-" are
377 // reserved for predefined labels. For more information about labels with
378 // Batch, see
379 // [Organize resources using
380 // labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
381 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"`
382 // Output only. Job status. It is read only for users.
383 Status *JobStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
384 // Output only. When the Job was created.
385 CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
386 // Output only. The last time the Job was updated.
387 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
388 // Log preservation policy for the Job.
389 LogsPolicy *LogsPolicy `protobuf:"bytes,13,opt,name=logs_policy,json=logsPolicy,proto3" json:"logs_policy,omitempty"`
390 // Notification configurations.
391 Notifications []*JobNotification `protobuf:"bytes,14,rep,name=notifications,proto3" json:"notifications,omitempty"`
392 }
393
394 func (x *Job) Reset() {
395 *x = Job{}
396 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[0]
397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
398 ms.StoreMessageInfo(mi)
399 }
400
401 func (x *Job) String() string {
402 return protoimpl.X.MessageStringOf(x)
403 }
404
405 func (*Job) ProtoMessage() {}
406
407 func (x *Job) ProtoReflect() protoreflect.Message {
408 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[0]
409 if x != nil {
410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
411 if ms.LoadMessageInfo() == nil {
412 ms.StoreMessageInfo(mi)
413 }
414 return ms
415 }
416 return mi.MessageOf(x)
417 }
418
419 // Deprecated: Use Job.ProtoReflect.Descriptor instead.
420 func (*Job) Descriptor() ([]byte, []int) {
421 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{0}
422 }
423
424 func (x *Job) GetName() string {
425 if x != nil {
426 return x.Name
427 }
428 return ""
429 }
430
431 func (x *Job) GetUid() string {
432 if x != nil {
433 return x.Uid
434 }
435 return ""
436 }
437
438 func (x *Job) GetPriority() int64 {
439 if x != nil {
440 return x.Priority
441 }
442 return 0
443 }
444
445 func (x *Job) GetTaskGroups() []*TaskGroup {
446 if x != nil {
447 return x.TaskGroups
448 }
449 return nil
450 }
451
452 func (x *Job) GetAllocationPolicy() *AllocationPolicy {
453 if x != nil {
454 return x.AllocationPolicy
455 }
456 return nil
457 }
458
459 func (x *Job) GetLabels() map[string]string {
460 if x != nil {
461 return x.Labels
462 }
463 return nil
464 }
465
466 func (x *Job) GetStatus() *JobStatus {
467 if x != nil {
468 return x.Status
469 }
470 return nil
471 }
472
473 func (x *Job) GetCreateTime() *timestamppb.Timestamp {
474 if x != nil {
475 return x.CreateTime
476 }
477 return nil
478 }
479
480 func (x *Job) GetUpdateTime() *timestamppb.Timestamp {
481 if x != nil {
482 return x.UpdateTime
483 }
484 return nil
485 }
486
487 func (x *Job) GetLogsPolicy() *LogsPolicy {
488 if x != nil {
489 return x.LogsPolicy
490 }
491 return nil
492 }
493
494 func (x *Job) GetNotifications() []*JobNotification {
495 if x != nil {
496 return x.Notifications
497 }
498 return nil
499 }
500
501 // LogsPolicy describes if and how a job's logs are preserved. Logs include
502 // information that is automatically written by the Batch service agent and any
503 // information that you configured the job's runnables to write to the `stdout`
504 // or `stderr` streams.
505 type LogsPolicy struct {
506 state protoimpl.MessageState
507 sizeCache protoimpl.SizeCache
508 unknownFields protoimpl.UnknownFields
509
510 // If and where logs should be saved.
511 Destination LogsPolicy_Destination `protobuf:"varint,1,opt,name=destination,proto3,enum=google.cloud.batch.v1.LogsPolicy_Destination" json:"destination,omitempty"`
512 // When `destination` is set to `PATH`, you must set this field to the path
513 // where you want logs to be saved. This path can point to a local directory
514 // on the VM or (if congifured) a directory under the mount path of any
515 // Cloud Storage bucket, network file system (NFS), or writable persistent
516 // disk that is mounted to the job. For example, if the job has a bucket with
517 // `mountPath` set to `/mnt/disks/my-bucket`, you can write logs to the
518 // root directory of the `remotePath` of that bucket by setting this field to
519 // `/mnt/disks/my-bucket/`.
520 LogsPath string `protobuf:"bytes,2,opt,name=logs_path,json=logsPath,proto3" json:"logs_path,omitempty"`
521 // Optional. When `destination` is set to `CLOUD_LOGGING`, you can optionally
522 // set this field to configure additional settings for Cloud Logging.
523 CloudLoggingOption *LogsPolicy_CloudLoggingOption `protobuf:"bytes,3,opt,name=cloud_logging_option,json=cloudLoggingOption,proto3" json:"cloud_logging_option,omitempty"`
524 }
525
526 func (x *LogsPolicy) Reset() {
527 *x = LogsPolicy{}
528 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[1]
529 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
530 ms.StoreMessageInfo(mi)
531 }
532
533 func (x *LogsPolicy) String() string {
534 return protoimpl.X.MessageStringOf(x)
535 }
536
537 func (*LogsPolicy) ProtoMessage() {}
538
539 func (x *LogsPolicy) ProtoReflect() protoreflect.Message {
540 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[1]
541 if x != nil {
542 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
543 if ms.LoadMessageInfo() == nil {
544 ms.StoreMessageInfo(mi)
545 }
546 return ms
547 }
548 return mi.MessageOf(x)
549 }
550
551 // Deprecated: Use LogsPolicy.ProtoReflect.Descriptor instead.
552 func (*LogsPolicy) Descriptor() ([]byte, []int) {
553 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{1}
554 }
555
556 func (x *LogsPolicy) GetDestination() LogsPolicy_Destination {
557 if x != nil {
558 return x.Destination
559 }
560 return LogsPolicy_DESTINATION_UNSPECIFIED
561 }
562
563 func (x *LogsPolicy) GetLogsPath() string {
564 if x != nil {
565 return x.LogsPath
566 }
567 return ""
568 }
569
570 func (x *LogsPolicy) GetCloudLoggingOption() *LogsPolicy_CloudLoggingOption {
571 if x != nil {
572 return x.CloudLoggingOption
573 }
574 return nil
575 }
576
577 // Job status.
578 type JobStatus struct {
579 state protoimpl.MessageState
580 sizeCache protoimpl.SizeCache
581 unknownFields protoimpl.UnknownFields
582
583 // Job state
584 State JobStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.batch.v1.JobStatus_State" json:"state,omitempty"`
585 // Job status events
586 StatusEvents []*StatusEvent `protobuf:"bytes,2,rep,name=status_events,json=statusEvents,proto3" json:"status_events,omitempty"`
587 // Aggregated task status for each TaskGroup in the Job.
588 // The map key is TaskGroup ID.
589 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"`
590 // The duration of time that the Job spent in status RUNNING.
591 RunDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=run_duration,json=runDuration,proto3" json:"run_duration,omitempty"`
592 }
593
594 func (x *JobStatus) Reset() {
595 *x = JobStatus{}
596 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[2]
597 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
598 ms.StoreMessageInfo(mi)
599 }
600
601 func (x *JobStatus) String() string {
602 return protoimpl.X.MessageStringOf(x)
603 }
604
605 func (*JobStatus) ProtoMessage() {}
606
607 func (x *JobStatus) ProtoReflect() protoreflect.Message {
608 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[2]
609 if x != nil {
610 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
611 if ms.LoadMessageInfo() == nil {
612 ms.StoreMessageInfo(mi)
613 }
614 return ms
615 }
616 return mi.MessageOf(x)
617 }
618
619 // Deprecated: Use JobStatus.ProtoReflect.Descriptor instead.
620 func (*JobStatus) Descriptor() ([]byte, []int) {
621 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{2}
622 }
623
624 func (x *JobStatus) GetState() JobStatus_State {
625 if x != nil {
626 return x.State
627 }
628 return JobStatus_STATE_UNSPECIFIED
629 }
630
631 func (x *JobStatus) GetStatusEvents() []*StatusEvent {
632 if x != nil {
633 return x.StatusEvents
634 }
635 return nil
636 }
637
638 func (x *JobStatus) GetTaskGroups() map[string]*JobStatus_TaskGroupStatus {
639 if x != nil {
640 return x.TaskGroups
641 }
642 return nil
643 }
644
645 func (x *JobStatus) GetRunDuration() *durationpb.Duration {
646 if x != nil {
647 return x.RunDuration
648 }
649 return nil
650 }
651
652 // Notification configurations.
653 type JobNotification struct {
654 state protoimpl.MessageState
655 sizeCache protoimpl.SizeCache
656 unknownFields protoimpl.UnknownFields
657
658 // The Pub/Sub topic where notifications for the job, like state
659 // changes, will be published. If undefined, no Pub/Sub notifications
660 // are sent for this job.
661 //
662 // Specify the topic using the following format:
663 // `projects/{project}/topics/{topic}`.
664 // Notably, if you want to specify a Pub/Sub topic that is in a
665 // different project than the job, your administrator must grant your
666 // project's Batch service agent permission to publish to that topic.
667 //
668 // For more information about configuring Pub/Sub notifications for
669 // a job, see
670 // https://cloud.google.com/batch/docs/enable-notifications.
671 PubsubTopic string `protobuf:"bytes,1,opt,name=pubsub_topic,json=pubsubTopic,proto3" json:"pubsub_topic,omitempty"`
672 // The attribute requirements of messages to be sent to this Pub/Sub topic.
673 // Without this field, no message will be sent.
674 Message *JobNotification_Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
675 }
676
677 func (x *JobNotification) Reset() {
678 *x = JobNotification{}
679 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[3]
680 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
681 ms.StoreMessageInfo(mi)
682 }
683
684 func (x *JobNotification) String() string {
685 return protoimpl.X.MessageStringOf(x)
686 }
687
688 func (*JobNotification) ProtoMessage() {}
689
690 func (x *JobNotification) ProtoReflect() protoreflect.Message {
691 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[3]
692 if x != nil {
693 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
694 if ms.LoadMessageInfo() == nil {
695 ms.StoreMessageInfo(mi)
696 }
697 return ms
698 }
699 return mi.MessageOf(x)
700 }
701
702 // Deprecated: Use JobNotification.ProtoReflect.Descriptor instead.
703 func (*JobNotification) Descriptor() ([]byte, []int) {
704 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{3}
705 }
706
707 func (x *JobNotification) GetPubsubTopic() string {
708 if x != nil {
709 return x.PubsubTopic
710 }
711 return ""
712 }
713
714 func (x *JobNotification) GetMessage() *JobNotification_Message {
715 if x != nil {
716 return x.Message
717 }
718 return nil
719 }
720
721 // A Job's resource allocation policy describes when, where, and how compute
722 // resources should be allocated for the Job.
723 type AllocationPolicy struct {
724 state protoimpl.MessageState
725 sizeCache protoimpl.SizeCache
726 unknownFields protoimpl.UnknownFields
727
728 // Location where compute resources should be allocated for the Job.
729 Location *AllocationPolicy_LocationPolicy `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
730 // Describe instances that can be created by this AllocationPolicy.
731 // Only instances[0] is supported now.
732 Instances []*AllocationPolicy_InstancePolicyOrTemplate `protobuf:"bytes,8,rep,name=instances,proto3" json:"instances,omitempty"`
733 // Defines the service account for Batch-created VMs. If omitted, the [default
734 // Compute Engine service
735 // account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)
736 // is used. Must match the service account specified in any used instance
737 // template configured in the Batch job.
738 //
739 // Includes the following fields:
740 // - email: The service account's email address. If not set, the default
741 // Compute Engine service account is used.
742 // - scopes: Additional OAuth scopes to grant the service account, beyond the
743 // default cloud-platform scope. (list of strings)
744 ServiceAccount *ServiceAccount `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
745 // Custom labels to apply to the job and all the Compute Engine resources
746 // that both are created by this allocation policy and support labels.
747 //
748 // Use labels to group and describe the resources they are applied to. Batch
749 // automatically applies predefined labels and supports multiple `labels`
750 // fields for each job, which each let you apply custom labels to various
751 // resources. Label names that start with "goog-" or "google-" are
752 // reserved for predefined labels. For more information about labels with
753 // Batch, see
754 // [Organize resources using
755 // labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
756 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"`
757 // The network policy.
758 //
759 // If you define an instance template in the `InstancePolicyOrTemplate` field,
760 // Batch will use the network settings in the instance template instead of
761 // this field.
762 Network *AllocationPolicy_NetworkPolicy `protobuf:"bytes,7,opt,name=network,proto3" json:"network,omitempty"`
763 // The placement policy.
764 Placement *AllocationPolicy_PlacementPolicy `protobuf:"bytes,10,opt,name=placement,proto3" json:"placement,omitempty"`
765 // Optional. Tags applied to the VM instances.
766 //
767 // The tags identify valid sources or targets for network firewalls.
768 // Each tag must be 1-63 characters long, and comply with
769 // [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
770 Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"`
771 }
772
773 func (x *AllocationPolicy) Reset() {
774 *x = AllocationPolicy{}
775 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[4]
776 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
777 ms.StoreMessageInfo(mi)
778 }
779
780 func (x *AllocationPolicy) String() string {
781 return protoimpl.X.MessageStringOf(x)
782 }
783
784 func (*AllocationPolicy) ProtoMessage() {}
785
786 func (x *AllocationPolicy) ProtoReflect() protoreflect.Message {
787 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[4]
788 if x != nil {
789 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
790 if ms.LoadMessageInfo() == nil {
791 ms.StoreMessageInfo(mi)
792 }
793 return ms
794 }
795 return mi.MessageOf(x)
796 }
797
798 // Deprecated: Use AllocationPolicy.ProtoReflect.Descriptor instead.
799 func (*AllocationPolicy) Descriptor() ([]byte, []int) {
800 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{4}
801 }
802
803 func (x *AllocationPolicy) GetLocation() *AllocationPolicy_LocationPolicy {
804 if x != nil {
805 return x.Location
806 }
807 return nil
808 }
809
810 func (x *AllocationPolicy) GetInstances() []*AllocationPolicy_InstancePolicyOrTemplate {
811 if x != nil {
812 return x.Instances
813 }
814 return nil
815 }
816
817 func (x *AllocationPolicy) GetServiceAccount() *ServiceAccount {
818 if x != nil {
819 return x.ServiceAccount
820 }
821 return nil
822 }
823
824 func (x *AllocationPolicy) GetLabels() map[string]string {
825 if x != nil {
826 return x.Labels
827 }
828 return nil
829 }
830
831 func (x *AllocationPolicy) GetNetwork() *AllocationPolicy_NetworkPolicy {
832 if x != nil {
833 return x.Network
834 }
835 return nil
836 }
837
838 func (x *AllocationPolicy) GetPlacement() *AllocationPolicy_PlacementPolicy {
839 if x != nil {
840 return x.Placement
841 }
842 return nil
843 }
844
845 func (x *AllocationPolicy) GetTags() []string {
846 if x != nil {
847 return x.Tags
848 }
849 return nil
850 }
851
852 // A TaskGroup defines one or more Tasks that all share the same TaskSpec.
853 type TaskGroup struct {
854 state protoimpl.MessageState
855 sizeCache protoimpl.SizeCache
856 unknownFields protoimpl.UnknownFields
857
858 // Output only. TaskGroup name.
859 // The system generates this field based on parent Job name.
860 // For example:
861 // "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01".
862 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
863 // Required. Tasks in the group share the same task spec.
864 TaskSpec *TaskSpec `protobuf:"bytes,3,opt,name=task_spec,json=taskSpec,proto3" json:"task_spec,omitempty"`
865 // Number of Tasks in the TaskGroup.
866 // Default is 1.
867 TaskCount int64 `protobuf:"varint,4,opt,name=task_count,json=taskCount,proto3" json:"task_count,omitempty"`
868 // Max number of tasks that can run in parallel.
869 // Default to min(task_count, parallel tasks per job limit).
870 // See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
871 // Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
872 Parallelism int64 `protobuf:"varint,5,opt,name=parallelism,proto3" json:"parallelism,omitempty"`
873 // Scheduling policy for Tasks in the TaskGroup.
874 // The default value is AS_SOON_AS_POSSIBLE.
875 SchedulingPolicy TaskGroup_SchedulingPolicy `protobuf:"varint,6,opt,name=scheduling_policy,json=schedulingPolicy,proto3,enum=google.cloud.batch.v1.TaskGroup_SchedulingPolicy" json:"scheduling_policy,omitempty"`
876 // An array of environment variable mappings, which are passed to Tasks with
877 // matching indices. If task_environments is used then task_count should
878 // not be specified in the request (and will be ignored). Task count will be
879 // the length of task_environments.
880 //
881 // Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in
882 // addition to any environment variables set in task_environments, specifying
883 // the number of Tasks in the Task's parent TaskGroup, and the specific Task's
884 // index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
885 TaskEnvironments []*Environment `protobuf:"bytes,9,rep,name=task_environments,json=taskEnvironments,proto3" json:"task_environments,omitempty"`
886 // Max number of tasks that can be run on a VM at the same time.
887 // If not specified, the system will decide a value based on available
888 // compute resources on a VM and task requirements.
889 TaskCountPerNode int64 `protobuf:"varint,10,opt,name=task_count_per_node,json=taskCountPerNode,proto3" json:"task_count_per_node,omitempty"`
890 // When true, Batch will populate a file with a list of all VMs assigned to
891 // the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path
892 // of that file. Defaults to false. The host file supports up to 1000 VMs.
893 RequireHostsFile bool `protobuf:"varint,11,opt,name=require_hosts_file,json=requireHostsFile,proto3" json:"require_hosts_file,omitempty"`
894 // When true, Batch will configure SSH to allow passwordless login between
895 // VMs running the Batch tasks in the same TaskGroup.
896 PermissiveSsh bool `protobuf:"varint,12,opt,name=permissive_ssh,json=permissiveSsh,proto3" json:"permissive_ssh,omitempty"`
897 // Optional. If not set or set to false, Batch uses the root user to execute
898 // runnables. If set to true, Batch runs the runnables using a non-root user.
899 // Currently, the non-root user Batch used is generated by OS Login. For more
900 // information, see [About OS
901 // Login](https://cloud.google.com/compute/docs/oslogin).
902 RunAsNonRoot bool `protobuf:"varint,14,opt,name=run_as_non_root,json=runAsNonRoot,proto3" json:"run_as_non_root,omitempty"`
903 }
904
905 func (x *TaskGroup) Reset() {
906 *x = TaskGroup{}
907 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[5]
908 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
909 ms.StoreMessageInfo(mi)
910 }
911
912 func (x *TaskGroup) String() string {
913 return protoimpl.X.MessageStringOf(x)
914 }
915
916 func (*TaskGroup) ProtoMessage() {}
917
918 func (x *TaskGroup) ProtoReflect() protoreflect.Message {
919 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[5]
920 if x != nil {
921 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
922 if ms.LoadMessageInfo() == nil {
923 ms.StoreMessageInfo(mi)
924 }
925 return ms
926 }
927 return mi.MessageOf(x)
928 }
929
930 // Deprecated: Use TaskGroup.ProtoReflect.Descriptor instead.
931 func (*TaskGroup) Descriptor() ([]byte, []int) {
932 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{5}
933 }
934
935 func (x *TaskGroup) GetName() string {
936 if x != nil {
937 return x.Name
938 }
939 return ""
940 }
941
942 func (x *TaskGroup) GetTaskSpec() *TaskSpec {
943 if x != nil {
944 return x.TaskSpec
945 }
946 return nil
947 }
948
949 func (x *TaskGroup) GetTaskCount() int64 {
950 if x != nil {
951 return x.TaskCount
952 }
953 return 0
954 }
955
956 func (x *TaskGroup) GetParallelism() int64 {
957 if x != nil {
958 return x.Parallelism
959 }
960 return 0
961 }
962
963 func (x *TaskGroup) GetSchedulingPolicy() TaskGroup_SchedulingPolicy {
964 if x != nil {
965 return x.SchedulingPolicy
966 }
967 return TaskGroup_SCHEDULING_POLICY_UNSPECIFIED
968 }
969
970 func (x *TaskGroup) GetTaskEnvironments() []*Environment {
971 if x != nil {
972 return x.TaskEnvironments
973 }
974 return nil
975 }
976
977 func (x *TaskGroup) GetTaskCountPerNode() int64 {
978 if x != nil {
979 return x.TaskCountPerNode
980 }
981 return 0
982 }
983
984 func (x *TaskGroup) GetRequireHostsFile() bool {
985 if x != nil {
986 return x.RequireHostsFile
987 }
988 return false
989 }
990
991 func (x *TaskGroup) GetPermissiveSsh() bool {
992 if x != nil {
993 return x.PermissiveSsh
994 }
995 return false
996 }
997
998 func (x *TaskGroup) GetRunAsNonRoot() bool {
999 if x != nil {
1000 return x.RunAsNonRoot
1001 }
1002 return false
1003 }
1004
1005 // Carries information about a Google Cloud service account.
1006 type ServiceAccount struct {
1007 state protoimpl.MessageState
1008 sizeCache protoimpl.SizeCache
1009 unknownFields protoimpl.UnknownFields
1010
1011 // Email address of the service account.
1012 Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
1013 // List of scopes to be enabled for this service account.
1014 Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
1015 }
1016
1017 func (x *ServiceAccount) Reset() {
1018 *x = ServiceAccount{}
1019 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[6]
1020 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1021 ms.StoreMessageInfo(mi)
1022 }
1023
1024 func (x *ServiceAccount) String() string {
1025 return protoimpl.X.MessageStringOf(x)
1026 }
1027
1028 func (*ServiceAccount) ProtoMessage() {}
1029
1030 func (x *ServiceAccount) ProtoReflect() protoreflect.Message {
1031 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[6]
1032 if x != nil {
1033 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1034 if ms.LoadMessageInfo() == nil {
1035 ms.StoreMessageInfo(mi)
1036 }
1037 return ms
1038 }
1039 return mi.MessageOf(x)
1040 }
1041
1042 // Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.
1043 func (*ServiceAccount) Descriptor() ([]byte, []int) {
1044 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{6}
1045 }
1046
1047 func (x *ServiceAccount) GetEmail() string {
1048 if x != nil {
1049 return x.Email
1050 }
1051 return ""
1052 }
1053
1054 func (x *ServiceAccount) GetScopes() []string {
1055 if x != nil {
1056 return x.Scopes
1057 }
1058 return nil
1059 }
1060
1061 // `CloudLoggingOption` contains additional settings for Cloud Logging logs
1062 // generated by Batch job.
1063 type LogsPolicy_CloudLoggingOption struct {
1064 state protoimpl.MessageState
1065 sizeCache protoimpl.SizeCache
1066 unknownFields protoimpl.UnknownFields
1067
1068 // Optional. Set this field to `true` to change the [monitored resource
1069 // type](https://cloud.google.com/monitoring/api/resources) for
1070 // Cloud Logging logs generated by this Batch job from
1071 // the
1072 // [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/resources#tag_batch.googleapis.com/Job)
1073 // type to the formerly used
1074 // [`generic_task`](https://cloud.google.com/monitoring/api/resources#tag_generic_task)
1075 // type.
1076 UseGenericTaskMonitoredResource bool `protobuf:"varint,1,opt,name=use_generic_task_monitored_resource,json=useGenericTaskMonitoredResource,proto3" json:"use_generic_task_monitored_resource,omitempty"`
1077 }
1078
1079 func (x *LogsPolicy_CloudLoggingOption) Reset() {
1080 *x = LogsPolicy_CloudLoggingOption{}
1081 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[8]
1082 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1083 ms.StoreMessageInfo(mi)
1084 }
1085
1086 func (x *LogsPolicy_CloudLoggingOption) String() string {
1087 return protoimpl.X.MessageStringOf(x)
1088 }
1089
1090 func (*LogsPolicy_CloudLoggingOption) ProtoMessage() {}
1091
1092 func (x *LogsPolicy_CloudLoggingOption) ProtoReflect() protoreflect.Message {
1093 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[8]
1094 if x != nil {
1095 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1096 if ms.LoadMessageInfo() == nil {
1097 ms.StoreMessageInfo(mi)
1098 }
1099 return ms
1100 }
1101 return mi.MessageOf(x)
1102 }
1103
1104 // Deprecated: Use LogsPolicy_CloudLoggingOption.ProtoReflect.Descriptor instead.
1105 func (*LogsPolicy_CloudLoggingOption) Descriptor() ([]byte, []int) {
1106 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{1, 0}
1107 }
1108
1109 func (x *LogsPolicy_CloudLoggingOption) GetUseGenericTaskMonitoredResource() bool {
1110 if x != nil {
1111 return x.UseGenericTaskMonitoredResource
1112 }
1113 return false
1114 }
1115
1116 // VM instance status.
1117 type JobStatus_InstanceStatus struct {
1118 state protoimpl.MessageState
1119 sizeCache protoimpl.SizeCache
1120 unknownFields protoimpl.UnknownFields
1121
1122 // The Compute Engine machine type.
1123 MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
1124 // The VM instance provisioning model.
1125 ProvisioningModel AllocationPolicy_ProvisioningModel `protobuf:"varint,2,opt,name=provisioning_model,json=provisioningModel,proto3,enum=google.cloud.batch.v1.AllocationPolicy_ProvisioningModel" json:"provisioning_model,omitempty"`
1126 // The max number of tasks can be assigned to this instance type.
1127 TaskPack int64 `protobuf:"varint,3,opt,name=task_pack,json=taskPack,proto3" json:"task_pack,omitempty"`
1128 // The VM boot disk.
1129 BootDisk *AllocationPolicy_Disk `protobuf:"bytes,4,opt,name=boot_disk,json=bootDisk,proto3" json:"boot_disk,omitempty"`
1130 }
1131
1132 func (x *JobStatus_InstanceStatus) Reset() {
1133 *x = JobStatus_InstanceStatus{}
1134 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[9]
1135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1136 ms.StoreMessageInfo(mi)
1137 }
1138
1139 func (x *JobStatus_InstanceStatus) String() string {
1140 return protoimpl.X.MessageStringOf(x)
1141 }
1142
1143 func (*JobStatus_InstanceStatus) ProtoMessage() {}
1144
1145 func (x *JobStatus_InstanceStatus) ProtoReflect() protoreflect.Message {
1146 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[9]
1147 if x != nil {
1148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1149 if ms.LoadMessageInfo() == nil {
1150 ms.StoreMessageInfo(mi)
1151 }
1152 return ms
1153 }
1154 return mi.MessageOf(x)
1155 }
1156
1157 // Deprecated: Use JobStatus_InstanceStatus.ProtoReflect.Descriptor instead.
1158 func (*JobStatus_InstanceStatus) Descriptor() ([]byte, []int) {
1159 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{2, 0}
1160 }
1161
1162 func (x *JobStatus_InstanceStatus) GetMachineType() string {
1163 if x != nil {
1164 return x.MachineType
1165 }
1166 return ""
1167 }
1168
1169 func (x *JobStatus_InstanceStatus) GetProvisioningModel() AllocationPolicy_ProvisioningModel {
1170 if x != nil {
1171 return x.ProvisioningModel
1172 }
1173 return AllocationPolicy_PROVISIONING_MODEL_UNSPECIFIED
1174 }
1175
1176 func (x *JobStatus_InstanceStatus) GetTaskPack() int64 {
1177 if x != nil {
1178 return x.TaskPack
1179 }
1180 return 0
1181 }
1182
1183 func (x *JobStatus_InstanceStatus) GetBootDisk() *AllocationPolicy_Disk {
1184 if x != nil {
1185 return x.BootDisk
1186 }
1187 return nil
1188 }
1189
1190 // Aggregated task status for a TaskGroup.
1191 type JobStatus_TaskGroupStatus struct {
1192 state protoimpl.MessageState
1193 sizeCache protoimpl.SizeCache
1194 unknownFields protoimpl.UnknownFields
1195
1196 // Count of task in each state in the TaskGroup.
1197 // The map key is task state name.
1198 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"`
1199 // Status of instances allocated for the TaskGroup.
1200 Instances []*JobStatus_InstanceStatus `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"`
1201 }
1202
1203 func (x *JobStatus_TaskGroupStatus) Reset() {
1204 *x = JobStatus_TaskGroupStatus{}
1205 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[10]
1206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1207 ms.StoreMessageInfo(mi)
1208 }
1209
1210 func (x *JobStatus_TaskGroupStatus) String() string {
1211 return protoimpl.X.MessageStringOf(x)
1212 }
1213
1214 func (*JobStatus_TaskGroupStatus) ProtoMessage() {}
1215
1216 func (x *JobStatus_TaskGroupStatus) ProtoReflect() protoreflect.Message {
1217 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[10]
1218 if x != nil {
1219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1220 if ms.LoadMessageInfo() == nil {
1221 ms.StoreMessageInfo(mi)
1222 }
1223 return ms
1224 }
1225 return mi.MessageOf(x)
1226 }
1227
1228 // Deprecated: Use JobStatus_TaskGroupStatus.ProtoReflect.Descriptor instead.
1229 func (*JobStatus_TaskGroupStatus) Descriptor() ([]byte, []int) {
1230 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{2, 1}
1231 }
1232
1233 func (x *JobStatus_TaskGroupStatus) GetCounts() map[string]int64 {
1234 if x != nil {
1235 return x.Counts
1236 }
1237 return nil
1238 }
1239
1240 func (x *JobStatus_TaskGroupStatus) GetInstances() []*JobStatus_InstanceStatus {
1241 if x != nil {
1242 return x.Instances
1243 }
1244 return nil
1245 }
1246
1247 // Message details.
1248 // Describe the conditions under which messages will be sent.
1249 // If no attribute is defined, no message will be sent by default.
1250 // One message should specify either the job or the task level attributes,
1251 // but not both. For example,
1252 // job level: JOB_STATE_CHANGED and/or a specified new_job_state;
1253 // task level: TASK_STATE_CHANGED and/or a specified new_task_state.
1254 type JobNotification_Message struct {
1255 state protoimpl.MessageState
1256 sizeCache protoimpl.SizeCache
1257 unknownFields protoimpl.UnknownFields
1258
1259 // The message type.
1260 Type JobNotification_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.batch.v1.JobNotification_Type" json:"type,omitempty"`
1261 // The new job state.
1262 NewJobState JobStatus_State `protobuf:"varint,2,opt,name=new_job_state,json=newJobState,proto3,enum=google.cloud.batch.v1.JobStatus_State" json:"new_job_state,omitempty"`
1263 // The new task state.
1264 NewTaskState TaskStatus_State `protobuf:"varint,3,opt,name=new_task_state,json=newTaskState,proto3,enum=google.cloud.batch.v1.TaskStatus_State" json:"new_task_state,omitempty"`
1265 }
1266
1267 func (x *JobNotification_Message) Reset() {
1268 *x = JobNotification_Message{}
1269 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[13]
1270 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1271 ms.StoreMessageInfo(mi)
1272 }
1273
1274 func (x *JobNotification_Message) String() string {
1275 return protoimpl.X.MessageStringOf(x)
1276 }
1277
1278 func (*JobNotification_Message) ProtoMessage() {}
1279
1280 func (x *JobNotification_Message) ProtoReflect() protoreflect.Message {
1281 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[13]
1282 if x != nil {
1283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1284 if ms.LoadMessageInfo() == nil {
1285 ms.StoreMessageInfo(mi)
1286 }
1287 return ms
1288 }
1289 return mi.MessageOf(x)
1290 }
1291
1292 // Deprecated: Use JobNotification_Message.ProtoReflect.Descriptor instead.
1293 func (*JobNotification_Message) Descriptor() ([]byte, []int) {
1294 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{3, 0}
1295 }
1296
1297 func (x *JobNotification_Message) GetType() JobNotification_Type {
1298 if x != nil {
1299 return x.Type
1300 }
1301 return JobNotification_TYPE_UNSPECIFIED
1302 }
1303
1304 func (x *JobNotification_Message) GetNewJobState() JobStatus_State {
1305 if x != nil {
1306 return x.NewJobState
1307 }
1308 return JobStatus_STATE_UNSPECIFIED
1309 }
1310
1311 func (x *JobNotification_Message) GetNewTaskState() TaskStatus_State {
1312 if x != nil {
1313 return x.NewTaskState
1314 }
1315 return TaskStatus_STATE_UNSPECIFIED
1316 }
1317
1318 type AllocationPolicy_LocationPolicy struct {
1319 state protoimpl.MessageState
1320 sizeCache protoimpl.SizeCache
1321 unknownFields protoimpl.UnknownFields
1322
1323 // A list of allowed location names represented by internal URLs.
1324 //
1325 // Each location can be a region or a zone.
1326 // Only one region or multiple zones in one region is supported now.
1327 // For example,
1328 // ["regions/us-central1"] allow VMs in any zones in region us-central1.
1329 // ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs
1330 // in zones us-central1-a and us-central1-c.
1331 //
1332 // Mixing locations from different regions would cause errors.
1333 // For example,
1334 // ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b",
1335 // "zones/us-west1-a"] contains locations from two distinct regions:
1336 // us-central1 and us-west1. This combination will trigger an error.
1337 AllowedLocations []string `protobuf:"bytes,1,rep,name=allowed_locations,json=allowedLocations,proto3" json:"allowed_locations,omitempty"`
1338 }
1339
1340 func (x *AllocationPolicy_LocationPolicy) Reset() {
1341 *x = AllocationPolicy_LocationPolicy{}
1342 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[14]
1343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1344 ms.StoreMessageInfo(mi)
1345 }
1346
1347 func (x *AllocationPolicy_LocationPolicy) String() string {
1348 return protoimpl.X.MessageStringOf(x)
1349 }
1350
1351 func (*AllocationPolicy_LocationPolicy) ProtoMessage() {}
1352
1353 func (x *AllocationPolicy_LocationPolicy) ProtoReflect() protoreflect.Message {
1354 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[14]
1355 if x != nil {
1356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1357 if ms.LoadMessageInfo() == nil {
1358 ms.StoreMessageInfo(mi)
1359 }
1360 return ms
1361 }
1362 return mi.MessageOf(x)
1363 }
1364
1365 // Deprecated: Use AllocationPolicy_LocationPolicy.ProtoReflect.Descriptor instead.
1366 func (*AllocationPolicy_LocationPolicy) Descriptor() ([]byte, []int) {
1367 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{4, 0}
1368 }
1369
1370 func (x *AllocationPolicy_LocationPolicy) GetAllowedLocations() []string {
1371 if x != nil {
1372 return x.AllowedLocations
1373 }
1374 return nil
1375 }
1376
1377 // A new persistent disk or a local ssd.
1378 // A VM can only have one local SSD setting but multiple local SSD partitions.
1379 // See https://cloud.google.com/compute/docs/disks#pdspecs and
1380 // https://cloud.google.com/compute/docs/disks#localssds.
1381 type AllocationPolicy_Disk struct {
1382 state protoimpl.MessageState
1383 sizeCache protoimpl.SizeCache
1384 unknownFields protoimpl.UnknownFields
1385
1386 // A data source from which a PD will be created.
1387 //
1388 // Types that are assignable to DataSource:
1389 //
1390 // *AllocationPolicy_Disk_Image
1391 // *AllocationPolicy_Disk_Snapshot
1392 DataSource isAllocationPolicy_Disk_DataSource `protobuf_oneof:"data_source"`
1393 // Disk type as shown in `gcloud compute disk-types list`.
1394 // For example, local SSD uses type "local-ssd".
1395 // Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
1396 // or "pd-standard". If not specified, "pd-standard" will be used as the
1397 // default type for non-boot disks, "pd-balanced" will be used as the
1398 // default type for boot disks.
1399 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
1400 // Disk size in GB.
1401 //
1402 // **Non-Boot Disk**:
1403 // If the `type` specifies a persistent disk, this field
1404 // is ignored if `data_source` is set as `image` or `snapshot`.
1405 // If the `type` specifies a local SSD, this field should be a multiple of
1406 // 375 GB, otherwise, the final size will be the next greater multiple of
1407 // 375 GB.
1408 //
1409 // **Boot Disk**:
1410 // Batch will calculate the boot disk size based on source
1411 // image and task requirements if you do not speicify the size.
1412 // If both this field and the `boot_disk_mib` field in task spec's
1413 // `compute_resource` are defined, Batch will only honor this field.
1414 // Also, this field should be no smaller than the source disk's
1415 // size when the `data_source` is set as `snapshot` or `image`.
1416 // For example, if you set an image as the `data_source` field and the
1417 // image's default disk size 30 GB, you can only use this field to make the
1418 // disk larger or equal to 30 GB.
1419 SizeGb int64 `protobuf:"varint,2,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
1420 // Local SSDs are available through both "SCSI" and "NVMe" interfaces.
1421 // If not indicated, "NVMe" will be the default one for local ssds.
1422 // This field is ignored for persistent disks as the interface is chosen
1423 // automatically. See
1424 // https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
1425 DiskInterface string `protobuf:"bytes,6,opt,name=disk_interface,json=diskInterface,proto3" json:"disk_interface,omitempty"`
1426 }
1427
1428 func (x *AllocationPolicy_Disk) Reset() {
1429 *x = AllocationPolicy_Disk{}
1430 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[15]
1431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1432 ms.StoreMessageInfo(mi)
1433 }
1434
1435 func (x *AllocationPolicy_Disk) String() string {
1436 return protoimpl.X.MessageStringOf(x)
1437 }
1438
1439 func (*AllocationPolicy_Disk) ProtoMessage() {}
1440
1441 func (x *AllocationPolicy_Disk) ProtoReflect() protoreflect.Message {
1442 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[15]
1443 if x != nil {
1444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1445 if ms.LoadMessageInfo() == nil {
1446 ms.StoreMessageInfo(mi)
1447 }
1448 return ms
1449 }
1450 return mi.MessageOf(x)
1451 }
1452
1453 // Deprecated: Use AllocationPolicy_Disk.ProtoReflect.Descriptor instead.
1454 func (*AllocationPolicy_Disk) Descriptor() ([]byte, []int) {
1455 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{4, 1}
1456 }
1457
1458 func (m *AllocationPolicy_Disk) GetDataSource() isAllocationPolicy_Disk_DataSource {
1459 if m != nil {
1460 return m.DataSource
1461 }
1462 return nil
1463 }
1464
1465 func (x *AllocationPolicy_Disk) GetImage() string {
1466 if x, ok := x.GetDataSource().(*AllocationPolicy_Disk_Image); ok {
1467 return x.Image
1468 }
1469 return ""
1470 }
1471
1472 func (x *AllocationPolicy_Disk) GetSnapshot() string {
1473 if x, ok := x.GetDataSource().(*AllocationPolicy_Disk_Snapshot); ok {
1474 return x.Snapshot
1475 }
1476 return ""
1477 }
1478
1479 func (x *AllocationPolicy_Disk) GetType() string {
1480 if x != nil {
1481 return x.Type
1482 }
1483 return ""
1484 }
1485
1486 func (x *AllocationPolicy_Disk) GetSizeGb() int64 {
1487 if x != nil {
1488 return x.SizeGb
1489 }
1490 return 0
1491 }
1492
1493 func (x *AllocationPolicy_Disk) GetDiskInterface() string {
1494 if x != nil {
1495 return x.DiskInterface
1496 }
1497 return ""
1498 }
1499
1500 type isAllocationPolicy_Disk_DataSource interface {
1501 isAllocationPolicy_Disk_DataSource()
1502 }
1503
1504 type AllocationPolicy_Disk_Image struct {
1505 // URL for a VM image to use as the data source for this disk.
1506 // For example, the following are all valid URLs:
1507 //
1508 // * Specify the image by its family name:
1509 // projects/{project}/global/images/family/{image_family}
1510 // * Specify the image version:
1511 // projects/{project}/global/images/{image_version}
1512 //
1513 // You can also use Batch customized image in short names.
1514 // The following image values are supported for a boot disk:
1515 //
1516 // * `batch-debian`: use Batch Debian images.
1517 // * `batch-cos`: use Batch Container-Optimized images.
1518 // * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
1519 Image string `protobuf:"bytes,4,opt,name=image,proto3,oneof"`
1520 }
1521
1522 type AllocationPolicy_Disk_Snapshot struct {
1523 // Name of a snapshot used as the data source.
1524 // Snapshot is not supported as boot disk now.
1525 Snapshot string `protobuf:"bytes,5,opt,name=snapshot,proto3,oneof"`
1526 }
1527
1528 func (*AllocationPolicy_Disk_Image) isAllocationPolicy_Disk_DataSource() {}
1529
1530 func (*AllocationPolicy_Disk_Snapshot) isAllocationPolicy_Disk_DataSource() {}
1531
1532 // A new or an existing persistent disk (PD) or a local ssd attached to a VM
1533 // instance.
1534 type AllocationPolicy_AttachedDisk struct {
1535 state protoimpl.MessageState
1536 sizeCache protoimpl.SizeCache
1537 unknownFields protoimpl.UnknownFields
1538
1539 // Types that are assignable to Attached:
1540 //
1541 // *AllocationPolicy_AttachedDisk_NewDisk
1542 // *AllocationPolicy_AttachedDisk_ExistingDisk
1543 Attached isAllocationPolicy_AttachedDisk_Attached `protobuf_oneof:"attached"`
1544 // Device name that the guest operating system will see.
1545 // It is used by Runnable.volumes field to mount disks. So please specify
1546 // the device_name if you want Batch to help mount the disk, and it should
1547 // match the device_name field in volumes.
1548 DeviceName string `protobuf:"bytes,3,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
1549 }
1550
1551 func (x *AllocationPolicy_AttachedDisk) Reset() {
1552 *x = AllocationPolicy_AttachedDisk{}
1553 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[16]
1554 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1555 ms.StoreMessageInfo(mi)
1556 }
1557
1558 func (x *AllocationPolicy_AttachedDisk) String() string {
1559 return protoimpl.X.MessageStringOf(x)
1560 }
1561
1562 func (*AllocationPolicy_AttachedDisk) ProtoMessage() {}
1563
1564 func (x *AllocationPolicy_AttachedDisk) ProtoReflect() protoreflect.Message {
1565 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[16]
1566 if x != nil {
1567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1568 if ms.LoadMessageInfo() == nil {
1569 ms.StoreMessageInfo(mi)
1570 }
1571 return ms
1572 }
1573 return mi.MessageOf(x)
1574 }
1575
1576 // Deprecated: Use AllocationPolicy_AttachedDisk.ProtoReflect.Descriptor instead.
1577 func (*AllocationPolicy_AttachedDisk) Descriptor() ([]byte, []int) {
1578 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{4, 2}
1579 }
1580
1581 func (m *AllocationPolicy_AttachedDisk) GetAttached() isAllocationPolicy_AttachedDisk_Attached {
1582 if m != nil {
1583 return m.Attached
1584 }
1585 return nil
1586 }
1587
1588 func (x *AllocationPolicy_AttachedDisk) GetNewDisk() *AllocationPolicy_Disk {
1589 if x, ok := x.GetAttached().(*AllocationPolicy_AttachedDisk_NewDisk); ok {
1590 return x.NewDisk
1591 }
1592 return nil
1593 }
1594
1595 func (x *AllocationPolicy_AttachedDisk) GetExistingDisk() string {
1596 if x, ok := x.GetAttached().(*AllocationPolicy_AttachedDisk_ExistingDisk); ok {
1597 return x.ExistingDisk
1598 }
1599 return ""
1600 }
1601
1602 func (x *AllocationPolicy_AttachedDisk) GetDeviceName() string {
1603 if x != nil {
1604 return x.DeviceName
1605 }
1606 return ""
1607 }
1608
1609 type isAllocationPolicy_AttachedDisk_Attached interface {
1610 isAllocationPolicy_AttachedDisk_Attached()
1611 }
1612
1613 type AllocationPolicy_AttachedDisk_NewDisk struct {
1614 NewDisk *AllocationPolicy_Disk `protobuf:"bytes,1,opt,name=new_disk,json=newDisk,proto3,oneof"`
1615 }
1616
1617 type AllocationPolicy_AttachedDisk_ExistingDisk struct {
1618 // Name of an existing PD.
1619 ExistingDisk string `protobuf:"bytes,2,opt,name=existing_disk,json=existingDisk,proto3,oneof"`
1620 }
1621
1622 func (*AllocationPolicy_AttachedDisk_NewDisk) isAllocationPolicy_AttachedDisk_Attached() {}
1623
1624 func (*AllocationPolicy_AttachedDisk_ExistingDisk) isAllocationPolicy_AttachedDisk_Attached() {}
1625
1626 // Accelerator describes Compute Engine accelerators to be attached to the VM.
1627 type AllocationPolicy_Accelerator struct {
1628 state protoimpl.MessageState
1629 sizeCache protoimpl.SizeCache
1630 unknownFields protoimpl.UnknownFields
1631
1632 // The accelerator type. For example, "nvidia-tesla-t4".
1633 // See `gcloud compute accelerator-types list`.
1634 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
1635 // The number of accelerators of this type.
1636 Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
1637 // Deprecated: please use instances[0].install_gpu_drivers instead.
1638 //
1639 // Deprecated: Marked as deprecated in google/cloud/batch/v1/job.proto.
1640 InstallGpuDrivers bool `protobuf:"varint,3,opt,name=install_gpu_drivers,json=installGpuDrivers,proto3" json:"install_gpu_drivers,omitempty"`
1641 // Optional. The NVIDIA GPU driver version that should be installed for this
1642 // type.
1643 //
1644 // You can define the specific driver version such as "470.103.01",
1645 // following the driver version requirements in
1646 // https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
1647 // Batch will install the specific accelerator driver if qualified.
1648 DriverVersion string `protobuf:"bytes,4,opt,name=driver_version,json=driverVersion,proto3" json:"driver_version,omitempty"`
1649 }
1650
1651 func (x *AllocationPolicy_Accelerator) Reset() {
1652 *x = AllocationPolicy_Accelerator{}
1653 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[17]
1654 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1655 ms.StoreMessageInfo(mi)
1656 }
1657
1658 func (x *AllocationPolicy_Accelerator) String() string {
1659 return protoimpl.X.MessageStringOf(x)
1660 }
1661
1662 func (*AllocationPolicy_Accelerator) ProtoMessage() {}
1663
1664 func (x *AllocationPolicy_Accelerator) ProtoReflect() protoreflect.Message {
1665 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[17]
1666 if x != nil {
1667 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1668 if ms.LoadMessageInfo() == nil {
1669 ms.StoreMessageInfo(mi)
1670 }
1671 return ms
1672 }
1673 return mi.MessageOf(x)
1674 }
1675
1676 // Deprecated: Use AllocationPolicy_Accelerator.ProtoReflect.Descriptor instead.
1677 func (*AllocationPolicy_Accelerator) Descriptor() ([]byte, []int) {
1678 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{4, 3}
1679 }
1680
1681 func (x *AllocationPolicy_Accelerator) GetType() string {
1682 if x != nil {
1683 return x.Type
1684 }
1685 return ""
1686 }
1687
1688 func (x *AllocationPolicy_Accelerator) GetCount() int64 {
1689 if x != nil {
1690 return x.Count
1691 }
1692 return 0
1693 }
1694
1695 // Deprecated: Marked as deprecated in google/cloud/batch/v1/job.proto.
1696 func (x *AllocationPolicy_Accelerator) GetInstallGpuDrivers() bool {
1697 if x != nil {
1698 return x.InstallGpuDrivers
1699 }
1700 return false
1701 }
1702
1703 func (x *AllocationPolicy_Accelerator) GetDriverVersion() string {
1704 if x != nil {
1705 return x.DriverVersion
1706 }
1707 return ""
1708 }
1709
1710 // InstancePolicy describes an instance type and resources attached to each VM
1711 // created by this InstancePolicy.
1712 type AllocationPolicy_InstancePolicy struct {
1713 state protoimpl.MessageState
1714 sizeCache protoimpl.SizeCache
1715 unknownFields protoimpl.UnknownFields
1716
1717 // The Compute Engine machine type.
1718 MachineType string `protobuf:"bytes,2,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
1719 // The minimum CPU platform.
1720 // See
1721 // https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
1722 MinCpuPlatform string `protobuf:"bytes,3,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"`
1723 // The provisioning model.
1724 ProvisioningModel AllocationPolicy_ProvisioningModel `protobuf:"varint,4,opt,name=provisioning_model,json=provisioningModel,proto3,enum=google.cloud.batch.v1.AllocationPolicy_ProvisioningModel" json:"provisioning_model,omitempty"`
1725 // The accelerators attached to each VM instance.
1726 Accelerators []*AllocationPolicy_Accelerator `protobuf:"bytes,5,rep,name=accelerators,proto3" json:"accelerators,omitempty"`
1727 // Boot disk to be created and attached to each VM by this InstancePolicy.
1728 // Boot disk will be deleted when the VM is deleted.
1729 // Batch API now only supports booting from image.
1730 BootDisk *AllocationPolicy_Disk `protobuf:"bytes,8,opt,name=boot_disk,json=bootDisk,proto3" json:"boot_disk,omitempty"`
1731 // Non-boot disks to be attached for each VM created by this InstancePolicy.
1732 // New disks will be deleted when the VM is deleted.
1733 // A non-boot disk is a disk that can be of a device with a
1734 // file system or a raw storage drive that is not ready for data
1735 // storage and accessing.
1736 Disks []*AllocationPolicy_AttachedDisk `protobuf:"bytes,6,rep,name=disks,proto3" json:"disks,omitempty"`
1737 // Optional. If not specified (default), VMs will consume any applicable
1738 // reservation. If "NO_RESERVATION" is specified, VMs will not consume any
1739 // reservation. Otherwise, if specified, VMs will consume only the specified
1740 // reservation.
1741 Reservation string `protobuf:"bytes,7,opt,name=reservation,proto3" json:"reservation,omitempty"`
1742 }
1743
1744 func (x *AllocationPolicy_InstancePolicy) Reset() {
1745 *x = AllocationPolicy_InstancePolicy{}
1746 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[18]
1747 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1748 ms.StoreMessageInfo(mi)
1749 }
1750
1751 func (x *AllocationPolicy_InstancePolicy) String() string {
1752 return protoimpl.X.MessageStringOf(x)
1753 }
1754
1755 func (*AllocationPolicy_InstancePolicy) ProtoMessage() {}
1756
1757 func (x *AllocationPolicy_InstancePolicy) ProtoReflect() protoreflect.Message {
1758 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[18]
1759 if x != nil {
1760 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1761 if ms.LoadMessageInfo() == nil {
1762 ms.StoreMessageInfo(mi)
1763 }
1764 return ms
1765 }
1766 return mi.MessageOf(x)
1767 }
1768
1769 // Deprecated: Use AllocationPolicy_InstancePolicy.ProtoReflect.Descriptor instead.
1770 func (*AllocationPolicy_InstancePolicy) Descriptor() ([]byte, []int) {
1771 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{4, 4}
1772 }
1773
1774 func (x *AllocationPolicy_InstancePolicy) GetMachineType() string {
1775 if x != nil {
1776 return x.MachineType
1777 }
1778 return ""
1779 }
1780
1781 func (x *AllocationPolicy_InstancePolicy) GetMinCpuPlatform() string {
1782 if x != nil {
1783 return x.MinCpuPlatform
1784 }
1785 return ""
1786 }
1787
1788 func (x *AllocationPolicy_InstancePolicy) GetProvisioningModel() AllocationPolicy_ProvisioningModel {
1789 if x != nil {
1790 return x.ProvisioningModel
1791 }
1792 return AllocationPolicy_PROVISIONING_MODEL_UNSPECIFIED
1793 }
1794
1795 func (x *AllocationPolicy_InstancePolicy) GetAccelerators() []*AllocationPolicy_Accelerator {
1796 if x != nil {
1797 return x.Accelerators
1798 }
1799 return nil
1800 }
1801
1802 func (x *AllocationPolicy_InstancePolicy) GetBootDisk() *AllocationPolicy_Disk {
1803 if x != nil {
1804 return x.BootDisk
1805 }
1806 return nil
1807 }
1808
1809 func (x *AllocationPolicy_InstancePolicy) GetDisks() []*AllocationPolicy_AttachedDisk {
1810 if x != nil {
1811 return x.Disks
1812 }
1813 return nil
1814 }
1815
1816 func (x *AllocationPolicy_InstancePolicy) GetReservation() string {
1817 if x != nil {
1818 return x.Reservation
1819 }
1820 return ""
1821 }
1822
1823 // InstancePolicyOrTemplate lets you define the type of resources to use for
1824 // this job either with an InstancePolicy or an instance template.
1825 // If undefined, Batch picks the type of VM to use and doesn't include
1826 // optional VM resources such as GPUs and extra disks.
1827 type AllocationPolicy_InstancePolicyOrTemplate struct {
1828 state protoimpl.MessageState
1829 sizeCache protoimpl.SizeCache
1830 unknownFields protoimpl.UnknownFields
1831
1832 // Types that are assignable to PolicyTemplate:
1833 //
1834 // *AllocationPolicy_InstancePolicyOrTemplate_Policy
1835 // *AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate
1836 PolicyTemplate isAllocationPolicy_InstancePolicyOrTemplate_PolicyTemplate `protobuf_oneof:"policy_template"`
1837 // Set this field true if you want Batch to help fetch drivers from a third
1838 // party location and install them for GPUs specified in
1839 // `policy.accelerators` or `instance_template` on your behalf. Default is
1840 // false.
1841 //
1842 // For Container-Optimized Image cases, Batch will install the
1843 // accelerator driver following milestones of
1844 // https://cloud.google.com/container-optimized-os/docs/release-notes. For
1845 // non Container-Optimized Image cases, following
1846 // https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
1847 InstallGpuDrivers bool `protobuf:"varint,3,opt,name=install_gpu_drivers,json=installGpuDrivers,proto3" json:"install_gpu_drivers,omitempty"`
1848 // Optional. Set this field true if you want Batch to install Ops Agent on
1849 // your behalf. Default is false.
1850 InstallOpsAgent bool `protobuf:"varint,4,opt,name=install_ops_agent,json=installOpsAgent,proto3" json:"install_ops_agent,omitempty"`
1851 // Optional. Set this field to `true` if you want Batch to block
1852 // project-level SSH keys from accessing this job's VMs. Alternatively, you
1853 // can configure the job to specify a VM instance template that blocks
1854 // project-level SSH keys. In either case, Batch blocks project-level SSH
1855 // keys while creating the VMs for this job.
1856 //
1857 // Batch allows project-level SSH keys for a job's VMs only if all
1858 // the following are true:
1859 //
1860 // - This field is undefined or set to `false`.
1861 // - The job's VM instance template (if any) doesn't block project-level
1862 // SSH keys.
1863 //
1864 // Notably, you can override this behavior by manually updating a VM to
1865 // block or allow project-level SSH keys. For more information about
1866 // blocking project-level SSH keys, see the Compute Engine documentation:
1867 // https://cloud.google.com/compute/docs/connect/restrict-ssh-keys#block-keys
1868 BlockProjectSshKeys bool `protobuf:"varint,5,opt,name=block_project_ssh_keys,json=blockProjectSshKeys,proto3" json:"block_project_ssh_keys,omitempty"`
1869 }
1870
1871 func (x *AllocationPolicy_InstancePolicyOrTemplate) Reset() {
1872 *x = AllocationPolicy_InstancePolicyOrTemplate{}
1873 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[19]
1874 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1875 ms.StoreMessageInfo(mi)
1876 }
1877
1878 func (x *AllocationPolicy_InstancePolicyOrTemplate) String() string {
1879 return protoimpl.X.MessageStringOf(x)
1880 }
1881
1882 func (*AllocationPolicy_InstancePolicyOrTemplate) ProtoMessage() {}
1883
1884 func (x *AllocationPolicy_InstancePolicyOrTemplate) ProtoReflect() protoreflect.Message {
1885 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[19]
1886 if x != nil {
1887 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1888 if ms.LoadMessageInfo() == nil {
1889 ms.StoreMessageInfo(mi)
1890 }
1891 return ms
1892 }
1893 return mi.MessageOf(x)
1894 }
1895
1896 // Deprecated: Use AllocationPolicy_InstancePolicyOrTemplate.ProtoReflect.Descriptor instead.
1897 func (*AllocationPolicy_InstancePolicyOrTemplate) Descriptor() ([]byte, []int) {
1898 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{4, 5}
1899 }
1900
1901 func (m *AllocationPolicy_InstancePolicyOrTemplate) GetPolicyTemplate() isAllocationPolicy_InstancePolicyOrTemplate_PolicyTemplate {
1902 if m != nil {
1903 return m.PolicyTemplate
1904 }
1905 return nil
1906 }
1907
1908 func (x *AllocationPolicy_InstancePolicyOrTemplate) GetPolicy() *AllocationPolicy_InstancePolicy {
1909 if x, ok := x.GetPolicyTemplate().(*AllocationPolicy_InstancePolicyOrTemplate_Policy); ok {
1910 return x.Policy
1911 }
1912 return nil
1913 }
1914
1915 func (x *AllocationPolicy_InstancePolicyOrTemplate) GetInstanceTemplate() string {
1916 if x, ok := x.GetPolicyTemplate().(*AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate); ok {
1917 return x.InstanceTemplate
1918 }
1919 return ""
1920 }
1921
1922 func (x *AllocationPolicy_InstancePolicyOrTemplate) GetInstallGpuDrivers() bool {
1923 if x != nil {
1924 return x.InstallGpuDrivers
1925 }
1926 return false
1927 }
1928
1929 func (x *AllocationPolicy_InstancePolicyOrTemplate) GetInstallOpsAgent() bool {
1930 if x != nil {
1931 return x.InstallOpsAgent
1932 }
1933 return false
1934 }
1935
1936 func (x *AllocationPolicy_InstancePolicyOrTemplate) GetBlockProjectSshKeys() bool {
1937 if x != nil {
1938 return x.BlockProjectSshKeys
1939 }
1940 return false
1941 }
1942
1943 type isAllocationPolicy_InstancePolicyOrTemplate_PolicyTemplate interface {
1944 isAllocationPolicy_InstancePolicyOrTemplate_PolicyTemplate()
1945 }
1946
1947 type AllocationPolicy_InstancePolicyOrTemplate_Policy struct {
1948 // InstancePolicy.
1949 Policy *AllocationPolicy_InstancePolicy `protobuf:"bytes,1,opt,name=policy,proto3,oneof"`
1950 }
1951
1952 type AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate struct {
1953 // Name of an instance template used to create VMs.
1954 // Named the field as 'instance_template' instead of 'template' to avoid
1955 // C++ keyword conflict.
1956 //
1957 // Batch only supports global instance templates from the same project as
1958 // the job.
1959 // You can specify the global instance template as a full or partial URL.
1960 InstanceTemplate string `protobuf:"bytes,2,opt,name=instance_template,json=instanceTemplate,proto3,oneof"`
1961 }
1962
1963 func (*AllocationPolicy_InstancePolicyOrTemplate_Policy) isAllocationPolicy_InstancePolicyOrTemplate_PolicyTemplate() {
1964 }
1965
1966 func (*AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate) isAllocationPolicy_InstancePolicyOrTemplate_PolicyTemplate() {
1967 }
1968
1969 // A network interface.
1970 type AllocationPolicy_NetworkInterface struct {
1971 state protoimpl.MessageState
1972 sizeCache protoimpl.SizeCache
1973 unknownFields protoimpl.UnknownFields
1974
1975 // The URL of an existing network resource.
1976 // You can specify the network as a full or partial URL.
1977 //
1978 // For example, the following are all valid URLs:
1979 //
1980 // * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
1981 // * projects/{project}/global/networks/{network}
1982 // * global/networks/{network}
1983 Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
1984 // The URL of an existing subnetwork resource in the network.
1985 // You can specify the subnetwork as a full or partial URL.
1986 //
1987 // For example, the following are all valid URLs:
1988 //
1989 // * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
1990 // * projects/{project}/regions/{region}/subnetworks/{subnetwork}
1991 // * regions/{region}/subnetworks/{subnetwork}
1992 Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
1993 // Default is false (with an external IP address). Required if
1994 // no external public IP address is attached to the VM. If no external
1995 // public IP address, additional configuration is required to allow the VM
1996 // to access Google Services. See
1997 // https://cloud.google.com/vpc/docs/configure-private-google-access and
1998 // https://cloud.google.com/nat/docs/gce-example#create-nat for more
1999 // information.
2000 NoExternalIpAddress bool `protobuf:"varint,3,opt,name=no_external_ip_address,json=noExternalIpAddress,proto3" json:"no_external_ip_address,omitempty"`
2001 }
2002
2003 func (x *AllocationPolicy_NetworkInterface) Reset() {
2004 *x = AllocationPolicy_NetworkInterface{}
2005 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[20]
2006 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2007 ms.StoreMessageInfo(mi)
2008 }
2009
2010 func (x *AllocationPolicy_NetworkInterface) String() string {
2011 return protoimpl.X.MessageStringOf(x)
2012 }
2013
2014 func (*AllocationPolicy_NetworkInterface) ProtoMessage() {}
2015
2016 func (x *AllocationPolicy_NetworkInterface) ProtoReflect() protoreflect.Message {
2017 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[20]
2018 if x != nil {
2019 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2020 if ms.LoadMessageInfo() == nil {
2021 ms.StoreMessageInfo(mi)
2022 }
2023 return ms
2024 }
2025 return mi.MessageOf(x)
2026 }
2027
2028 // Deprecated: Use AllocationPolicy_NetworkInterface.ProtoReflect.Descriptor instead.
2029 func (*AllocationPolicy_NetworkInterface) Descriptor() ([]byte, []int) {
2030 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{4, 6}
2031 }
2032
2033 func (x *AllocationPolicy_NetworkInterface) GetNetwork() string {
2034 if x != nil {
2035 return x.Network
2036 }
2037 return ""
2038 }
2039
2040 func (x *AllocationPolicy_NetworkInterface) GetSubnetwork() string {
2041 if x != nil {
2042 return x.Subnetwork
2043 }
2044 return ""
2045 }
2046
2047 func (x *AllocationPolicy_NetworkInterface) GetNoExternalIpAddress() bool {
2048 if x != nil {
2049 return x.NoExternalIpAddress
2050 }
2051 return false
2052 }
2053
2054 // NetworkPolicy describes VM instance network configurations.
2055 type AllocationPolicy_NetworkPolicy struct {
2056 state protoimpl.MessageState
2057 sizeCache protoimpl.SizeCache
2058 unknownFields protoimpl.UnknownFields
2059
2060 // Network configurations.
2061 NetworkInterfaces []*AllocationPolicy_NetworkInterface `protobuf:"bytes,1,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"`
2062 }
2063
2064 func (x *AllocationPolicy_NetworkPolicy) Reset() {
2065 *x = AllocationPolicy_NetworkPolicy{}
2066 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[21]
2067 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2068 ms.StoreMessageInfo(mi)
2069 }
2070
2071 func (x *AllocationPolicy_NetworkPolicy) String() string {
2072 return protoimpl.X.MessageStringOf(x)
2073 }
2074
2075 func (*AllocationPolicy_NetworkPolicy) ProtoMessage() {}
2076
2077 func (x *AllocationPolicy_NetworkPolicy) ProtoReflect() protoreflect.Message {
2078 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[21]
2079 if x != nil {
2080 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2081 if ms.LoadMessageInfo() == nil {
2082 ms.StoreMessageInfo(mi)
2083 }
2084 return ms
2085 }
2086 return mi.MessageOf(x)
2087 }
2088
2089 // Deprecated: Use AllocationPolicy_NetworkPolicy.ProtoReflect.Descriptor instead.
2090 func (*AllocationPolicy_NetworkPolicy) Descriptor() ([]byte, []int) {
2091 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{4, 7}
2092 }
2093
2094 func (x *AllocationPolicy_NetworkPolicy) GetNetworkInterfaces() []*AllocationPolicy_NetworkInterface {
2095 if x != nil {
2096 return x.NetworkInterfaces
2097 }
2098 return nil
2099 }
2100
2101 // PlacementPolicy describes a group placement policy for the VMs controlled
2102 // by this AllocationPolicy.
2103 type AllocationPolicy_PlacementPolicy struct {
2104 state protoimpl.MessageState
2105 sizeCache protoimpl.SizeCache
2106 unknownFields protoimpl.UnknownFields
2107
2108 // UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you
2109 // want VMs to be located close to each other for low network latency
2110 // between the VMs. No placement policy will be generated when collocation
2111 // is UNSPECIFIED.
2112 Collocation string `protobuf:"bytes,1,opt,name=collocation,proto3" json:"collocation,omitempty"`
2113 // When specified, causes the job to fail if more than max_distance logical
2114 // switches are required between VMs. Batch uses the most compact possible
2115 // placement of VMs even when max_distance is not specified. An explicit
2116 // max_distance makes that level of compactness a strict requirement.
2117 // Not yet implemented
2118 MaxDistance int64 `protobuf:"varint,2,opt,name=max_distance,json=maxDistance,proto3" json:"max_distance,omitempty"`
2119 }
2120
2121 func (x *AllocationPolicy_PlacementPolicy) Reset() {
2122 *x = AllocationPolicy_PlacementPolicy{}
2123 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[22]
2124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2125 ms.StoreMessageInfo(mi)
2126 }
2127
2128 func (x *AllocationPolicy_PlacementPolicy) String() string {
2129 return protoimpl.X.MessageStringOf(x)
2130 }
2131
2132 func (*AllocationPolicy_PlacementPolicy) ProtoMessage() {}
2133
2134 func (x *AllocationPolicy_PlacementPolicy) ProtoReflect() protoreflect.Message {
2135 mi := &file_google_cloud_batch_v1_job_proto_msgTypes[22]
2136 if x != nil {
2137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2138 if ms.LoadMessageInfo() == nil {
2139 ms.StoreMessageInfo(mi)
2140 }
2141 return ms
2142 }
2143 return mi.MessageOf(x)
2144 }
2145
2146 // Deprecated: Use AllocationPolicy_PlacementPolicy.ProtoReflect.Descriptor instead.
2147 func (*AllocationPolicy_PlacementPolicy) Descriptor() ([]byte, []int) {
2148 return file_google_cloud_batch_v1_job_proto_rawDescGZIP(), []int{4, 8}
2149 }
2150
2151 func (x *AllocationPolicy_PlacementPolicy) GetCollocation() string {
2152 if x != nil {
2153 return x.Collocation
2154 }
2155 return ""
2156 }
2157
2158 func (x *AllocationPolicy_PlacementPolicy) GetMaxDistance() int64 {
2159 if x != nil {
2160 return x.MaxDistance
2161 }
2162 return 0
2163 }
2164
2165 var File_google_cloud_batch_v1_job_proto protoreflect.FileDescriptor
2166
2167 var file_google_cloud_batch_v1_job_proto_rawDesc = []byte{
2168 0x0a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
2169 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x6a, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74,
2170 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2171 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2172 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
2173 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2174 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
2175 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f,
2176 0x75, 0x64, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b,
2177 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
2178 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2179 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
2180 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
2181 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x06, 0x0a, 0x03, 0x4a, 0x6f, 0x62, 0x12,
2182 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
2183 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18,
2184 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12,
2185 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
2186 0x03, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x46, 0x0a, 0x0b, 0x74,
2187 0x61, 0x73, 0x6b, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
2188 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2189 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f,
2190 0x75, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f,
2191 0x75, 0x70, 0x73, 0x12, 0x54, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
2192 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27,
2193 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
2194 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
2195 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74,
2196 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3e, 0x0a, 0x06, 0x6c, 0x61, 0x62,
2197 0x65, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2198 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76,
2199 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72,
2200 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3d, 0x0a, 0x06, 0x73, 0x74, 0x61,
2201 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2202 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76,
2203 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03,
2204 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61,
2205 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
2206 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
2207 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a,
2208 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70,
2209 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32,
2210 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2211 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03,
2212 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0b,
2213 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28,
2214 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2215 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x6f,
2216 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0a, 0x6c, 0x6f, 0x67, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2217 0x12, 0x4c, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2218 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2219 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e,
2220 0x4a, 0x6f, 0x62, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
2221 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x39,
2222 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
2223 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
2224 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
2225 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x51, 0xea, 0x41, 0x4e, 0x0a, 0x18,
2226 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
2227 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4a, 0x6f, 0x62, 0x12, 0x32, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
2228 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63,
2229 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2230 0x7d, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x6a, 0x6f, 0x62, 0x7d, 0x22, 0x99, 0x03, 0x0a,
2231 0x0a, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4f, 0x0a, 0x0b, 0x64,
2232 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
2233 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2234 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x6f, 0x6c,
2235 0x69, 0x63, 0x79, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
2236 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09,
2237 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
2238 0x08, 0x6c, 0x6f, 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x6b, 0x0a, 0x14, 0x63, 0x6c, 0x6f,
2239 0x75, 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
2240 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2241 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e,
2242 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
2243 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0,
2244 0x41, 0x01, 0x52, 0x12, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
2245 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x67, 0x0a, 0x12, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c,
2246 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x23,
2247 0x75, 0x73, 0x65, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x74, 0x61, 0x73, 0x6b,
2248 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75,
2249 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x1f,
2250 0x75, 0x73, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x6f,
2251 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22,
2252 0x47, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b,
2253 0x0a, 0x17, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e,
2254 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x43,
2255 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x4c, 0x4f, 0x47, 0x47, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08,
2256 0x0a, 0x04, 0x50, 0x41, 0x54, 0x48, 0x10, 0x02, 0x22, 0xbb, 0x08, 0x0a, 0x09, 0x4a, 0x6f, 0x62,
2257 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3c, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
2258 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2259 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x6f,
2260 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73,
2261 0x74, 0x61, 0x74, 0x65, 0x12, 0x47, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x65,
2262 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f,
2263 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68,
2264 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52,
2265 0x0c, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x51, 0x0a,
2266 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03,
2267 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2268 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74,
2269 0x61, 0x74, 0x75, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x45,
2270 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73,
2271 0x12, 0x3c, 0x0a, 0x0c, 0x72, 0x75, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2272 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2273 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
2274 0x6e, 0x52, 0x0b, 0x72, 0x75, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x85,
2275 0x02, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75,
2276 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70,
2277 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65,
2278 0x54, 0x79, 0x70, 0x65, 0x12, 0x68, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
2279 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
2280 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2281 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74,
2282 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73,
2283 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x11, 0x70, 0x72, 0x6f,
2284 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x1b,
2285 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28,
2286 0x03, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x61, 0x63, 0x6b, 0x12, 0x49, 0x0a, 0x09, 0x62,
2287 0x6f, 0x6f, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c,
2288 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
2289 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
2290 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x08, 0x62, 0x6f,
2291 0x6f, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x1a, 0xf1, 0x01, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x47,
2292 0x72, 0x6f, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x54, 0x0a, 0x06, 0x63, 0x6f,
2293 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f,
2294 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e,
2295 0x76, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x54, 0x61, 0x73,
2296 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x43, 0x6f, 0x75,
2297 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
2298 0x12, 0x4d, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20,
2299 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2300 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x53,
2301 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74,
2302 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x1a,
2303 0x39, 0x0a, 0x0b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
2304 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
2305 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
2306 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x6f, 0x0a, 0x0f, 0x54, 0x61,
2307 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
2308 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
2309 0x46, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30,
2310 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
2311 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
2312 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
2313 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa8, 0x01, 0x0a, 0x05,
2314 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55,
2315 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06,
2316 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x48, 0x45,
2317 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49,
2318 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45,
2319 0x44, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12,
2320 0x18, 0x0a, 0x14, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x5f, 0x50,
2321 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x41, 0x4e,
2322 0x43, 0x45, 0x4c, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f,
2323 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45,
2324 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x22, 0xb3, 0x03, 0x0a, 0x0f, 0x4a, 0x6f, 0x62, 0x4e, 0x6f,
2325 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x75,
2326 0x62, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
2327 0x52, 0x0b, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x48, 0x0a,
2328 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e,
2329 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
2330 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69,
2331 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07,
2332 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0xe5, 0x01, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73,
2333 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
2334 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2335 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x4e, 0x6f, 0x74,
2336 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04,
2337 0x74, 0x79, 0x70, 0x65, 0x12, 0x4a, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x5f, 0x6a, 0x6f, 0x62, 0x5f,
2338 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f,
2339 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68,
2340 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74,
2341 0x61, 0x74, 0x65, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65,
2342 0x12, 0x4d, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x74, 0x61,
2343 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2344 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
2345 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74,
2346 0x65, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22,
2347 0x4b, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f,
2348 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a,
2349 0x11, 0x4a, 0x4f, 0x42, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47,
2350 0x45, 0x44, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41,
2351 0x54, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x02, 0x22, 0xef, 0x12, 0x0a,
2352 0x10, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63,
2353 0x79, 0x12, 0x52, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
2354 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2355 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f,
2356 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4c, 0x6f, 0x63,
2357 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x08, 0x6c, 0x6f, 0x63,
2358 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5e, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
2359 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2360 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
2361 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63,
2362 0x79, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2363 0x4f, 0x72, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74,
2364 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
2365 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
2366 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
2367 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63,
2368 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63,
2369 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,
2370 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2371 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c,
2372 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4c,
2373 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65,
2374 0x6c, 0x73, 0x12, 0x4f, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x07, 0x20,
2375 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2376 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f,
2377 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4e, 0x65, 0x74,
2378 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77,
2379 0x6f, 0x72, 0x6b, 0x12, 0x55, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74,
2380 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2381 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41,
2382 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
2383 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
2384 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x74, 0x61,
2385 0x67, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x74,
2386 0x61, 0x67, 0x73, 0x1a, 0x3d, 0x0a, 0x0e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50,
2387 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64,
2388 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
2389 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
2390 0x6e, 0x73, 0x1a, 0x9f, 0x01, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x05, 0x69,
2391 0x6d, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6d,
2392 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x08, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18,
2393 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
2394 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
2395 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x67, 0x62,
2396 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x69, 0x7a, 0x65, 0x47, 0x62, 0x12, 0x25,
2397 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65,
2398 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x74, 0x65,
2399 0x72, 0x66, 0x61, 0x63, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f,
2400 0x75, 0x72, 0x63, 0x65, 0x1a, 0xad, 0x01, 0x0a, 0x0c, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65,
2401 0x64, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x49, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x64, 0x69, 0x73,
2402 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2403 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e,
2404 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2405 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x44, 0x69, 0x73, 0x6b,
2406 0x12, 0x25, 0x0a, 0x0d, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x73,
2407 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x65, 0x78, 0x69, 0x73, 0x74,
2408 0x69, 0x6e, 0x67, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63,
2409 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65,
2410 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x61, 0x74, 0x74, 0x61,
2411 0x63, 0x68, 0x65, 0x64, 0x1a, 0x97, 0x01, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72,
2412 0x61, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
2413 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e,
2414 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32,
2415 0x0a, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x5f, 0x67, 0x70, 0x75, 0x5f, 0x64, 0x72,
2416 0x69, 0x76, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52,
2417 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x47, 0x70, 0x75, 0x44, 0x72, 0x69, 0x76, 0x65,
2418 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x0e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72,
2419 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
2420 0x0d, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xde,
2421 0x03, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63,
2422 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70,
2423 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65,
2424 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x70, 0x75, 0x5f,
2425 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
2426 0x6d, 0x69, 0x6e, 0x43, 0x70, 0x75, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x68,
2427 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6d,
2428 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f,
2429 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e,
2430 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c,
2431 0x69, 0x63, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67,
2432 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2433 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x57, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65,
2434 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33,
2435 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61,
2436 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
2437 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61,
2438 0x74, 0x6f, 0x72, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
2439 0x73, 0x12, 0x49, 0x0a, 0x09, 0x62, 0x6f, 0x6f, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x6b, 0x18, 0x08,
2440 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2441 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c,
2442 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x69,
2443 0x73, 0x6b, 0x52, 0x08, 0x62, 0x6f, 0x6f, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x4a, 0x0a, 0x05,
2444 0x64, 0x69, 0x73, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f,
2445 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68,
2446 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f,
2447 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x44, 0x69, 0x73,
2448 0x6b, 0x52, 0x05, 0x64, 0x69, 0x73, 0x6b, 0x73, 0x12, 0x25, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65,
2449 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
2450 0x41, 0x01, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a,
2451 0xc9, 0x02, 0x0a, 0x18, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69,
2452 0x63, 0x79, 0x4f, 0x72, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x50, 0x0a, 0x06,
2453 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67,
2454 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63,
2455 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50,
2456 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f,
2457 0x6c, 0x69, 0x63, 0x79, 0x48, 0x00, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2d,
2458 0x0a, 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c,
2459 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x69, 0x6e, 0x73,
2460 0x74, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a,
2461 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x5f, 0x67, 0x70, 0x75, 0x5f, 0x64, 0x72, 0x69,
2462 0x76, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x6e, 0x73, 0x74,
2463 0x61, 0x6c, 0x6c, 0x47, 0x70, 0x75, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x73, 0x12, 0x2f, 0x0a,
2464 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x5f, 0x6f, 0x70, 0x73, 0x5f, 0x61, 0x67, 0x65,
2465 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x69,
2466 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x4f, 0x70, 0x73, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x38,
2467 0x0a, 0x16, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f,
2468 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03,
2469 0xe0, 0x41, 0x01, 0x52, 0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
2470 0x74, 0x53, 0x73, 0x68, 0x4b, 0x65, 0x79, 0x73, 0x42, 0x11, 0x0a, 0x0f, 0x70, 0x6f, 0x6c, 0x69,
2471 0x63, 0x79, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x1a, 0x81, 0x01, 0x0a, 0x10,
2472 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65,
2473 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28,
2474 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x75,
2475 0x62, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
2476 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x33, 0x0a, 0x16, 0x6e, 0x6f,
2477 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64,
2478 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x6e, 0x6f, 0x45, 0x78,
2479 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x1a,
2480 0x78, 0x0a, 0x0d, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2481 0x12, 0x67, 0x0a, 0x12, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x74, 0x65,
2482 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67,
2483 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63,
2484 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50,
2485 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x74,
2486 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49,
2487 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x1a, 0x56, 0x0a, 0x0f, 0x50, 0x6c, 0x61,
2488 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x0a, 0x0b,
2489 0x63, 0x6f, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
2490 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21,
2491 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02,
2492 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63,
2493 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
2494 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
2495 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
2496 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x60, 0x0a, 0x11,
2497 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65,
2498 0x6c, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x49, 0x4e,
2499 0x47, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
2500 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52,
2501 0x44, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x50, 0x4f, 0x54, 0x10, 0x02, 0x12, 0x0f, 0x0a,
2502 0x0b, 0x50, 0x52, 0x45, 0x45, 0x4d, 0x50, 0x54, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x22, 0xd8,
2503 0x05, 0x0a, 0x09, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x17, 0x0a, 0x04,
2504 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
2505 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x70,
2506 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2507 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
2508 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08,
2509 0x74, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b,
2510 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x61,
2511 0x73, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c,
2512 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x61,
2513 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x12, 0x5e, 0x0a, 0x11, 0x73, 0x63, 0x68,
2514 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x06,
2515 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2516 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73,
2517 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e,
2518 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c,
2519 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4f, 0x0a, 0x11, 0x74, 0x61, 0x73,
2520 0x6b, 0x5f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x09,
2521 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2522 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76,
2523 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x45, 0x6e,
2524 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2d, 0x0a, 0x13, 0x74, 0x61,
2525 0x73, 0x6b, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x64,
2526 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x75,
2527 0x6e, 0x74, 0x50, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x71,
2528 0x75, 0x69, 0x72, 0x65, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18,
2529 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x48, 0x6f,
2530 0x73, 0x74, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69,
2531 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x73, 0x68, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52,
2532 0x0d, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x76, 0x65, 0x53, 0x73, 0x68, 0x12, 0x2a,
2533 0x0a, 0x0f, 0x72, 0x75, 0x6e, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6f,
2534 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x72, 0x75,
2535 0x6e, 0x41, 0x73, 0x4e, 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x5c, 0x0a, 0x10, 0x53, 0x63,
2536 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x21,
2537 0x0a, 0x1d, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x4c,
2538 0x49, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
2539 0x00, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x53, 0x5f, 0x53, 0x4f, 0x4f, 0x4e, 0x5f, 0x41, 0x53, 0x5f,
2540 0x50, 0x4f, 0x53, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e,
2541 0x5f, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, 0x02, 0x3a, 0x6f, 0xea, 0x41, 0x6c, 0x0a, 0x1e, 0x62,
2542 0x61, 0x74, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
2543 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x4a, 0x70,
2544 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
2545 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63,
2546 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x6a, 0x6f, 0x62,
2547 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x74, 0x61,
2548 0x73, 0x6b, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x7d, 0x22, 0x3e, 0x0a, 0x0e, 0x53, 0x65, 0x72,
2549 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65,
2550 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69,
2551 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
2552 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x42, 0xa9, 0x01, 0x0a, 0x19, 0x63, 0x6f,
2553 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
2554 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x4a, 0x6f, 0x62, 0x50, 0x72, 0x6f, 0x74,
2555 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2556 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x61,
2557 0x70, 0x69, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x70, 0x62, 0x3b, 0x62, 0x61, 0x74,
2558 0x63, 0x68, 0x70, 0x62, 0xa2, 0x02, 0x03, 0x47, 0x43, 0x42, 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f,
2559 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x2e,
2560 0x56, 0x31, 0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75,
2561 0x64, 0x5c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x18, 0x47, 0x6f, 0x6f,
2562 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x42, 0x61, 0x74, 0x63,
2563 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2564 }
2565
2566 var (
2567 file_google_cloud_batch_v1_job_proto_rawDescOnce sync.Once
2568 file_google_cloud_batch_v1_job_proto_rawDescData = file_google_cloud_batch_v1_job_proto_rawDesc
2569 )
2570
2571 func file_google_cloud_batch_v1_job_proto_rawDescGZIP() []byte {
2572 file_google_cloud_batch_v1_job_proto_rawDescOnce.Do(func() {
2573 file_google_cloud_batch_v1_job_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_batch_v1_job_proto_rawDescData)
2574 })
2575 return file_google_cloud_batch_v1_job_proto_rawDescData
2576 }
2577
2578 var file_google_cloud_batch_v1_job_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
2579 var file_google_cloud_batch_v1_job_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
2580 var file_google_cloud_batch_v1_job_proto_goTypes = []any{
2581 (LogsPolicy_Destination)(0), // 0: google.cloud.batch.v1.LogsPolicy.Destination
2582 (JobStatus_State)(0), // 1: google.cloud.batch.v1.JobStatus.State
2583 (JobNotification_Type)(0), // 2: google.cloud.batch.v1.JobNotification.Type
2584 (AllocationPolicy_ProvisioningModel)(0), // 3: google.cloud.batch.v1.AllocationPolicy.ProvisioningModel
2585 (TaskGroup_SchedulingPolicy)(0), // 4: google.cloud.batch.v1.TaskGroup.SchedulingPolicy
2586 (*Job)(nil), // 5: google.cloud.batch.v1.Job
2587 (*LogsPolicy)(nil), // 6: google.cloud.batch.v1.LogsPolicy
2588 (*JobStatus)(nil), // 7: google.cloud.batch.v1.JobStatus
2589 (*JobNotification)(nil), // 8: google.cloud.batch.v1.JobNotification
2590 (*AllocationPolicy)(nil), // 9: google.cloud.batch.v1.AllocationPolicy
2591 (*TaskGroup)(nil), // 10: google.cloud.batch.v1.TaskGroup
2592 (*ServiceAccount)(nil), // 11: google.cloud.batch.v1.ServiceAccount
2593 nil, // 12: google.cloud.batch.v1.Job.LabelsEntry
2594 (*LogsPolicy_CloudLoggingOption)(nil), // 13: google.cloud.batch.v1.LogsPolicy.CloudLoggingOption
2595 (*JobStatus_InstanceStatus)(nil), // 14: google.cloud.batch.v1.JobStatus.InstanceStatus
2596 (*JobStatus_TaskGroupStatus)(nil), // 15: google.cloud.batch.v1.JobStatus.TaskGroupStatus
2597 nil, // 16: google.cloud.batch.v1.JobStatus.TaskGroupsEntry
2598 nil, // 17: google.cloud.batch.v1.JobStatus.TaskGroupStatus.CountsEntry
2599 (*JobNotification_Message)(nil), // 18: google.cloud.batch.v1.JobNotification.Message
2600 (*AllocationPolicy_LocationPolicy)(nil), // 19: google.cloud.batch.v1.AllocationPolicy.LocationPolicy
2601 (*AllocationPolicy_Disk)(nil), // 20: google.cloud.batch.v1.AllocationPolicy.Disk
2602 (*AllocationPolicy_AttachedDisk)(nil), // 21: google.cloud.batch.v1.AllocationPolicy.AttachedDisk
2603 (*AllocationPolicy_Accelerator)(nil), // 22: google.cloud.batch.v1.AllocationPolicy.Accelerator
2604 (*AllocationPolicy_InstancePolicy)(nil), // 23: google.cloud.batch.v1.AllocationPolicy.InstancePolicy
2605 (*AllocationPolicy_InstancePolicyOrTemplate)(nil), // 24: google.cloud.batch.v1.AllocationPolicy.InstancePolicyOrTemplate
2606 (*AllocationPolicy_NetworkInterface)(nil), // 25: google.cloud.batch.v1.AllocationPolicy.NetworkInterface
2607 (*AllocationPolicy_NetworkPolicy)(nil), // 26: google.cloud.batch.v1.AllocationPolicy.NetworkPolicy
2608 (*AllocationPolicy_PlacementPolicy)(nil), // 27: google.cloud.batch.v1.AllocationPolicy.PlacementPolicy
2609 nil, // 28: google.cloud.batch.v1.AllocationPolicy.LabelsEntry
2610 (*timestamppb.Timestamp)(nil), // 29: google.protobuf.Timestamp
2611 (*StatusEvent)(nil), // 30: google.cloud.batch.v1.StatusEvent
2612 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
2613 (*TaskSpec)(nil), // 32: google.cloud.batch.v1.TaskSpec
2614 (*Environment)(nil), // 33: google.cloud.batch.v1.Environment
2615 (TaskStatus_State)(0), // 34: google.cloud.batch.v1.TaskStatus.State
2616 }
2617 var file_google_cloud_batch_v1_job_proto_depIdxs = []int32{
2618 10, // 0: google.cloud.batch.v1.Job.task_groups:type_name -> google.cloud.batch.v1.TaskGroup
2619 9, // 1: google.cloud.batch.v1.Job.allocation_policy:type_name -> google.cloud.batch.v1.AllocationPolicy
2620 12, // 2: google.cloud.batch.v1.Job.labels:type_name -> google.cloud.batch.v1.Job.LabelsEntry
2621 7, // 3: google.cloud.batch.v1.Job.status:type_name -> google.cloud.batch.v1.JobStatus
2622 29, // 4: google.cloud.batch.v1.Job.create_time:type_name -> google.protobuf.Timestamp
2623 29, // 5: google.cloud.batch.v1.Job.update_time:type_name -> google.protobuf.Timestamp
2624 6, // 6: google.cloud.batch.v1.Job.logs_policy:type_name -> google.cloud.batch.v1.LogsPolicy
2625 8, // 7: google.cloud.batch.v1.Job.notifications:type_name -> google.cloud.batch.v1.JobNotification
2626 0, // 8: google.cloud.batch.v1.LogsPolicy.destination:type_name -> google.cloud.batch.v1.LogsPolicy.Destination
2627 13, // 9: google.cloud.batch.v1.LogsPolicy.cloud_logging_option:type_name -> google.cloud.batch.v1.LogsPolicy.CloudLoggingOption
2628 1, // 10: google.cloud.batch.v1.JobStatus.state:type_name -> google.cloud.batch.v1.JobStatus.State
2629 30, // 11: google.cloud.batch.v1.JobStatus.status_events:type_name -> google.cloud.batch.v1.StatusEvent
2630 16, // 12: google.cloud.batch.v1.JobStatus.task_groups:type_name -> google.cloud.batch.v1.JobStatus.TaskGroupsEntry
2631 31, // 13: google.cloud.batch.v1.JobStatus.run_duration:type_name -> google.protobuf.Duration
2632 18, // 14: google.cloud.batch.v1.JobNotification.message:type_name -> google.cloud.batch.v1.JobNotification.Message
2633 19, // 15: google.cloud.batch.v1.AllocationPolicy.location:type_name -> google.cloud.batch.v1.AllocationPolicy.LocationPolicy
2634 24, // 16: google.cloud.batch.v1.AllocationPolicy.instances:type_name -> google.cloud.batch.v1.AllocationPolicy.InstancePolicyOrTemplate
2635 11, // 17: google.cloud.batch.v1.AllocationPolicy.service_account:type_name -> google.cloud.batch.v1.ServiceAccount
2636 28, // 18: google.cloud.batch.v1.AllocationPolicy.labels:type_name -> google.cloud.batch.v1.AllocationPolicy.LabelsEntry
2637 26, // 19: google.cloud.batch.v1.AllocationPolicy.network:type_name -> google.cloud.batch.v1.AllocationPolicy.NetworkPolicy
2638 27, // 20: google.cloud.batch.v1.AllocationPolicy.placement:type_name -> google.cloud.batch.v1.AllocationPolicy.PlacementPolicy
2639 32, // 21: google.cloud.batch.v1.TaskGroup.task_spec:type_name -> google.cloud.batch.v1.TaskSpec
2640 4, // 22: google.cloud.batch.v1.TaskGroup.scheduling_policy:type_name -> google.cloud.batch.v1.TaskGroup.SchedulingPolicy
2641 33, // 23: google.cloud.batch.v1.TaskGroup.task_environments:type_name -> google.cloud.batch.v1.Environment
2642 3, // 24: google.cloud.batch.v1.JobStatus.InstanceStatus.provisioning_model:type_name -> google.cloud.batch.v1.AllocationPolicy.ProvisioningModel
2643 20, // 25: google.cloud.batch.v1.JobStatus.InstanceStatus.boot_disk:type_name -> google.cloud.batch.v1.AllocationPolicy.Disk
2644 17, // 26: google.cloud.batch.v1.JobStatus.TaskGroupStatus.counts:type_name -> google.cloud.batch.v1.JobStatus.TaskGroupStatus.CountsEntry
2645 14, // 27: google.cloud.batch.v1.JobStatus.TaskGroupStatus.instances:type_name -> google.cloud.batch.v1.JobStatus.InstanceStatus
2646 15, // 28: google.cloud.batch.v1.JobStatus.TaskGroupsEntry.value:type_name -> google.cloud.batch.v1.JobStatus.TaskGroupStatus
2647 2, // 29: google.cloud.batch.v1.JobNotification.Message.type:type_name -> google.cloud.batch.v1.JobNotification.Type
2648 1, // 30: google.cloud.batch.v1.JobNotification.Message.new_job_state:type_name -> google.cloud.batch.v1.JobStatus.State
2649 34, // 31: google.cloud.batch.v1.JobNotification.Message.new_task_state:type_name -> google.cloud.batch.v1.TaskStatus.State
2650 20, // 32: google.cloud.batch.v1.AllocationPolicy.AttachedDisk.new_disk:type_name -> google.cloud.batch.v1.AllocationPolicy.Disk
2651 3, // 33: google.cloud.batch.v1.AllocationPolicy.InstancePolicy.provisioning_model:type_name -> google.cloud.batch.v1.AllocationPolicy.ProvisioningModel
2652 22, // 34: google.cloud.batch.v1.AllocationPolicy.InstancePolicy.accelerators:type_name -> google.cloud.batch.v1.AllocationPolicy.Accelerator
2653 20, // 35: google.cloud.batch.v1.AllocationPolicy.InstancePolicy.boot_disk:type_name -> google.cloud.batch.v1.AllocationPolicy.Disk
2654 21, // 36: google.cloud.batch.v1.AllocationPolicy.InstancePolicy.disks:type_name -> google.cloud.batch.v1.AllocationPolicy.AttachedDisk
2655 23, // 37: google.cloud.batch.v1.AllocationPolicy.InstancePolicyOrTemplate.policy:type_name -> google.cloud.batch.v1.AllocationPolicy.InstancePolicy
2656 25, // 38: google.cloud.batch.v1.AllocationPolicy.NetworkPolicy.network_interfaces:type_name -> google.cloud.batch.v1.AllocationPolicy.NetworkInterface
2657 39, // [39:39] is the sub-list for method output_type
2658 39, // [39:39] is the sub-list for method input_type
2659 39, // [39:39] is the sub-list for extension type_name
2660 39, // [39:39] is the sub-list for extension extendee
2661 0, // [0:39] is the sub-list for field type_name
2662 }
2663
2664 func init() { file_google_cloud_batch_v1_job_proto_init() }
2665 func file_google_cloud_batch_v1_job_proto_init() {
2666 if File_google_cloud_batch_v1_job_proto != nil {
2667 return
2668 }
2669 file_google_cloud_batch_v1_task_proto_init()
2670 file_google_cloud_batch_v1_job_proto_msgTypes[15].OneofWrappers = []any{
2671 (*AllocationPolicy_Disk_Image)(nil),
2672 (*AllocationPolicy_Disk_Snapshot)(nil),
2673 }
2674 file_google_cloud_batch_v1_job_proto_msgTypes[16].OneofWrappers = []any{
2675 (*AllocationPolicy_AttachedDisk_NewDisk)(nil),
2676 (*AllocationPolicy_AttachedDisk_ExistingDisk)(nil),
2677 }
2678 file_google_cloud_batch_v1_job_proto_msgTypes[19].OneofWrappers = []any{
2679 (*AllocationPolicy_InstancePolicyOrTemplate_Policy)(nil),
2680 (*AllocationPolicy_InstancePolicyOrTemplate_InstanceTemplate)(nil),
2681 }
2682 type x struct{}
2683 out := protoimpl.TypeBuilder{
2684 File: protoimpl.DescBuilder{
2685 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2686 RawDescriptor: file_google_cloud_batch_v1_job_proto_rawDesc,
2687 NumEnums: 5,
2688 NumMessages: 24,
2689 NumExtensions: 0,
2690 NumServices: 0,
2691 },
2692 GoTypes: file_google_cloud_batch_v1_job_proto_goTypes,
2693 DependencyIndexes: file_google_cloud_batch_v1_job_proto_depIdxs,
2694 EnumInfos: file_google_cloud_batch_v1_job_proto_enumTypes,
2695 MessageInfos: file_google_cloud_batch_v1_job_proto_msgTypes,
2696 }.Build()
2697 File_google_cloud_batch_v1_job_proto = out.File
2698 file_google_cloud_batch_v1_job_proto_rawDesc = nil
2699 file_google_cloud_batch_v1_job_proto_goTypes = nil
2700 file_google_cloud_batch_v1_job_proto_depIdxs = nil
2701 }