From 9b0851bc2f00f11e8a109189e7aad96096c2e142 Mon Sep 17 00:00:00 2001 From: Mayhhara F Lilian <69424067+mflilian@users.noreply.github.com> Date: Fri, 15 Jul 2022 15:13:20 -0300 Subject: [PATCH] AddRooms req/res and RemoveRooms req/res should be removed (#494) * deletes remove/add-rooms-res/req operation from proto * runs make generate * deletes addroom/removeroom from scheduler files --- .../core/ports/mock/scheduler_ports_mock.go | 30 - internal/core/ports/scheduler_ports.go | 2 - .../scheduler_manager/scheduler_manager.go | 36 - .../scheduler_manager_test.go | 110 --- pkg/api/v1/schedulers.pb.go | 880 ++++++------------ proto/api/v1/schedulers.proto | 28 - 6 files changed, 298 insertions(+), 788 deletions(-) diff --git a/internal/core/ports/mock/scheduler_ports_mock.go b/internal/core/ports/mock/scheduler_ports_mock.go index 4d6e3f533..abc543a83 100644 --- a/internal/core/ports/mock/scheduler_ports_mock.go +++ b/internal/core/ports/mock/scheduler_ports_mock.go @@ -39,21 +39,6 @@ func (m *MockSchedulerManager) EXPECT() *MockSchedulerManagerMockRecorder { return m.recorder } -// AddRooms mocks base method. -func (m *MockSchedulerManager) AddRooms(ctx context.Context, schedulerName string, amount int32) (*operation.Operation, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "AddRooms", ctx, schedulerName, amount) - ret0, _ := ret[0].(*operation.Operation) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// AddRooms indicates an expected call of AddRooms. -func (mr *MockSchedulerManagerMockRecorder) AddRooms(ctx, schedulerName, amount interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddRooms", reflect.TypeOf((*MockSchedulerManager)(nil).AddRooms), ctx, schedulerName, amount) -} - // CreateNewSchedulerVersion mocks base method. func (m *MockSchedulerManager) CreateNewSchedulerVersion(ctx context.Context, scheduler *entities.Scheduler) error { m.ctrl.T.Helper() @@ -262,21 +247,6 @@ func (mr *MockSchedulerManagerMockRecorder) PatchSchedulerAndCreateNewSchedulerV return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchSchedulerAndCreateNewSchedulerVersionOperation", reflect.TypeOf((*MockSchedulerManager)(nil).PatchSchedulerAndCreateNewSchedulerVersionOperation), ctx, schedulerName, patchMap) } -// RemoveRooms mocks base method. -func (m *MockSchedulerManager) RemoveRooms(ctx context.Context, schedulerName string, amount int) (*operation.Operation, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "RemoveRooms", ctx, schedulerName, amount) - ret0, _ := ret[0].(*operation.Operation) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// RemoveRooms indicates an expected call of RemoveRooms. -func (mr *MockSchedulerManagerMockRecorder) RemoveRooms(ctx, schedulerName, amount interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveRooms", reflect.TypeOf((*MockSchedulerManager)(nil).RemoveRooms), ctx, schedulerName, amount) -} - // UpdateScheduler mocks base method. func (m *MockSchedulerManager) UpdateScheduler(ctx context.Context, scheduler *entities.Scheduler) error { m.ctrl.T.Helper() diff --git a/internal/core/ports/scheduler_ports.go b/internal/core/ports/scheduler_ports.go index 88e5f3098..30a683c31 100644 --- a/internal/core/ports/scheduler_ports.go +++ b/internal/core/ports/scheduler_ports.go @@ -45,8 +45,6 @@ type SchedulerManager interface { GetSchedulerVersions(ctx context.Context, schedulerName string) ([]*entities.SchedulerVersion, error) DeleteScheduler(ctx context.Context, schedulerName string) error PatchSchedulerAndCreateNewSchedulerVersionOperation(ctx context.Context, schedulerName string, patchMap map[string]interface{}) (*operation.Operation, error) - AddRooms(ctx context.Context, schedulerName string, amount int32) (*operation.Operation, error) - RemoveRooms(ctx context.Context, schedulerName string, amount int) (*operation.Operation, error) GetSchedulersWithFilter(ctx context.Context, schedulerFilter *filters.SchedulerFilter) ([]*entities.Scheduler, error) GetScheduler(ctx context.Context, schedulerName, version string) (*entities.Scheduler, error) EnqueueNewSchedulerVersionOperation(ctx context.Context, scheduler *entities.Scheduler) (*operation.Operation, error) diff --git a/internal/core/services/scheduler_manager/scheduler_manager.go b/internal/core/services/scheduler_manager/scheduler_manager.go index 20e2e3531..f71e33df8 100644 --- a/internal/core/services/scheduler_manager/scheduler_manager.go +++ b/internal/core/services/scheduler_manager/scheduler_manager.go @@ -38,9 +38,7 @@ import ( "github.com/topfreegames/maestro/internal/core/entities" "github.com/topfreegames/maestro/internal/core/entities/operation" "github.com/topfreegames/maestro/internal/core/filters" - "github.com/topfreegames/maestro/internal/core/operations/add_rooms" "github.com/topfreegames/maestro/internal/core/operations/create_scheduler" - "github.com/topfreegames/maestro/internal/core/operations/remove_rooms" "github.com/topfreegames/maestro/internal/core/ports" portsErrors "github.com/topfreegames/maestro/internal/core/ports/errors" "go.uber.org/zap" @@ -190,40 +188,6 @@ func (s *SchedulerManager) GetSchedulerVersions(ctx context.Context, schedulerNa return s.schedulerStorage.GetSchedulerVersions(ctx, schedulerName) } -func (s *SchedulerManager) AddRooms(ctx context.Context, schedulerName string, amount int32) (*operation.Operation, error) { - - _, err := s.schedulerStorage.GetScheduler(ctx, schedulerName) - if err != nil { - return nil, fmt.Errorf("no scheduler found to add rooms on it: %w", err) - } - - op, err := s.operationManager.CreateOperation(ctx, schedulerName, &add_rooms.AddRoomsDefinition{ - Amount: amount, - }) - if err != nil { - return nil, fmt.Errorf("not able to schedule the 'add rooms' operation: %w", err) - } - - return op, nil -} - -func (s *SchedulerManager) RemoveRooms(ctx context.Context, schedulerName string, amount int) (*operation.Operation, error) { - - _, err := s.schedulerStorage.GetScheduler(ctx, schedulerName) - if err != nil { - return nil, fmt.Errorf("no scheduler found for removing rooms: %w", err) - } - - op, err := s.operationManager.CreateOperation(ctx, schedulerName, &remove_rooms.RemoveRoomsDefinition{ - Amount: amount, - }) - if err != nil { - return nil, fmt.Errorf("not able to schedule the 'remove rooms' operation: %w", err) - } - - return op, nil -} - func (s *SchedulerManager) EnqueueNewSchedulerVersionOperation(ctx context.Context, scheduler *entities.Scheduler) (*operation.Operation, error) { currentScheduler, err := s.schedulerStorage.GetScheduler(ctx, scheduler.Name) if err != nil { diff --git a/internal/core/services/scheduler_manager/scheduler_manager_test.go b/internal/core/services/scheduler_manager/scheduler_manager_test.go index 9855e8fee..633835c0a 100644 --- a/internal/core/services/scheduler_manager/scheduler_manager_test.go +++ b/internal/core/services/scheduler_manager/scheduler_manager_test.go @@ -157,116 +157,6 @@ func TestCreateNewSchedulerVersion(t *testing.T) { } -func TestAddRooms(t *testing.T) { - schedulerName := "scheduler-name-1" - mockCtrl := gomock.NewController(t) - - t.Run("with success", func(t *testing.T) { - - ctx := context.Background() - - schedulerStorage := mockports.NewMockSchedulerStorage(mockCtrl) - operationManager := mock.NewMockOperationManager(mockCtrl) - roomStorage := mockports.NewMockRoomStorage(mockCtrl) - schedulerCache := mockports.NewMockSchedulerCache(mockCtrl) - schedulerManager := NewSchedulerManager(schedulerStorage, schedulerCache, operationManager, roomStorage) - - operationManager.EXPECT().CreateOperation(ctx, schedulerName, gomock.Any()).Return(&operation.Operation{}, nil) - - schedulerStorage.EXPECT().GetScheduler(ctx, schedulerName).Return(nil, nil) - - op, err := schedulerManager.AddRooms(ctx, schedulerName, 10) - require.NoError(t, err) - require.NotNil(t, op) - require.NotNil(t, op.ID) - }) - - t.Run("fails when scheduler does not exists", func(t *testing.T) { - ctx := context.Background() - schedulerStorage := mockports.NewMockSchedulerStorage(mockCtrl) - schedulerManager := NewSchedulerManager(schedulerStorage, nil, nil, nil) - - schedulerStorage.EXPECT().GetScheduler(ctx, schedulerName).Return(nil, errors.NewErrNotFound("err")) - - op, err := schedulerManager.AddRooms(ctx, schedulerName, 10) - require.Nil(t, op) - require.ErrorIs(t, err, errors.ErrNotFound) - require.Contains(t, err.Error(), "no scheduler found to add rooms on it: err") - }) - - t.Run("fails when operation enqueue fails", func(t *testing.T) { - ctx := context.Background() - schedulerStorage := mockports.NewMockSchedulerStorage(mockCtrl) - operationManager := mock.NewMockOperationManager(mockCtrl) - roomStorage := mockports.NewMockRoomStorage(mockCtrl) - schedulerCache := mockports.NewMockSchedulerCache(mockCtrl) - schedulerManager := NewSchedulerManager(schedulerStorage, schedulerCache, operationManager, roomStorage) - - schedulerStorage.EXPECT().GetScheduler(ctx, schedulerName).Return(nil, nil) - operationManager.EXPECT().CreateOperation(ctx, schedulerName, gomock.Any()).Return(nil, errors.NewErrUnexpected("storage offline")) - - op, err := schedulerManager.AddRooms(ctx, schedulerName, 10) - require.Nil(t, op) - require.ErrorIs(t, err, errors.ErrUnexpected) - require.Contains(t, err.Error(), "not able to schedule the 'add rooms' operation: storage offline") - }) -} - -func TestRemoveRooms(t *testing.T) { - mockCtrl := gomock.NewController(t) - - schedulerName := "scheduler-name-1" - - t.Run("with success", func(t *testing.T) { - - ctx := context.Background() - schedulerStorage := mockports.NewMockSchedulerStorage(mockCtrl) - operationManager := mock.NewMockOperationManager(mockCtrl) - roomStorage := mockports.NewMockRoomStorage(mockCtrl) - schedulerCache := mockports.NewMockSchedulerCache(mockCtrl) - schedulerManager := NewSchedulerManager(schedulerStorage, schedulerCache, operationManager, roomStorage) - - operationManager.EXPECT().CreateOperation(ctx, schedulerName, gomock.Any()).Return(&operation.Operation{}, nil) - schedulerStorage.EXPECT().GetScheduler(ctx, schedulerName).Return(nil, nil) - - op, err := schedulerManager.RemoveRooms(ctx, schedulerName, 10) - require.NoError(t, err) - require.NotNil(t, op) - require.NotNil(t, op.ID) - }) - - t.Run("fails when scheduler does not exists", func(t *testing.T) { - ctx := context.Background() - schedulerStorage := mockports.NewMockSchedulerStorage(mockCtrl) - roomStorage := mockports.NewMockRoomStorage(mockCtrl) - schedulerManager := NewSchedulerManager(schedulerStorage, nil, nil, roomStorage) - - schedulerStorage.EXPECT().GetScheduler(ctx, schedulerName).Return(nil, errors.NewErrNotFound("err")) - - op, err := schedulerManager.RemoveRooms(ctx, schedulerName, 10) - require.Nil(t, op) - require.ErrorIs(t, err, errors.ErrNotFound) - require.Contains(t, err.Error(), "no scheduler found for removing rooms: err") - }) - - t.Run("fails when operation enqueue fails", func(t *testing.T) { - ctx := context.Background() - schedulerStorage := mockports.NewMockSchedulerStorage(mockCtrl) - operationManager := mock.NewMockOperationManager(mockCtrl) - roomStorage := mockports.NewMockRoomStorage(mockCtrl) - schedulerCache := mockports.NewMockSchedulerCache(mockCtrl) - schedulerManager := NewSchedulerManager(schedulerStorage, schedulerCache, operationManager, roomStorage) - - schedulerStorage.EXPECT().GetScheduler(ctx, schedulerName).Return(nil, nil) - operationManager.EXPECT().CreateOperation(ctx, schedulerName, gomock.Any()).Return(nil, errors.NewErrUnexpected("storage offline")) - - op, err := schedulerManager.RemoveRooms(ctx, schedulerName, 10) - require.Nil(t, op) - require.ErrorIs(t, err, errors.ErrUnexpected) - require.Contains(t, err.Error(), "not able to schedule the 'remove rooms' operation: storage offline") - }) -} - func TestEnqueueNewSchedulerVersionOperation(t *testing.T) { mockCtrl := gomock.NewController(t) diff --git a/pkg/api/v1/schedulers.pb.go b/pkg/api/v1/schedulers.pb.go index bf7dcce7c..6a80ed5e8 100644 --- a/pkg/api/v1/schedulers.pb.go +++ b/pkg/api/v1/schedulers.pb.go @@ -299,220 +299,6 @@ func (x *CreateSchedulerRequest) GetForwarders() []*Forwarder { return nil } -// Add rooms operation request payload + path parameters. -type AddRoomsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Scheduler name where the rooms will be added. - SchedulerName string `protobuf:"bytes,1,opt,name=scheduler_name,json=schedulerName,proto3" json:"scheduler_name,omitempty"` - // Amount of rooms to be added. - Amount int32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` -} - -func (x *AddRoomsRequest) Reset() { - *x = AddRoomsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddRoomsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddRoomsRequest) ProtoMessage() {} - -func (x *AddRoomsRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_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 AddRoomsRequest.ProtoReflect.Descriptor instead. -func (*AddRoomsRequest) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{4} -} - -func (x *AddRoomsRequest) GetSchedulerName() string { - if x != nil { - return x.SchedulerName - } - return "" -} - -func (x *AddRoomsRequest) GetAmount() int32 { - if x != nil { - return x.Amount - } - return 0 -} - -// Add rooms operation response payload, empty. -type AddRoomsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Add rooms operation ID, further this id will be used to consult its state. - OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` -} - -func (x *AddRoomsResponse) Reset() { - *x = AddRoomsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddRoomsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddRoomsResponse) ProtoMessage() {} - -func (x *AddRoomsResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_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 AddRoomsResponse.ProtoReflect.Descriptor instead. -func (*AddRoomsResponse) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{5} -} - -func (x *AddRoomsResponse) GetOperationId() string { - if x != nil { - return x.OperationId - } - return "" -} - -// Remove rooms operation request payload + path parameters. -type RemoveRoomsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Scheduler name from which the rooms will be removed. - SchedulerName string `protobuf:"bytes,1,opt,name=scheduler_name,json=schedulerName,proto3" json:"scheduler_name,omitempty"` - // Amount of rooms to be removed. - Amount int32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` -} - -func (x *RemoveRoomsRequest) Reset() { - *x = RemoveRoomsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveRoomsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveRoomsRequest) ProtoMessage() {} - -func (x *RemoveRoomsRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[6] - 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 RemoveRoomsRequest.ProtoReflect.Descriptor instead. -func (*RemoveRoomsRequest) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{6} -} - -func (x *RemoveRoomsRequest) GetSchedulerName() string { - if x != nil { - return x.SchedulerName - } - return "" -} - -func (x *RemoveRoomsRequest) GetAmount() int32 { - if x != nil { - return x.Amount - } - return 0 -} - -// Remove rooms operation response payload. -type RemoveRoomsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Remove rooms operation ID, further this id can be used to consult its state. - OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` -} - -func (x *RemoveRoomsResponse) Reset() { - *x = RemoveRoomsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveRoomsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveRoomsResponse) ProtoMessage() {} - -func (x *RemoveRoomsResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[7] - 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 RemoveRoomsResponse.ProtoReflect.Descriptor instead. -func (*RemoveRoomsResponse) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{7} -} - -func (x *RemoveRoomsResponse) GetOperationId() string { - if x != nil { - return x.OperationId - } - return "" -} - // Get Scheduler operation request type GetSchedulerRequest struct { state protoimpl.MessageState @@ -528,7 +314,7 @@ type GetSchedulerRequest struct { func (x *GetSchedulerRequest) Reset() { *x = GetSchedulerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[8] + mi := &file_api_v1_schedulers_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -541,7 +327,7 @@ func (x *GetSchedulerRequest) String() string { func (*GetSchedulerRequest) ProtoMessage() {} func (x *GetSchedulerRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[8] + mi := &file_api_v1_schedulers_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -554,7 +340,7 @@ func (x *GetSchedulerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchedulerRequest.ProtoReflect.Descriptor instead. func (*GetSchedulerRequest) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{8} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{4} } func (x *GetSchedulerRequest) GetSchedulerName() string { @@ -584,7 +370,7 @@ type GetSchedulerResponse struct { func (x *GetSchedulerResponse) Reset() { *x = GetSchedulerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[9] + mi := &file_api_v1_schedulers_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -597,7 +383,7 @@ func (x *GetSchedulerResponse) String() string { func (*GetSchedulerResponse) ProtoMessage() {} func (x *GetSchedulerResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[9] + mi := &file_api_v1_schedulers_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -610,7 +396,7 @@ func (x *GetSchedulerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchedulerResponse.ProtoReflect.Descriptor instead. func (*GetSchedulerResponse) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{9} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{5} } func (x *GetSchedulerResponse) GetScheduler() *Scheduler { @@ -647,7 +433,7 @@ type NewSchedulerVersionRequest struct { func (x *NewSchedulerVersionRequest) Reset() { *x = NewSchedulerVersionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[10] + mi := &file_api_v1_schedulers_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -660,7 +446,7 @@ func (x *NewSchedulerVersionRequest) String() string { func (*NewSchedulerVersionRequest) ProtoMessage() {} func (x *NewSchedulerVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[10] + mi := &file_api_v1_schedulers_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -673,7 +459,7 @@ func (x *NewSchedulerVersionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NewSchedulerVersionRequest.ProtoReflect.Descriptor instead. func (*NewSchedulerVersionRequest) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{10} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{6} } func (x *NewSchedulerVersionRequest) GetName() string { @@ -745,7 +531,7 @@ type NewSchedulerVersionResponse struct { func (x *NewSchedulerVersionResponse) Reset() { *x = NewSchedulerVersionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[11] + mi := &file_api_v1_schedulers_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -758,7 +544,7 @@ func (x *NewSchedulerVersionResponse) String() string { func (*NewSchedulerVersionResponse) ProtoMessage() {} func (x *NewSchedulerVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[11] + mi := &file_api_v1_schedulers_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -771,7 +557,7 @@ func (x *NewSchedulerVersionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NewSchedulerVersionResponse.ProtoReflect.Descriptor instead. func (*NewSchedulerVersionResponse) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{11} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{7} } func (x *NewSchedulerVersionResponse) GetOperationId() string { @@ -806,7 +592,7 @@ type PatchSchedulerRequest struct { func (x *PatchSchedulerRequest) Reset() { *x = PatchSchedulerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[12] + mi := &file_api_v1_schedulers_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -819,7 +605,7 @@ func (x *PatchSchedulerRequest) String() string { func (*PatchSchedulerRequest) ProtoMessage() {} func (x *PatchSchedulerRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[12] + mi := &file_api_v1_schedulers_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -832,7 +618,7 @@ func (x *PatchSchedulerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PatchSchedulerRequest.ProtoReflect.Descriptor instead. func (*PatchSchedulerRequest) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{12} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{8} } func (x *PatchSchedulerRequest) GetName() string { @@ -897,7 +683,7 @@ type PatchSchedulerResponse struct { func (x *PatchSchedulerResponse) Reset() { *x = PatchSchedulerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[13] + mi := &file_api_v1_schedulers_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -910,7 +696,7 @@ func (x *PatchSchedulerResponse) String() string { func (*PatchSchedulerResponse) ProtoMessage() {} func (x *PatchSchedulerResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[13] + mi := &file_api_v1_schedulers_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -923,7 +709,7 @@ func (x *PatchSchedulerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PatchSchedulerResponse.ProtoReflect.Descriptor instead. func (*PatchSchedulerResponse) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{13} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{9} } func (x *PatchSchedulerResponse) GetOperationId() string { @@ -946,7 +732,7 @@ type GetSchedulerVersionsRequest struct { func (x *GetSchedulerVersionsRequest) Reset() { *x = GetSchedulerVersionsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[14] + mi := &file_api_v1_schedulers_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -959,7 +745,7 @@ func (x *GetSchedulerVersionsRequest) String() string { func (*GetSchedulerVersionsRequest) ProtoMessage() {} func (x *GetSchedulerVersionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[14] + mi := &file_api_v1_schedulers_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -972,7 +758,7 @@ func (x *GetSchedulerVersionsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchedulerVersionsRequest.ProtoReflect.Descriptor instead. func (*GetSchedulerVersionsRequest) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{14} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{10} } func (x *GetSchedulerVersionsRequest) GetSchedulerName() string { @@ -995,7 +781,7 @@ type GetSchedulerVersionsResponse struct { func (x *GetSchedulerVersionsResponse) Reset() { *x = GetSchedulerVersionsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[15] + mi := &file_api_v1_schedulers_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1008,7 +794,7 @@ func (x *GetSchedulerVersionsResponse) String() string { func (*GetSchedulerVersionsResponse) ProtoMessage() {} func (x *GetSchedulerVersionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[15] + mi := &file_api_v1_schedulers_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1021,7 +807,7 @@ func (x *GetSchedulerVersionsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchedulerVersionsResponse.ProtoReflect.Descriptor instead. func (*GetSchedulerVersionsResponse) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{15} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{11} } func (x *GetSchedulerVersionsResponse) GetVersions() []*SchedulerVersion { @@ -1046,7 +832,7 @@ type SwitchActiveVersionRequest struct { func (x *SwitchActiveVersionRequest) Reset() { *x = SwitchActiveVersionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[16] + mi := &file_api_v1_schedulers_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1059,7 +845,7 @@ func (x *SwitchActiveVersionRequest) String() string { func (*SwitchActiveVersionRequest) ProtoMessage() {} func (x *SwitchActiveVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[16] + mi := &file_api_v1_schedulers_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1072,7 +858,7 @@ func (x *SwitchActiveVersionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SwitchActiveVersionRequest.ProtoReflect.Descriptor instead. func (*SwitchActiveVersionRequest) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{16} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{12} } func (x *SwitchActiveVersionRequest) GetSchedulerName() string { @@ -1102,7 +888,7 @@ type SwitchActiveVersionResponse struct { func (x *SwitchActiveVersionResponse) Reset() { *x = SwitchActiveVersionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[17] + mi := &file_api_v1_schedulers_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1115,7 +901,7 @@ func (x *SwitchActiveVersionResponse) String() string { func (*SwitchActiveVersionResponse) ProtoMessage() {} func (x *SwitchActiveVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[17] + mi := &file_api_v1_schedulers_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1128,7 +914,7 @@ func (x *SwitchActiveVersionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SwitchActiveVersionResponse.ProtoReflect.Descriptor instead. func (*SwitchActiveVersionResponse) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{17} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{13} } func (x *SwitchActiveVersionResponse) GetOperationId() string { @@ -1151,7 +937,7 @@ type GetSchedulersInfoRequest struct { func (x *GetSchedulersInfoRequest) Reset() { *x = GetSchedulersInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[18] + mi := &file_api_v1_schedulers_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1164,7 +950,7 @@ func (x *GetSchedulersInfoRequest) String() string { func (*GetSchedulersInfoRequest) ProtoMessage() {} func (x *GetSchedulersInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[18] + mi := &file_api_v1_schedulers_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1177,7 +963,7 @@ func (x *GetSchedulersInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchedulersInfoRequest.ProtoReflect.Descriptor instead. func (*GetSchedulersInfoRequest) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{18} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{14} } func (x *GetSchedulersInfoRequest) GetGame() string { @@ -1200,7 +986,7 @@ type GetSchedulersInfoResponse struct { func (x *GetSchedulersInfoResponse) Reset() { *x = GetSchedulersInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[19] + mi := &file_api_v1_schedulers_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1213,7 +999,7 @@ func (x *GetSchedulersInfoResponse) String() string { func (*GetSchedulersInfoResponse) ProtoMessage() {} func (x *GetSchedulersInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[19] + mi := &file_api_v1_schedulers_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1226,7 +1012,7 @@ func (x *GetSchedulersInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchedulersInfoResponse.ProtoReflect.Descriptor instead. func (*GetSchedulersInfoResponse) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{19} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{15} } func (x *GetSchedulersInfoResponse) GetSchedulers() []*SchedulerInfo { @@ -1250,7 +1036,7 @@ type DeleteSchedulerRequest struct { func (x *DeleteSchedulerRequest) Reset() { *x = DeleteSchedulerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[20] + mi := &file_api_v1_schedulers_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1263,7 +1049,7 @@ func (x *DeleteSchedulerRequest) String() string { func (*DeleteSchedulerRequest) ProtoMessage() {} func (x *DeleteSchedulerRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[20] + mi := &file_api_v1_schedulers_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1276,7 +1062,7 @@ func (x *DeleteSchedulerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteSchedulerRequest.ProtoReflect.Descriptor instead. func (*DeleteSchedulerRequest) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{20} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{16} } func (x *DeleteSchedulerRequest) GetSchedulerName() string { @@ -1299,7 +1085,7 @@ type DeleteSchedulerResponse struct { func (x *DeleteSchedulerResponse) Reset() { *x = DeleteSchedulerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_api_v1_schedulers_proto_msgTypes[21] + mi := &file_api_v1_schedulers_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1312,7 +1098,7 @@ func (x *DeleteSchedulerResponse) String() string { func (*DeleteSchedulerResponse) ProtoMessage() {} func (x *DeleteSchedulerResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_v1_schedulers_proto_msgTypes[21] + mi := &file_api_v1_schedulers_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1325,7 +1111,7 @@ func (x *DeleteSchedulerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteSchedulerResponse.ProtoReflect.Descriptor instead. func (*DeleteSchedulerResponse) Descriptor() ([]byte, []int) { - return file_api_v1_schedulers_proto_rawDescGZIP(), []int{21} + return file_api_v1_schedulers_proto_rawDescGZIP(), []int{17} } func (x *DeleteSchedulerResponse) GetOperationId() string { @@ -1400,207 +1186,189 @@ var file_api_v1_schedulers_proto_rawDesc = []byte{ 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, - 0x67, 0x22, 0x50, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x22, 0x35, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x53, 0x0a, 0x12, 0x52, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, - 0x38, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x68, 0x0a, 0x13, 0x47, 0x65, 0x74, + 0x67, 0x22, 0x68, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x10, 0x92, 0x82, 0x19, 0x0c, 0x5e, 0x28, 0x3f, 0x21, 0x69, 0x6e, 0x66, 0x6f, 0x24, 0x29, + 0x2e, 0x2a, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x47, 0x0a, 0x14, 0x47, + 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x72, 0x22, 0xdb, 0x02, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x30, 0x0a, + 0x0a, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, + 0x61, 0x6e, 0x67, 0x65, 0x52, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x75, 0x72, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x75, 0x72, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x0e, + 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, + 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, + 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, + 0x31, 0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, + 0x72, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, + 0x6e, 0x67, 0x22, 0x40, 0x0a, 0x1b, 0x4e, 0x65, 0x77, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x9f, 0x03, 0x0a, 0x15, 0x50, 0x61, 0x74, 0x63, 0x68, 0x53, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 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, 0x12, 0x2d, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x61, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x48, 0x00, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x88, 0x01, + 0x01, 0x12, 0x35, 0x0a, 0x0a, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x6f, 0x72, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x01, 0x52, 0x09, 0x70, 0x6f, 0x72, 0x74, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, + 0x73, 0x75, 0x72, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x08, 0x6d, + 0x61, 0x78, 0x53, 0x75, 0x72, 0x67, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x72, 0x6f, + 0x6f, 0x6d, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x05, 0x48, 0x03, 0x52, 0x0d, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x88, 0x01, 0x01, 0x12, 0x42, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, + 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x75, 0x74, + 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x48, 0x04, 0x52, 0x0b, 0x61, 0x75, 0x74, 0x6f, + 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x0a, 0x66, 0x6f, + 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, + 0x72, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x73, 0x42, 0x07, 0x0a, + 0x05, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x5f, + 0x72, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x75, + 0x72, 0x67, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x5f, 0x72, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x73, + 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x22, 0x3b, 0x0a, 0x16, 0x50, 0x61, 0x74, 0x63, 0x68, 0x53, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x22, 0x44, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x54, 0x0a, 0x1c, 0x47, 0x65, 0x74, + 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0x5d, 0x0a, 0x1a, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, + 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x40, + 0x0a, 0x1b, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, + 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x22, 0x2e, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x67, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x61, 0x6d, 0x65, + 0x22, 0x52, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, + 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x72, 0x73, 0x22, 0x3f, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, + 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3c, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x32, 0xdc, 0x08, 0x0a, 0x11, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x72, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x64, 0x0a, 0x0e, 0x4c, 0x69, 0x73, + 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x1d, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x0d, 0x12, 0x0b, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x12, + 0x71, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, + 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x2f, + 0x7b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, + 0x2a, 0x7d, 0x12, 0x6a, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x22, 0x0b, + 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0x7f, + 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4e, + 0x65, 0x77, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x22, 0x14, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x2a, 0x7d, 0x3a, 0x01, 0x2a, 0x12, + 0x70, 0x0a, 0x0e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x72, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x37, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x10, 0x92, 0x82, 0x19, 0x0c, 0x5e, 0x28, - 0x3f, 0x21, 0x69, 0x6e, 0x66, 0x6f, 0x24, 0x29, 0x2e, 0x2a, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x22, 0x47, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x09, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x22, 0xdb, 0x02, 0x0a, - 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 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, 0x12, - 0x12, 0x0a, 0x04, 0x67, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, - 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, - 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x30, 0x0a, 0x0a, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x72, 0x61, - 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x09, 0x70, 0x6f, - 0x72, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, - 0x75, 0x72, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, - 0x75, 0x72, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x5f, 0x72, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x6f, - 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x61, - 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, - 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, - 0x6c, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x77, 0x61, - 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x52, 0x0a, - 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x61, - 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x22, 0x40, 0x0a, 0x1b, 0x4e, 0x65, - 0x77, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x9f, 0x03, 0x0a, - 0x15, 0x50, 0x61, 0x74, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 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, 0x12, 0x2d, 0x0a, 0x04, 0x73, 0x70, - 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x48, 0x00, - 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x88, 0x01, 0x01, 0x12, 0x35, 0x0a, 0x0a, 0x70, 0x6f, 0x72, - 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, - 0x48, 0x01, 0x52, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x88, 0x01, 0x01, - 0x12, 0x20, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x75, 0x72, 0x67, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x75, 0x72, 0x67, 0x65, 0x88, - 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x48, 0x03, 0x52, 0x0d, 0x72, 0x6f, - 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x88, 0x01, 0x01, 0x12, 0x42, - 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, - 0x48, 0x04, 0x52, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x88, - 0x01, 0x01, 0x12, 0x31, 0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x73, - 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x77, 0x61, - 0x72, 0x64, 0x65, 0x72, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x42, 0x0d, - 0x0a, 0x0b, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x0c, 0x0a, - 0x0a, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x75, 0x72, 0x67, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x5f, - 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x42, 0x0e, - 0x0a, 0x0c, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x22, 0x3b, - 0x0a, 0x16, 0x50, 0x61, 0x74, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x44, 0x0a, 0x1b, 0x47, - 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x22, 0x54, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x34, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5d, 0x0a, 0x1a, 0x53, 0x77, 0x69, 0x74, 0x63, - 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, - 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x40, 0x0a, 0x1b, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, - 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x2e, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x67, 0x61, 0x6d, 0x65, 0x22, 0x52, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, - 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x22, 0x3f, 0x0a, 0x16, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3c, 0x0a, - 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x32, 0xdc, 0x08, 0x0a, 0x11, - 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x12, 0x64, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, - 0x65, 0x72, 0x73, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x13, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0d, 0x12, 0x0b, 0x2f, 0x73, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x71, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x73, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, - 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x2a, 0x7d, 0x12, 0x6a, 0x0a, 0x0f, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x1e, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x22, 0x0b, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, - 0x65, 0x72, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0x7f, 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x53, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x22, 0x14, - 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, - 0x65, 0x3d, 0x2a, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x70, 0x0a, 0x0e, 0x50, 0x61, 0x74, 0x63, 0x68, - 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, - 0x32, 0x14, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x6e, - 0x61, 0x6d, 0x65, 0x3d, 0x2a, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x92, 0x01, 0x0a, 0x14, 0x47, 0x65, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x73, 0x2f, 0x7b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x3d, 0x2a, 0x7d, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x89, - 0x01, 0x0a, 0x13, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x1a, 0x1e, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x2a, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x72, 0x0a, 0x11, 0x47, 0x65, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x7a, - 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x2a, 0x1e, 0x2f, 0x73, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, - 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x2a, 0x7d, 0x3a, 0x40, 0x0a, 0x09, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xa2, 0x90, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x42, 0x51, 0x0a, 0x23, - 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x6f, 0x70, 0x66, 0x72, 0x65, 0x65, 0x67, 0x61, 0x6d, 0x65, 0x73, - 0x2e, 0x6d, 0x61, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x76, 0x31, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x74, 0x6f, 0x70, 0x66, 0x72, 0x65, 0x65, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2f, 0x6d, 0x61, 0x65, - 0x73, 0x74, 0x72, 0x6f, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x1a, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x53, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x32, 0x14, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x2a, 0x7d, 0x3a, 0x01, + 0x2a, 0x12, 0x92, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, + 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x2a, 0x7d, 0x2f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x89, 0x01, 0x0a, 0x13, 0x53, 0x77, 0x69, 0x74, 0x63, + 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x77, 0x69, 0x74, + 0x63, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x1a, + 0x1e, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x2a, 0x7d, 0x3a, + 0x01, 0x2a, 0x12, 0x72, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x72, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, + 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x7a, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x20, 0x2a, 0x1e, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x73, 0x2f, + 0x7b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, + 0x2a, 0x7d, 0x3a, 0x40, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xa2, + 0x90, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x88, 0x01, 0x01, 0x42, 0x51, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x6f, 0x70, 0x66, + 0x72, 0x65, 0x65, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x6d, 0x61, 0x65, 0x73, 0x74, 0x72, 0x6f, + 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x5a, 0x2a, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x6f, 0x70, 0x66, 0x72, 0x65, 0x65, 0x67, + 0x61, 0x6d, 0x65, 0x73, 0x2f, 0x6d, 0x61, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x2f, 0x70, 0x6b, 0x67, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1615,79 +1383,75 @@ func file_api_v1_schedulers_proto_rawDescGZIP() []byte { return file_api_v1_schedulers_proto_rawDescData } -var file_api_v1_schedulers_proto_msgTypes = make([]protoimpl.MessageInfo, 22) +var file_api_v1_schedulers_proto_msgTypes = make([]protoimpl.MessageInfo, 18) var file_api_v1_schedulers_proto_goTypes = []interface{}{ (*ListSchedulersRequest)(nil), // 0: api.v1.ListSchedulersRequest (*ListSchedulersResponse)(nil), // 1: api.v1.ListSchedulersResponse (*CreateSchedulerResponse)(nil), // 2: api.v1.CreateSchedulerResponse (*CreateSchedulerRequest)(nil), // 3: api.v1.CreateSchedulerRequest - (*AddRoomsRequest)(nil), // 4: api.v1.AddRoomsRequest - (*AddRoomsResponse)(nil), // 5: api.v1.AddRoomsResponse - (*RemoveRoomsRequest)(nil), // 6: api.v1.RemoveRoomsRequest - (*RemoveRoomsResponse)(nil), // 7: api.v1.RemoveRoomsResponse - (*GetSchedulerRequest)(nil), // 8: api.v1.GetSchedulerRequest - (*GetSchedulerResponse)(nil), // 9: api.v1.GetSchedulerResponse - (*NewSchedulerVersionRequest)(nil), // 10: api.v1.NewSchedulerVersionRequest - (*NewSchedulerVersionResponse)(nil), // 11: api.v1.NewSchedulerVersionResponse - (*PatchSchedulerRequest)(nil), // 12: api.v1.PatchSchedulerRequest - (*PatchSchedulerResponse)(nil), // 13: api.v1.PatchSchedulerResponse - (*GetSchedulerVersionsRequest)(nil), // 14: api.v1.GetSchedulerVersionsRequest - (*GetSchedulerVersionsResponse)(nil), // 15: api.v1.GetSchedulerVersionsResponse - (*SwitchActiveVersionRequest)(nil), // 16: api.v1.SwitchActiveVersionRequest - (*SwitchActiveVersionResponse)(nil), // 17: api.v1.SwitchActiveVersionResponse - (*GetSchedulersInfoRequest)(nil), // 18: api.v1.GetSchedulersInfoRequest - (*GetSchedulersInfoResponse)(nil), // 19: api.v1.GetSchedulersInfoResponse - (*DeleteSchedulerRequest)(nil), // 20: api.v1.DeleteSchedulerRequest - (*DeleteSchedulerResponse)(nil), // 21: api.v1.DeleteSchedulerResponse - (*SchedulerWithoutSpec)(nil), // 22: api.v1.SchedulerWithoutSpec - (*Scheduler)(nil), // 23: api.v1.Scheduler - (*Spec)(nil), // 24: api.v1.Spec - (*PortRange)(nil), // 25: api.v1.PortRange - (*Autoscaling)(nil), // 26: api.v1.Autoscaling - (*Forwarder)(nil), // 27: api.v1.Forwarder - (*OptionalSpec)(nil), // 28: api.v1.OptionalSpec - (*OptionalAutoscaling)(nil), // 29: api.v1.OptionalAutoscaling - (*SchedulerVersion)(nil), // 30: api.v1.SchedulerVersion - (*SchedulerInfo)(nil), // 31: api.v1.SchedulerInfo - (*descriptor.FieldOptions)(nil), // 32: google.protobuf.FieldOptions + (*GetSchedulerRequest)(nil), // 4: api.v1.GetSchedulerRequest + (*GetSchedulerResponse)(nil), // 5: api.v1.GetSchedulerResponse + (*NewSchedulerVersionRequest)(nil), // 6: api.v1.NewSchedulerVersionRequest + (*NewSchedulerVersionResponse)(nil), // 7: api.v1.NewSchedulerVersionResponse + (*PatchSchedulerRequest)(nil), // 8: api.v1.PatchSchedulerRequest + (*PatchSchedulerResponse)(nil), // 9: api.v1.PatchSchedulerResponse + (*GetSchedulerVersionsRequest)(nil), // 10: api.v1.GetSchedulerVersionsRequest + (*GetSchedulerVersionsResponse)(nil), // 11: api.v1.GetSchedulerVersionsResponse + (*SwitchActiveVersionRequest)(nil), // 12: api.v1.SwitchActiveVersionRequest + (*SwitchActiveVersionResponse)(nil), // 13: api.v1.SwitchActiveVersionResponse + (*GetSchedulersInfoRequest)(nil), // 14: api.v1.GetSchedulersInfoRequest + (*GetSchedulersInfoResponse)(nil), // 15: api.v1.GetSchedulersInfoResponse + (*DeleteSchedulerRequest)(nil), // 16: api.v1.DeleteSchedulerRequest + (*DeleteSchedulerResponse)(nil), // 17: api.v1.DeleteSchedulerResponse + (*SchedulerWithoutSpec)(nil), // 18: api.v1.SchedulerWithoutSpec + (*Scheduler)(nil), // 19: api.v1.Scheduler + (*Spec)(nil), // 20: api.v1.Spec + (*PortRange)(nil), // 21: api.v1.PortRange + (*Autoscaling)(nil), // 22: api.v1.Autoscaling + (*Forwarder)(nil), // 23: api.v1.Forwarder + (*OptionalSpec)(nil), // 24: api.v1.OptionalSpec + (*OptionalAutoscaling)(nil), // 25: api.v1.OptionalAutoscaling + (*SchedulerVersion)(nil), // 26: api.v1.SchedulerVersion + (*SchedulerInfo)(nil), // 27: api.v1.SchedulerInfo + (*descriptor.FieldOptions)(nil), // 28: google.protobuf.FieldOptions } var file_api_v1_schedulers_proto_depIdxs = []int32{ - 22, // 0: api.v1.ListSchedulersResponse.schedulers:type_name -> api.v1.SchedulerWithoutSpec - 23, // 1: api.v1.CreateSchedulerResponse.scheduler:type_name -> api.v1.Scheduler - 24, // 2: api.v1.CreateSchedulerRequest.spec:type_name -> api.v1.Spec - 25, // 3: api.v1.CreateSchedulerRequest.port_range:type_name -> api.v1.PortRange - 26, // 4: api.v1.CreateSchedulerRequest.autoscaling:type_name -> api.v1.Autoscaling - 27, // 5: api.v1.CreateSchedulerRequest.forwarders:type_name -> api.v1.Forwarder - 23, // 6: api.v1.GetSchedulerResponse.scheduler:type_name -> api.v1.Scheduler - 24, // 7: api.v1.NewSchedulerVersionRequest.spec:type_name -> api.v1.Spec - 25, // 8: api.v1.NewSchedulerVersionRequest.port_range:type_name -> api.v1.PortRange - 26, // 9: api.v1.NewSchedulerVersionRequest.autoscaling:type_name -> api.v1.Autoscaling - 27, // 10: api.v1.NewSchedulerVersionRequest.forwarders:type_name -> api.v1.Forwarder - 28, // 11: api.v1.PatchSchedulerRequest.spec:type_name -> api.v1.OptionalSpec - 25, // 12: api.v1.PatchSchedulerRequest.port_range:type_name -> api.v1.PortRange - 29, // 13: api.v1.PatchSchedulerRequest.autoscaling:type_name -> api.v1.OptionalAutoscaling - 27, // 14: api.v1.PatchSchedulerRequest.forwarders:type_name -> api.v1.Forwarder - 30, // 15: api.v1.GetSchedulerVersionsResponse.versions:type_name -> api.v1.SchedulerVersion - 31, // 16: api.v1.GetSchedulersInfoResponse.schedulers:type_name -> api.v1.SchedulerInfo - 32, // 17: api.v1.validator:extendee -> google.protobuf.FieldOptions + 18, // 0: api.v1.ListSchedulersResponse.schedulers:type_name -> api.v1.SchedulerWithoutSpec + 19, // 1: api.v1.CreateSchedulerResponse.scheduler:type_name -> api.v1.Scheduler + 20, // 2: api.v1.CreateSchedulerRequest.spec:type_name -> api.v1.Spec + 21, // 3: api.v1.CreateSchedulerRequest.port_range:type_name -> api.v1.PortRange + 22, // 4: api.v1.CreateSchedulerRequest.autoscaling:type_name -> api.v1.Autoscaling + 23, // 5: api.v1.CreateSchedulerRequest.forwarders:type_name -> api.v1.Forwarder + 19, // 6: api.v1.GetSchedulerResponse.scheduler:type_name -> api.v1.Scheduler + 20, // 7: api.v1.NewSchedulerVersionRequest.spec:type_name -> api.v1.Spec + 21, // 8: api.v1.NewSchedulerVersionRequest.port_range:type_name -> api.v1.PortRange + 22, // 9: api.v1.NewSchedulerVersionRequest.autoscaling:type_name -> api.v1.Autoscaling + 23, // 10: api.v1.NewSchedulerVersionRequest.forwarders:type_name -> api.v1.Forwarder + 24, // 11: api.v1.PatchSchedulerRequest.spec:type_name -> api.v1.OptionalSpec + 21, // 12: api.v1.PatchSchedulerRequest.port_range:type_name -> api.v1.PortRange + 25, // 13: api.v1.PatchSchedulerRequest.autoscaling:type_name -> api.v1.OptionalAutoscaling + 23, // 14: api.v1.PatchSchedulerRequest.forwarders:type_name -> api.v1.Forwarder + 26, // 15: api.v1.GetSchedulerVersionsResponse.versions:type_name -> api.v1.SchedulerVersion + 27, // 16: api.v1.GetSchedulersInfoResponse.schedulers:type_name -> api.v1.SchedulerInfo + 28, // 17: api.v1.validator:extendee -> google.protobuf.FieldOptions 0, // 18: api.v1.SchedulersService.ListSchedulers:input_type -> api.v1.ListSchedulersRequest - 8, // 19: api.v1.SchedulersService.GetScheduler:input_type -> api.v1.GetSchedulerRequest + 4, // 19: api.v1.SchedulersService.GetScheduler:input_type -> api.v1.GetSchedulerRequest 3, // 20: api.v1.SchedulersService.CreateScheduler:input_type -> api.v1.CreateSchedulerRequest - 10, // 21: api.v1.SchedulersService.NewSchedulerVersion:input_type -> api.v1.NewSchedulerVersionRequest - 12, // 22: api.v1.SchedulersService.PatchScheduler:input_type -> api.v1.PatchSchedulerRequest - 14, // 23: api.v1.SchedulersService.GetSchedulerVersions:input_type -> api.v1.GetSchedulerVersionsRequest - 16, // 24: api.v1.SchedulersService.SwitchActiveVersion:input_type -> api.v1.SwitchActiveVersionRequest - 18, // 25: api.v1.SchedulersService.GetSchedulersInfo:input_type -> api.v1.GetSchedulersInfoRequest - 20, // 26: api.v1.SchedulersService.DeleteScheduler:input_type -> api.v1.DeleteSchedulerRequest + 6, // 21: api.v1.SchedulersService.NewSchedulerVersion:input_type -> api.v1.NewSchedulerVersionRequest + 8, // 22: api.v1.SchedulersService.PatchScheduler:input_type -> api.v1.PatchSchedulerRequest + 10, // 23: api.v1.SchedulersService.GetSchedulerVersions:input_type -> api.v1.GetSchedulerVersionsRequest + 12, // 24: api.v1.SchedulersService.SwitchActiveVersion:input_type -> api.v1.SwitchActiveVersionRequest + 14, // 25: api.v1.SchedulersService.GetSchedulersInfo:input_type -> api.v1.GetSchedulersInfoRequest + 16, // 26: api.v1.SchedulersService.DeleteScheduler:input_type -> api.v1.DeleteSchedulerRequest 1, // 27: api.v1.SchedulersService.ListSchedulers:output_type -> api.v1.ListSchedulersResponse - 9, // 28: api.v1.SchedulersService.GetScheduler:output_type -> api.v1.GetSchedulerResponse + 5, // 28: api.v1.SchedulersService.GetScheduler:output_type -> api.v1.GetSchedulerResponse 2, // 29: api.v1.SchedulersService.CreateScheduler:output_type -> api.v1.CreateSchedulerResponse - 11, // 30: api.v1.SchedulersService.NewSchedulerVersion:output_type -> api.v1.NewSchedulerVersionResponse - 13, // 31: api.v1.SchedulersService.PatchScheduler:output_type -> api.v1.PatchSchedulerResponse - 15, // 32: api.v1.SchedulersService.GetSchedulerVersions:output_type -> api.v1.GetSchedulerVersionsResponse - 17, // 33: api.v1.SchedulersService.SwitchActiveVersion:output_type -> api.v1.SwitchActiveVersionResponse - 19, // 34: api.v1.SchedulersService.GetSchedulersInfo:output_type -> api.v1.GetSchedulersInfoResponse - 21, // 35: api.v1.SchedulersService.DeleteScheduler:output_type -> api.v1.DeleteSchedulerResponse + 7, // 30: api.v1.SchedulersService.NewSchedulerVersion:output_type -> api.v1.NewSchedulerVersionResponse + 9, // 31: api.v1.SchedulersService.PatchScheduler:output_type -> api.v1.PatchSchedulerResponse + 11, // 32: api.v1.SchedulersService.GetSchedulerVersions:output_type -> api.v1.GetSchedulerVersionsResponse + 13, // 33: api.v1.SchedulersService.SwitchActiveVersion:output_type -> api.v1.SwitchActiveVersionResponse + 15, // 34: api.v1.SchedulersService.GetSchedulersInfo:output_type -> api.v1.GetSchedulersInfoResponse + 17, // 35: api.v1.SchedulersService.DeleteScheduler:output_type -> api.v1.DeleteSchedulerResponse 27, // [27:36] is the sub-list for method output_type 18, // [18:27] is the sub-list for method input_type 18, // [18:18] is the sub-list for extension type_name @@ -1751,54 +1515,6 @@ func file_api_v1_schedulers_proto_init() { } } file_api_v1_schedulers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddRoomsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_v1_schedulers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddRoomsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_v1_schedulers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRoomsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_v1_schedulers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRoomsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_v1_schedulers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetSchedulerRequest); i { case 0: return &v.state @@ -1810,7 +1526,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetSchedulerResponse); i { case 0: return &v.state @@ -1822,7 +1538,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NewSchedulerVersionRequest); i { case 0: return &v.state @@ -1834,7 +1550,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NewSchedulerVersionResponse); i { case 0: return &v.state @@ -1846,7 +1562,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PatchSchedulerRequest); i { case 0: return &v.state @@ -1858,7 +1574,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PatchSchedulerResponse); i { case 0: return &v.state @@ -1870,7 +1586,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetSchedulerVersionsRequest); i { case 0: return &v.state @@ -1882,7 +1598,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetSchedulerVersionsResponse); i { case 0: return &v.state @@ -1894,7 +1610,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SwitchActiveVersionRequest); i { case 0: return &v.state @@ -1906,7 +1622,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SwitchActiveVersionResponse); i { case 0: return &v.state @@ -1918,7 +1634,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetSchedulersInfoRequest); i { case 0: return &v.state @@ -1930,7 +1646,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetSchedulersInfoResponse); i { case 0: return &v.state @@ -1942,7 +1658,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteSchedulerRequest); i { case 0: return &v.state @@ -1954,7 +1670,7 @@ func file_api_v1_schedulers_proto_init() { return nil } } - file_api_v1_schedulers_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_api_v1_schedulers_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteSchedulerResponse); i { case 0: return &v.state @@ -1968,15 +1684,15 @@ func file_api_v1_schedulers_proto_init() { } } file_api_v1_schedulers_proto_msgTypes[3].OneofWrappers = []interface{}{} - file_api_v1_schedulers_proto_msgTypes[10].OneofWrappers = []interface{}{} - file_api_v1_schedulers_proto_msgTypes[12].OneofWrappers = []interface{}{} + file_api_v1_schedulers_proto_msgTypes[6].OneofWrappers = []interface{}{} + file_api_v1_schedulers_proto_msgTypes[8].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_api_v1_schedulers_proto_rawDesc, NumEnums: 0, - NumMessages: 22, + NumMessages: 18, NumExtensions: 1, NumServices: 1, }, diff --git a/proto/api/v1/schedulers.proto b/proto/api/v1/schedulers.proto index d563e8d3f..08f8a18ed 100644 --- a/proto/api/v1/schedulers.proto +++ b/proto/api/v1/schedulers.proto @@ -125,34 +125,6 @@ message CreateSchedulerRequest { repeated Forwarder forwarders = 8; } -// Add rooms operation request payload + path parameters. -message AddRoomsRequest { - // Scheduler name where the rooms will be added. - string scheduler_name = 1; - // Amount of rooms to be added. - int32 amount = 2; -} - -// Add rooms operation response payload, empty. -message AddRoomsResponse { - // Add rooms operation ID, further this id will be used to consult its state. - string operation_id = 1; -} - -// Remove rooms operation request payload + path parameters. -message RemoveRoomsRequest { - // Scheduler name from which the rooms will be removed. - string scheduler_name = 1; - // Amount of rooms to be removed. - int32 amount = 2; -} - -// Remove rooms operation response payload. -message RemoveRoomsResponse { - // Remove rooms operation ID, further this id can be used to consult its state. - string operation_id = 1; -} - // Get Scheduler operation request message GetSchedulerRequest { // Scheduler name where the rooms will be added.