| // Copyright 2016 The LUCI Authors. All rights reserved. |
| // Use of this source code is governed under the Apache License, Version 2.0 |
| // that can be found in the LICENSE file. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.26.0 |
| // protoc v3.17.0 |
| // source: go.chromium.org/luci/dm/api/distributor/swarming/v1/params.proto |
| |
| package swarmingV1 |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 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) |
| ) |
| |
| // Parameters represents the set of swarming parameters that the Swarming v1 |
| // distributor can interpret for use with a Swarming v1 compatible service. |
| type Parameters struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Scheduling *Parameters_Scheduling `protobuf:"bytes,1,opt,name=scheduling,proto3" json:"scheduling,omitempty"` |
| Meta *Parameters_Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` |
| Job *Parameters_Job `protobuf:"bytes,3,opt,name=job,proto3" json:"job,omitempty"` |
| } |
| |
| func (x *Parameters) Reset() { |
| *x = Parameters{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Parameters) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Parameters) ProtoMessage() {} |
| |
| func (x *Parameters) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Parameters.ProtoReflect.Descriptor instead. |
| func (*Parameters) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *Parameters) GetScheduling() *Parameters_Scheduling { |
| if x != nil { |
| return x.Scheduling |
| } |
| return nil |
| } |
| |
| func (x *Parameters) GetMeta() *Parameters_Meta { |
| if x != nil { |
| return x.Meta |
| } |
| return nil |
| } |
| |
| func (x *Parameters) GetJob() *Parameters_Job { |
| if x != nil { |
| return x.Job |
| } |
| return nil |
| } |
| |
| // These parameters affect how the Executions for this Quest are scheduled. |
| type Parameters_Scheduling struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Priority adjusts the scheduling preference for Executions. The higher the |
| // priority number, the longer it will take to schedule, and vice versa (ala |
| // `nice`). |
| // |
| // A value of 0 (default) corresponds to a default priority (currently 100). |
| // Other values correspond directly to the swarming task Priority. |
| // |
| // THIS MEANS THAT PRIORITY 0 IS NOT PERMITTED HERE! If you want 0, use |
| // 1 instead. |
| // |
| // This must be <= 255. |
| Priority uint32 `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"` |
| // These specifiy the profile of the machine to use for Execuions of this |
| // quest. These can indicate OS, number of cores, amount of ram, GPU type, |
| // pool, etc. See the swarming service instance for available dimensions. |
| Dimensions map[string]string `protobuf:"bytes,2,rep,name=dimensions,proto3" json:"dimensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| // These dimensions will be snapshotted from the first execution of each |
| // attempt, and will be subsequently re-used for all following executions of |
| // that attempt. |
| // |
| // The most-specific value for these dimensions will be taken for tasks |
| // where a given dimension has multiple values. |
| SnapshotDimensions []string `protobuf:"bytes,3,rep,name=snapshot_dimensions,json=snapshotDimensions,proto3" json:"snapshot_dimensions,omitempty"` |
| // This indicates the maximum amount of time that an Execution may run |
| // without emitting IO on stdout/err. 0 means 'no timeout'. |
| IoTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=io_timeout,json=ioTimeout,proto3" json:"io_timeout,omitempty"` |
| } |
| |
| func (x *Parameters_Scheduling) Reset() { |
| *x = Parameters_Scheduling{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Parameters_Scheduling) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Parameters_Scheduling) ProtoMessage() {} |
| |
| func (x *Parameters_Scheduling) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Parameters_Scheduling.ProtoReflect.Descriptor instead. |
| func (*Parameters_Scheduling) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| func (x *Parameters_Scheduling) GetPriority() uint32 { |
| if x != nil { |
| return x.Priority |
| } |
| return 0 |
| } |
| |
| func (x *Parameters_Scheduling) GetDimensions() map[string]string { |
| if x != nil { |
| return x.Dimensions |
| } |
| return nil |
| } |
| |
| func (x *Parameters_Scheduling) GetSnapshotDimensions() []string { |
| if x != nil { |
| return x.SnapshotDimensions |
| } |
| return nil |
| } |
| |
| func (x *Parameters_Scheduling) GetIoTimeout() *durationpb.Duration { |
| if x != nil { |
| return x.IoTimeout |
| } |
| return nil |
| } |
| |
| type Parameters_Meta struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The 'human readable' name prefix for Executions of this quest. DM will |
| // automatically prepend this to the execution ID. So if this was "cool |
| // job", the swarming task name would be |
| // "cool job / <quest_ID>|<attempt>|<execution>" |
| NamePrefix string `protobuf:"bytes,1,opt,name=name_prefix,json=namePrefix,proto3" json:"name_prefix,omitempty"` |
| } |
| |
| func (x *Parameters_Meta) Reset() { |
| *x = Parameters_Meta{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Parameters_Meta) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Parameters_Meta) ProtoMessage() {} |
| |
| func (x *Parameters_Meta) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[2] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Parameters_Meta.ProtoReflect.Descriptor instead. |
| func (*Parameters_Meta) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDescGZIP(), []int{0, 1} |
| } |
| |
| func (x *Parameters_Meta) GetNamePrefix() string { |
| if x != nil { |
| return x.NamePrefix |
| } |
| return "" |
| } |
| |
| type Parameters_Job struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Inputs *Parameters_Job_Inputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` |
| // This is the "argv" to run with this job. This includes substitution |
| // paramters defined by swarming's run_isolated.py script: |
| // https://github.com/luci/luci-py/blob/master/client/run_isolated.py |
| // |
| // Additionally, DM provides the following substitutions: |
| // ${DM.PREVIOUS.EXECUTION.STATE:PATH} - the path to a JSONPB encoding of |
| // the swarming_v1.Result from the previous Execution of this Attempt. |
| // ${DM.QUEST.DATA.DESC:PATH} - the path to the |
| // dm.Quest.Data.Desc JSONPB for the quest that this execution is part |
| // of. |
| // ${DM.HOST} - the hostname to use to access DM's pRPC API. |
| // |
| // DM also provides a JSONPB encoded dm.Execution.Auth via the LUCI_CONTEXT |
| // swarming.secret_bytes value. See: |
| // https://github.com/luci/luci-py/blob/master/client/LUCI_CONTEXT.md |
| // |
| // Command MUST be specified; specifying a command in any of the isolated |
| // inputs WILL NOT DO ANYTHING. |
| Command []string `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"` |
| // Environment variables for the executions. |
| Env map[string]string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| } |
| |
| func (x *Parameters_Job) Reset() { |
| *x = Parameters_Job{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Parameters_Job) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Parameters_Job) ProtoMessage() {} |
| |
| func (x *Parameters_Job) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[3] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Parameters_Job.ProtoReflect.Descriptor instead. |
| func (*Parameters_Job) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDescGZIP(), []int{0, 2} |
| } |
| |
| func (x *Parameters_Job) GetInputs() *Parameters_Job_Inputs { |
| if x != nil { |
| return x.Inputs |
| } |
| return nil |
| } |
| |
| func (x *Parameters_Job) GetCommand() []string { |
| if x != nil { |
| return x.Command |
| } |
| return nil |
| } |
| |
| func (x *Parameters_Job) GetEnv() map[string]string { |
| if x != nil { |
| return x.Env |
| } |
| return nil |
| } |
| |
| type Parameters_Job_Inputs struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // 0 or more isolated IDs that will be 'included' together into the final |
| // job .isolated sent to swarming. |
| // |
| // The "server" value must either be omitted, or equal the isolate server |
| // defined by this distributor's config (the `isolate.host` field, |
| // prepended with "https://"). |
| Isolated []*IsolatedRef `protobuf:"bytes,1,rep,name=isolated,proto3" json:"isolated,omitempty"` |
| // CIPD packages to use for the job. These specs may contain templated |
| // parameters for package names or non-instance_ids for the package |
| // versions. The first successful execution for each attempt will |
| // resolve+snapshot all package names and versions. These package names |
| // and versions will be used for all subsequent executions of that |
| // attempt. |
| Cipd *CipdSpec `protobuf:"bytes,2,opt,name=cipd,proto3" json:"cipd,omitempty"` |
| } |
| |
| func (x *Parameters_Job_Inputs) Reset() { |
| *x = Parameters_Job_Inputs{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Parameters_Job_Inputs) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Parameters_Job_Inputs) ProtoMessage() {} |
| |
| func (x *Parameters_Job_Inputs) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[5] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Parameters_Job_Inputs.ProtoReflect.Descriptor instead. |
| func (*Parameters_Job_Inputs) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDescGZIP(), []int{0, 2, 0} |
| } |
| |
| func (x *Parameters_Job_Inputs) GetIsolated() []*IsolatedRef { |
| if x != nil { |
| return x.Isolated |
| } |
| return nil |
| } |
| |
| func (x *Parameters_Job_Inputs) GetCipd() *CipdSpec { |
| if x != nil { |
| return x.Cipd |
| } |
| return nil |
| } |
| |
| var File_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto protoreflect.FileDescriptor |
| |
| var file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDesc = []byte{ |
| 0x0a, 0x40, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, |
| 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x64, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, |
| 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x2f, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, |
| 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, |
| 0x74, 0x6f, 0x12, 0x0a, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x31, 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, 0x3e, |
| 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, |
| 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x64, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x74, |
| 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x2f, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, |
| 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x69, 0x70, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x45, |
| 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, |
| 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x64, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x74, |
| 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x2f, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, |
| 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x2e, |
| 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x06, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, |
| 0x74, 0x65, 0x72, 0x73, 0x12, 0x41, 0x0a, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, |
| 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d, |
| 0x69, 0x6e, 0x67, 0x56, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, |
| 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x73, 0x63, 0x68, |
| 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, |
| 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, |
| 0x56, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x4d, 0x65, |
| 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x18, |
| 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, |
| 0x56, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x4a, 0x6f, |
| 0x62, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x1a, 0xa5, 0x02, 0x0a, 0x0a, 0x53, 0x63, 0x68, 0x65, 0x64, |
| 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, |
| 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, |
| 0x79, 0x12, 0x51, 0x0a, 0x0a, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, |
| 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, |
| 0x56, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x53, 0x63, |
| 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, |
| 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, |
| 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, |
| 0x5f, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, |
| 0x09, 0x52, 0x12, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x6d, 0x65, 0x6e, |
| 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0a, 0x69, 0x6f, 0x5f, 0x74, 0x69, 0x6d, 0x65, |
| 0x6f, 0x75, 0x74, 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, 0x09, 0x69, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x1a, |
| 0x3d, 0x0a, 0x0f, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 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, 0x27, |
| 0x0a, 0x04, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, |
| 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x61, 0x6d, |
| 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x1a, 0xb2, 0x02, 0x0a, 0x03, 0x4a, 0x6f, 0x62, 0x12, |
| 0x39, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 0x21, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x31, 0x2e, 0x50, 0x61, 0x72, |
| 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x49, 0x6e, 0x70, 0x75, |
| 0x74, 0x73, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, |
| 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, |
| 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x35, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x03, 0x20, 0x03, 0x28, |
| 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x31, 0x2e, 0x50, |
| 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x45, 0x6e, |
| 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x1a, 0x67, 0x0a, 0x06, 0x49, |
| 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x33, 0x0a, 0x08, 0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x65, |
| 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, |
| 0x6e, 0x67, 0x56, 0x31, 0x2e, 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x66, |
| 0x52, 0x08, 0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x12, 0x28, 0x0a, 0x04, 0x63, 0x69, |
| 0x70, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d, |
| 0x69, 0x6e, 0x67, 0x56, 0x31, 0x2e, 0x43, 0x69, 0x70, 0x64, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, |
| 0x63, 0x69, 0x70, 0x64, 0x1a, 0x36, 0x0a, 0x08, 0x45, 0x6e, 0x76, 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, 0x40, 0x5a, 0x3e, |
| 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, |
| 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x64, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x74, |
| 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x2f, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, |
| 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x31, 0x62, 0x06, |
| 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDescOnce sync.Once |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDescData = file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDesc |
| ) |
| |
| func file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDescGZIP() []byte { |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDescOnce.Do(func() { |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDescData) |
| }) |
| return file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDescData |
| } |
| |
| var file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes = make([]protoimpl.MessageInfo, 7) |
| var file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_goTypes = []interface{}{ |
| (*Parameters)(nil), // 0: swarmingV1.Parameters |
| (*Parameters_Scheduling)(nil), // 1: swarmingV1.Parameters.Scheduling |
| (*Parameters_Meta)(nil), // 2: swarmingV1.Parameters.Meta |
| (*Parameters_Job)(nil), // 3: swarmingV1.Parameters.Job |
| nil, // 4: swarmingV1.Parameters.Scheduling.DimensionsEntry |
| (*Parameters_Job_Inputs)(nil), // 5: swarmingV1.Parameters.Job.Inputs |
| nil, // 6: swarmingV1.Parameters.Job.EnvEntry |
| (*durationpb.Duration)(nil), // 7: google.protobuf.Duration |
| (*IsolatedRef)(nil), // 8: swarmingV1.IsolatedRef |
| (*CipdSpec)(nil), // 9: swarmingV1.CipdSpec |
| } |
| var file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_depIdxs = []int32{ |
| 1, // 0: swarmingV1.Parameters.scheduling:type_name -> swarmingV1.Parameters.Scheduling |
| 2, // 1: swarmingV1.Parameters.meta:type_name -> swarmingV1.Parameters.Meta |
| 3, // 2: swarmingV1.Parameters.job:type_name -> swarmingV1.Parameters.Job |
| 4, // 3: swarmingV1.Parameters.Scheduling.dimensions:type_name -> swarmingV1.Parameters.Scheduling.DimensionsEntry |
| 7, // 4: swarmingV1.Parameters.Scheduling.io_timeout:type_name -> google.protobuf.Duration |
| 5, // 5: swarmingV1.Parameters.Job.inputs:type_name -> swarmingV1.Parameters.Job.Inputs |
| 6, // 6: swarmingV1.Parameters.Job.env:type_name -> swarmingV1.Parameters.Job.EnvEntry |
| 8, // 7: swarmingV1.Parameters.Job.Inputs.isolated:type_name -> swarmingV1.IsolatedRef |
| 9, // 8: swarmingV1.Parameters.Job.Inputs.cipd:type_name -> swarmingV1.CipdSpec |
| 9, // [9:9] is the sub-list for method output_type |
| 9, // [9:9] is the sub-list for method input_type |
| 9, // [9:9] is the sub-list for extension type_name |
| 9, // [9:9] is the sub-list for extension extendee |
| 0, // [0:9] is the sub-list for field type_name |
| } |
| |
| func init() { file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_init() } |
| func file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_init() { |
| if File_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto != nil { |
| return |
| } |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_cipd_proto_init() |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_isolate_ref_proto_init() |
| if !protoimpl.UnsafeEnabled { |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Parameters); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Parameters_Scheduling); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Parameters_Meta); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Parameters_Job); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Parameters_Job_Inputs); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 7, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_goTypes, |
| DependencyIndexes: file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_depIdxs, |
| MessageInfos: file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_msgTypes, |
| }.Build() |
| File_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto = out.File |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_rawDesc = nil |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_goTypes = nil |
| file_go_chromium_org_luci_dm_api_distributor_swarming_v1_params_proto_depIdxs = nil |
| } |