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