// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1 // protoc v3.6.1 // source: agent.proto package scalebox import ( empty "github.com/golang/protobuf/ptypes/empty" timestamp "github.com/golang/protobuf/ptypes/timestamp" wrappers "github.com/golang/protobuf/ptypes/wrappers" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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) ) type JobKey struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // qualified name of job JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"` KeyText string `protobuf:"bytes,2,opt,name=key_text,json=keyText,proto3" json:"key_text,omitempty"` SlotId int32 `protobuf:"varint,3,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"` // OR worker_id ? job_id ? } func (x *JobKey) Reset() { *x = JobKey{} if protoimpl.UnsafeEnabled { mi := &file_agent_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *JobKey) String() string { return protoimpl.X.MessageStringOf(x) } func (*JobKey) ProtoMessage() {} func (x *JobKey) ProtoReflect() protoreflect.Message { mi := &file_agent_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 JobKey.ProtoReflect.Descriptor instead. func (*JobKey) Descriptor() ([]byte, []int) { return file_agent_proto_rawDescGZIP(), []int{0} } func (x *JobKey) GetJobName() string { if x != nil { return x.JobName } return "" } func (x *JobKey) GetKeyText() string { if x != nil { return x.KeyText } return "" } func (x *JobKey) GetSlotId() int32 { if x != nil { return x.SlotId } return 0 } type JobKeys struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // qualified name of job NextJobName string `protobuf:"bytes,1,opt,name=next_job_name,json=nextJobName,proto3" json:"next_job_name,omitempty"` KeyTexts []string `protobuf:"bytes,2,rep,name=key_texts,json=keyTexts,proto3" json:"key_texts,omitempty"` CurrentJobId int32 `protobuf:"varint,3,opt,name=current_job_id,json=currentJobId,proto3" json:"current_job_id,omitempty"` // OR worker_id ? } func (x *JobKeys) Reset() { *x = JobKeys{} if protoimpl.UnsafeEnabled { mi := &file_agent_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *JobKeys) String() string { return protoimpl.X.MessageStringOf(x) } func (*JobKeys) ProtoMessage() {} func (x *JobKeys) ProtoReflect() protoreflect.Message { mi := &file_agent_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 JobKeys.ProtoReflect.Descriptor instead. func (*JobKeys) Descriptor() ([]byte, []int) { return file_agent_proto_rawDescGZIP(), []int{1} } func (x *JobKeys) GetNextJobName() string { if x != nil { return x.NextJobName } return "" } func (x *JobKeys) GetKeyTexts() []string { if x != nil { return x.KeyTexts } return nil } func (x *JobKeys) GetCurrentJobId() int32 { if x != nil { return x.CurrentJobId } return 0 } type TaskItem struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` } func (x *TaskItem) Reset() { *x = TaskItem{} if protoimpl.UnsafeEnabled { mi := &file_agent_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TaskItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*TaskItem) ProtoMessage() {} func (x *TaskItem) ProtoReflect() protoreflect.Message { mi := &file_agent_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 TaskItem.ProtoReflect.Descriptor instead. func (*TaskItem) Descriptor() ([]byte, []int) { return file_agent_proto_rawDescGZIP(), []int{2} } func (x *TaskItem) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *TaskItem) GetKey() string { if x != nil { return x.Key } return "" } type Command struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // primary key of slot/worker table Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` CommandText string `protobuf:"bytes,3,opt,name=command_text,json=commandText,proto3" json:"command_text,omitempty"` } func (x *Command) Reset() { *x = Command{} if protoimpl.UnsafeEnabled { mi := &file_agent_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Command) String() string { return protoimpl.X.MessageStringOf(x) } func (*Command) ProtoMessage() {} func (x *Command) ProtoReflect() protoreflect.Message { mi := &file_agent_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 Command.ProtoReflect.Descriptor instead. func (*Command) Descriptor() ([]byte, []int) { return file_agent_proto_rawDescGZIP(), []int{3} } func (x *Command) GetId() int32 { if x != nil { return x.Id } return 0 } func (x *Command) GetHost() string { if x != nil { return x.Host } return "" } func (x *Command) GetCommandText() string { if x != nil { return x.CommandText } return "" } type CommandList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Command []*Command `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"` } func (x *CommandList) Reset() { *x = CommandList{} if protoimpl.UnsafeEnabled { mi := &file_agent_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CommandList) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommandList) ProtoMessage() {} func (x *CommandList) ProtoReflect() protoreflect.Message { mi := &file_agent_proto_msgTypes[4] 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 CommandList.ProtoReflect.Descriptor instead. func (*CommandList) Descriptor() ([]byte, []int) { return file_agent_proto_rawDescGZIP(), []int{4} } func (x *CommandList) GetCommand() []*Command { if x != nil { return x.Command } return nil } type TaskExecMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Slot int32 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` StatusCode int32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` TaskId int64 `protobuf:"varint,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` InputBytes int64 `protobuf:"varint,4,opt,name=input_bytes,json=inputBytes,proto3" json:"input_bytes,omitempty"` OutputBytes int64 `protobuf:"varint,5,opt,name=output_bytes,json=outputBytes,proto3" json:"output_bytes,omitempty"` T0 *timestamp.Timestamp `protobuf:"bytes,6,opt,name=t0,proto3" json:"t0,omitempty"` T1 *timestamp.Timestamp `protobuf:"bytes,7,opt,name=t1,proto3" json:"t1,omitempty"` T2 *timestamp.Timestamp `protobuf:"bytes,8,opt,name=t2,proto3" json:"t2,omitempty"` T3 *timestamp.Timestamp `protobuf:"bytes,9,opt,name=t3,proto3" json:"t3,omitempty"` T4 *timestamp.Timestamp `protobuf:"bytes,10,opt,name=t4,proto3" json:"t4,omitempty"` TimeArr []*timestamp.Timestamp `protobuf:"bytes,11,rep,name=time_arr,json=timeArr,proto3" json:"time_arr,omitempty"` SysOut string `protobuf:"bytes,12,opt,name=sys_out,json=sysOut,proto3" json:"sys_out,omitempty"` AppOut string `protobuf:"bytes,13,opt,name=app_out,json=appOut,proto3" json:"app_out,omitempty"` } func (x *TaskExecMessage) Reset() { *x = TaskExecMessage{} if protoimpl.UnsafeEnabled { mi := &file_agent_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TaskExecMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*TaskExecMessage) ProtoMessage() {} func (x *TaskExecMessage) ProtoReflect() protoreflect.Message { mi := &file_agent_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 TaskExecMessage.ProtoReflect.Descriptor instead. func (*TaskExecMessage) Descriptor() ([]byte, []int) { return file_agent_proto_rawDescGZIP(), []int{5} } func (x *TaskExecMessage) GetSlot() int32 { if x != nil { return x.Slot } return 0 } func (x *TaskExecMessage) GetStatusCode() int32 { if x != nil { return x.StatusCode } return 0 } func (x *TaskExecMessage) GetTaskId() int64 { if x != nil { return x.TaskId } return 0 } func (x *TaskExecMessage) GetInputBytes() int64 { if x != nil { return x.InputBytes } return 0 } func (x *TaskExecMessage) GetOutputBytes() int64 { if x != nil { return x.OutputBytes } return 0 } func (x *TaskExecMessage) GetT0() *timestamp.Timestamp { if x != nil { return x.T0 } return nil } func (x *TaskExecMessage) GetT1() *timestamp.Timestamp { if x != nil { return x.T1 } return nil } func (x *TaskExecMessage) GetT2() *timestamp.Timestamp { if x != nil { return x.T2 } return nil } func (x *TaskExecMessage) GetT3() *timestamp.Timestamp { if x != nil { return x.T3 } return nil } func (x *TaskExecMessage) GetT4() *timestamp.Timestamp { if x != nil { return x.T4 } return nil } func (x *TaskExecMessage) GetTimeArr() []*timestamp.Timestamp { if x != nil { return x.TimeArr } return nil } func (x *TaskExecMessage) GetSysOut() string { if x != nil { return x.SysOut } return "" } func (x *TaskExecMessage) GetAppOut() string { if x != nil { return x.AppOut } return "" } var File_agent_proto protoreflect.FileDescriptor var file_agent_proto_rawDesc = []byte{ 0x0a, 0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x62, 0x6f, 0x78, 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, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x06, 0x4a, 0x6f, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x6a, 0x6f, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6a, 0x6f, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x54, 0x65, 0x78, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x6c, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x6c, 0x6f, 0x74, 0x49, 0x64, 0x22, 0x70, 0x0a, 0x07, 0x4a, 0x6f, 0x62, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x78, 0x74, 0x4a, 0x6f, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x54, 0x65, 0x78, 0x74, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x62, 0x49, 0x64, 0x22, 0x2c, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x50, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x54, 0x65, 0x78, 0x74, 0x22, 0x3a, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x62, 0x6f, 0x78, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xe8, 0x03, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x30, 0x18, 0x06, 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, 0x02, 0x74, 0x30, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x31, 0x18, 0x07, 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, 0x02, 0x74, 0x31, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x32, 0x18, 0x08, 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, 0x02, 0x74, 0x32, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x33, 0x18, 0x09, 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, 0x02, 0x74, 0x33, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x34, 0x18, 0x0a, 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, 0x02, 0x74, 0x34, 0x12, 0x35, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x61, 0x72, 0x72, 0x18, 0x0b, 0x20, 0x03, 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, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x41, 0x72, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x79, 0x73, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x73, 0x4f, 0x75, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70, 0x70, 0x4f, 0x75, 0x74, 0x32, 0x83, 0x07, 0x0a, 0x0a, 0x42, 0x6f, 0x78, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x12, 0x2e, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x62, 0x6f, 0x78, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x4a, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x49, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x19, 0x2e, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x62, 0x6f, 0x78, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4d, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x6c, 0x6f, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x15, 0x2e, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x62, 0x6f, 0x78, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x15, 0x2e, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x62, 0x6f, 0x78, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x48, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x15, 0x2e, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x62, 0x6f, 0x78, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x4e, 0x65, 0x78, 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x10, 0x2e, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x62, 0x6f, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x4b, 0x65, 0x79, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x12, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x54, 0x6f, 0x4e, 0x65, 0x78, 0x74, 0x12, 0x11, 0x2e, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x62, 0x6f, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x4b, 0x65, 0x79, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x21, 0x0a, 0x10, 0x63, 0x6e, 0x2e, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x62, 0x6f, 0x78, 0x2e, 0x67, 0x70, 0x72, 0x63, 0x50, 0x01, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x62, 0x6f, 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_agent_proto_rawDescOnce sync.Once file_agent_proto_rawDescData = file_agent_proto_rawDesc ) func file_agent_proto_rawDescGZIP() []byte { file_agent_proto_rawDescOnce.Do(func() { file_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_agent_proto_rawDescData) }) return file_agent_proto_rawDescData } var file_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_agent_proto_goTypes = []interface{}{ (*JobKey)(nil), // 0: scalebox.JobKey (*JobKeys)(nil), // 1: scalebox.JobKeys (*TaskItem)(nil), // 2: scalebox.TaskItem (*Command)(nil), // 3: scalebox.Command (*CommandList)(nil), // 4: scalebox.CommandList (*TaskExecMessage)(nil), // 5: scalebox.TaskExecMessage (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp (*wrappers.Int32Value)(nil), // 7: google.protobuf.Int32Value (*wrappers.Int64Value)(nil), // 8: google.protobuf.Int64Value (*empty.Empty)(nil), // 9: google.protobuf.Empty } var file_agent_proto_depIdxs = []int32{ 3, // 0: scalebox.CommandList.command:type_name -> scalebox.Command 6, // 1: scalebox.TaskExecMessage.t0:type_name -> google.protobuf.Timestamp 6, // 2: scalebox.TaskExecMessage.t1:type_name -> google.protobuf.Timestamp 6, // 3: scalebox.TaskExecMessage.t2:type_name -> google.protobuf.Timestamp 6, // 4: scalebox.TaskExecMessage.t3:type_name -> google.protobuf.Timestamp 6, // 5: scalebox.TaskExecMessage.t4:type_name -> google.protobuf.Timestamp 6, // 6: scalebox.TaskExecMessage.time_arr:type_name -> google.protobuf.Timestamp 7, // 7: scalebox.BoxService.GetNextTask:input_type -> google.protobuf.Int32Value 8, // 8: scalebox.BoxService.SetTaskStarted:input_type -> google.protobuf.Int64Value 5, // 9: scalebox.BoxService.SetTaskFinished:input_type -> scalebox.TaskExecMessage 7, // 10: scalebox.BoxService.SetSlotTerminated:input_type -> google.protobuf.Int32Value 9, // 11: scalebox.BoxService.GetRunnableSlotList:input_type -> google.protobuf.Empty 7, // 12: scalebox.BoxService.SetSlotInitialized:input_type -> google.protobuf.Int32Value 9, // 13: scalebox.BoxService.GetRunnableWorkerList:input_type -> google.protobuf.Empty 7, // 14: scalebox.BoxService.SetWorkerInitialized:input_type -> google.protobuf.Int32Value 9, // 15: scalebox.BoxService.GetTerminableWorkerList:input_type -> google.protobuf.Empty 7, // 16: scalebox.BoxService.SetWorkerTerminated:input_type -> google.protobuf.Int32Value 0, // 17: scalebox.BoxService.SendToNextJob:input_type -> scalebox.JobKey 1, // 18: scalebox.BoxService.SendMessagesToNext:input_type -> scalebox.JobKeys 2, // 19: scalebox.BoxService.GetNextTask:output_type -> scalebox.TaskItem 7, // 20: scalebox.BoxService.SetTaskStarted:output_type -> google.protobuf.Int32Value 7, // 21: scalebox.BoxService.SetTaskFinished:output_type -> google.protobuf.Int32Value 7, // 22: scalebox.BoxService.SetSlotTerminated:output_type -> google.protobuf.Int32Value 4, // 23: scalebox.BoxService.GetRunnableSlotList:output_type -> scalebox.CommandList 7, // 24: scalebox.BoxService.SetSlotInitialized:output_type -> google.protobuf.Int32Value 4, // 25: scalebox.BoxService.GetRunnableWorkerList:output_type -> scalebox.CommandList 7, // 26: scalebox.BoxService.SetWorkerInitialized:output_type -> google.protobuf.Int32Value 4, // 27: scalebox.BoxService.GetTerminableWorkerList:output_type -> scalebox.CommandList 7, // 28: scalebox.BoxService.SetWorkerTerminated:output_type -> google.protobuf.Int32Value 7, // 29: scalebox.BoxService.SendToNextJob:output_type -> google.protobuf.Int32Value 7, // 30: scalebox.BoxService.SendMessagesToNext:output_type -> google.protobuf.Int32Value 19, // [19:31] is the sub-list for method output_type 7, // [7:19] is the sub-list for method input_type 7, // [7:7] is the sub-list for extension type_name 7, // [7:7] is the sub-list for extension extendee 0, // [0:7] is the sub-list for field type_name } func init() { file_agent_proto_init() } func file_agent_proto_init() { if File_agent_proto != nil { return } if !protoimpl.UnsafeEnabled { file_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*JobKey); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*JobKeys); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TaskItem); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Command); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CommandList); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TaskExecMessage); 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_agent_proto_rawDesc, NumEnums: 0, NumMessages: 6, NumExtensions: 0, NumServices: 1, }, GoTypes: file_agent_proto_goTypes, DependencyIndexes: file_agent_proto_depIdxs, MessageInfos: file_agent_proto_msgTypes, }.Build() File_agent_proto = out.File file_agent_proto_rawDesc = nil file_agent_proto_goTypes = nil file_agent_proto_depIdxs = nil }