// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.35.1
// protoc v5.28.3
// source: coordinatorcontrol.proto
package proto
import (
shared "git.src.quest/~liljamo/emerwen-proto/go/proto/shared"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
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 WorkersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Workers []*shared.Worker `protobuf:"bytes,1,rep,name=workers,proto3" json:"workers,omitempty"`
}
func (x *WorkersResponse) Reset() {
*x = WorkersResponse{}
mi := &file_coordinatorcontrol_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WorkersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WorkersResponse) ProtoMessage() {}
func (x *WorkersResponse) ProtoReflect() protoreflect.Message {
mi := &file_coordinatorcontrol_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 WorkersResponse.ProtoReflect.Descriptor instead.
func (*WorkersResponse) Descriptor() ([]byte, []int) {
return file_coordinatorcontrol_proto_rawDescGZIP(), []int{0}
}
func (x *WorkersResponse) GetWorkers() []*shared.Worker {
if x != nil {
return x.Workers
}
return nil
}
type NewWorkerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *NewWorkerRequest) Reset() {
*x = NewWorkerRequest{}
mi := &file_coordinatorcontrol_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NewWorkerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NewWorkerRequest) ProtoMessage() {}
func (x *NewWorkerRequest) ProtoReflect() protoreflect.Message {
mi := &file_coordinatorcontrol_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 NewWorkerRequest.ProtoReflect.Descriptor instead.
func (*NewWorkerRequest) Descriptor() ([]byte, []int) {
return file_coordinatorcontrol_proto_rawDescGZIP(), []int{1}
}
func (x *NewWorkerRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type PatchWorkerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"`
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
}
func (x *PatchWorkerRequest) Reset() {
*x = PatchWorkerRequest{}
mi := &file_coordinatorcontrol_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PatchWorkerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PatchWorkerRequest) ProtoMessage() {}
func (x *PatchWorkerRequest) ProtoReflect() protoreflect.Message {
mi := &file_coordinatorcontrol_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 PatchWorkerRequest.ProtoReflect.Descriptor instead.
func (*PatchWorkerRequest) Descriptor() ([]byte, []int) {
return file_coordinatorcontrol_proto_rawDescGZIP(), []int{2}
}
func (x *PatchWorkerRequest) GetWorkerId() string {
if x != nil {
return x.WorkerId
}
return ""
}
func (x *PatchWorkerRequest) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
type DeleteWorkerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"`
}
func (x *DeleteWorkerRequest) Reset() {
*x = DeleteWorkerRequest{}
mi := &file_coordinatorcontrol_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteWorkerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteWorkerRequest) ProtoMessage() {}
func (x *DeleteWorkerRequest) ProtoReflect() protoreflect.Message {
mi := &file_coordinatorcontrol_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 DeleteWorkerRequest.ProtoReflect.Descriptor instead.
func (*DeleteWorkerRequest) Descriptor() ([]byte, []int) {
return file_coordinatorcontrol_proto_rawDescGZIP(), []int{3}
}
func (x *DeleteWorkerRequest) GetWorkerId() string {
if x != nil {
return x.WorkerId
}
return ""
}
type NewTargetRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
Interval int32 `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"`
Method shared.Method `protobuf:"varint,5,opt,name=method,proto3,enum=emerwen.shared.Method" json:"method,omitempty"`
OkCodes []int32 `protobuf:"varint,6,rep,packed,name=ok_codes,json=okCodes,proto3" json:"ok_codes,omitempty"`
}
func (x *NewTargetRequest) Reset() {
*x = NewTargetRequest{}
mi := &file_coordinatorcontrol_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NewTargetRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NewTargetRequest) ProtoMessage() {}
func (x *NewTargetRequest) ProtoReflect() protoreflect.Message {
mi := &file_coordinatorcontrol_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 NewTargetRequest.ProtoReflect.Descriptor instead.
func (*NewTargetRequest) Descriptor() ([]byte, []int) {
return file_coordinatorcontrol_proto_rawDescGZIP(), []int{4}
}
func (x *NewTargetRequest) GetWorkerId() string {
if x != nil {
return x.WorkerId
}
return ""
}
func (x *NewTargetRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *NewTargetRequest) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
func (x *NewTargetRequest) GetInterval() int32 {
if x != nil {
return x.Interval
}
return 0
}
func (x *NewTargetRequest) GetMethod() shared.Method {
if x != nil {
return x.Method
}
return shared.Method(0)
}
func (x *NewTargetRequest) GetOkCodes() []int32 {
if x != nil {
return x.OkCodes
}
return nil
}
type PatchTargetRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
Addr *string `protobuf:"bytes,3,opt,name=addr,proto3,oneof" json:"addr,omitempty"`
Interval *int32 `protobuf:"varint,4,opt,name=interval,proto3,oneof" json:"interval,omitempty"`
Method *shared.Method `protobuf:"varint,5,opt,name=method,proto3,enum=emerwen.shared.Method,oneof" json:"method,omitempty"`
OkCodes []int32 `protobuf:"varint,6,rep,packed,name=ok_codes,json=okCodes,proto3" json:"ok_codes,omitempty"`
}
func (x *PatchTargetRequest) Reset() {
*x = PatchTargetRequest{}
mi := &file_coordinatorcontrol_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PatchTargetRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PatchTargetRequest) ProtoMessage() {}
func (x *PatchTargetRequest) ProtoReflect() protoreflect.Message {
mi := &file_coordinatorcontrol_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 PatchTargetRequest.ProtoReflect.Descriptor instead.
func (*PatchTargetRequest) Descriptor() ([]byte, []int) {
return file_coordinatorcontrol_proto_rawDescGZIP(), []int{5}
}
func (x *PatchTargetRequest) GetTargetId() string {
if x != nil {
return x.TargetId
}
return ""
}
func (x *PatchTargetRequest) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *PatchTargetRequest) GetAddr() string {
if x != nil && x.Addr != nil {
return *x.Addr
}
return ""
}
func (x *PatchTargetRequest) GetInterval() int32 {
if x != nil && x.Interval != nil {
return *x.Interval
}
return 0
}
func (x *PatchTargetRequest) GetMethod() shared.Method {
if x != nil && x.Method != nil {
return *x.Method
}
return shared.Method(0)
}
func (x *PatchTargetRequest) GetOkCodes() []int32 {
if x != nil {
return x.OkCodes
}
return nil
}
type DeleteTargetRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
}
func (x *DeleteTargetRequest) Reset() {
*x = DeleteTargetRequest{}
mi := &file_coordinatorcontrol_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteTargetRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteTargetRequest) ProtoMessage() {}
func (x *DeleteTargetRequest) ProtoReflect() protoreflect.Message {
mi := &file_coordinatorcontrol_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 DeleteTargetRequest.ProtoReflect.Descriptor instead.
func (*DeleteTargetRequest) Descriptor() ([]byte, []int) {
return file_coordinatorcontrol_proto_rawDescGZIP(), []int{6}
}
func (x *DeleteTargetRequest) GetTargetId() string {
if x != nil {
return x.TargetId
}
return ""
}
var File_coordinatorcontrol_proto protoreflect.FileDescriptor
var file_coordinatorcontrol_proto_rawDesc = []byte{
0x0a, 0x18, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x63, 0x6f, 0x6e,
0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x65, 0x6d, 0x65, 0x72,
0x77, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x63,
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 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, 0x13, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x74, 0x61, 0x72, 0x67,
0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64,
0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a,
0x0f, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x30, 0x0a, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6d, 0x65, 0x72, 0x77, 0x65, 0x6e, 0x2e, 0x73, 0x68, 0x61, 0x72,
0x65, 0x64, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x65,
0x72, 0x73, 0x22, 0x26, 0x0a, 0x10, 0x4e, 0x65, 0x77, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x53, 0x0a, 0x12, 0x50, 0x61,
0x74, 0x63, 0x68, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x1b, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a,
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e,
0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22,
0x32, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72,
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x65,
0x72, 0x49, 0x64, 0x22, 0xbe, 0x01, 0x0a, 0x10, 0x4e, 0x65, 0x77, 0x54, 0x61, 0x72, 0x67, 0x65,
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b,
0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72,
0x6b, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64,
0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x1a, 0x0a,
0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x2e, 0x0a, 0x06, 0x6d, 0x65, 0x74,
0x68, 0x6f, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x65, 0x6d, 0x65, 0x72,
0x77, 0x65, 0x6e, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f,
0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6b, 0x5f,
0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x6b, 0x43,
0x6f, 0x64, 0x65, 0x73, 0x22, 0xfe, 0x01, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x63, 0x68, 0x54, 0x61,
0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74,
0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01,
0x01, 0x12, 0x17, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48,
0x01, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x69, 0x6e,
0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x48, 0x02, 0x52, 0x08,
0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, 0x06, 0x6d,
0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x65, 0x6d,
0x65, 0x72, 0x77, 0x65, 0x6e, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x4d, 0x65, 0x74,
0x68, 0x6f, 0x64, 0x48, 0x03, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x88, 0x01, 0x01,
0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6b, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03,
0x28, 0x05, 0x52, 0x07, 0x6f, 0x6b, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f,
0x6e, 0x61, 0x6d, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x42, 0x0b, 0x0a,
0x09, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6d,
0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54,
0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09,
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x32, 0xf4, 0x04, 0x0a, 0x19, 0x43, 0x6f,
0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x51, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x57, 0x6f,
0x72, 0x6b, 0x65, 0x72, 0x73, 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, 0x2b, 0x2e,
0x65, 0x6d, 0x65, 0x72, 0x77, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61,
0x74, 0x6f, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65,
0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x09, 0x4e, 0x65,
0x77, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x65, 0x6d, 0x65, 0x72, 0x77, 0x65,
0x6e, 0x2e, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x63, 0x6f, 0x6e,
0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, 0x65, 0x77, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x55, 0x0a,
0x0b, 0x50, 0x61, 0x74, 0x63, 0x68, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x2e, 0x2e, 0x65,
0x6d, 0x65, 0x72, 0x77, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74,
0x6f, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x57,
0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,
0x6d, 0x70, 0x74, 0x79, 0x12, 0x57, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61,
0x72, 0x67, 0x65, 0x74, 0x12, 0x2f, 0x2e, 0x65, 0x6d, 0x65, 0x72, 0x77, 0x65, 0x6e, 0x2e, 0x63,
0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x51, 0x0a,
0x09, 0x4e, 0x65, 0x77, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x2c, 0x2e, 0x65, 0x6d, 0x65,
0x72, 0x77, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72,
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, 0x65, 0x77, 0x54, 0x61, 0x72, 0x67, 0x65,
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
0x12, 0x55, 0x0a, 0x0b, 0x50, 0x61, 0x74, 0x63, 0x68, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12,
0x2e, 0x2e, 0x65, 0x6d, 0x65, 0x72, 0x77, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69,
0x6e, 0x61, 0x74, 0x6f, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x74,
0x63, 0x68, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x57, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74,
0x65, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x65, 0x6d, 0x65, 0x72, 0x77, 0x65,
0x6e, 0x2e, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x63, 0x6f, 0x6e,
0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x65,
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x2e, 0x73, 0x72, 0x63, 0x2e, 0x71, 0x75, 0x65, 0x73,
0x74, 0x2f, 0x7e, 0x6c, 0x69, 0x6c, 0x6a, 0x61, 0x6d, 0x6f, 0x2f, 0x65, 0x6d, 0x65, 0x72, 0x77,
0x65, 0x6e, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_coordinatorcontrol_proto_rawDescOnce sync.Once
file_coordinatorcontrol_proto_rawDescData = file_coordinatorcontrol_proto_rawDesc
)
func file_coordinatorcontrol_proto_rawDescGZIP() []byte {
file_coordinatorcontrol_proto_rawDescOnce.Do(func() {
file_coordinatorcontrol_proto_rawDescData = protoimpl.X.CompressGZIP(file_coordinatorcontrol_proto_rawDescData)
})
return file_coordinatorcontrol_proto_rawDescData
}
var file_coordinatorcontrol_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_coordinatorcontrol_proto_goTypes = []any{
(*WorkersResponse)(nil), // 0: emerwen.coordinatorcontrol.WorkersResponse
(*NewWorkerRequest)(nil), // 1: emerwen.coordinatorcontrol.NewWorkerRequest
(*PatchWorkerRequest)(nil), // 2: emerwen.coordinatorcontrol.PatchWorkerRequest
(*DeleteWorkerRequest)(nil), // 3: emerwen.coordinatorcontrol.DeleteWorkerRequest
(*NewTargetRequest)(nil), // 4: emerwen.coordinatorcontrol.NewTargetRequest
(*PatchTargetRequest)(nil), // 5: emerwen.coordinatorcontrol.PatchTargetRequest
(*DeleteTargetRequest)(nil), // 6: emerwen.coordinatorcontrol.DeleteTargetRequest
(*shared.Worker)(nil), // 7: emerwen.shared.Worker
(shared.Method)(0), // 8: emerwen.shared.Method
(*emptypb.Empty)(nil), // 9: google.protobuf.Empty
}
var file_coordinatorcontrol_proto_depIdxs = []int32{
7, // 0: emerwen.coordinatorcontrol.WorkersResponse.workers:type_name -> emerwen.shared.Worker
8, // 1: emerwen.coordinatorcontrol.NewTargetRequest.method:type_name -> emerwen.shared.Method
8, // 2: emerwen.coordinatorcontrol.PatchTargetRequest.method:type_name -> emerwen.shared.Method
9, // 3: emerwen.coordinatorcontrol.CoordinatorControlService.GetWorkers:input_type -> google.protobuf.Empty
1, // 4: emerwen.coordinatorcontrol.CoordinatorControlService.NewWorker:input_type -> emerwen.coordinatorcontrol.NewWorkerRequest
2, // 5: emerwen.coordinatorcontrol.CoordinatorControlService.PatchWorker:input_type -> emerwen.coordinatorcontrol.PatchWorkerRequest
6, // 6: emerwen.coordinatorcontrol.CoordinatorControlService.DeleteTarget:input_type -> emerwen.coordinatorcontrol.DeleteTargetRequest
4, // 7: emerwen.coordinatorcontrol.CoordinatorControlService.NewTarget:input_type -> emerwen.coordinatorcontrol.NewTargetRequest
5, // 8: emerwen.coordinatorcontrol.CoordinatorControlService.PatchTarget:input_type -> emerwen.coordinatorcontrol.PatchTargetRequest
3, // 9: emerwen.coordinatorcontrol.CoordinatorControlService.DeleteWorker:input_type -> emerwen.coordinatorcontrol.DeleteWorkerRequest
0, // 10: emerwen.coordinatorcontrol.CoordinatorControlService.GetWorkers:output_type -> emerwen.coordinatorcontrol.WorkersResponse
9, // 11: emerwen.coordinatorcontrol.CoordinatorControlService.NewWorker:output_type -> google.protobuf.Empty
9, // 12: emerwen.coordinatorcontrol.CoordinatorControlService.PatchWorker:output_type -> google.protobuf.Empty
9, // 13: emerwen.coordinatorcontrol.CoordinatorControlService.DeleteTarget:output_type -> google.protobuf.Empty
9, // 14: emerwen.coordinatorcontrol.CoordinatorControlService.NewTarget:output_type -> google.protobuf.Empty
9, // 15: emerwen.coordinatorcontrol.CoordinatorControlService.PatchTarget:output_type -> google.protobuf.Empty
9, // 16: emerwen.coordinatorcontrol.CoordinatorControlService.DeleteWorker:output_type -> google.protobuf.Empty
10, // [10:17] is the sub-list for method output_type
3, // [3:10] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_coordinatorcontrol_proto_init() }
func file_coordinatorcontrol_proto_init() {
if File_coordinatorcontrol_proto != nil {
return
}
file_coordinatorcontrol_proto_msgTypes[2].OneofWrappers = []any{}
file_coordinatorcontrol_proto_msgTypes[5].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_coordinatorcontrol_proto_rawDesc,
NumEnums: 0,
NumMessages: 7,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_coordinatorcontrol_proto_goTypes,
DependencyIndexes: file_coordinatorcontrol_proto_depIdxs,
MessageInfos: file_coordinatorcontrol_proto_msgTypes,
}.Build()
File_coordinatorcontrol_proto = out.File
file_coordinatorcontrol_proto_rawDesc = nil
file_coordinatorcontrol_proto_goTypes = nil
file_coordinatorcontrol_proto_depIdxs = nil
}