// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.35.2 // protoc v4.25.7 // source: google/cloud/batch/v1/task.proto package batchpb import ( _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // Task states. type TaskStatus_State int32 const ( // Unknown state. TaskStatus_STATE_UNSPECIFIED TaskStatus_State = 0 // The Task is created and waiting for resources. TaskStatus_PENDING TaskStatus_State = 1 // The Task is assigned to at least one VM. TaskStatus_ASSIGNED TaskStatus_State = 2 // The Task is running. TaskStatus_RUNNING TaskStatus_State = 3 // The Task has failed. TaskStatus_FAILED TaskStatus_State = 4 // The Task has succeeded. TaskStatus_SUCCEEDED TaskStatus_State = 5 // The Task has not been executed when the Job finishes. TaskStatus_UNEXECUTED TaskStatus_State = 6 ) // Enum value maps for TaskStatus_State. var ( TaskStatus_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "PENDING", 2: "ASSIGNED", 3: "RUNNING", 4: "FAILED", 5: "SUCCEEDED", 6: "UNEXECUTED", } TaskStatus_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "PENDING": 1, "ASSIGNED": 2, "RUNNING": 3, "FAILED": 4, "SUCCEEDED": 5, "UNEXECUTED": 6, } ) func (x TaskStatus_State) Enum() *TaskStatus_State { p := new(TaskStatus_State) *p = x return p } func (x TaskStatus_State) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (TaskStatus_State) Descriptor() protoreflect.EnumDescriptor { return file_google_cloud_batch_v1_task_proto_enumTypes[0].Descriptor() } func (TaskStatus_State) Type() protoreflect.EnumType { return &file_google_cloud_batch_v1_task_proto_enumTypes[0] } func (x TaskStatus_State) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use TaskStatus_State.Descriptor instead. func (TaskStatus_State) EnumDescriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{3, 0} } // Action on task failures based on different conditions. type LifecyclePolicy_Action int32 const ( // Action unspecified. LifecyclePolicy_ACTION_UNSPECIFIED LifecyclePolicy_Action = 0 // Action that tasks in the group will be scheduled to re-execute. LifecyclePolicy_RETRY_TASK LifecyclePolicy_Action = 1 // Action that tasks in the group will be stopped immediately. LifecyclePolicy_FAIL_TASK LifecyclePolicy_Action = 2 ) // Enum value maps for LifecyclePolicy_Action. var ( LifecyclePolicy_Action_name = map[int32]string{ 0: "ACTION_UNSPECIFIED", 1: "RETRY_TASK", 2: "FAIL_TASK", } LifecyclePolicy_Action_value = map[string]int32{ "ACTION_UNSPECIFIED": 0, "RETRY_TASK": 1, "FAIL_TASK": 2, } ) func (x LifecyclePolicy_Action) Enum() *LifecyclePolicy_Action { p := new(LifecyclePolicy_Action) *p = x return p } func (x LifecyclePolicy_Action) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (LifecyclePolicy_Action) Descriptor() protoreflect.EnumDescriptor { return file_google_cloud_batch_v1_task_proto_enumTypes[1].Descriptor() } func (LifecyclePolicy_Action) Type() protoreflect.EnumType { return &file_google_cloud_batch_v1_task_proto_enumTypes[1] } func (x LifecyclePolicy_Action) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use LifecyclePolicy_Action.Descriptor instead. func (LifecyclePolicy_Action) EnumDescriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{6, 0} } // Compute resource requirements. // // ComputeResource defines the amount of resources required for each task. // Make sure your tasks have enough resources to successfully run. // If you also define the types of resources for a job to use with the // [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) // field, make sure both fields are compatible with each other. type ComputeResource struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The milliCPU count. // // `cpuMilli` defines the amount of CPU resources per task in milliCPU units. // For example, `1000` corresponds to 1 vCPU per task. If undefined, the // default value is `2000`. // // If you also define the VM's machine type using the `machineType` in // [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) // field or inside the `instanceTemplate` in the // [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) // field, make sure the CPU resources for both fields are compatible with each // other and with how many tasks you want to allow to run on the same VM at // the same time. // // For example, if you specify the `n2-standard-2` machine type, which has 2 // vCPUs each, you are recommended to set `cpuMilli` no more than `2000`, or // you are recommended to run two tasks on the same VM if you set `cpuMilli` // to `1000` or less. CpuMilli int64 `protobuf:"varint,1,opt,name=cpu_milli,json=cpuMilli,proto3" json:"cpu_milli,omitempty"` // Memory in MiB. // // `memoryMib` defines the amount of memory per task in MiB units. // If undefined, the default value is `2000`. // If you also define the VM's machine type using the `machineType` in // [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) // field or inside the `instanceTemplate` in the // [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) // field, make sure the memory resources for both fields are compatible with // each other and with how many tasks you want to allow to run on the same VM // at the same time. // // For example, if you specify the `n2-standard-2` machine type, which has 8 // GiB each, you are recommended to set `memoryMib` to no more than `8192`, // or you are recommended to run two tasks on the same VM if you set // `memoryMib` to `4096` or less. MemoryMib int64 `protobuf:"varint,2,opt,name=memory_mib,json=memoryMib,proto3" json:"memory_mib,omitempty"` // Extra boot disk size in MiB for each task. BootDiskMib int64 `protobuf:"varint,4,opt,name=boot_disk_mib,json=bootDiskMib,proto3" json:"boot_disk_mib,omitempty"` } func (x *ComputeResource) Reset() { *x = ComputeResource{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ComputeResource) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComputeResource) ProtoMessage() {} func (x *ComputeResource) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ComputeResource.ProtoReflect.Descriptor instead. func (*ComputeResource) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{0} } func (x *ComputeResource) GetCpuMilli() int64 { if x != nil { return x.CpuMilli } return 0 } func (x *ComputeResource) GetMemoryMib() int64 { if x != nil { return x.MemoryMib } return 0 } func (x *ComputeResource) GetBootDiskMib() int64 { if x != nil { return x.BootDiskMib } return 0 } // Status event. type StatusEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Type of the event. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // Description of the event. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // The time this event occurred. EventTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` // Task Execution. // This field is only defined for task-level status events where the task // fails. TaskExecution *TaskExecution `protobuf:"bytes,4,opt,name=task_execution,json=taskExecution,proto3" json:"task_execution,omitempty"` // Task State. // This field is only defined for task-level status events. TaskState TaskStatus_State `protobuf:"varint,5,opt,name=task_state,json=taskState,proto3,enum=google.cloud.batch.v1.TaskStatus_State" json:"task_state,omitempty"` } func (x *StatusEvent) Reset() { *x = StatusEvent{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StatusEvent) String() string { return protoimpl.X.MessageStringOf(x) } func (*StatusEvent) ProtoMessage() {} func (x *StatusEvent) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StatusEvent.ProtoReflect.Descriptor instead. func (*StatusEvent) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{1} } func (x *StatusEvent) GetType() string { if x != nil { return x.Type } return "" } func (x *StatusEvent) GetDescription() string { if x != nil { return x.Description } return "" } func (x *StatusEvent) GetEventTime() *timestamppb.Timestamp { if x != nil { return x.EventTime } return nil } func (x *StatusEvent) GetTaskExecution() *TaskExecution { if x != nil { return x.TaskExecution } return nil } func (x *StatusEvent) GetTaskState() TaskStatus_State { if x != nil { return x.TaskState } return TaskStatus_STATE_UNSPECIFIED } // This Task Execution field includes detail information for // task execution procedures, based on StatusEvent types. type TaskExecution struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The exit code of a finished task. // // If the task succeeded, the exit code will be 0. If the task failed but not // due to the following reasons, the exit code will be 50000. // // Otherwise, it can be from different sources: // * Batch known failures: // https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. // * Batch runnable execution failures; you can rely on Batch logs to further // diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If // there are multiple runnables failures, Batch only exposes the first error. ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` } func (x *TaskExecution) Reset() { *x = TaskExecution{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TaskExecution) String() string { return protoimpl.X.MessageStringOf(x) } func (*TaskExecution) ProtoMessage() {} func (x *TaskExecution) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TaskExecution.ProtoReflect.Descriptor instead. func (*TaskExecution) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{2} } func (x *TaskExecution) GetExitCode() int32 { if x != nil { return x.ExitCode } return 0 } // Status of a task. type TaskStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Task state. State TaskStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.batch.v1.TaskStatus_State" json:"state,omitempty"` // Detailed info about why the state is reached. StatusEvents []*StatusEvent `protobuf:"bytes,2,rep,name=status_events,json=statusEvents,proto3" json:"status_events,omitempty"` } func (x *TaskStatus) Reset() { *x = TaskStatus{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TaskStatus) String() string { return protoimpl.X.MessageStringOf(x) } func (*TaskStatus) ProtoMessage() {} func (x *TaskStatus) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TaskStatus.ProtoReflect.Descriptor instead. func (*TaskStatus) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{3} } func (x *TaskStatus) GetState() TaskStatus_State { if x != nil { return x.State } return TaskStatus_STATE_UNSPECIFIED } func (x *TaskStatus) GetStatusEvents() []*StatusEvent { if x != nil { return x.StatusEvents } return nil } // Runnable describes instructions for executing a specific script or container // as part of a Task. type Runnable struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The script, container, or barrier for this runnable to execute. // // Types that are assignable to Executable: // // *Runnable_Container_ // *Runnable_Script_ // *Runnable_Barrier_ Executable isRunnable_Executable `protobuf_oneof:"executable"` // Optional. DisplayName is an optional field that can be provided by the // caller. If provided, it will be used in logs and other outputs to identify // the script, making it easier for users to understand the logs. If not // provided the index of the runnable will be used for outputs. DisplayName string `protobuf:"bytes,10,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Normally, a runnable that returns a non-zero exit status fails and causes // the task to fail. However, you can set this field to `true` to allow the // task to continue executing its other runnables even if this runnable // fails. IgnoreExitStatus bool `protobuf:"varint,3,opt,name=ignore_exit_status,json=ignoreExitStatus,proto3" json:"ignore_exit_status,omitempty"` // Normally, a runnable that doesn't exit causes its task to fail. However, // you can set this field to `true` to configure a background runnable. // Background runnables are allowed continue running in the background while // the task executes subsequent runnables. For example, background runnables // are useful for providing services to other runnables or providing // debugging-support tools like SSH servers. // // Specifically, background runnables are killed automatically (if they have // not already exited) a short time after all foreground runnables have // completed. Even though this is likely to result in a non-zero exit status // for the background runnable, these automatic kills are not treated as task // failures. Background bool `protobuf:"varint,4,opt,name=background,proto3" json:"background,omitempty"` // By default, after a Runnable fails, no further Runnable are executed. This // flag indicates that this Runnable must be run even if the Task has already // failed. This is useful for Runnables that copy output files off of the VM // or for debugging. // // The always_run flag does not override the Task's overall max_run_duration. // If the max_run_duration has expired then no further Runnables will execute, // not even always_run Runnables. AlwaysRun bool `protobuf:"varint,5,opt,name=always_run,json=alwaysRun,proto3" json:"always_run,omitempty"` // Environment variables for this Runnable (overrides variables set for the // whole Task or TaskGroup). Environment *Environment `protobuf:"bytes,7,opt,name=environment,proto3" json:"environment,omitempty"` // Timeout for this Runnable. Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"` // Labels for this Runnable. 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"` } func (x *Runnable) Reset() { *x = Runnable{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Runnable) String() string { return protoimpl.X.MessageStringOf(x) } func (*Runnable) ProtoMessage() {} func (x *Runnable) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Runnable.ProtoReflect.Descriptor instead. func (*Runnable) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{4} } func (m *Runnable) GetExecutable() isRunnable_Executable { if m != nil { return m.Executable } return nil } func (x *Runnable) GetContainer() *Runnable_Container { if x, ok := x.GetExecutable().(*Runnable_Container_); ok { return x.Container } return nil } func (x *Runnable) GetScript() *Runnable_Script { if x, ok := x.GetExecutable().(*Runnable_Script_); ok { return x.Script } return nil } func (x *Runnable) GetBarrier() *Runnable_Barrier { if x, ok := x.GetExecutable().(*Runnable_Barrier_); ok { return x.Barrier } return nil } func (x *Runnable) GetDisplayName() string { if x != nil { return x.DisplayName } return "" } func (x *Runnable) GetIgnoreExitStatus() bool { if x != nil { return x.IgnoreExitStatus } return false } func (x *Runnable) GetBackground() bool { if x != nil { return x.Background } return false } func (x *Runnable) GetAlwaysRun() bool { if x != nil { return x.AlwaysRun } return false } func (x *Runnable) GetEnvironment() *Environment { if x != nil { return x.Environment } return nil } func (x *Runnable) GetTimeout() *durationpb.Duration { if x != nil { return x.Timeout } return nil } func (x *Runnable) GetLabels() map[string]string { if x != nil { return x.Labels } return nil } type isRunnable_Executable interface { isRunnable_Executable() } type Runnable_Container_ struct { // Container runnable. Container *Runnable_Container `protobuf:"bytes,1,opt,name=container,proto3,oneof"` } type Runnable_Script_ struct { // Script runnable. Script *Runnable_Script `protobuf:"bytes,2,opt,name=script,proto3,oneof"` } type Runnable_Barrier_ struct { // Barrier runnable. Barrier *Runnable_Barrier `protobuf:"bytes,6,opt,name=barrier,proto3,oneof"` } func (*Runnable_Container_) isRunnable_Executable() {} func (*Runnable_Script_) isRunnable_Executable() {} func (*Runnable_Barrier_) isRunnable_Executable() {} // Spec of a task type TaskSpec struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The sequence of one or more runnables (executable scripts, // executable containers, and/or barriers) for each task in this task group to // run. Each task runs this list of runnables in order. For a task to succeed, // all of its script and container runnables each must meet at least one of // the following conditions: // // - The runnable exited with a zero status. // - The runnable didn't finish, but you enabled its `background` subfield. // - The runnable exited with a non-zero status, but you enabled its // `ignore_exit_status` subfield. Runnables []*Runnable `protobuf:"bytes,8,rep,name=runnables,proto3" json:"runnables,omitempty"` // ComputeResource requirements. ComputeResource *ComputeResource `protobuf:"bytes,3,opt,name=compute_resource,json=computeResource,proto3" json:"compute_resource,omitempty"` // Maximum duration the task should run before being automatically retried // (if enabled) or automatically failed. Format the value of this field // as a time limit in seconds followed by `s`—for example, `3600s` // for 1 hour. The field accepts any value between 0 and the maximum listed // for the `Duration` field type at // https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, // the actual maximum run time for a job will be limited to the maximum run // time for a job listed at // https://cloud.google.com/batch/quotas#max-job-duration. MaxRunDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=max_run_duration,json=maxRunDuration,proto3" json:"max_run_duration,omitempty"` // Maximum number of retries on failures. // The default, 0, which means never retry. // The valid value range is [0, 10]. MaxRetryCount int32 `protobuf:"varint,5,opt,name=max_retry_count,json=maxRetryCount,proto3" json:"max_retry_count,omitempty"` // Lifecycle management schema when any task in a task group is failed. // Currently we only support one lifecycle policy. // When the lifecycle policy condition is met, // the action in the policy will execute. // If task execution result does not meet with the defined lifecycle // policy, we consider it as the default policy. // Default policy means if the exit code is 0, exit task. // If task ends with non-zero exit code, retry the task with max_retry_count. LifecyclePolicies []*LifecyclePolicy `protobuf:"bytes,9,rep,name=lifecycle_policies,json=lifecyclePolicies,proto3" json:"lifecycle_policies,omitempty"` // Deprecated: please use environment(non-plural) instead. // // Deprecated: Marked as deprecated in google/cloud/batch/v1/task.proto. 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"` // Volumes to mount before running Tasks using this TaskSpec. Volumes []*Volume `protobuf:"bytes,7,rep,name=volumes,proto3" json:"volumes,omitempty"` // Environment variables to set before running the Task. Environment *Environment `protobuf:"bytes,10,opt,name=environment,proto3" json:"environment,omitempty"` } func (x *TaskSpec) Reset() { *x = TaskSpec{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TaskSpec) String() string { return protoimpl.X.MessageStringOf(x) } func (*TaskSpec) ProtoMessage() {} func (x *TaskSpec) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TaskSpec.ProtoReflect.Descriptor instead. func (*TaskSpec) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{5} } func (x *TaskSpec) GetRunnables() []*Runnable { if x != nil { return x.Runnables } return nil } func (x *TaskSpec) GetComputeResource() *ComputeResource { if x != nil { return x.ComputeResource } return nil } func (x *TaskSpec) GetMaxRunDuration() *durationpb.Duration { if x != nil { return x.MaxRunDuration } return nil } func (x *TaskSpec) GetMaxRetryCount() int32 { if x != nil { return x.MaxRetryCount } return 0 } func (x *TaskSpec) GetLifecyclePolicies() []*LifecyclePolicy { if x != nil { return x.LifecyclePolicies } return nil } // Deprecated: Marked as deprecated in google/cloud/batch/v1/task.proto. func (x *TaskSpec) GetEnvironments() map[string]string { if x != nil { return x.Environments } return nil } func (x *TaskSpec) GetVolumes() []*Volume { if x != nil { return x.Volumes } return nil } func (x *TaskSpec) GetEnvironment() *Environment { if x != nil { return x.Environment } return nil } // LifecyclePolicy describes how to deal with task failures // based on different conditions. type LifecyclePolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Action to execute when ActionCondition is true. // When RETRY_TASK is specified, we will retry failed tasks // if we notice any exit code match and fail tasks if no match is found. // Likewise, when FAIL_TASK is specified, we will fail tasks // if we notice any exit code match and retry tasks if no match is found. Action LifecyclePolicy_Action `protobuf:"varint,1,opt,name=action,proto3,enum=google.cloud.batch.v1.LifecyclePolicy_Action" json:"action,omitempty"` // Conditions that decide why a task failure is dealt with a specific action. ActionCondition *LifecyclePolicy_ActionCondition `protobuf:"bytes,2,opt,name=action_condition,json=actionCondition,proto3" json:"action_condition,omitempty"` } func (x *LifecyclePolicy) Reset() { *x = LifecyclePolicy{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LifecyclePolicy) String() string { return protoimpl.X.MessageStringOf(x) } func (*LifecyclePolicy) ProtoMessage() {} func (x *LifecyclePolicy) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LifecyclePolicy.ProtoReflect.Descriptor instead. func (*LifecyclePolicy) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{6} } func (x *LifecyclePolicy) GetAction() LifecyclePolicy_Action { if x != nil { return x.Action } return LifecyclePolicy_ACTION_UNSPECIFIED } func (x *LifecyclePolicy) GetActionCondition() *LifecyclePolicy_ActionCondition { if x != nil { return x.ActionCondition } return nil } // A Cloud Batch task. type Task struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Task name. // The name is generated from the parent TaskGroup name and 'id' field. // For example: // "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Task Status. Status *TaskStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` } func (x *Task) Reset() { *x = Task{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Task) String() string { return protoimpl.X.MessageStringOf(x) } func (*Task) ProtoMessage() {} func (x *Task) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Task.ProtoReflect.Descriptor instead. func (*Task) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{7} } func (x *Task) GetName() string { if x != nil { return x.Name } return "" } func (x *Task) GetStatus() *TaskStatus { if x != nil { return x.Status } return nil } // An Environment describes a collection of environment variables to set when // executing Tasks. type Environment struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // A map of environment variable names to values. 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"` // A map of environment variable names to Secret Manager secret names. // The VM will access the named secrets to set the value of each environment // variable. 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"` // An encrypted JSON dictionary where the key/value pairs correspond to // environment variable names and their values. EncryptedVariables *Environment_KMSEnvMap `protobuf:"bytes,3,opt,name=encrypted_variables,json=encryptedVariables,proto3" json:"encrypted_variables,omitempty"` } func (x *Environment) Reset() { *x = Environment{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Environment) String() string { return protoimpl.X.MessageStringOf(x) } func (*Environment) ProtoMessage() {} func (x *Environment) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Environment.ProtoReflect.Descriptor instead. func (*Environment) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{8} } func (x *Environment) GetVariables() map[string]string { if x != nil { return x.Variables } return nil } func (x *Environment) GetSecretVariables() map[string]string { if x != nil { return x.SecretVariables } return nil } func (x *Environment) GetEncryptedVariables() *Environment_KMSEnvMap { if x != nil { return x.EncryptedVariables } return nil } // Container runnable. type Runnable_Container struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The URI to pull the container image from. ImageUri string `protobuf:"bytes,1,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` // Required for some container images. Overrides the `CMD` specified in the // container. If there is an `ENTRYPOINT` (either in the container image or // with the `entrypoint` field below) then these commands are appended as // arguments to the `ENTRYPOINT`. Commands []string `protobuf:"bytes,2,rep,name=commands,proto3" json:"commands,omitempty"` // Required for some container images. Overrides the `ENTRYPOINT` specified // in the container. Entrypoint string `protobuf:"bytes,3,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"` // Volumes to mount (bind mount) from the host machine files or directories // into the container, formatted to match `--volume` option for the // `docker run` command—for example, `/foo:/bar` or `/foo:/bar:ro`. // // If the `TaskSpec.Volumes` field is specified but this field is not, Batch // will mount each volume from the host machine to the container with the // same mount path by default. In this case, the default mount option for // containers will be read-only (`ro`) for existing persistent disks and // read-write (`rw`) for other volume types, regardless of the original // mount options specified in `TaskSpec.Volumes`. If you need different // mount settings, you can explicitly configure them in this field. Volumes []string `protobuf:"bytes,7,rep,name=volumes,proto3" json:"volumes,omitempty"` // Required for some container images. Arbitrary additional options to // include in the `docker run` command when running this container—for // example, `--network host`. For the `--volume` option, use the `volumes` // field for the container. Options string `protobuf:"bytes,8,opt,name=options,proto3" json:"options,omitempty"` // If set to true, external network access to and from container will be // blocked, containers that are with block_external_network as true can // still communicate with each other, network cannot be specified in the // `container.options` field. BlockExternalNetwork bool `protobuf:"varint,9,opt,name=block_external_network,json=blockExternalNetwork,proto3" json:"block_external_network,omitempty"` // Required if the container image is from a private Docker registry. The // username to login to the Docker registry that contains the image. // // You can either specify the username directly by using plain text or // specify an encrypted username by using a Secret Manager secret: // `projects/*/secrets/*/versions/*`. However, using a secret is // recommended for enhanced security. // // Caution: If you specify the username using plain text, you risk the // username being exposed to any users who can view the job or its logs. // To avoid this risk, specify a secret that contains the username instead. // // Learn more about [Secret // Manager](https://cloud.google.com/secret-manager/docs/) and [using // Secret Manager with // Batch](https://cloud.google.com/batch/docs/create-run-job-secret-manager). Username string `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty"` // Required if the container image is from a private Docker registry. The // password to login to the Docker registry that contains the image. // // For security, it is strongly recommended to specify an // encrypted password by using a Secret Manager secret: // `projects/*/secrets/*/versions/*`. // // Warning: If you specify the password using plain text, you risk the // password being exposed to any users who can view the job or its logs. // To avoid this risk, specify a secret that contains the password instead. // // Learn more about [Secret // Manager](https://cloud.google.com/secret-manager/docs/) and [using // Secret Manager with // Batch](https://cloud.google.com/batch/docs/create-run-job-secret-manager). Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"` // Optional. If set to true, this container runnable uses Image streaming. // // Use Image streaming to allow the runnable to initialize without // waiting for the entire container image to download, which can // significantly reduce startup time for large container images. // // When `enableImageStreaming` is set to true, the container // runtime is [containerd](https://containerd.io/) instead of Docker. // Additionally, this container runnable only supports the following // `container` subfields: `imageUri`, // `commands[]`, `entrypoint`, and // `volumes[]`; any other `container` subfields are ignored. // // For more information about the requirements and limitations for using // Image streaming with Batch, see the [`image-streaming` // sample on // GitHub](https://github.com/GoogleCloudPlatform/batch-samples/tree/main/api-samples/image-streaming). EnableImageStreaming bool `protobuf:"varint,12,opt,name=enable_image_streaming,json=enableImageStreaming,proto3" json:"enable_image_streaming,omitempty"` } func (x *Runnable_Container) Reset() { *x = Runnable_Container{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Runnable_Container) String() string { return protoimpl.X.MessageStringOf(x) } func (*Runnable_Container) ProtoMessage() {} func (x *Runnable_Container) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Runnable_Container.ProtoReflect.Descriptor instead. func (*Runnable_Container) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{4, 0} } func (x *Runnable_Container) GetImageUri() string { if x != nil { return x.ImageUri } return "" } func (x *Runnable_Container) GetCommands() []string { if x != nil { return x.Commands } return nil } func (x *Runnable_Container) GetEntrypoint() string { if x != nil { return x.Entrypoint } return "" } func (x *Runnable_Container) GetVolumes() []string { if x != nil { return x.Volumes } return nil } func (x *Runnable_Container) GetOptions() string { if x != nil { return x.Options } return "" } func (x *Runnable_Container) GetBlockExternalNetwork() bool { if x != nil { return x.BlockExternalNetwork } return false } func (x *Runnable_Container) GetUsername() string { if x != nil { return x.Username } return "" } func (x *Runnable_Container) GetPassword() string { if x != nil { return x.Password } return "" } func (x *Runnable_Container) GetEnableImageStreaming() bool { if x != nil { return x.EnableImageStreaming } return false } // Script runnable. type Runnable_Script struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The source code for this script runnable. // // Types that are assignable to Command: // // *Runnable_Script_Path // *Runnable_Script_Text Command isRunnable_Script_Command `protobuf_oneof:"command"` } func (x *Runnable_Script) Reset() { *x = Runnable_Script{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Runnable_Script) String() string { return protoimpl.X.MessageStringOf(x) } func (*Runnable_Script) ProtoMessage() {} func (x *Runnable_Script) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Runnable_Script.ProtoReflect.Descriptor instead. func (*Runnable_Script) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{4, 1} } func (m *Runnable_Script) GetCommand() isRunnable_Script_Command { if m != nil { return m.Command } return nil } func (x *Runnable_Script) GetPath() string { if x, ok := x.GetCommand().(*Runnable_Script_Path); ok { return x.Path } return "" } func (x *Runnable_Script) GetText() string { if x, ok := x.GetCommand().(*Runnable_Script_Text); ok { return x.Text } return "" } type isRunnable_Script_Command interface { isRunnable_Script_Command() } type Runnable_Script_Path struct { // The path to a script file that is accessible from the host VM(s). // // Unless the script file supports the default `#!/bin/sh` shell // interpreter, you must specify an interpreter by including a // [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix) as the // first line of the file. For example, to execute the script using bash, // include `#!/bin/bash` as the first line of the file. Alternatively, // to execute the script using Python3, include `#!/usr/bin/env python3` // as the first line of the file. Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"` } type Runnable_Script_Text struct { // The text for a script. // // Unless the script text supports the default `#!/bin/sh` shell // interpreter, you must specify an interpreter by including a // [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix) at the // beginning of the text. For example, to execute the script using bash, // include `#!/bin/bash\n` at the beginning of the text. Alternatively, // to execute the script using Python3, include `#!/usr/bin/env python3\n` // at the beginning of the text. Text string `protobuf:"bytes,2,opt,name=text,proto3,oneof"` } func (*Runnable_Script_Path) isRunnable_Script_Command() {} func (*Runnable_Script_Text) isRunnable_Script_Command() {} // A barrier runnable automatically blocks the execution of subsequent // runnables until all the tasks in the task group reach the barrier. type Runnable_Barrier struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Barriers are identified by their index in runnable list. // Names are not required, but if present should be an identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *Runnable_Barrier) Reset() { *x = Runnable_Barrier{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Runnable_Barrier) String() string { return protoimpl.X.MessageStringOf(x) } func (*Runnable_Barrier) ProtoMessage() {} func (x *Runnable_Barrier) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Runnable_Barrier.ProtoReflect.Descriptor instead. func (*Runnable_Barrier) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{4, 2} } func (x *Runnable_Barrier) GetName() string { if x != nil { return x.Name } return "" } // Conditions for actions to deal with task failures. type LifecyclePolicy_ActionCondition struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Exit codes of a task execution. // If there are more than 1 exit codes, // when task executes with any of the exit code in the list, // the condition is met and the action will be executed. ExitCodes []int32 `protobuf:"varint,1,rep,packed,name=exit_codes,json=exitCodes,proto3" json:"exit_codes,omitempty"` } func (x *LifecyclePolicy_ActionCondition) Reset() { *x = LifecyclePolicy_ActionCondition{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LifecyclePolicy_ActionCondition) String() string { return protoimpl.X.MessageStringOf(x) } func (*LifecyclePolicy_ActionCondition) ProtoMessage() {} func (x *LifecyclePolicy_ActionCondition) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LifecyclePolicy_ActionCondition.ProtoReflect.Descriptor instead. func (*LifecyclePolicy_ActionCondition) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{6, 0} } func (x *LifecyclePolicy_ActionCondition) GetExitCodes() []int32 { if x != nil { return x.ExitCodes } return nil } type Environment_KMSEnvMap struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The name of the KMS key that will be used to decrypt the cipher text. KeyName string `protobuf:"bytes,1,opt,name=key_name,json=keyName,proto3" json:"key_name,omitempty"` // The value of the cipherText response from the `encrypt` method. CipherText string `protobuf:"bytes,2,opt,name=cipher_text,json=cipherText,proto3" json:"cipher_text,omitempty"` } func (x *Environment_KMSEnvMap) Reset() { *x = Environment_KMSEnvMap{} mi := &file_google_cloud_batch_v1_task_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Environment_KMSEnvMap) String() string { return protoimpl.X.MessageStringOf(x) } func (*Environment_KMSEnvMap) ProtoMessage() {} func (x *Environment_KMSEnvMap) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_batch_v1_task_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Environment_KMSEnvMap.ProtoReflect.Descriptor instead. func (*Environment_KMSEnvMap) Descriptor() ([]byte, []int) { return file_google_cloud_batch_v1_task_proto_rawDescGZIP(), []int{8, 0} } func (x *Environment_KMSEnvMap) GetKeyName() string { if x != nil { return x.KeyName } return "" } func (x *Environment_KMSEnvMap) GetCipherText() string { if x != nil { return x.CipherText } return "" } var File_google_cloud_batch_v1_task_proto protoreflect.FileDescriptor var file_google_cloud_batch_v1_task_proto_rawDesc = []byte{ 0x0a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x63, 0x70, 0x75, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6d, 0x69, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x69, 0x62, 0x12, 0x22, 0x0a, 0x0d, 0x62, 0x6f, 0x6f, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6d, 0x69, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6f, 0x6f, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4d, 0x69, 0x62, 0x22, 0x93, 0x02, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x2c, 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x87, 0x02, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x47, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x71, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x53, 0x53, 0x49, 0x47, 0x4e, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x45, 0x44, 0x10, 0x06, 0x22, 0x9e, 0x08, 0x0a, 0x08, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x49, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x00, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x06, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x48, 0x00, 0x52, 0x06, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x43, 0x0a, 0x07, 0x62, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x42, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x48, 0x00, 0x52, 0x07, 0x62, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x52, 0x75, 0x6e, 0x12, 0x44, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x43, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0xc1, 0x02, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x39, 0x0a, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x14, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x1a, 0x3f, 0x0a, 0x06, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x1a, 0x1d, 0x0a, 0x07, 0x42, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xfb, 0x04, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x12, 0x3d, 0x0a, 0x09, 0x72, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x09, 0x72, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x52, 0x75, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x55, 0x0a, 0x12, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x11, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x59, 0x0a, 0x0c, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x3f, 0x0a, 0x11, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xae, 0x02, 0x0a, 0x0f, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x45, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x61, 0x0a, 0x10, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x30, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x10, 0x02, 0x22, 0xce, 0x01, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x77, 0xea, 0x41, 0x74, 0x0a, 0x19, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x57, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x6a, 0x6f, 0x62, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x7d, 0x22, 0xec, 0x03, 0x0a, 0x0b, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x62, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x5d, 0x0a, 0x13, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x4b, 0x4d, 0x53, 0x45, 0x6e, 0x76, 0x4d, 0x61, 0x70, 0x52, 0x12, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x47, 0x0a, 0x09, 0x4b, 0x4d, 0x53, 0x45, 0x6e, 0x76, 0x4d, 0x61, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x65, 0x78, 0x74, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0xaa, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x70, 0x62, 0x3b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x70, 0x62, 0xa2, 0x02, 0x03, 0x47, 0x43, 0x42, 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_google_cloud_batch_v1_task_proto_rawDescOnce sync.Once file_google_cloud_batch_v1_task_proto_rawDescData = file_google_cloud_batch_v1_task_proto_rawDesc ) func file_google_cloud_batch_v1_task_proto_rawDescGZIP() []byte { file_google_cloud_batch_v1_task_proto_rawDescOnce.Do(func() { file_google_cloud_batch_v1_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_batch_v1_task_proto_rawDescData) }) return file_google_cloud_batch_v1_task_proto_rawDescData } var file_google_cloud_batch_v1_task_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_google_cloud_batch_v1_task_proto_msgTypes = make([]protoimpl.MessageInfo, 18) var file_google_cloud_batch_v1_task_proto_goTypes = []any{ (TaskStatus_State)(0), // 0: google.cloud.batch.v1.TaskStatus.State (LifecyclePolicy_Action)(0), // 1: google.cloud.batch.v1.LifecyclePolicy.Action (*ComputeResource)(nil), // 2: google.cloud.batch.v1.ComputeResource (*StatusEvent)(nil), // 3: google.cloud.batch.v1.StatusEvent (*TaskExecution)(nil), // 4: google.cloud.batch.v1.TaskExecution (*TaskStatus)(nil), // 5: google.cloud.batch.v1.TaskStatus (*Runnable)(nil), // 6: google.cloud.batch.v1.Runnable (*TaskSpec)(nil), // 7: google.cloud.batch.v1.TaskSpec (*LifecyclePolicy)(nil), // 8: google.cloud.batch.v1.LifecyclePolicy (*Task)(nil), // 9: google.cloud.batch.v1.Task (*Environment)(nil), // 10: google.cloud.batch.v1.Environment (*Runnable_Container)(nil), // 11: google.cloud.batch.v1.Runnable.Container (*Runnable_Script)(nil), // 12: google.cloud.batch.v1.Runnable.Script (*Runnable_Barrier)(nil), // 13: google.cloud.batch.v1.Runnable.Barrier nil, // 14: google.cloud.batch.v1.Runnable.LabelsEntry nil, // 15: google.cloud.batch.v1.TaskSpec.EnvironmentsEntry (*LifecyclePolicy_ActionCondition)(nil), // 16: google.cloud.batch.v1.LifecyclePolicy.ActionCondition (*Environment_KMSEnvMap)(nil), // 17: google.cloud.batch.v1.Environment.KMSEnvMap nil, // 18: google.cloud.batch.v1.Environment.VariablesEntry nil, // 19: google.cloud.batch.v1.Environment.SecretVariablesEntry (*timestamppb.Timestamp)(nil), // 20: google.protobuf.Timestamp (*durationpb.Duration)(nil), // 21: google.protobuf.Duration (*Volume)(nil), // 22: google.cloud.batch.v1.Volume } var file_google_cloud_batch_v1_task_proto_depIdxs = []int32{ 20, // 0: google.cloud.batch.v1.StatusEvent.event_time:type_name -> google.protobuf.Timestamp 4, // 1: google.cloud.batch.v1.StatusEvent.task_execution:type_name -> google.cloud.batch.v1.TaskExecution 0, // 2: google.cloud.batch.v1.StatusEvent.task_state:type_name -> google.cloud.batch.v1.TaskStatus.State 0, // 3: google.cloud.batch.v1.TaskStatus.state:type_name -> google.cloud.batch.v1.TaskStatus.State 3, // 4: google.cloud.batch.v1.TaskStatus.status_events:type_name -> google.cloud.batch.v1.StatusEvent 11, // 5: google.cloud.batch.v1.Runnable.container:type_name -> google.cloud.batch.v1.Runnable.Container 12, // 6: google.cloud.batch.v1.Runnable.script:type_name -> google.cloud.batch.v1.Runnable.Script 13, // 7: google.cloud.batch.v1.Runnable.barrier:type_name -> google.cloud.batch.v1.Runnable.Barrier 10, // 8: google.cloud.batch.v1.Runnable.environment:type_name -> google.cloud.batch.v1.Environment 21, // 9: google.cloud.batch.v1.Runnable.timeout:type_name -> google.protobuf.Duration 14, // 10: google.cloud.batch.v1.Runnable.labels:type_name -> google.cloud.batch.v1.Runnable.LabelsEntry 6, // 11: google.cloud.batch.v1.TaskSpec.runnables:type_name -> google.cloud.batch.v1.Runnable 2, // 12: google.cloud.batch.v1.TaskSpec.compute_resource:type_name -> google.cloud.batch.v1.ComputeResource 21, // 13: google.cloud.batch.v1.TaskSpec.max_run_duration:type_name -> google.protobuf.Duration 8, // 14: google.cloud.batch.v1.TaskSpec.lifecycle_policies:type_name -> google.cloud.batch.v1.LifecyclePolicy 15, // 15: google.cloud.batch.v1.TaskSpec.environments:type_name -> google.cloud.batch.v1.TaskSpec.EnvironmentsEntry 22, // 16: google.cloud.batch.v1.TaskSpec.volumes:type_name -> google.cloud.batch.v1.Volume 10, // 17: google.cloud.batch.v1.TaskSpec.environment:type_name -> google.cloud.batch.v1.Environment 1, // 18: google.cloud.batch.v1.LifecyclePolicy.action:type_name -> google.cloud.batch.v1.LifecyclePolicy.Action 16, // 19: google.cloud.batch.v1.LifecyclePolicy.action_condition:type_name -> google.cloud.batch.v1.LifecyclePolicy.ActionCondition 5, // 20: google.cloud.batch.v1.Task.status:type_name -> google.cloud.batch.v1.TaskStatus 18, // 21: google.cloud.batch.v1.Environment.variables:type_name -> google.cloud.batch.v1.Environment.VariablesEntry 19, // 22: google.cloud.batch.v1.Environment.secret_variables:type_name -> google.cloud.batch.v1.Environment.SecretVariablesEntry 17, // 23: google.cloud.batch.v1.Environment.encrypted_variables:type_name -> google.cloud.batch.v1.Environment.KMSEnvMap 24, // [24:24] is the sub-list for method output_type 24, // [24:24] is the sub-list for method input_type 24, // [24:24] is the sub-list for extension type_name 24, // [24:24] is the sub-list for extension extendee 0, // [0:24] is the sub-list for field type_name } func init() { file_google_cloud_batch_v1_task_proto_init() } func file_google_cloud_batch_v1_task_proto_init() { if File_google_cloud_batch_v1_task_proto != nil { return } file_google_cloud_batch_v1_volume_proto_init() file_google_cloud_batch_v1_task_proto_msgTypes[4].OneofWrappers = []any{ (*Runnable_Container_)(nil), (*Runnable_Script_)(nil), (*Runnable_Barrier_)(nil), } file_google_cloud_batch_v1_task_proto_msgTypes[10].OneofWrappers = []any{ (*Runnable_Script_Path)(nil), (*Runnable_Script_Text)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_cloud_batch_v1_task_proto_rawDesc, NumEnums: 2, NumMessages: 18, NumExtensions: 0, NumServices: 0, }, GoTypes: file_google_cloud_batch_v1_task_proto_goTypes, DependencyIndexes: file_google_cloud_batch_v1_task_proto_depIdxs, EnumInfos: file_google_cloud_batch_v1_task_proto_enumTypes, MessageInfos: file_google_cloud_batch_v1_task_proto_msgTypes, }.Build() File_google_cloud_batch_v1_task_proto = out.File file_google_cloud_batch_v1_task_proto_rawDesc = nil file_google_cloud_batch_v1_task_proto_goTypes = nil file_google_cloud_batch_v1_task_proto_depIdxs = nil }