From 3df9296d8ec62ea229fc4d71f9b18118dc7541a2 Mon Sep 17 00:00:00 2001 From: kakcy <43775118+kakcy@users.noreply.github.com> Date: Fri, 16 Aug 2024 12:03:22 +0900 Subject: [PATCH] chore: delete triggeredAt for AutoOps (#1179) --- manifests/bucketeer/charts/web/values.yaml | 1 + pkg/autoops/api/api.go | 4 +- pkg/autoops/command/auto_ops_rule.go | 27 +- pkg/autoops/command/auto_ops_rule_test.go | 23 - pkg/autoops/domain/auto_ops_rule.go | 24 - pkg/autoops/domain/auto_ops_rule_test.go | 31 - pkg/autoops/storage/v2/auto_ops_rule.go | 4 - .../auto_ops_rule/insert_auto_ops_rule.sql | 3 +- .../auto_ops_rule/select_auto_ops_rule.sql | 1 - .../auto_ops_rule/select_auto_ops_rules.sql | 1 - .../auto_ops_rule/update_auto_ops_rule.sql | 1 - pkg/batch/jobs/opsevent/datetime_watcher.go | 2 +- .../jobs/opsevent/datetime_watcher_test.go | 32 +- .../jobs/opsevent/event_count_watcher.go | 2 +- .../jobs/opsevent/event_count_watcher_test.go | 16 +- pkg/opsevent/batch/executor/executor.go | 7 +- .../processor/evaluation_events_ops.go | 4 +- pkg/subscriber/processor/goal_events_ops.go | 2 +- proto/auditlog/proto_descriptor.pb | Bin 41448 -> 41382 bytes proto/autoops/auto_ops_rule.pb.go | 82 +- proto/autoops/auto_ops_rule.proto | 2 +- proto/autoops/command.pb.go | 443 +++++------ proto/autoops/command.proto | 4 - proto/autoops/proto_descriptor.pb | Bin 12454 -> 12239 bytes proto/autoops/service.pb.go | 637 ++++++++-------- proto/autoops/service.proto | 5 +- proto/event/domain/event.pb.go | 712 +++++++++--------- proto/event/domain/event.proto | 2 +- proto/proto.lock | 45 +- .../FeatureAutoOpsRulesForm/index.tsx | 6 +- .../src/proto/autoops/auto_ops_rule_pb.d.ts | 4 - .../src/proto/autoops/auto_ops_rule_pb.js | 27 - ui/web-v2/src/proto/autoops/command_pb.d.ts | 30 - ui/web-v2/src/proto/autoops/command_pb.js | 138 ---- ui/web-v2/src/proto/autoops/service_pb.d.ts | 10 - ui/web-v2/src/proto/autoops/service_pb.js | 67 -- .../src/proto/event/domain/event_pb.d.ts | 4 - ui/web-v2/src/proto/event/domain/event_pb.js | 27 - 38 files changed, 949 insertions(+), 1481 deletions(-) diff --git a/manifests/bucketeer/charts/web/values.yaml b/manifests/bucketeer/charts/web/values.yaml index f62d05eac..7e1f2cea3 100644 --- a/manifests/bucketeer/charts/web/values.yaml +++ b/manifests/bucketeer/charts/web/values.yaml @@ -137,3 +137,4 @@ ingress: name: web host: staticIPName: + \ No newline at end of file diff --git a/pkg/autoops/api/api.go b/pkg/autoops/api/api.go index baa445aea..4d5e83ac4 100644 --- a/pkg/autoops/api/api.go +++ b/pkg/autoops/api/api.go @@ -720,7 +720,7 @@ func (s *AutoOpsService) UpdateAutoOpsRule( return err } - if autoOpsRule.AlreadyTriggered() || autoOpsRule.IsFinished() || autoOpsRule.IsStopped() { + if autoOpsRule.IsFinished() || autoOpsRule.IsStopped() { dt, err := statusAutoOpsRuleCompleted.WithDetails(&errdetails.LocalizedMessage{ Locale: localizer.GetLocale(), Message: localizer.MustLocalize(locale.InvalidArgumentError), @@ -1549,7 +1549,7 @@ func (s *AutoOpsService) checkIfHasAlreadyTriggered( } return false, dt.Err() } - if autoOpsRule.AlreadyTriggered() || autoOpsRule.IsFinished() || autoOpsRule.IsStopped() || autoOpsRule.Deleted { + if autoOpsRule.IsFinished() || autoOpsRule.IsStopped() || autoOpsRule.Deleted { s.logger.Warn( "Auto Ops Rule already triggered", log.FieldsFromImcomingContext(ctx).AddFields( diff --git a/pkg/autoops/command/auto_ops_rule.go b/pkg/autoops/command/auto_ops_rule.go index 71325fbcf..65c0318ff 100644 --- a/pkg/autoops/command/auto_ops_rule.go +++ b/pkg/autoops/command/auto_ops_rule.go @@ -62,8 +62,6 @@ func (h *autoOpsRuleCommandHandler) Handle(ctx context.Context, cmd Command) err return h.changeOpsType(ctx, c) case *proto.DeleteAutoOpsRuleCommand: return h.delete(ctx, c) - case *proto.ChangeAutoOpsRuleTriggeredAtCommand: - return h.changeTriggeredAt(ctx, c) case *proto.AddOpsEventRateClauseCommand: return h.addOpsEventRateClause(ctx, c) case *proto.ChangeOpsEventRateClauseCommand: @@ -84,13 +82,12 @@ func (h *autoOpsRuleCommandHandler) Handle(ctx context.Context, cmd Command) err func (h *autoOpsRuleCommandHandler) create(ctx context.Context, cmd *proto.CreateAutoOpsRuleCommand) error { return h.send(ctx, eventproto.Event_AUTOOPS_RULE_CREATED, &eventproto.AutoOpsRuleCreatedEvent{ - FeatureId: h.autoOpsRule.FeatureId, - OpsType: h.autoOpsRule.OpsType, - Clauses: h.autoOpsRule.Clauses, - TriggeredAt: h.autoOpsRule.TriggeredAt, - CreatedAt: h.autoOpsRule.CreatedAt, - UpdatedAt: h.autoOpsRule.UpdatedAt, - OpsStatus: h.autoOpsRule.AutoOpsStatus, + FeatureId: h.autoOpsRule.FeatureId, + OpsType: h.autoOpsRule.OpsType, + Clauses: h.autoOpsRule.Clauses, + CreatedAt: h.autoOpsRule.CreatedAt, + UpdatedAt: h.autoOpsRule.UpdatedAt, + OpsStatus: h.autoOpsRule.AutoOpsStatus, }) } @@ -114,18 +111,6 @@ func (h *autoOpsRuleCommandHandler) delete(ctx context.Context, cmd *proto.Delet return h.send(ctx, eventproto.Event_AUTOOPS_RULE_DELETED, &eventproto.AutoOpsRuleDeletedEvent{}) } -func (h *autoOpsRuleCommandHandler) changeTriggeredAt( - ctx context.Context, - cmd *proto.ChangeAutoOpsRuleTriggeredAtCommand, -) error { - h.autoOpsRule.SetTriggeredAt() - return h.send( - ctx, - eventproto.Event_AUTOOPS_RULE_TRIGGERED_AT_CHANGED, - &eventproto.AutoOpsRuleTriggeredAtChangedEvent{}, - ) -} - func (h *autoOpsRuleCommandHandler) changeAutoOpsStatus( ctx context.Context, cmd *proto.ChangeAutoOpsStatusCommand, diff --git a/pkg/autoops/command/auto_ops_rule_test.go b/pkg/autoops/command/auto_ops_rule_test.go index a30e50a76..e34338384 100644 --- a/pkg/autoops/command/auto_ops_rule_test.go +++ b/pkg/autoops/command/auto_ops_rule_test.go @@ -78,29 +78,6 @@ func TestDelete(t *testing.T) { } } -func TestChangeTriggeredAt(t *testing.T) { - mockController := gomock.NewController(t) - defer mockController.Finish() - patterns := []*struct { - expected error - }{ - { - expected: nil, - }, - } - for _, p := range patterns { - m := publishermock.NewMockPublisher(mockController) - a := newAutoOpsRule(t) - h := newAutoOpsRuleCommandHandler(t, m, a) - if p.expected == nil { - m.EXPECT().Publish(gomock.Any(), gomock.Any()).Return(nil) - } - cmd := &proto.ChangeAutoOpsRuleTriggeredAtCommand{} - err := h.Handle(context.Background(), cmd) - assert.Equal(t, p.expected, err) - } -} - func TestChangeAutoOpsStatus(t *testing.T) { mockController := gomock.NewController(t) defer mockController.Finish() diff --git a/pkg/autoops/domain/auto_ops_rule.go b/pkg/autoops/domain/auto_ops_rule.go index de36388c0..b96b032ae 100644 --- a/pkg/autoops/domain/auto_ops_rule.go +++ b/pkg/autoops/domain/auto_ops_rule.go @@ -108,25 +108,10 @@ func (a *AutoOpsRule) SetDeleted() { a.AutoOpsRule.UpdatedAt = time.Now().Unix() } -// TODO: Remove this function after auto ops migration. -// Deprecated -func (a *AutoOpsRule) SetTriggeredAt() { - now := time.Now().Unix() - a.AutoOpsRule.TriggeredAt = now - a.SetFinished() - a.AutoOpsRule.UpdatedAt = now -} - func (a *AutoOpsRule) SetFinished() { a.SetAutoOpsStatus(proto.AutoOpsStatus_FINISHED) } -// TODO: Remove this function after auto ops migration. -// Deprecated -func (a *AutoOpsRule) AlreadyTriggered() bool { - return a.TriggeredAt > 0 || a.AutoOpsStatus == proto.AutoOpsStatus_FINISHED -} - func (a *AutoOpsRule) IsFinished() bool { return a.AutoOpsStatus == proto.AutoOpsStatus_FINISHED } @@ -138,17 +123,12 @@ func (a *AutoOpsRule) IsStopped() bool { func (a *AutoOpsRule) SetOpsType(opsType proto.OpsType) { a.AutoOpsRule.OpsType = opsType a.AutoOpsRule.UpdatedAt = time.Now().Unix() - a.AutoOpsRule.TriggeredAt = 0 } func (a *AutoOpsRule) SetAutoOpsStatus(status proto.AutoOpsStatus) { now := time.Now().Unix() a.AutoOpsRule.AutoOpsStatus = status a.AutoOpsRule.UpdatedAt = now - // TODO: Remove this function after auto ops migration. - if status == proto.AutoOpsStatus_FINISHED { - a.AutoOpsRule.TriggeredAt = now - } } func (a *AutoOpsRule) AddOpsEventRateClause(oerc *proto.OpsEventRateClause) (*proto.Clause, error) { @@ -161,7 +141,6 @@ func (a *AutoOpsRule) AddOpsEventRateClause(oerc *proto.OpsEventRateClause) (*pr return nil, err } a.AutoOpsRule.UpdatedAt = time.Now().Unix() - a.AutoOpsRule.TriggeredAt = 0 return clause, nil } @@ -240,12 +219,10 @@ func (a *AutoOpsRule) ChangeDatetimeClause(id string, dc *proto.DatetimeClause) return err } a.AutoOpsRule.UpdatedAt = time.Now().Unix() - a.AutoOpsRule.TriggeredAt = 0 return nil } func (a *AutoOpsRule) changeClause(id string, mc pb.Message, actionType proto.ActionType) error { - a.AutoOpsRule.TriggeredAt = 0 for _, c := range a.Clauses { if c.Id == id { clause, err := ptypes.MarshalAny(mc) @@ -265,7 +242,6 @@ func (a *AutoOpsRule) DeleteClause(id string) error { return errClauseEmpty } a.AutoOpsRule.UpdatedAt = time.Now().Unix() - a.AutoOpsRule.TriggeredAt = 0 var clauses []*proto.Clause for i, c := range a.Clauses { if c.Id == id { diff --git a/pkg/autoops/domain/auto_ops_rule_test.go b/pkg/autoops/domain/auto_ops_rule_test.go index edd19888b..33155668c 100644 --- a/pkg/autoops/domain/auto_ops_rule_test.go +++ b/pkg/autoops/domain/auto_ops_rule_test.go @@ -57,7 +57,6 @@ func TestNewAutoOpsRule(t *testing.T) { }, CreatedAt: time.Now().Unix(), UpdatedAt: time.Now().Unix(), - TriggeredAt: 0, Deleted: false, AutoOpsStatus: autoopsproto.AutoOpsStatus_WAITING, }}, @@ -109,7 +108,6 @@ func TestNewAutoOpsRule(t *testing.T) { }, CreatedAt: time.Now().Unix(), UpdatedAt: time.Now().Unix(), - TriggeredAt: 0, Deleted: false, AutoOpsStatus: autoopsproto.AutoOpsStatus_WAITING, }}, @@ -141,7 +139,6 @@ func TestNewAutoOpsRule(t *testing.T) { }, CreatedAt: time.Now().Unix(), UpdatedAt: time.Now().Unix(), - TriggeredAt: 0, Deleted: false, AutoOpsStatus: autoopsproto.AutoOpsStatus_WAITING, }}, @@ -177,7 +174,6 @@ func TestNewAutoOpsRule(t *testing.T) { }, CreatedAt: time.Now().Unix(), UpdatedAt: time.Now().Unix(), - TriggeredAt: 0, Deleted: false, AutoOpsStatus: autoopsproto.AutoOpsStatus_WAITING, }}, @@ -199,7 +195,6 @@ func TestNewAutoOpsRule(t *testing.T) { assert.Equal(t, p.expected.AutoOpsStatus, aor.AutoOpsStatus) assert.Equal(t, p.expected.CreatedAt, aor.CreatedAt) assert.Equal(t, p.expected.UpdatedAt, aor.UpdatedAt) - assert.Equal(t, p.expected.TriggeredAt, aor.TriggeredAt) assert.Equal(t, p.expected.Deleted, aor.Deleted) for i, c := range aor.Clauses { @@ -219,35 +214,16 @@ func TestSetDeleted(t *testing.T) { assert.Equal(t, true, aor.Deleted) } -func TestSetTriggeredAt(t *testing.T) { - t.Parallel() - aor := createAutoOpsRule(t) - aor.SetTriggeredAt() - assert.NotZero(t, aor.TriggeredAt) - assert.Equal(t, autoopsproto.AutoOpsStatus_FINISHED, aor.AutoOpsStatus) -} - -func TestAlreadyTriggeredAt(t *testing.T) { - t.Parallel() - aor := createAutoOpsRule(t) - assert.False(t, aor.AlreadyTriggered()) - aor.SetTriggeredAt() - assert.True(t, aor.AlreadyTriggered()) -} - func TestSetOpsType(t *testing.T) { t.Parallel() aor := createAutoOpsRule(t) - aor.TriggeredAt = 1 aor.SetOpsType(autoopsproto.OpsType_DISABLE_FEATURE) assert.Equal(t, autoopsproto.OpsType_DISABLE_FEATURE, aor.OpsType) - assert.Zero(t, aor.TriggeredAt) } func TestAddOpsEventRateClause(t *testing.T) { t.Parallel() aor := createAutoOpsRule(t) - aor.TriggeredAt = 1 l := len(aor.Clauses) c := &autoopsproto.OpsEventRateClause{ GoalId: "goalid01", @@ -262,7 +238,6 @@ func TestAddOpsEventRateClause(t *testing.T) { assert.NotEmpty(t, aor.Clauses[l].Id) eventRateClause, err := aor.unmarshalOpsEventRateClause(aor.Clauses[l]) require.NoError(t, err) - assert.Zero(t, aor.TriggeredAt) assert.Equal(t, c.GoalId, eventRateClause.GoalId) assert.Equal(t, c.MinCount, eventRateClause.MinCount) @@ -308,7 +283,6 @@ func TestAddDatetimeClause(t *testing.T) { func TestChangeOpsEventRateClause(t *testing.T) { t.Parallel() aor := createAutoOpsRule(t) - aor.TriggeredAt = 1 l := len(aor.Clauses) c := &autoopsproto.OpsEventRateClause{ GoalId: "goalid01", @@ -321,14 +295,12 @@ func TestChangeOpsEventRateClause(t *testing.T) { assert.Equal(t, l, len(aor.Clauses)) eventRateClause, err := aor.unmarshalOpsEventRateClause(aor.Clauses[0]) require.NoError(t, err) - assert.Zero(t, aor.TriggeredAt) assert.Equal(t, c.GoalId, eventRateClause.GoalId) } func TestChangeDatetimeClause(t *testing.T) { t.Parallel() aor := createAutoOpsRule(t) - aor.TriggeredAt = 1 l := len(aor.Clauses) c := &autoopsproto.DatetimeClause{ Time: 1, @@ -341,7 +313,6 @@ func TestChangeDatetimeClause(t *testing.T) { dc, err := aor.unmarshalDatetimeClause(aor.Clauses[0]) require.NoError(t, err) assert.Equal(t, c.Time, dc.Time) - assert.Zero(t, aor.TriggeredAt) assert.Equal(t, autoopsproto.AutoOpsStatus_WAITING, aor.AutoOpsStatus) c1 := &autoopsproto.DatetimeClause{ @@ -382,7 +353,6 @@ func TestChangeDatetimeClause(t *testing.T) { func TestDeleteClause(t *testing.T) { t.Parallel() aor := createAutoOpsRule(t) - aor.TriggeredAt = 1 l := len(aor.Clauses) c := &autoopsproto.OpsEventRateClause{ GoalId: "goalid01", @@ -397,7 +367,6 @@ func TestDeleteClause(t *testing.T) { err = aor.DeleteClause(aor.Clauses[0].Id) require.NoError(t, err) assert.Equal(t, l, len(aor.Clauses)) - assert.Zero(t, aor.TriggeredAt) assert.Equal(t, addClause.Id, aor.Clauses[0].Id) assert.Equal(t, autoopsproto.AutoOpsStatus_WAITING, aor.AutoOpsStatus) } diff --git a/pkg/autoops/storage/v2/auto_ops_rule.go b/pkg/autoops/storage/v2/auto_ops_rule.go index 469ed59e5..1a2264a50 100644 --- a/pkg/autoops/storage/v2/auto_ops_rule.go +++ b/pkg/autoops/storage/v2/auto_ops_rule.go @@ -75,7 +75,6 @@ func (s *autoOpsRuleStorage) CreateAutoOpsRule( e.FeatureId, int32(e.OpsType), mysql.JSONObject{Val: e.Clauses}, - e.TriggeredAt, e.CreatedAt, e.UpdatedAt, e.Deleted, @@ -102,7 +101,6 @@ func (s *autoOpsRuleStorage) UpdateAutoOpsRule( e.FeatureId, int32(e.OpsType), mysql.JSONObject{Val: e.Clauses}, - e.TriggeredAt, e.CreatedAt, e.UpdatedAt, e.Deleted, @@ -139,7 +137,6 @@ func (s *autoOpsRuleStorage) GetAutoOpsRule( &autoOpsRule.FeatureId, &opsType, &mysql.JSONObject{Val: &autoOpsRule.Clauses}, - &autoOpsRule.TriggeredAt, &autoOpsRule.CreatedAt, &autoOpsRule.UpdatedAt, &autoOpsRule.Deleted, @@ -179,7 +176,6 @@ func (s *autoOpsRuleStorage) ListAutoOpsRules( &autoOpsRule.FeatureId, &opsType, &mysql.JSONObject{Val: &autoOpsRule.Clauses}, - &autoOpsRule.TriggeredAt, &autoOpsRule.CreatedAt, &autoOpsRule.UpdatedAt, &autoOpsRule.Deleted, diff --git a/pkg/autoops/storage/v2/sql/auto_ops_rule/insert_auto_ops_rule.sql b/pkg/autoops/storage/v2/sql/auto_ops_rule/insert_auto_ops_rule.sql index db9d2e959..6b9327013 100644 --- a/pkg/autoops/storage/v2/sql/auto_ops_rule/insert_auto_ops_rule.sql +++ b/pkg/autoops/storage/v2/sql/auto_ops_rule/insert_auto_ops_rule.sql @@ -3,12 +3,11 @@ INSERT INTO auto_ops_rule ( feature_id, ops_type, clauses, - triggered_at, created_at, updated_at, deleted, status, environment_namespace ) VALUES ( - ?, ?, ?, ?, ?, ?, ?, ?, ?, ? + ?, ?, ?, ?, ?, ?, ?, ?, ? ) diff --git a/pkg/autoops/storage/v2/sql/auto_ops_rule/select_auto_ops_rule.sql b/pkg/autoops/storage/v2/sql/auto_ops_rule/select_auto_ops_rule.sql index b7efe94a6..f6b9eaec6 100644 --- a/pkg/autoops/storage/v2/sql/auto_ops_rule/select_auto_ops_rule.sql +++ b/pkg/autoops/storage/v2/sql/auto_ops_rule/select_auto_ops_rule.sql @@ -3,7 +3,6 @@ SELECT feature_id, ops_type, clauses, - triggered_at, created_at, updated_at, deleted, diff --git a/pkg/autoops/storage/v2/sql/auto_ops_rule/select_auto_ops_rules.sql b/pkg/autoops/storage/v2/sql/auto_ops_rule/select_auto_ops_rules.sql index 2ea86b8a6..7bdeb94c4 100644 --- a/pkg/autoops/storage/v2/sql/auto_ops_rule/select_auto_ops_rules.sql +++ b/pkg/autoops/storage/v2/sql/auto_ops_rule/select_auto_ops_rules.sql @@ -3,7 +3,6 @@ SELECT feature_id, ops_type, clauses, - triggered_at, created_at, updated_at, deleted, diff --git a/pkg/autoops/storage/v2/sql/auto_ops_rule/update_auto_ops_rule.sql b/pkg/autoops/storage/v2/sql/auto_ops_rule/update_auto_ops_rule.sql index 61a568d8b..e0d4342d5 100644 --- a/pkg/autoops/storage/v2/sql/auto_ops_rule/update_auto_ops_rule.sql +++ b/pkg/autoops/storage/v2/sql/auto_ops_rule/update_auto_ops_rule.sql @@ -4,7 +4,6 @@ SET feature_id = ?, ops_type = ?, clauses = ?, - triggered_at = ?, created_at = ?, updated_at = ?, deleted = ?, diff --git a/pkg/batch/jobs/opsevent/datetime_watcher.go b/pkg/batch/jobs/opsevent/datetime_watcher.go index 88d5204dc..a3d8e657e 100644 --- a/pkg/batch/jobs/opsevent/datetime_watcher.go +++ b/pkg/batch/jobs/opsevent/datetime_watcher.go @@ -76,7 +76,7 @@ func (w *datetimeWatcher) Run(ctx context.Context) (lastErr error) { } for _, a := range autoOpsRules { aor := &autoopsdomain.AutoOpsRule{AutoOpsRule: a} - if aor.AlreadyTriggered() || aor.IsStopped() || aor.IsFinished() { + if aor.IsFinished() || aor.IsStopped() { continue } executeClauseID, err := w.getExecuteClauseId(ctx, env.Id, aor) diff --git a/pkg/batch/jobs/opsevent/datetime_watcher_test.go b/pkg/batch/jobs/opsevent/datetime_watcher_test.go index e1858c5f3..df0395a9d 100644 --- a/pkg/batch/jobs/opsevent/datetime_watcher_test.go +++ b/pkg/batch/jobs/opsevent/datetime_watcher_test.go @@ -93,16 +93,16 @@ func TestRunDatetimeWatcher(t *testing.T) { &autoopsproto.ListAutoOpsRulesResponse{ AutoOpsRules: []*autoopsproto.AutoOpsRule{ { - Id: "id-0", - FeatureId: "fid-0", - Clauses: []*autoopsproto.Clause{{Clause: c}}, - TriggeredAt: 0, + Id: "id-0", + FeatureId: "fid-0", + Clauses: []*autoopsproto.Clause{{Clause: c}}, + AutoOpsStatus: autoopsproto.AutoOpsStatus_WAITING, }, { - Id: "id-1", - FeatureId: "fid-1", - Clauses: []*autoopsproto.Clause{{Clause: c}}, - TriggeredAt: 1, + Id: "id-1", + FeatureId: "fid-1", + Clauses: []*autoopsproto.Clause{{Clause: c}}, + AutoOpsStatus: autoopsproto.AutoOpsStatus_FINISHED, }, }, }, @@ -141,16 +141,16 @@ func TestRunDatetimeWatcher(t *testing.T) { &autoopsproto.ListAutoOpsRulesResponse{ AutoOpsRules: []*autoopsproto.AutoOpsRule{ { - Id: "id-0", - FeatureId: "fid-0", - Clauses: []*autoopsproto.Clause{{Id: "clause-id-0", Clause: c}}, - TriggeredAt: 0, + Id: "id-0", + FeatureId: "fid-0", + Clauses: []*autoopsproto.Clause{{Id: "clause-id-0", Clause: c}}, + AutoOpsStatus: autoopsproto.AutoOpsStatus_WAITING, }, { - Id: "id-1", - FeatureId: "fid-1", - Clauses: []*autoopsproto.Clause{{Id: "clause-id-1", Clause: c}}, - TriggeredAt: 1, + Id: "id-1", + FeatureId: "fid-1", + Clauses: []*autoopsproto.Clause{{Id: "clause-id-1", Clause: c}}, + AutoOpsStatus: autoopsproto.AutoOpsStatus_FINISHED, }, }, }, diff --git a/pkg/batch/jobs/opsevent/event_count_watcher.go b/pkg/batch/jobs/opsevent/event_count_watcher.go index beb39e630..9b256ae61 100644 --- a/pkg/batch/jobs/opsevent/event_count_watcher.go +++ b/pkg/batch/jobs/opsevent/event_count_watcher.go @@ -92,7 +92,7 @@ func (w *eventCountWatcher) Run(ctx context.Context) (lastErr error) { } for _, a := range autoOpsRules { aor := &autoopsdomain.AutoOpsRule{AutoOpsRule: a} - if aor.AlreadyTriggered() || aor.IsFinished() || aor.IsStopped() { + if aor.IsFinished() || aor.IsStopped() { continue } executeId, err := w.getExecuteClauseId(ctx, env.Id, aor) diff --git a/pkg/batch/jobs/opsevent/event_count_watcher_test.go b/pkg/batch/jobs/opsevent/event_count_watcher_test.go index 1fb907078..42bcea5ac 100644 --- a/pkg/batch/jobs/opsevent/event_count_watcher_test.go +++ b/pkg/batch/jobs/opsevent/event_count_watcher_test.go @@ -253,16 +253,16 @@ func TestRunCountWatcher(t *testing.T) { &autoopsproto.ListAutoOpsRulesResponse{ AutoOpsRules: []*autoopsproto.AutoOpsRule{ { - Id: "id-0", - FeatureId: "fid-0", - Clauses: []*autoopsproto.Clause{{Id: "c1", Clause: c1}}, - TriggeredAt: 0, + Id: "id-0", + FeatureId: "fid-0", + Clauses: []*autoopsproto.Clause{{Id: "c1", Clause: c1}}, + AutoOpsStatus: autoopsproto.AutoOpsStatus_WAITING, }, { - Id: "id-1", - FeatureId: "fid-1", - Clauses: []*autoopsproto.Clause{{Id: "c1", Clause: c1}}, - TriggeredAt: 1, + Id: "id-1", + FeatureId: "fid-1", + Clauses: []*autoopsproto.Clause{{Id: "c1", Clause: c1}}, + AutoOpsStatus: autoopsproto.AutoOpsStatus_FINISHED, }, }, }, diff --git a/pkg/opsevent/batch/executor/executor.go b/pkg/opsevent/batch/executor/executor.go index a730832bb..821c4407f 100644 --- a/pkg/opsevent/batch/executor/executor.go +++ b/pkg/opsevent/batch/executor/executor.go @@ -60,10 +60,9 @@ func NewAutoOpsExecutor(autoOpsClient autoopsclient.Client, opts ...Option) Auto func (e *autoOpsExecutor) Execute(ctx context.Context, environmentNamespace, ruleID, clauseId string) error { resp, err := e.autoOpsClient.ExecuteAutoOps(ctx, &autoopsproto.ExecuteAutoOpsRequest{ - EnvironmentNamespace: environmentNamespace, - Id: ruleID, - ExecuteAutoOpsRuleCommand: &autoopsproto.ExecuteAutoOpsRuleCommand{ClauseId: clauseId}, - ChangeAutoOpsRuleTriggeredAtCommand: &autoopsproto.ChangeAutoOpsRuleTriggeredAtCommand{}, + EnvironmentNamespace: environmentNamespace, + Id: ruleID, + ExecuteAutoOpsRuleCommand: &autoopsproto.ExecuteAutoOpsRuleCommand{ClauseId: clauseId}, }) if err != nil { e.logger.Error("Failed to execute auto ops", zap.Error(err), diff --git a/pkg/subscriber/processor/evaluation_events_ops.go b/pkg/subscriber/processor/evaluation_events_ops.go index efd107ad8..a38150984 100644 --- a/pkg/subscriber/processor/evaluation_events_ops.go +++ b/pkg/subscriber/processor/evaluation_events_ops.go @@ -189,8 +189,10 @@ func (u *evalEvtUpdater) linkOpsRulesByFeatureID( ) []*aoproto.AutoOpsRule { var rules []*aoproto.AutoOpsRule for _, aor := range listAutoOpsRules { + r := &aodomain.AutoOpsRule{AutoOpsRule: aor} // Ignore already triggered ops rules - if aor.FeatureId == featureID && aor.TriggeredAt == 0 { + if aor.FeatureId == featureID && + !(r.IsFinished() || r.IsStopped()) { rules = append(rules, aor) } } diff --git a/pkg/subscriber/processor/goal_events_ops.go b/pkg/subscriber/processor/goal_events_ops.go index b700b9e8a..0ea5bd6a0 100644 --- a/pkg/subscriber/processor/goal_events_ops.go +++ b/pkg/subscriber/processor/goal_events_ops.go @@ -221,7 +221,7 @@ func (u *evalGoalUpdater) linkOpsRulesByGoalID( for _, aor := range listAutoOpsRules { autoOpsRule := &aodomain.AutoOpsRule{AutoOpsRule: aor} // We ignore the rules that are already triggered - if autoOpsRule.AlreadyTriggered() { + if autoOpsRule.IsFinished() || autoOpsRule.IsStopped() { continue } clauses, err := autoOpsRule.ExtractOpsEventRateClauses() diff --git a/proto/auditlog/proto_descriptor.pb b/proto/auditlog/proto_descriptor.pb index 2dedb4f44e6bc2282733620838a2fb85c219df8e..d9b34436f44ab8372fc5838c7bf62a3958d99800 100644 GIT binary patch delta 75 zcmaEHm}%KzrVS^w7_Ut}sTIO_VX~a|s>zGQ>?Z5#B(r(3aIgumZ=RrYiihd#*3B`N f+D?osCwEjYoBT$}cJibeN015@0oKizYeZE6b%q=X delta 124 zcmZ2>nCZn~rVS^w7{5^z_uC)Rg$d5(zd1Mh#{sCJDwM zZn(H($>fD%_LH?_xF-whL~PF2ImN@&w{5evrM45}smbZp%NSKBJ8FmsVrt{5soy-Y HMpP95yum7M diff --git a/proto/autoops/auto_ops_rule.pb.go b/proto/autoops/auto_ops_rule.pb.go index c925998cc..01fcdc2f2 100644 --- a/proto/autoops/auto_ops_rule.pb.go +++ b/proto/autoops/auto_ops_rule.pb.go @@ -147,12 +147,10 @@ type AutoOpsRule struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` - FeatureId string `protobuf:"bytes,2,opt,name=feature_id,json=featureId,proto3" json:"feature_id"` - OpsType OpsType `protobuf:"varint,3,opt,name=ops_type,json=opsType,proto3,enum=bucketeer.autoops.OpsType" json:"ops_type"` - Clauses []*Clause `protobuf:"bytes,4,rep,name=clauses,proto3" json:"clauses"` - // Deprecated: Do not use. - TriggeredAt int64 `protobuf:"varint,6,opt,name=triggered_at,json=triggeredAt,proto3" json:"triggered_at"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` + FeatureId string `protobuf:"bytes,2,opt,name=feature_id,json=featureId,proto3" json:"feature_id"` + OpsType OpsType `protobuf:"varint,3,opt,name=ops_type,json=opsType,proto3,enum=bucketeer.autoops.OpsType" json:"ops_type"` + Clauses []*Clause `protobuf:"bytes,4,rep,name=clauses,proto3" json:"clauses"` CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at"` UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at"` Deleted bool `protobuf:"varint,9,opt,name=deleted,proto3" json:"deleted"` @@ -219,14 +217,6 @@ func (x *AutoOpsRule) GetClauses() []*Clause { return nil } -// Deprecated: Do not use. -func (x *AutoOpsRule) GetTriggeredAt() int64 { - if x != nil { - return x.TriggeredAt - } - return 0 -} - func (x *AutoOpsRule) GetCreatedAt() int64 { if x != nil { return x.CreatedAt @@ -310,7 +300,7 @@ var file_proto_autoops_auto_ops_rule_proto_rawDesc = []byte{ 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x1a, 0x1a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0xf1, 0x02, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, + 0x74, 0x6f, 0x22, 0xd0, 0x02, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, @@ -320,39 +310,37 @@ var file_proto_autoops_auto_ops_rule_proto_rawDesc = []byte{ 0x07, 0x6f, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x43, 0x6c, - 0x61, 0x75, 0x73, 0x65, 0x52, 0x07, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x73, 0x12, 0x25, 0x0a, - 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, - 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, - 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x41, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x48, 0x0a, 0x0f, - 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x6f, 0x70, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, - 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, - 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x54, 0x0a, 0x0c, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, - 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x6f, - 0x70, 0x73, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, + 0x61, 0x75, 0x73, 0x65, 0x52, 0x07, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x73, 0x12, 0x1d, 0x0a, + 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x48, 0x0a, 0x0f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x6f, 0x70, + 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, - 0x70, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, - 0x61, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x2a, 0x58, 0x0a, 0x07, - 0x4f, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x0e, 0x45, 0x4e, 0x41, 0x42, 0x4c, - 0x45, 0x5f, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x10, 0x00, 0x1a, 0x02, 0x08, 0x01, 0x12, - 0x17, 0x0a, 0x0f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x46, 0x45, 0x41, 0x54, 0x55, - 0x52, 0x45, 0x10, 0x01, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x43, 0x48, 0x45, - 0x44, 0x55, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, - 0x52, 0x41, 0x54, 0x45, 0x10, 0x03, 0x2a, 0x44, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, - 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x49, 0x54, 0x49, - 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, - 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x02, 0x12, - 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x45, 0x44, 0x10, 0x03, 0x42, 0x31, 0x5a, 0x2f, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, - 0x74, 0x65, 0x65, 0x72, 0x2d, 0x69, 0x6f, 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, - 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x70, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x0d, 0x61, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, + 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, 0x54, 0x0a, 0x0c, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, + 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x6f, 0x70, + 0x73, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, + 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x61, + 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x2a, 0x58, 0x0a, 0x07, 0x4f, + 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x0e, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, + 0x5f, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x10, 0x00, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x17, + 0x0a, 0x0f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, + 0x45, 0x10, 0x01, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x43, 0x48, 0x45, 0x44, + 0x55, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x52, + 0x41, 0x54, 0x45, 0x10, 0x03, 0x2a, 0x44, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, + 0x47, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, + 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, + 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x45, 0x44, 0x10, 0x03, 0x42, 0x31, 0x5a, 0x2f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, + 0x65, 0x65, 0x72, 0x2d, 0x69, 0x6f, 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/proto/autoops/auto_ops_rule.proto b/proto/autoops/auto_ops_rule.proto index ebea9ceae..25802f470 100644 --- a/proto/autoops/auto_ops_rule.proto +++ b/proto/autoops/auto_ops_rule.proto @@ -24,7 +24,7 @@ message AutoOpsRule { string feature_id = 2; OpsType ops_type = 3; repeated Clause clauses = 4; - int64 triggered_at = 6 [deprecated = true]; + reserved 6; // int64 triggered_at = 6 [deprecated = true]; int64 created_at = 7; int64 updated_at = 8; bool deleted = 9; diff --git a/proto/autoops/command.pb.go b/proto/autoops/command.pb.go index 6c4017665..95e9c423a 100644 --- a/proto/autoops/command.pb.go +++ b/proto/autoops/command.pb.go @@ -228,46 +228,6 @@ func (*StopAutoOpsRuleCommand) Descriptor() ([]byte, []int) { return file_proto_autoops_command_proto_rawDescGZIP(), []int{3} } -// TODO: Remove this function after auto ops migration. -// Deprecated -type ChangeAutoOpsRuleTriggeredAtCommand struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ChangeAutoOpsRuleTriggeredAtCommand) Reset() { - *x = ChangeAutoOpsRuleTriggeredAtCommand{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChangeAutoOpsRuleTriggeredAtCommand) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChangeAutoOpsRuleTriggeredAtCommand) ProtoMessage() {} - -func (x *ChangeAutoOpsRuleTriggeredAtCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_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 ChangeAutoOpsRuleTriggeredAtCommand.ProtoReflect.Descriptor instead. -func (*ChangeAutoOpsRuleTriggeredAtCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{4} -} - type ChangeAutoOpsStatusCommand struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -279,7 +239,7 @@ type ChangeAutoOpsStatusCommand struct { func (x *ChangeAutoOpsStatusCommand) Reset() { *x = ChangeAutoOpsStatusCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[5] + mi := &file_proto_autoops_command_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -292,7 +252,7 @@ func (x *ChangeAutoOpsStatusCommand) String() string { func (*ChangeAutoOpsStatusCommand) ProtoMessage() {} func (x *ChangeAutoOpsStatusCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[5] + mi := &file_proto_autoops_command_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -305,7 +265,7 @@ func (x *ChangeAutoOpsStatusCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeAutoOpsStatusCommand.ProtoReflect.Descriptor instead. func (*ChangeAutoOpsStatusCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{5} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{4} } func (x *ChangeAutoOpsStatusCommand) GetStatus() AutoOpsStatus { @@ -326,7 +286,7 @@ type ExecuteAutoOpsRuleCommand struct { func (x *ExecuteAutoOpsRuleCommand) Reset() { *x = ExecuteAutoOpsRuleCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[6] + mi := &file_proto_autoops_command_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -339,7 +299,7 @@ func (x *ExecuteAutoOpsRuleCommand) String() string { func (*ExecuteAutoOpsRuleCommand) ProtoMessage() {} func (x *ExecuteAutoOpsRuleCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[6] + mi := &file_proto_autoops_command_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -352,7 +312,7 @@ func (x *ExecuteAutoOpsRuleCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteAutoOpsRuleCommand.ProtoReflect.Descriptor instead. func (*ExecuteAutoOpsRuleCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{6} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{5} } func (x *ExecuteAutoOpsRuleCommand) GetClauseId() string { @@ -373,7 +333,7 @@ type AddOpsEventRateClauseCommand struct { func (x *AddOpsEventRateClauseCommand) Reset() { *x = AddOpsEventRateClauseCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[7] + mi := &file_proto_autoops_command_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -386,7 +346,7 @@ func (x *AddOpsEventRateClauseCommand) String() string { func (*AddOpsEventRateClauseCommand) ProtoMessage() {} func (x *AddOpsEventRateClauseCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[7] + mi := &file_proto_autoops_command_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -399,7 +359,7 @@ func (x *AddOpsEventRateClauseCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use AddOpsEventRateClauseCommand.ProtoReflect.Descriptor instead. func (*AddOpsEventRateClauseCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{7} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{6} } func (x *AddOpsEventRateClauseCommand) GetOpsEventRateClause() *OpsEventRateClause { @@ -421,7 +381,7 @@ type ChangeOpsEventRateClauseCommand struct { func (x *ChangeOpsEventRateClauseCommand) Reset() { *x = ChangeOpsEventRateClauseCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[8] + mi := &file_proto_autoops_command_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -434,7 +394,7 @@ func (x *ChangeOpsEventRateClauseCommand) String() string { func (*ChangeOpsEventRateClauseCommand) ProtoMessage() {} func (x *ChangeOpsEventRateClauseCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[8] + mi := &file_proto_autoops_command_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -447,7 +407,7 @@ func (x *ChangeOpsEventRateClauseCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeOpsEventRateClauseCommand.ProtoReflect.Descriptor instead. func (*ChangeOpsEventRateClauseCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{8} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{7} } func (x *ChangeOpsEventRateClauseCommand) GetId() string { @@ -475,7 +435,7 @@ type DeleteClauseCommand struct { func (x *DeleteClauseCommand) Reset() { *x = DeleteClauseCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[9] + mi := &file_proto_autoops_command_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -488,7 +448,7 @@ func (x *DeleteClauseCommand) String() string { func (*DeleteClauseCommand) ProtoMessage() {} func (x *DeleteClauseCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[9] + mi := &file_proto_autoops_command_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -501,7 +461,7 @@ func (x *DeleteClauseCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteClauseCommand.ProtoReflect.Descriptor instead. func (*DeleteClauseCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{9} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{8} } func (x *DeleteClauseCommand) GetId() string { @@ -522,7 +482,7 @@ type AddDatetimeClauseCommand struct { func (x *AddDatetimeClauseCommand) Reset() { *x = AddDatetimeClauseCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[10] + mi := &file_proto_autoops_command_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -535,7 +495,7 @@ func (x *AddDatetimeClauseCommand) String() string { func (*AddDatetimeClauseCommand) ProtoMessage() {} func (x *AddDatetimeClauseCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[10] + mi := &file_proto_autoops_command_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -548,7 +508,7 @@ func (x *AddDatetimeClauseCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use AddDatetimeClauseCommand.ProtoReflect.Descriptor instead. func (*AddDatetimeClauseCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{10} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{9} } func (x *AddDatetimeClauseCommand) GetDatetimeClause() *DatetimeClause { @@ -570,7 +530,7 @@ type ChangeDatetimeClauseCommand struct { func (x *ChangeDatetimeClauseCommand) Reset() { *x = ChangeDatetimeClauseCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[11] + mi := &file_proto_autoops_command_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -583,7 +543,7 @@ func (x *ChangeDatetimeClauseCommand) String() string { func (*ChangeDatetimeClauseCommand) ProtoMessage() {} func (x *ChangeDatetimeClauseCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[11] + mi := &file_proto_autoops_command_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -596,7 +556,7 @@ func (x *ChangeDatetimeClauseCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeDatetimeClauseCommand.ProtoReflect.Descriptor instead. func (*ChangeDatetimeClauseCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{11} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{10} } func (x *ChangeDatetimeClauseCommand) GetId() string { @@ -626,7 +586,7 @@ type CreateProgressiveRolloutCommand struct { func (x *CreateProgressiveRolloutCommand) Reset() { *x = CreateProgressiveRolloutCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[12] + mi := &file_proto_autoops_command_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -639,7 +599,7 @@ func (x *CreateProgressiveRolloutCommand) String() string { func (*CreateProgressiveRolloutCommand) ProtoMessage() {} func (x *CreateProgressiveRolloutCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[12] + mi := &file_proto_autoops_command_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -652,7 +612,7 @@ func (x *CreateProgressiveRolloutCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateProgressiveRolloutCommand.ProtoReflect.Descriptor instead. func (*CreateProgressiveRolloutCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{12} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{11} } func (x *CreateProgressiveRolloutCommand) GetFeatureId() string { @@ -687,7 +647,7 @@ type StopProgressiveRolloutCommand struct { func (x *StopProgressiveRolloutCommand) Reset() { *x = StopProgressiveRolloutCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[13] + mi := &file_proto_autoops_command_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -700,7 +660,7 @@ func (x *StopProgressiveRolloutCommand) String() string { func (*StopProgressiveRolloutCommand) ProtoMessage() {} func (x *StopProgressiveRolloutCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[13] + mi := &file_proto_autoops_command_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -713,7 +673,7 @@ func (x *StopProgressiveRolloutCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use StopProgressiveRolloutCommand.ProtoReflect.Descriptor instead. func (*StopProgressiveRolloutCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{13} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{12} } func (x *StopProgressiveRolloutCommand) GetStoppedBy() ProgressiveRollout_StoppedBy { @@ -732,7 +692,7 @@ type DeleteProgressiveRolloutCommand struct { func (x *DeleteProgressiveRolloutCommand) Reset() { *x = DeleteProgressiveRolloutCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[14] + mi := &file_proto_autoops_command_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -745,7 +705,7 @@ func (x *DeleteProgressiveRolloutCommand) String() string { func (*DeleteProgressiveRolloutCommand) ProtoMessage() {} func (x *DeleteProgressiveRolloutCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[14] + mi := &file_proto_autoops_command_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -758,7 +718,7 @@ func (x *DeleteProgressiveRolloutCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteProgressiveRolloutCommand.ProtoReflect.Descriptor instead. func (*DeleteProgressiveRolloutCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{14} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{13} } type AddProgressiveRolloutManualScheduleClauseCommand struct { @@ -772,7 +732,7 @@ type AddProgressiveRolloutManualScheduleClauseCommand struct { func (x *AddProgressiveRolloutManualScheduleClauseCommand) Reset() { *x = AddProgressiveRolloutManualScheduleClauseCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[15] + mi := &file_proto_autoops_command_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -785,7 +745,7 @@ func (x *AddProgressiveRolloutManualScheduleClauseCommand) String() string { func (*AddProgressiveRolloutManualScheduleClauseCommand) ProtoMessage() {} func (x *AddProgressiveRolloutManualScheduleClauseCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[15] + mi := &file_proto_autoops_command_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -798,7 +758,7 @@ func (x *AddProgressiveRolloutManualScheduleClauseCommand) ProtoReflect() protor // Deprecated: Use AddProgressiveRolloutManualScheduleClauseCommand.ProtoReflect.Descriptor instead. func (*AddProgressiveRolloutManualScheduleClauseCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{15} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{14} } func (x *AddProgressiveRolloutManualScheduleClauseCommand) GetClause() *ProgressiveRolloutManualScheduleClause { @@ -819,7 +779,7 @@ type AddProgressiveRolloutTemplateScheduleClauseCommand struct { func (x *AddProgressiveRolloutTemplateScheduleClauseCommand) Reset() { *x = AddProgressiveRolloutTemplateScheduleClauseCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[16] + mi := &file_proto_autoops_command_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -832,7 +792,7 @@ func (x *AddProgressiveRolloutTemplateScheduleClauseCommand) String() string { func (*AddProgressiveRolloutTemplateScheduleClauseCommand) ProtoMessage() {} func (x *AddProgressiveRolloutTemplateScheduleClauseCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[16] + mi := &file_proto_autoops_command_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -845,7 +805,7 @@ func (x *AddProgressiveRolloutTemplateScheduleClauseCommand) ProtoReflect() prot // Deprecated: Use AddProgressiveRolloutTemplateScheduleClauseCommand.ProtoReflect.Descriptor instead. func (*AddProgressiveRolloutTemplateScheduleClauseCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{16} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{15} } func (x *AddProgressiveRolloutTemplateScheduleClauseCommand) GetClause() *ProgressiveRolloutTemplateScheduleClause { @@ -866,7 +826,7 @@ type ChangeProgressiveRolloutScheduleTriggeredAtCommand struct { func (x *ChangeProgressiveRolloutScheduleTriggeredAtCommand) Reset() { *x = ChangeProgressiveRolloutScheduleTriggeredAtCommand{} if protoimpl.UnsafeEnabled { - mi := &file_proto_autoops_command_proto_msgTypes[17] + mi := &file_proto_autoops_command_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -879,7 +839,7 @@ func (x *ChangeProgressiveRolloutScheduleTriggeredAtCommand) String() string { func (*ChangeProgressiveRolloutScheduleTriggeredAtCommand) ProtoMessage() {} func (x *ChangeProgressiveRolloutScheduleTriggeredAtCommand) ProtoReflect() protoreflect.Message { - mi := &file_proto_autoops_command_proto_msgTypes[17] + mi := &file_proto_autoops_command_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -892,7 +852,7 @@ func (x *ChangeProgressiveRolloutScheduleTriggeredAtCommand) ProtoReflect() prot // Deprecated: Use ChangeProgressiveRolloutScheduleTriggeredAtCommand.ProtoReflect.Descriptor instead. func (*ChangeProgressiveRolloutScheduleTriggeredAtCommand) Descriptor() ([]byte, []int) { - return file_proto_autoops_command_proto_rawDescGZIP(), []int{17} + return file_proto_autoops_command_proto_rawDescGZIP(), []int{16} } func (x *ChangeProgressiveRolloutScheduleTriggeredAtCommand) GetScheduleId() string { @@ -941,117 +901,115 @@ var file_proto_autoops_command_proto_rawDesc = []byte{ 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x25, 0x0a, 0x23, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, - 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, - 0x72, 0x65, 0x64, 0x41, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x56, 0x0a, 0x1a, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x38, 0x0a, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x75, 0x63, - 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x41, - 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x22, 0x38, 0x0a, 0x19, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x41, - 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x49, 0x64, 0x22, 0x78, - 0x0a, 0x1c, 0x41, 0x64, 0x64, 0x4f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, - 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x58, - 0x0a, 0x15, 0x6f, 0x70, 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x61, 0x74, 0x65, - 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, - 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, - 0x73, 0x2e, 0x4f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, - 0x61, 0x75, 0x73, 0x65, 0x52, 0x12, 0x6f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, - 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x1f, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, - 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x58, 0x0a, 0x15, - 0x6f, 0x70, 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x63, - 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x56, 0x0a, 0x1a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, + 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x12, 0x38, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, + 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x38, 0x0a, + 0x19, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, + 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, + 0x61, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, + 0x6c, 0x61, 0x75, 0x73, 0x65, 0x49, 0x64, 0x22, 0x78, 0x0a, 0x1c, 0x41, 0x64, 0x64, 0x4f, 0x70, + 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, + 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x58, 0x0a, 0x15, 0x6f, 0x70, 0x73, 0x5f, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, + 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x4f, 0x70, 0x73, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x12, 0x6f, + 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, + 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x1f, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x73, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x58, 0x0a, 0x15, 0x6f, 0x70, 0x73, 0x5f, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, + 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x4f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x12, 0x6f, 0x70, 0x73, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, + 0x25, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x66, 0x0a, 0x18, 0x41, 0x64, 0x64, 0x44, 0x61, 0x74, + 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x12, 0x4a, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, + 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, - 0x4f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, - 0x73, 0x65, 0x52, 0x12, 0x6f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, - 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x25, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x0e, + 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x79, + 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x66, 0x0a, - 0x18, 0x41, 0x64, 0x64, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, - 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x4a, 0x0a, 0x0f, 0x64, 0x61, 0x74, - 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, - 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, - 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, - 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x79, 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, - 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x4a, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, - 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, - 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, - 0x73, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, - 0x52, 0x0e, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, - 0x22, 0xe0, 0x03, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x43, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x49, 0x64, 0x12, 0x9a, 0x01, 0x0a, 0x2a, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, - 0x69, 0x76, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x5f, 0x6d, 0x61, 0x6e, 0x75, - 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, - 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, - 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, - 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x4d, - 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, - 0x75, 0x73, 0x65, 0x48, 0x00, 0x52, 0x26, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, - 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x53, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x88, 0x01, 0x01, - 0x12, 0xa0, 0x01, 0x0a, 0x2c, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, - 0x5f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, - 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x67, - 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6c, - 0x61, 0x75, 0x73, 0x65, 0x48, 0x01, 0x52, 0x28, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, - 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, - 0x88, 0x01, 0x01, 0x42, 0x2d, 0x0a, 0x2b, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, - 0x69, 0x76, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x5f, 0x6d, 0x61, 0x6e, 0x75, - 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, - 0x73, 0x65, 0x42, 0x2f, 0x0a, 0x2d, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, - 0x76, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x61, - 0x75, 0x73, 0x65, 0x22, 0x6f, 0x0a, 0x1d, 0x53, 0x74, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x43, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x4e, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, - 0x62, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, - 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, - 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x2e, - 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x42, 0x79, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, 0x70, - 0x65, 0x64, 0x42, 0x79, 0x22, 0x21, 0x0a, 0x1f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x4a, 0x0a, + 0x0f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, + 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x74, + 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x65, 0x74, + 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0xe0, 0x03, 0x0a, 0x1f, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, + 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x9a, 0x01, 0x0a, + 0x2a, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x6f, 0x6c, + 0x6c, 0x6f, 0x75, 0x74, 0x5f, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x39, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, + 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, + 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x53, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x48, 0x00, 0x52, 0x26, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, + 0x75, 0x74, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x88, 0x01, 0x01, 0x12, 0xa0, 0x01, 0x0a, 0x2c, 0x70, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, + 0x74, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x3b, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, + 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, + 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x48, 0x01, 0x52, + 0x28, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, + 0x6f, 0x75, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x88, 0x01, 0x01, 0x42, 0x2d, 0x0a, 0x2b, + 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x6f, 0x6c, + 0x6c, 0x6f, 0x75, 0x74, 0x5f, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x42, 0x2f, 0x0a, 0x2d, 0x5f, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x6c, + 0x6f, 0x75, 0x74, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x6f, 0x0a, 0x1d, + 0x53, 0x74, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, + 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x4e, 0x0a, + 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, + 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, + 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, + 0x42, 0x79, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x42, 0x79, 0x22, 0x21, 0x0a, + 0x1f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, + 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x22, 0x85, 0x01, 0x0a, 0x30, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, + 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x51, 0x0a, 0x06, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, + 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x4d, 0x61, 0x6e, 0x75, + 0x61, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, + 0x52, 0x06, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x32, 0x41, 0x64, 0x64, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, + 0x75, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, + 0x53, 0x0a, 0x06, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x3b, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, + 0x6f, 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, + 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x06, 0x63, 0x6c, + 0x61, 0x75, 0x73, 0x65, 0x22, 0x55, 0x0a, 0x32, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x85, 0x01, 0x0a, 0x30, 0x41, 0x64, 0x64, 0x50, - 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, - 0x74, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, - 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x51, 0x0a, 0x06, - 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x62, - 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, - 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, - 0x6f, 0x75, 0x74, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, - 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x06, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, - 0x89, 0x01, 0x0a, 0x32, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, - 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, - 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x53, 0x0a, 0x06, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, - 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x54, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6c, 0x61, - 0x75, 0x73, 0x65, 0x52, 0x06, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x55, 0x0a, 0x32, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, - 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x54, - 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x41, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x49, 0x64, 0x42, 0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2d, 0x69, 0x6f, 0x2f, 0x62, 0x75, - 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, - 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, + 0x64, 0x41, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x31, 0x5a, 0x2f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, + 0x65, 0x65, 0x72, 0x2d, 0x69, 0x6f, 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1066,49 +1024,48 @@ func file_proto_autoops_command_proto_rawDescGZIP() []byte { return file_proto_autoops_command_proto_rawDescData } -var file_proto_autoops_command_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_proto_autoops_command_proto_msgTypes = make([]protoimpl.MessageInfo, 17) var file_proto_autoops_command_proto_goTypes = []interface{}{ (*CreateAutoOpsRuleCommand)(nil), // 0: bucketeer.autoops.CreateAutoOpsRuleCommand (*ChangeAutoOpsRuleOpsTypeCommand)(nil), // 1: bucketeer.autoops.ChangeAutoOpsRuleOpsTypeCommand (*DeleteAutoOpsRuleCommand)(nil), // 2: bucketeer.autoops.DeleteAutoOpsRuleCommand (*StopAutoOpsRuleCommand)(nil), // 3: bucketeer.autoops.StopAutoOpsRuleCommand - (*ChangeAutoOpsRuleTriggeredAtCommand)(nil), // 4: bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand - (*ChangeAutoOpsStatusCommand)(nil), // 5: bucketeer.autoops.ChangeAutoOpsStatusCommand - (*ExecuteAutoOpsRuleCommand)(nil), // 6: bucketeer.autoops.ExecuteAutoOpsRuleCommand - (*AddOpsEventRateClauseCommand)(nil), // 7: bucketeer.autoops.AddOpsEventRateClauseCommand - (*ChangeOpsEventRateClauseCommand)(nil), // 8: bucketeer.autoops.ChangeOpsEventRateClauseCommand - (*DeleteClauseCommand)(nil), // 9: bucketeer.autoops.DeleteClauseCommand - (*AddDatetimeClauseCommand)(nil), // 10: bucketeer.autoops.AddDatetimeClauseCommand - (*ChangeDatetimeClauseCommand)(nil), // 11: bucketeer.autoops.ChangeDatetimeClauseCommand - (*CreateProgressiveRolloutCommand)(nil), // 12: bucketeer.autoops.CreateProgressiveRolloutCommand - (*StopProgressiveRolloutCommand)(nil), // 13: bucketeer.autoops.StopProgressiveRolloutCommand - (*DeleteProgressiveRolloutCommand)(nil), // 14: bucketeer.autoops.DeleteProgressiveRolloutCommand - (*AddProgressiveRolloutManualScheduleClauseCommand)(nil), // 15: bucketeer.autoops.AddProgressiveRolloutManualScheduleClauseCommand - (*AddProgressiveRolloutTemplateScheduleClauseCommand)(nil), // 16: bucketeer.autoops.AddProgressiveRolloutTemplateScheduleClauseCommand - (*ChangeProgressiveRolloutScheduleTriggeredAtCommand)(nil), // 17: bucketeer.autoops.ChangeProgressiveRolloutScheduleTriggeredAtCommand - (OpsType)(0), // 18: bucketeer.autoops.OpsType - (*OpsEventRateClause)(nil), // 19: bucketeer.autoops.OpsEventRateClause - (*DatetimeClause)(nil), // 20: bucketeer.autoops.DatetimeClause - (AutoOpsStatus)(0), // 21: bucketeer.autoops.AutoOpsStatus - (*ProgressiveRolloutManualScheduleClause)(nil), // 22: bucketeer.autoops.ProgressiveRolloutManualScheduleClause - (*ProgressiveRolloutTemplateScheduleClause)(nil), // 23: bucketeer.autoops.ProgressiveRolloutTemplateScheduleClause - (ProgressiveRollout_StoppedBy)(0), // 24: bucketeer.autoops.ProgressiveRollout.StoppedBy + (*ChangeAutoOpsStatusCommand)(nil), // 4: bucketeer.autoops.ChangeAutoOpsStatusCommand + (*ExecuteAutoOpsRuleCommand)(nil), // 5: bucketeer.autoops.ExecuteAutoOpsRuleCommand + (*AddOpsEventRateClauseCommand)(nil), // 6: bucketeer.autoops.AddOpsEventRateClauseCommand + (*ChangeOpsEventRateClauseCommand)(nil), // 7: bucketeer.autoops.ChangeOpsEventRateClauseCommand + (*DeleteClauseCommand)(nil), // 8: bucketeer.autoops.DeleteClauseCommand + (*AddDatetimeClauseCommand)(nil), // 9: bucketeer.autoops.AddDatetimeClauseCommand + (*ChangeDatetimeClauseCommand)(nil), // 10: bucketeer.autoops.ChangeDatetimeClauseCommand + (*CreateProgressiveRolloutCommand)(nil), // 11: bucketeer.autoops.CreateProgressiveRolloutCommand + (*StopProgressiveRolloutCommand)(nil), // 12: bucketeer.autoops.StopProgressiveRolloutCommand + (*DeleteProgressiveRolloutCommand)(nil), // 13: bucketeer.autoops.DeleteProgressiveRolloutCommand + (*AddProgressiveRolloutManualScheduleClauseCommand)(nil), // 14: bucketeer.autoops.AddProgressiveRolloutManualScheduleClauseCommand + (*AddProgressiveRolloutTemplateScheduleClauseCommand)(nil), // 15: bucketeer.autoops.AddProgressiveRolloutTemplateScheduleClauseCommand + (*ChangeProgressiveRolloutScheduleTriggeredAtCommand)(nil), // 16: bucketeer.autoops.ChangeProgressiveRolloutScheduleTriggeredAtCommand + (OpsType)(0), // 17: bucketeer.autoops.OpsType + (*OpsEventRateClause)(nil), // 18: bucketeer.autoops.OpsEventRateClause + (*DatetimeClause)(nil), // 19: bucketeer.autoops.DatetimeClause + (AutoOpsStatus)(0), // 20: bucketeer.autoops.AutoOpsStatus + (*ProgressiveRolloutManualScheduleClause)(nil), // 21: bucketeer.autoops.ProgressiveRolloutManualScheduleClause + (*ProgressiveRolloutTemplateScheduleClause)(nil), // 22: bucketeer.autoops.ProgressiveRolloutTemplateScheduleClause + (ProgressiveRollout_StoppedBy)(0), // 23: bucketeer.autoops.ProgressiveRollout.StoppedBy } var file_proto_autoops_command_proto_depIdxs = []int32{ - 18, // 0: bucketeer.autoops.CreateAutoOpsRuleCommand.ops_type:type_name -> bucketeer.autoops.OpsType - 19, // 1: bucketeer.autoops.CreateAutoOpsRuleCommand.ops_event_rate_clauses:type_name -> bucketeer.autoops.OpsEventRateClause - 20, // 2: bucketeer.autoops.CreateAutoOpsRuleCommand.datetime_clauses:type_name -> bucketeer.autoops.DatetimeClause - 18, // 3: bucketeer.autoops.ChangeAutoOpsRuleOpsTypeCommand.ops_type:type_name -> bucketeer.autoops.OpsType - 21, // 4: bucketeer.autoops.ChangeAutoOpsStatusCommand.status:type_name -> bucketeer.autoops.AutoOpsStatus - 19, // 5: bucketeer.autoops.AddOpsEventRateClauseCommand.ops_event_rate_clause:type_name -> bucketeer.autoops.OpsEventRateClause - 19, // 6: bucketeer.autoops.ChangeOpsEventRateClauseCommand.ops_event_rate_clause:type_name -> bucketeer.autoops.OpsEventRateClause - 20, // 7: bucketeer.autoops.AddDatetimeClauseCommand.datetime_clause:type_name -> bucketeer.autoops.DatetimeClause - 20, // 8: bucketeer.autoops.ChangeDatetimeClauseCommand.datetime_clause:type_name -> bucketeer.autoops.DatetimeClause - 22, // 9: bucketeer.autoops.CreateProgressiveRolloutCommand.progressive_rollout_manual_schedule_clause:type_name -> bucketeer.autoops.ProgressiveRolloutManualScheduleClause - 23, // 10: bucketeer.autoops.CreateProgressiveRolloutCommand.progressive_rollout_template_schedule_clause:type_name -> bucketeer.autoops.ProgressiveRolloutTemplateScheduleClause - 24, // 11: bucketeer.autoops.StopProgressiveRolloutCommand.stopped_by:type_name -> bucketeer.autoops.ProgressiveRollout.StoppedBy - 22, // 12: bucketeer.autoops.AddProgressiveRolloutManualScheduleClauseCommand.clause:type_name -> bucketeer.autoops.ProgressiveRolloutManualScheduleClause - 23, // 13: bucketeer.autoops.AddProgressiveRolloutTemplateScheduleClauseCommand.clause:type_name -> bucketeer.autoops.ProgressiveRolloutTemplateScheduleClause + 17, // 0: bucketeer.autoops.CreateAutoOpsRuleCommand.ops_type:type_name -> bucketeer.autoops.OpsType + 18, // 1: bucketeer.autoops.CreateAutoOpsRuleCommand.ops_event_rate_clauses:type_name -> bucketeer.autoops.OpsEventRateClause + 19, // 2: bucketeer.autoops.CreateAutoOpsRuleCommand.datetime_clauses:type_name -> bucketeer.autoops.DatetimeClause + 17, // 3: bucketeer.autoops.ChangeAutoOpsRuleOpsTypeCommand.ops_type:type_name -> bucketeer.autoops.OpsType + 20, // 4: bucketeer.autoops.ChangeAutoOpsStatusCommand.status:type_name -> bucketeer.autoops.AutoOpsStatus + 18, // 5: bucketeer.autoops.AddOpsEventRateClauseCommand.ops_event_rate_clause:type_name -> bucketeer.autoops.OpsEventRateClause + 18, // 6: bucketeer.autoops.ChangeOpsEventRateClauseCommand.ops_event_rate_clause:type_name -> bucketeer.autoops.OpsEventRateClause + 19, // 7: bucketeer.autoops.AddDatetimeClauseCommand.datetime_clause:type_name -> bucketeer.autoops.DatetimeClause + 19, // 8: bucketeer.autoops.ChangeDatetimeClauseCommand.datetime_clause:type_name -> bucketeer.autoops.DatetimeClause + 21, // 9: bucketeer.autoops.CreateProgressiveRolloutCommand.progressive_rollout_manual_schedule_clause:type_name -> bucketeer.autoops.ProgressiveRolloutManualScheduleClause + 22, // 10: bucketeer.autoops.CreateProgressiveRolloutCommand.progressive_rollout_template_schedule_clause:type_name -> bucketeer.autoops.ProgressiveRolloutTemplateScheduleClause + 23, // 11: bucketeer.autoops.StopProgressiveRolloutCommand.stopped_by:type_name -> bucketeer.autoops.ProgressiveRollout.StoppedBy + 21, // 12: bucketeer.autoops.AddProgressiveRolloutManualScheduleClauseCommand.clause:type_name -> bucketeer.autoops.ProgressiveRolloutManualScheduleClause + 22, // 13: bucketeer.autoops.AddProgressiveRolloutTemplateScheduleClauseCommand.clause:type_name -> bucketeer.autoops.ProgressiveRolloutTemplateScheduleClause 14, // [14:14] is the sub-list for method output_type 14, // [14:14] is the sub-list for method input_type 14, // [14:14] is the sub-list for extension type_name @@ -1174,18 +1131,6 @@ func file_proto_autoops_command_proto_init() { } } file_proto_autoops_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeAutoOpsRuleTriggeredAtCommand); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_autoops_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangeAutoOpsStatusCommand); i { case 0: return &v.state @@ -1197,7 +1142,7 @@ func file_proto_autoops_command_proto_init() { return nil } } - file_proto_autoops_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoops_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExecuteAutoOpsRuleCommand); i { case 0: return &v.state @@ -1209,7 +1154,7 @@ func file_proto_autoops_command_proto_init() { return nil } } - file_proto_autoops_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoops_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddOpsEventRateClauseCommand); i { case 0: return &v.state @@ -1221,7 +1166,7 @@ func file_proto_autoops_command_proto_init() { return nil } } - file_proto_autoops_command_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoops_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangeOpsEventRateClauseCommand); i { case 0: return &v.state @@ -1233,7 +1178,7 @@ func file_proto_autoops_command_proto_init() { return nil } } - file_proto_autoops_command_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoops_command_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteClauseCommand); i { case 0: return &v.state @@ -1245,7 +1190,7 @@ func file_proto_autoops_command_proto_init() { return nil } } - file_proto_autoops_command_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoops_command_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddDatetimeClauseCommand); i { case 0: return &v.state @@ -1257,7 +1202,7 @@ func file_proto_autoops_command_proto_init() { return nil } } - file_proto_autoops_command_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoops_command_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangeDatetimeClauseCommand); i { case 0: return &v.state @@ -1269,7 +1214,7 @@ func file_proto_autoops_command_proto_init() { return nil } } - file_proto_autoops_command_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoops_command_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateProgressiveRolloutCommand); i { case 0: return &v.state @@ -1281,7 +1226,7 @@ func file_proto_autoops_command_proto_init() { return nil } } - file_proto_autoops_command_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoops_command_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StopProgressiveRolloutCommand); i { case 0: return &v.state @@ -1293,7 +1238,7 @@ func file_proto_autoops_command_proto_init() { return nil } } - file_proto_autoops_command_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoops_command_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteProgressiveRolloutCommand); i { case 0: return &v.state @@ -1305,7 +1250,7 @@ func file_proto_autoops_command_proto_init() { return nil } } - file_proto_autoops_command_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoops_command_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddProgressiveRolloutManualScheduleClauseCommand); i { case 0: return &v.state @@ -1317,7 +1262,7 @@ func file_proto_autoops_command_proto_init() { return nil } } - file_proto_autoops_command_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoops_command_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddProgressiveRolloutTemplateScheduleClauseCommand); i { case 0: return &v.state @@ -1329,7 +1274,7 @@ func file_proto_autoops_command_proto_init() { return nil } } - file_proto_autoops_command_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_proto_autoops_command_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangeProgressiveRolloutScheduleTriggeredAtCommand); i { case 0: return &v.state @@ -1342,14 +1287,14 @@ func file_proto_autoops_command_proto_init() { } } } - file_proto_autoops_command_proto_msgTypes[12].OneofWrappers = []interface{}{} + file_proto_autoops_command_proto_msgTypes[11].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_proto_autoops_command_proto_rawDesc, NumEnums: 0, - NumMessages: 18, + NumMessages: 17, NumExtensions: 0, NumServices: 0, }, diff --git a/proto/autoops/command.proto b/proto/autoops/command.proto index a5b799030..b2171260d 100644 --- a/proto/autoops/command.proto +++ b/proto/autoops/command.proto @@ -36,10 +36,6 @@ message DeleteAutoOpsRuleCommand {} message StopAutoOpsRuleCommand {} -// TODO: Remove this function after auto ops migration. -// Deprecated -message ChangeAutoOpsRuleTriggeredAtCommand {} - message ChangeAutoOpsStatusCommand { AutoOpsStatus status = 1; } diff --git a/proto/autoops/proto_descriptor.pb b/proto/autoops/proto_descriptor.pb index d17324129dc527635e88d626720f0fd55202a6ed..7fe78340df139773d9b5eb58ab044ec420a69f85 100644 GIT binary patch delta 84 zcmZ3Mcs_nZD;x7QR<6ko;!2ZOu^BL4n0%XU)#Nqo3)#F_IM@W(H~VtvurRi5uHtcL o+Wdk~m4m6nXfwaKJO|Sy#>ocqv6Gb)@fzbtV>D;x87R<6n2JW7*Su^BLaoP3*Ym6|FSPf1Z`dU|S6YD#=!i3FPhqXx4R zlLTWBH(cDYWO57pqRl!SIxLK9H%IcgGYP74DLZE*=B1}PmX_rE7Ze9gelH@rc|M;S z2h()p&Bw*$IhY bucketeer.autoops.AutoOpsRule @@ -2210,52 +2190,51 @@ var file_proto_autoops_service_proto_depIdxs = []int32{ 37, // 8: bucketeer.autoops.UpdateAutoOpsRuleRequest.delete_clause_commands:type_name -> bucketeer.autoops.DeleteClauseCommand 38, // 9: bucketeer.autoops.UpdateAutoOpsRuleRequest.add_datetime_clause_commands:type_name -> bucketeer.autoops.AddDatetimeClauseCommand 39, // 10: bucketeer.autoops.UpdateAutoOpsRuleRequest.change_datetime_clause_commands:type_name -> bucketeer.autoops.ChangeDatetimeClauseCommand - 40, // 11: bucketeer.autoops.ExecuteAutoOpsRequest.change_auto_ops_rule_triggered_at_command:type_name -> bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand - 41, // 12: bucketeer.autoops.ExecuteAutoOpsRequest.execute_auto_ops_rule_command:type_name -> bucketeer.autoops.ExecuteAutoOpsRuleCommand - 42, // 13: bucketeer.autoops.ListOpsCountsResponse.ops_counts:type_name -> bucketeer.autoops.OpsCount - 43, // 14: bucketeer.autoops.CreateProgressiveRolloutRequest.command:type_name -> bucketeer.autoops.CreateProgressiveRolloutCommand - 44, // 15: bucketeer.autoops.GetProgressiveRolloutResponse.progressive_rollout:type_name -> bucketeer.autoops.ProgressiveRollout - 45, // 16: bucketeer.autoops.StopProgressiveRolloutRequest.command:type_name -> bucketeer.autoops.StopProgressiveRolloutCommand - 46, // 17: bucketeer.autoops.DeleteProgressiveRolloutRequest.command:type_name -> bucketeer.autoops.DeleteProgressiveRolloutCommand - 0, // 18: bucketeer.autoops.ListProgressiveRolloutsRequest.order_by:type_name -> bucketeer.autoops.ListProgressiveRolloutsRequest.OrderBy - 1, // 19: bucketeer.autoops.ListProgressiveRolloutsRequest.order_direction:type_name -> bucketeer.autoops.ListProgressiveRolloutsRequest.OrderDirection - 47, // 20: bucketeer.autoops.ListProgressiveRolloutsRequest.status:type_name -> bucketeer.autoops.ProgressiveRollout.Status - 48, // 21: bucketeer.autoops.ListProgressiveRolloutsRequest.type:type_name -> bucketeer.autoops.ProgressiveRollout.Type - 44, // 22: bucketeer.autoops.ListProgressiveRolloutsResponse.progressive_rollouts:type_name -> bucketeer.autoops.ProgressiveRollout - 49, // 23: bucketeer.autoops.ExecuteProgressiveRolloutRequest.change_progressive_rollout_triggered_at_command:type_name -> bucketeer.autoops.ChangeProgressiveRolloutScheduleTriggeredAtCommand - 2, // 24: bucketeer.autoops.AutoOpsService.GetAutoOpsRule:input_type -> bucketeer.autoops.GetAutoOpsRuleRequest - 6, // 25: bucketeer.autoops.AutoOpsService.ListAutoOpsRules:input_type -> bucketeer.autoops.ListAutoOpsRulesRequest - 4, // 26: bucketeer.autoops.AutoOpsService.CreateAutoOpsRule:input_type -> bucketeer.autoops.CreateAutoOpsRuleRequest - 8, // 27: bucketeer.autoops.AutoOpsService.StopAutoOpsRule:input_type -> bucketeer.autoops.StopAutoOpsRuleRequest - 10, // 28: bucketeer.autoops.AutoOpsService.DeleteAutoOpsRule:input_type -> bucketeer.autoops.DeleteAutoOpsRuleRequest - 12, // 29: bucketeer.autoops.AutoOpsService.UpdateAutoOpsRule:input_type -> bucketeer.autoops.UpdateAutoOpsRuleRequest - 14, // 30: bucketeer.autoops.AutoOpsService.ExecuteAutoOps:input_type -> bucketeer.autoops.ExecuteAutoOpsRequest - 16, // 31: bucketeer.autoops.AutoOpsService.ListOpsCounts:input_type -> bucketeer.autoops.ListOpsCountsRequest - 18, // 32: bucketeer.autoops.AutoOpsService.CreateProgressiveRollout:input_type -> bucketeer.autoops.CreateProgressiveRolloutRequest - 20, // 33: bucketeer.autoops.AutoOpsService.GetProgressiveRollout:input_type -> bucketeer.autoops.GetProgressiveRolloutRequest - 22, // 34: bucketeer.autoops.AutoOpsService.StopProgressiveRollout:input_type -> bucketeer.autoops.StopProgressiveRolloutRequest - 24, // 35: bucketeer.autoops.AutoOpsService.DeleteProgressiveRollout:input_type -> bucketeer.autoops.DeleteProgressiveRolloutRequest - 26, // 36: bucketeer.autoops.AutoOpsService.ListProgressiveRollouts:input_type -> bucketeer.autoops.ListProgressiveRolloutsRequest - 28, // 37: bucketeer.autoops.AutoOpsService.ExecuteProgressiveRollout:input_type -> bucketeer.autoops.ExecuteProgressiveRolloutRequest - 3, // 38: bucketeer.autoops.AutoOpsService.GetAutoOpsRule:output_type -> bucketeer.autoops.GetAutoOpsRuleResponse - 7, // 39: bucketeer.autoops.AutoOpsService.ListAutoOpsRules:output_type -> bucketeer.autoops.ListAutoOpsRulesResponse - 5, // 40: bucketeer.autoops.AutoOpsService.CreateAutoOpsRule:output_type -> bucketeer.autoops.CreateAutoOpsRuleResponse - 9, // 41: bucketeer.autoops.AutoOpsService.StopAutoOpsRule:output_type -> bucketeer.autoops.StopAutoOpsRuleResponse - 11, // 42: bucketeer.autoops.AutoOpsService.DeleteAutoOpsRule:output_type -> bucketeer.autoops.DeleteAutoOpsRuleResponse - 13, // 43: bucketeer.autoops.AutoOpsService.UpdateAutoOpsRule:output_type -> bucketeer.autoops.UpdateAutoOpsRuleResponse - 15, // 44: bucketeer.autoops.AutoOpsService.ExecuteAutoOps:output_type -> bucketeer.autoops.ExecuteAutoOpsResponse - 17, // 45: bucketeer.autoops.AutoOpsService.ListOpsCounts:output_type -> bucketeer.autoops.ListOpsCountsResponse - 19, // 46: bucketeer.autoops.AutoOpsService.CreateProgressiveRollout:output_type -> bucketeer.autoops.CreateProgressiveRolloutResponse - 21, // 47: bucketeer.autoops.AutoOpsService.GetProgressiveRollout:output_type -> bucketeer.autoops.GetProgressiveRolloutResponse - 23, // 48: bucketeer.autoops.AutoOpsService.StopProgressiveRollout:output_type -> bucketeer.autoops.StopProgressiveRolloutResponse - 25, // 49: bucketeer.autoops.AutoOpsService.DeleteProgressiveRollout:output_type -> bucketeer.autoops.DeleteProgressiveRolloutResponse - 27, // 50: bucketeer.autoops.AutoOpsService.ListProgressiveRollouts:output_type -> bucketeer.autoops.ListProgressiveRolloutsResponse - 29, // 51: bucketeer.autoops.AutoOpsService.ExecuteProgressiveRollout:output_type -> bucketeer.autoops.ExecuteProgressiveRolloutResponse - 38, // [38:52] is the sub-list for method output_type - 24, // [24:38] is the sub-list for method input_type - 24, // [24:24] is the sub-list for extension type_name - 24, // [24:24] is the sub-list for extension extendee - 0, // [0:24] is the sub-list for field type_name + 40, // 11: bucketeer.autoops.ExecuteAutoOpsRequest.execute_auto_ops_rule_command:type_name -> bucketeer.autoops.ExecuteAutoOpsRuleCommand + 41, // 12: bucketeer.autoops.ListOpsCountsResponse.ops_counts:type_name -> bucketeer.autoops.OpsCount + 42, // 13: bucketeer.autoops.CreateProgressiveRolloutRequest.command:type_name -> bucketeer.autoops.CreateProgressiveRolloutCommand + 43, // 14: bucketeer.autoops.GetProgressiveRolloutResponse.progressive_rollout:type_name -> bucketeer.autoops.ProgressiveRollout + 44, // 15: bucketeer.autoops.StopProgressiveRolloutRequest.command:type_name -> bucketeer.autoops.StopProgressiveRolloutCommand + 45, // 16: bucketeer.autoops.DeleteProgressiveRolloutRequest.command:type_name -> bucketeer.autoops.DeleteProgressiveRolloutCommand + 0, // 17: bucketeer.autoops.ListProgressiveRolloutsRequest.order_by:type_name -> bucketeer.autoops.ListProgressiveRolloutsRequest.OrderBy + 1, // 18: bucketeer.autoops.ListProgressiveRolloutsRequest.order_direction:type_name -> bucketeer.autoops.ListProgressiveRolloutsRequest.OrderDirection + 46, // 19: bucketeer.autoops.ListProgressiveRolloutsRequest.status:type_name -> bucketeer.autoops.ProgressiveRollout.Status + 47, // 20: bucketeer.autoops.ListProgressiveRolloutsRequest.type:type_name -> bucketeer.autoops.ProgressiveRollout.Type + 43, // 21: bucketeer.autoops.ListProgressiveRolloutsResponse.progressive_rollouts:type_name -> bucketeer.autoops.ProgressiveRollout + 48, // 22: bucketeer.autoops.ExecuteProgressiveRolloutRequest.change_progressive_rollout_triggered_at_command:type_name -> bucketeer.autoops.ChangeProgressiveRolloutScheduleTriggeredAtCommand + 2, // 23: bucketeer.autoops.AutoOpsService.GetAutoOpsRule:input_type -> bucketeer.autoops.GetAutoOpsRuleRequest + 6, // 24: bucketeer.autoops.AutoOpsService.ListAutoOpsRules:input_type -> bucketeer.autoops.ListAutoOpsRulesRequest + 4, // 25: bucketeer.autoops.AutoOpsService.CreateAutoOpsRule:input_type -> bucketeer.autoops.CreateAutoOpsRuleRequest + 8, // 26: bucketeer.autoops.AutoOpsService.StopAutoOpsRule:input_type -> bucketeer.autoops.StopAutoOpsRuleRequest + 10, // 27: bucketeer.autoops.AutoOpsService.DeleteAutoOpsRule:input_type -> bucketeer.autoops.DeleteAutoOpsRuleRequest + 12, // 28: bucketeer.autoops.AutoOpsService.UpdateAutoOpsRule:input_type -> bucketeer.autoops.UpdateAutoOpsRuleRequest + 14, // 29: bucketeer.autoops.AutoOpsService.ExecuteAutoOps:input_type -> bucketeer.autoops.ExecuteAutoOpsRequest + 16, // 30: bucketeer.autoops.AutoOpsService.ListOpsCounts:input_type -> bucketeer.autoops.ListOpsCountsRequest + 18, // 31: bucketeer.autoops.AutoOpsService.CreateProgressiveRollout:input_type -> bucketeer.autoops.CreateProgressiveRolloutRequest + 20, // 32: bucketeer.autoops.AutoOpsService.GetProgressiveRollout:input_type -> bucketeer.autoops.GetProgressiveRolloutRequest + 22, // 33: bucketeer.autoops.AutoOpsService.StopProgressiveRollout:input_type -> bucketeer.autoops.StopProgressiveRolloutRequest + 24, // 34: bucketeer.autoops.AutoOpsService.DeleteProgressiveRollout:input_type -> bucketeer.autoops.DeleteProgressiveRolloutRequest + 26, // 35: bucketeer.autoops.AutoOpsService.ListProgressiveRollouts:input_type -> bucketeer.autoops.ListProgressiveRolloutsRequest + 28, // 36: bucketeer.autoops.AutoOpsService.ExecuteProgressiveRollout:input_type -> bucketeer.autoops.ExecuteProgressiveRolloutRequest + 3, // 37: bucketeer.autoops.AutoOpsService.GetAutoOpsRule:output_type -> bucketeer.autoops.GetAutoOpsRuleResponse + 7, // 38: bucketeer.autoops.AutoOpsService.ListAutoOpsRules:output_type -> bucketeer.autoops.ListAutoOpsRulesResponse + 5, // 39: bucketeer.autoops.AutoOpsService.CreateAutoOpsRule:output_type -> bucketeer.autoops.CreateAutoOpsRuleResponse + 9, // 40: bucketeer.autoops.AutoOpsService.StopAutoOpsRule:output_type -> bucketeer.autoops.StopAutoOpsRuleResponse + 11, // 41: bucketeer.autoops.AutoOpsService.DeleteAutoOpsRule:output_type -> bucketeer.autoops.DeleteAutoOpsRuleResponse + 13, // 42: bucketeer.autoops.AutoOpsService.UpdateAutoOpsRule:output_type -> bucketeer.autoops.UpdateAutoOpsRuleResponse + 15, // 43: bucketeer.autoops.AutoOpsService.ExecuteAutoOps:output_type -> bucketeer.autoops.ExecuteAutoOpsResponse + 17, // 44: bucketeer.autoops.AutoOpsService.ListOpsCounts:output_type -> bucketeer.autoops.ListOpsCountsResponse + 19, // 45: bucketeer.autoops.AutoOpsService.CreateProgressiveRollout:output_type -> bucketeer.autoops.CreateProgressiveRolloutResponse + 21, // 46: bucketeer.autoops.AutoOpsService.GetProgressiveRollout:output_type -> bucketeer.autoops.GetProgressiveRolloutResponse + 23, // 47: bucketeer.autoops.AutoOpsService.StopProgressiveRollout:output_type -> bucketeer.autoops.StopProgressiveRolloutResponse + 25, // 48: bucketeer.autoops.AutoOpsService.DeleteProgressiveRollout:output_type -> bucketeer.autoops.DeleteProgressiveRolloutResponse + 27, // 49: bucketeer.autoops.AutoOpsService.ListProgressiveRollouts:output_type -> bucketeer.autoops.ListProgressiveRolloutsResponse + 29, // 50: bucketeer.autoops.AutoOpsService.ExecuteProgressiveRollout:output_type -> bucketeer.autoops.ExecuteProgressiveRolloutResponse + 37, // [37:51] is the sub-list for method output_type + 23, // [23:37] is the sub-list for method input_type + 23, // [23:23] is the sub-list for extension type_name + 23, // [23:23] is the sub-list for extension extendee + 0, // [0:23] is the sub-list for field type_name } func init() { file_proto_autoops_service_proto_init() } diff --git a/proto/autoops/service.proto b/proto/autoops/service.proto index 0e8375080..be54ff4a2 100644 --- a/proto/autoops/service.proto +++ b/proto/autoops/service.proto @@ -85,8 +85,9 @@ message UpdateAutoOpsRuleResponse {} message ExecuteAutoOpsRequest { string environment_namespace = 1; string id = 2; - ChangeAutoOpsRuleTriggeredAtCommand - change_auto_ops_rule_triggered_at_command = 3 [deprecated = true]; + // ChangeAutoOpsRuleTriggeredAtCommand + // change_auto_ops_rule_triggered_at_command = 3 [deprecated = true]; + reserved 3; ExecuteAutoOpsRuleCommand execute_auto_ops_rule_command = 4; } diff --git a/proto/event/domain/event.pb.go b/proto/event/domain/event.pb.go index d6d3cf113..0c559c488 100644 --- a/proto/event/domain/event.pb.go +++ b/proto/event/domain/event.pb.go @@ -6580,14 +6580,12 @@ type AutoOpsRuleCreatedEvent struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FeatureId string `protobuf:"bytes,1,opt,name=feature_id,json=featureId,proto3" json:"feature_id"` - OpsType autoops.OpsType `protobuf:"varint,2,opt,name=ops_type,json=opsType,proto3,enum=bucketeer.autoops.OpsType" json:"ops_type"` - Clauses []*autoops.Clause `protobuf:"bytes,3,rep,name=clauses,proto3" json:"clauses"` - // Deprecated: Do not use. - TriggeredAt int64 `protobuf:"varint,4,opt,name=triggered_at,json=triggeredAt,proto3" json:"triggered_at"` - CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at"` - UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at"` - OpsStatus autoops.AutoOpsStatus `protobuf:"varint,7,opt,name=ops_status,json=opsStatus,proto3,enum=bucketeer.autoops.AutoOpsStatus" json:"ops_status"` + FeatureId string `protobuf:"bytes,1,opt,name=feature_id,json=featureId,proto3" json:"feature_id"` + OpsType autoops.OpsType `protobuf:"varint,2,opt,name=ops_type,json=opsType,proto3,enum=bucketeer.autoops.OpsType" json:"ops_type"` + Clauses []*autoops.Clause `protobuf:"bytes,3,rep,name=clauses,proto3" json:"clauses"` + CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at"` + UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at"` + OpsStatus autoops.AutoOpsStatus `protobuf:"varint,7,opt,name=ops_status,json=opsStatus,proto3,enum=bucketeer.autoops.AutoOpsStatus" json:"ops_status"` } func (x *AutoOpsRuleCreatedEvent) Reset() { @@ -6643,14 +6641,6 @@ func (x *AutoOpsRuleCreatedEvent) GetClauses() []*autoops.Clause { return nil } -// Deprecated: Do not use. -func (x *AutoOpsRuleCreatedEvent) GetTriggeredAt() int64 { - if x != nil { - return x.TriggeredAt - } - return 0 -} - func (x *AutoOpsRuleCreatedEvent) GetCreatedAt() int64 { if x != nil { return x.CreatedAt @@ -10931,7 +10921,7 @@ var file_proto_event_domain_event_proto_rawDesc = []byte{ 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0xca, 0x02, 0x0a, 0x17, 0x41, 0x75, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0xa9, 0x02, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, @@ -10942,164 +10932,193 @@ var file_proto_event_domain_event_proto_rawDesc = []byte{ 0x6c, 0x61, 0x75, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x07, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x73, - 0x12, 0x25, 0x0a, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x67, - 0x67, 0x65, 0x72, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3f, 0x0a, 0x0a, 0x6f, 0x70, 0x73, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x75, 0x63, 0x6b, - 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x41, 0x75, - 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x6f, 0x70, 0x73, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, - 0x73, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x57, 0x0a, 0x1e, - 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x4f, 0x70, 0x73, 0x54, 0x79, - 0x70, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x35, - 0x0a, 0x08, 0x6f, 0x70, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x1a, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, - 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x4f, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6f, 0x70, - 0x73, 0x54, 0x79, 0x70, 0x65, 0x22, 0x24, 0x0a, 0x22, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, - 0x52, 0x75, 0x6c, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x41, 0x74, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x63, 0x0a, 0x20, 0x41, - 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x4f, 0x70, 0x73, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x3f, 0x0a, 0x0a, 0x6f, 0x70, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, - 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x6f, 0x70, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x22, 0x95, 0x01, 0x0a, 0x1c, 0x4f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, - 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x49, 0x64, 0x12, 0x58, - 0x0a, 0x15, 0x6f, 0x70, 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x61, 0x74, 0x65, - 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, - 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, - 0x73, 0x2e, 0x4f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, - 0x61, 0x75, 0x73, 0x65, 0x52, 0x12, 0x6f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, - 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x1e, 0x4f, 0x70, 0x73, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, - 0x6c, 0x61, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x15, 0x6f, 0x70, 0x73, 0x5f, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, - 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x4f, 0x70, 0x73, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x12, - 0x6f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, - 0x73, 0x65, 0x22, 0x3c, 0x0a, 0x1d, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, - 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x49, 0x64, - 0x22, 0x83, 0x01, 0x0a, 0x18, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, - 0x75, 0x73, 0x65, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, - 0x09, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0f, 0x64, 0x61, - 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, - 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, - 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, - 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x1a, 0x44, 0x61, 0x74, 0x65, 0x74, - 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, - 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, - 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, - 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, - 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x0e, - 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x5a, - 0x0a, 0x10, 0x50, 0x75, 0x73, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x66, 0x63, 0x6d, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, - 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x63, 0x6d, 0x41, 0x70, 0x69, 0x4b, - 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x75, - 0x73, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x28, - 0x0a, 0x12, 0x50, 0x75, 0x73, 0x68, 0x54, 0x61, 0x67, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x2a, 0x0a, 0x14, 0x50, 0x75, 0x73, 0x68, - 0x54, 0x61, 0x67, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, - 0x74, 0x61, 0x67, 0x73, 0x22, 0x26, 0x0a, 0x10, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x6e, 0x61, - 0x6d, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc3, 0x01, 0x0a, - 0x18, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0c, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, - 0x2f, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x6e, 0x6f, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x3f, 0x0a, - 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x21, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x6e, 0x6f, 0x74, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, - 0x65, 0x6e, 0x74, 0x52, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1a, - 0x0a, 0x18, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1b, 0x0a, 0x19, 0x53, 0x75, - 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x77, 0x0a, 0x21, 0x53, 0x75, 0x62, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0c, + 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3f, + 0x0a, 0x0a, 0x6f, 0x70, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, + 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x6f, 0x70, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, + 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, + 0x52, 0x75, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x22, 0x19, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x57, 0x0a, 0x1e, 0x41, + 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x4f, 0x70, 0x73, 0x54, 0x79, 0x70, + 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x35, 0x0a, + 0x08, 0x6f, 0x70, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x1a, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, + 0x6f, 0x70, 0x73, 0x2e, 0x4f, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x73, + 0x54, 0x79, 0x70, 0x65, 0x22, 0x24, 0x0a, 0x22, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, + 0x75, 0x6c, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x41, 0x74, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x63, 0x0a, 0x20, 0x41, 0x75, + 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x4f, 0x70, 0x73, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x3f, + 0x0a, 0x0a, 0x6f, 0x70, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, + 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x6f, 0x70, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, + 0x95, 0x01, 0x0a, 0x1c, 0x4f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, + 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x49, 0x64, 0x12, 0x58, 0x0a, + 0x15, 0x6f, 0x70, 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, + 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, + 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, + 0x2e, 0x4f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, + 0x75, 0x73, 0x65, 0x52, 0x12, 0x6f, 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, + 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x1e, 0x4f, 0x70, 0x73, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, + 0x61, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, + 0x6c, 0x61, 0x75, 0x73, 0x65, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x15, 0x6f, 0x70, 0x73, 0x5f, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, + 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x4f, 0x70, 0x73, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x12, 0x6f, + 0x70, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, + 0x65, 0x22, 0x3c, 0x0a, 0x1d, 0x41, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x73, 0x52, 0x75, 0x6c, 0x65, + 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x49, 0x64, 0x22, + 0x83, 0x01, 0x0a, 0x18, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, + 0x73, 0x65, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0f, 0x64, 0x61, 0x74, + 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, + 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, + 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, + 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x1a, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, + 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x49, + 0x64, 0x12, 0x4a, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x6c, + 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x63, + 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x44, + 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x52, 0x0e, 0x64, + 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x22, 0x5a, 0x0a, + 0x10, 0x50, 0x75, 0x73, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x66, 0x63, 0x6d, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x63, 0x6d, 0x41, 0x70, 0x69, 0x4b, 0x65, + 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x75, 0x73, + 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x28, 0x0a, + 0x12, 0x50, 0x75, 0x73, 0x68, 0x54, 0x61, 0x67, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x2a, 0x0a, 0x14, 0x50, 0x75, 0x73, 0x68, 0x54, + 0x61, 0x67, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, + 0x61, 0x67, 0x73, 0x22, 0x26, 0x0a, 0x10, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x6e, 0x61, 0x6d, + 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc3, 0x01, 0x0a, 0x18, + 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2f, + 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x09, + 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x6e, 0x6f, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, + 0x6e, 0x74, 0x52, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1a, 0x0a, + 0x18, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1b, 0x0a, 0x19, 0x53, 0x75, 0x62, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x77, 0x0a, 0x21, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0c, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x6e, 0x6f, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, + 0x79, 0x0a, 0x23, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, + 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x2e, 0x0a, 0x18, 0x53, 0x75, + 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, + 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x1d, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, - 0x22, 0x79, 0x0a, 0x23, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2f, 0x2e, - 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x2e, 0x0a, 0x18, 0x53, - 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6e, 0x61, 0x6d, - 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x1d, - 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, - 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, - 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x62, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x73, 0x12, 0x3f, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, - 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, - 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, - 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1f, 0x0a, 0x1d, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, - 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1f, 0x0a, 0x1d, 0x41, 0x64, 0x6d, 0x69, 0x6e, - 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x20, 0x0a, 0x1e, 0x41, 0x64, 0x6d, 0x69, - 0x6e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x7c, 0x0a, 0x26, 0x41, 0x64, - 0x6d, 0x69, 0x6e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x63, - 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x7e, 0x0a, 0x28, 0x41, 0x64, 0x6d, 0x69, - 0x6e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x63, - 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x1d, 0x41, 0x64, 0x6d, 0x69, - 0x6e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6e, - 0x61, 0x6d, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8b, 0x02, - 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x12, 0x3f, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, + 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x63, + 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, + 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1f, 0x0a, 0x1d, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x75, + 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1f, 0x0a, 0x1d, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, + 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x20, 0x0a, 0x1e, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x7c, 0x0a, 0x26, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x63, 0x6b, + 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x7e, 0x0a, 0x28, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x63, 0x6b, + 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x1d, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6e, 0x61, + 0x6d, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8b, 0x02, 0x0a, + 0x13, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x05, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1d, 0x0a, + 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x19, 0x0a, 0x08, 0x75, 0x72, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x75, 0x72, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x52, 0x0a, 0x1e, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, + 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x64, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x25, 0x0a, 0x13, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x22, 0x26, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x90, 0x02, 0x0a, 0x18, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, @@ -11115,189 +11134,150 @@ var file_proto_event_domain_event_proto_rawDesc = []byte{ 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x72, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x75, 0x72, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x52, 0x0a, 0x1e, 0x50, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x39, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, - 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x25, 0x0a, 0x13, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x22, 0x26, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x73, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x90, 0x02, 0x0a, 0x18, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x05, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, - 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, - 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x72, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x72, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x2c, 0x0a, 0x1a, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x76, - 0x65, 0x72, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5d, 0x0a, 0x16, 0x50, 0x72, - 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, 0x74, 0x65, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x70, 0x72, 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, - 0x73, 0x69, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x75, 0x63, - 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x50, - 0x72, 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, 0x74, 0x65, 0x52, 0x0c, 0x70, 0x72, 0x65, - 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, 0x74, 0x65, 0x22, 0x68, 0x0a, 0x21, 0x50, 0x72, 0x65, - 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, 0x74, 0x65, 0x56, 0x61, 0x72, 0x69, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x43, - 0x0a, 0x0c, 0x70, 0x72, 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, 0x74, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, - 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x65, 0x72, 0x65, 0x71, 0x75, - 0x69, 0x73, 0x69, 0x74, 0x65, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, - 0x69, 0x74, 0x65, 0x22, 0x39, 0x0a, 0x18, 0x50, 0x72, 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, - 0x69, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x22, 0xfb, - 0x01, 0x0a, 0x1e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, - 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, - 0x12, 0x2c, 0x0a, 0x06, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x12, 0x1d, - 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, - 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3e, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x63, - 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x50, - 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, - 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xe5, 0x01, 0x0a, - 0x1e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, - 0x6f, 0x75, 0x74, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x2c, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, - 0x6f, 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, - 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4e, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, - 0x5f, 0x62, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x63, 0x6b, + 0x28, 0x09, 0x52, 0x07, 0x75, 0x72, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x2c, 0x0a, 0x1a, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x76, 0x65, + 0x72, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5d, 0x0a, 0x16, 0x50, 0x72, 0x65, + 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, 0x74, 0x65, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x70, 0x72, 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, + 0x69, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x75, 0x63, 0x6b, + 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x50, 0x72, + 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, 0x74, 0x65, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x72, + 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, 0x74, 0x65, 0x22, 0x68, 0x0a, 0x21, 0x50, 0x72, 0x65, 0x72, + 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, 0x74, 0x65, 0x56, 0x61, 0x72, 0x69, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x43, 0x0a, + 0x0c, 0x70, 0x72, 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, + 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, + 0x73, 0x69, 0x74, 0x65, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, + 0x74, 0x65, 0x22, 0x39, 0x0a, 0x18, 0x50, 0x72, 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, + 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1d, + 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x22, 0xfb, 0x01, + 0x0a, 0x1e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, + 0x6c, 0x6f, 0x75, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, + 0x2c, 0x0a, 0x06, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x63, 0x6c, 0x61, 0x75, 0x73, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3e, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, - 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x42, 0x79, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, - 0x70, 0x65, 0x64, 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, - 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, 0x70, - 0x65, 0x64, 0x41, 0x74, 0x22, 0x30, 0x0a, 0x1e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, - 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x54, 0x0a, 0x31, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, - 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x53, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x41, 0x74, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x87, 0x02, 0x0a, - 0x18, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, - 0x08, 0x75, 0x72, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x75, 0x72, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, - 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, - 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x05, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x57, 0x0a, 0x23, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x42, 0x0a, 0x1c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, - 0x61, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x22, 0x2a, 0x0a, 0x18, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, - 0x2b, 0x0a, 0x19, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, - 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2b, 0x0a, 0x19, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x63, 0x68, - 0x69, 0x76, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2d, 0x0a, 0x1b, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x61, 0x72, 0x63, 0x68, 0x69, + 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xe5, 0x01, 0x0a, 0x1e, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, + 0x75, 0x74, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x44, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, + 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, + 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, + 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x4e, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, + 0x62, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, + 0x74, 0x65, 0x65, 0x72, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6f, 0x70, 0x73, 0x2e, 0x50, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x2e, + 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x42, 0x79, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, 0x70, + 0x65, 0x64, 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, + 0x64, 0x41, 0x74, 0x22, 0x30, 0x0a, 0x1e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, + 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x54, 0x0a, 0x31, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x41, 0x74, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x87, 0x02, 0x0a, 0x18, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x75, 0x72, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x75, 0x72, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x05, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x57, 0x0a, 0x23, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x42, + 0x0a, 0x1c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, + 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x22, 0x2a, 0x0a, 0x18, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2b, + 0x0a, 0x19, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, + 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2b, 0x0a, 0x19, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x31, 0x0a, 0x1f, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x43, 0x6f, 0x6e, - 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xeb, 0x02, 0x0a, 0x17, - 0x46, 0x6c, 0x61, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2d, 0x0a, 0x1b, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, - 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x75, 0x63, 0x6b, - 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x46, 0x6c, - 0x61, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, - 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x46, 0x6c, 0x61, 0x67, 0x54, 0x72, 0x69, - 0x67, 0x67, 0x65, 0x72, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x15, 0x46, 0x6c, - 0x61, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x73, 0x65, 0x74, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x49, 0x64, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, - 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xaa, 0x01, - 0x0a, 0x22, 0x46, 0x6c, 0x61, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7e, 0x0a, 0x18, 0x46, 0x6c, - 0x61, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x31, 0x0a, 0x1f, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x76, + 0x65, 0x72, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xeb, 0x02, 0x0a, 0x17, 0x46, + 0x6c, 0x61, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, - 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x7d, 0x0a, 0x17, 0x46, 0x6c, - 0x61, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, + 0x74, 0x65, 0x65, 0x72, 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x46, 0x6c, 0x61, + 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2e, + 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x46, 0x6c, 0x61, 0x67, 0x54, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x15, 0x46, 0x6c, 0x61, + 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x73, 0x65, 0x74, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, + 0x64, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xaa, 0x01, 0x0a, + 0x22, 0x46, 0x6c, 0x61, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x49, 0x64, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7e, 0x0a, 0x18, 0x46, 0x6c, 0x61, + 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, @@ -11305,31 +11285,39 @@ var file_proto_event_domain_event_proto_rawDesc = []byte{ 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x7d, 0x0a, 0x17, 0x46, 0x6c, 0x61, - 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, + 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xd3, 0x01, 0x0a, 0x1c, 0x46, 0x6c, 0x61, - 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x55, 0x73, 0x61, 0x67, 0x65, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, - 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, - 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2a, 0x0a, - 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x5f, - 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, - 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x41, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x69, - 0x67, 0x67, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x42, 0x36, - 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x63, - 0x6b, 0x65, 0x74, 0x65, 0x65, 0x72, 0x2d, 0x69, 0x6f, 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, - 0x65, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, - 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x7d, 0x0a, 0x17, 0x46, 0x6c, 0x61, 0x67, + 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x49, 0x64, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xd3, 0x01, 0x0a, 0x1c, 0x46, 0x6c, 0x61, 0x67, + 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x55, 0x73, 0x61, 0x67, 0x65, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x11, + 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x61, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x41, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x42, 0x36, 0x5a, + 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x63, 0x6b, + 0x65, 0x74, 0x65, 0x65, 0x72, 0x2d, 0x69, 0x6f, 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x65, + 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/proto/event/domain/event.proto b/proto/event/domain/event.proto index d72df7b75..82ec396b7 100644 --- a/proto/event/domain/event.proto +++ b/proto/event/domain/event.proto @@ -789,7 +789,7 @@ message AutoOpsRuleCreatedEvent { string feature_id = 1; bucketeer.autoops.OpsType ops_type = 2; repeated bucketeer.autoops.Clause clauses = 3; - int64 triggered_at = 4 [deprecated = true]; + reserved 4; // int64 triggered_at = 4 [deprecated = true]; int64 created_at = 5; int64 updated_at = 6; bucketeer.autoops.AutoOpsStatus ops_status = 7; diff --git a/proto/proto.lock b/proto/proto.lock index eedb9304e..ddfa782ff 100644 --- a/proto/proto.lock +++ b/proto/proto.lock @@ -2536,17 +2536,6 @@ "type": "Clause", "is_repeated": true }, - { - "id": 6, - "name": "triggered_at", - "type": "int64", - "options": [ - { - "name": "deprecated", - "value": "true" - } - ] - }, { "id": 7, "name": "created_at", @@ -2567,6 +2556,9 @@ "name": "auto_ops_status", "type": "AutoOpsStatus" } + ], + "reserved_ids": [ + 6 ] }, { @@ -2855,9 +2847,6 @@ { "name": "StopAutoOpsRuleCommand" }, - { - "name": "ChangeAutoOpsRuleTriggeredAtCommand" - }, { "name": "ChangeAutoOpsStatusCommand", "fields": [ @@ -3442,22 +3431,14 @@ "name": "id", "type": "string" }, - { - "id": 3, - "name": "change_auto_ops_rule_triggered_at_command", - "type": "ChangeAutoOpsRuleTriggeredAtCommand", - "options": [ - { - "name": "deprecated", - "value": "true" - } - ] - }, { "id": 4, "name": "execute_auto_ops_rule_command", "type": "ExecuteAutoOpsRuleCommand" } + ], + "reserved_ids": [ + 3 ] }, { @@ -8702,17 +8683,6 @@ "type": "bucketeer.autoops.Clause", "is_repeated": true }, - { - "id": 4, - "name": "triggered_at", - "type": "int64", - "options": [ - { - "name": "deprecated", - "value": "true" - } - ] - }, { "id": 5, "name": "created_at", @@ -8728,6 +8698,9 @@ "name": "ops_status", "type": "bucketeer.autoops.AutoOpsStatus" } + ], + "reserved_ids": [ + 4 ] }, { diff --git a/ui/web-v2/src/components/FeatureAutoOpsRulesForm/index.tsx b/ui/web-v2/src/components/FeatureAutoOpsRulesForm/index.tsx index 12215a3bb..a6d4c6b4f 100644 --- a/ui/web-v2/src/components/FeatureAutoOpsRulesForm/index.tsx +++ b/ui/web-v2/src/components/FeatureAutoOpsRulesForm/index.tsx @@ -310,7 +310,11 @@ export const FeatureAutoOpsRulesForm: FC = memo( if (autoOpsRules?.length > 0) { const ids = autoOpsRules .filter((rule) => { - return rule.opsType === OpsType.EVENT_RATE && !rule.triggeredAt; + return ( + rule.opsType === OpsType.EVENT_RATE && + (rule.autoOpsStatus === AutoOpsStatus.WAITING || + rule.autoOpsStatus === AutoOpsStatus.RUNNING) + ); }) .map((rule) => rule.id); diff --git a/ui/web-v2/src/proto/autoops/auto_ops_rule_pb.d.ts b/ui/web-v2/src/proto/autoops/auto_ops_rule_pb.d.ts index c142a8052..48eb22614 100644 --- a/ui/web-v2/src/proto/autoops/auto_ops_rule_pb.d.ts +++ b/ui/web-v2/src/proto/autoops/auto_ops_rule_pb.d.ts @@ -22,9 +22,6 @@ export class AutoOpsRule extends jspb.Message { index?: number ): proto_autoops_clause_pb.Clause; - getTriggeredAt(): number; - setTriggeredAt(value: number): void; - getCreatedAt(): number; setCreatedAt(value: number): void; @@ -64,7 +61,6 @@ export namespace AutoOpsRule { featureId: string; opsType: OpsTypeMap[keyof OpsTypeMap]; clausesList: Array; - triggeredAt: number; createdAt: number; updatedAt: number; deleted: boolean; diff --git a/ui/web-v2/src/proto/autoops/auto_ops_rule_pb.js b/ui/web-v2/src/proto/autoops/auto_ops_rule_pb.js index 6291a58fc..17b435b03 100644 --- a/ui/web-v2/src/proto/autoops/auto_ops_rule_pb.js +++ b/ui/web-v2/src/proto/autoops/auto_ops_rule_pb.js @@ -140,7 +140,6 @@ if (jspb.Message.GENERATE_TO_OBJECT) { proto_autoops_clause_pb.Clause.toObject, includeInstance ), - triggeredAt: jspb.Message.getFieldWithDefault(msg, 6, 0), createdAt: jspb.Message.getFieldWithDefault(msg, 7, 0), updatedAt: jspb.Message.getFieldWithDefault(msg, 8, 0), deleted: jspb.Message.getBooleanFieldWithDefault(msg, 9, false), @@ -207,10 +206,6 @@ proto.bucketeer.autoops.AutoOpsRule.deserializeBinaryFromReader = function ( ); msg.addClauses(value); break; - case 6: - var value = /** @type {number} */ (reader.readInt64()); - msg.setTriggeredAt(value); - break; case 7: var value = /** @type {number} */ (reader.readInt64()); msg.setCreatedAt(value); @@ -279,10 +274,6 @@ proto.bucketeer.autoops.AutoOpsRule.serializeBinaryToWriter = function ( proto_autoops_clause_pb.Clause.serializeBinaryToWriter ); } - f = message.getTriggeredAt(); - if (f !== 0) { - writer.writeInt64(6, f); - } f = message.getCreatedAt(); if (f !== 0) { writer.writeInt64(7, f); @@ -401,24 +392,6 @@ proto.bucketeer.autoops.AutoOpsRule.prototype.clearClausesList = function () { return this.setClausesList([]); }; -/** - * optional int64 triggered_at = 6; - * @return {number} - */ -proto.bucketeer.autoops.AutoOpsRule.prototype.getTriggeredAt = function () { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); -}; - -/** - * @param {number} value - * @return {!proto.bucketeer.autoops.AutoOpsRule} returns this - */ -proto.bucketeer.autoops.AutoOpsRule.prototype.setTriggeredAt = function ( - value -) { - return jspb.Message.setProto3IntField(this, 6, value); -}; - /** * optional int64 created_at = 7; * @return {number} diff --git a/ui/web-v2/src/proto/autoops/command_pb.d.ts b/ui/web-v2/src/proto/autoops/command_pb.d.ts index 158cc2061..2a732b918 100644 --- a/ui/web-v2/src/proto/autoops/command_pb.d.ts +++ b/ui/web-v2/src/proto/autoops/command_pb.d.ts @@ -150,36 +150,6 @@ export namespace StopAutoOpsRuleCommand { export type AsObject = {}; } -export class ChangeAutoOpsRuleTriggeredAtCommand extends jspb.Message { - serializeBinary(): Uint8Array; - toObject( - includeInstance?: boolean - ): ChangeAutoOpsRuleTriggeredAtCommand.AsObject; - static toObject( - includeInstance: boolean, - msg: ChangeAutoOpsRuleTriggeredAtCommand - ): ChangeAutoOpsRuleTriggeredAtCommand.AsObject; - static extensions: { [key: number]: jspb.ExtensionFieldInfo }; - static extensionsBinary: { - [key: number]: jspb.ExtensionFieldBinaryInfo; - }; - static serializeBinaryToWriter( - message: ChangeAutoOpsRuleTriggeredAtCommand, - writer: jspb.BinaryWriter - ): void; - static deserializeBinary( - bytes: Uint8Array - ): ChangeAutoOpsRuleTriggeredAtCommand; - static deserializeBinaryFromReader( - message: ChangeAutoOpsRuleTriggeredAtCommand, - reader: jspb.BinaryReader - ): ChangeAutoOpsRuleTriggeredAtCommand; -} - -export namespace ChangeAutoOpsRuleTriggeredAtCommand { - export type AsObject = {}; -} - export class ChangeAutoOpsStatusCommand extends jspb.Message { getStatus(): proto_autoops_auto_ops_rule_pb.AutoOpsStatusMap[keyof proto_autoops_auto_ops_rule_pb.AutoOpsStatusMap]; setStatus( diff --git a/ui/web-v2/src/proto/autoops/command_pb.js b/ui/web-v2/src/proto/autoops/command_pb.js index a68d5386d..44091c212 100644 --- a/ui/web-v2/src/proto/autoops/command_pb.js +++ b/ui/web-v2/src/proto/autoops/command_pb.js @@ -54,11 +54,6 @@ goog.exportSymbol( null, global ); -goog.exportSymbol( - 'proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand', - null, - global -); goog.exportSymbol( 'proto.bucketeer.autoops.ChangeAutoOpsStatusCommand', null, @@ -213,33 +208,6 @@ if (goog.DEBUG && !COMPILED) { proto.bucketeer.autoops.StopAutoOpsRuleCommand.displayName = 'proto.bucketeer.autoops.StopAutoOpsRuleCommand'; } -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand = function ( - opt_data -) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits( - proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand, - jspb.Message -); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand.displayName = - 'proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand'; -} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -1234,112 +1202,6 @@ proto.bucketeer.autoops.StopAutoOpsRuleCommand.serializeBinaryToWriter = var f = undefined; }; -if (jspb.Message.GENERATE_TO_OBJECT) { - /** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ - proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand.prototype.toObject = - function (opt_includeInstance) { - return proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand.toObject( - opt_includeInstance, - this - ); - }; - - /** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ - proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand.toObject = - function (includeInstance, msg) { - var f, - obj = {}; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; - }; -} - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand} - */ -proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand.deserializeBinary = - function (bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand(); - return proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand.deserializeBinaryFromReader( - msg, - reader - ); - }; - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand} - */ -proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand.deserializeBinaryFromReader = - function (msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; - }; - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand.prototype.serializeBinary = - function () { - var writer = new jspb.BinaryWriter(); - proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand.serializeBinaryToWriter( - this, - writer - ); - return writer.getResultBuffer(); - }; - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand.serializeBinaryToWriter = - function (message, writer) { - var f = undefined; - }; - if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. diff --git a/ui/web-v2/src/proto/autoops/service_pb.d.ts b/ui/web-v2/src/proto/autoops/service_pb.d.ts index d1c17e143..08a4e3ff8 100644 --- a/ui/web-v2/src/proto/autoops/service_pb.d.ts +++ b/ui/web-v2/src/proto/autoops/service_pb.d.ts @@ -492,15 +492,6 @@ export class ExecuteAutoOpsRequest extends jspb.Message { getId(): string; setId(value: string): void; - hasChangeAutoOpsRuleTriggeredAtCommand(): boolean; - clearChangeAutoOpsRuleTriggeredAtCommand(): void; - getChangeAutoOpsRuleTriggeredAtCommand(): - | proto_autoops_command_pb.ChangeAutoOpsRuleTriggeredAtCommand - | undefined; - setChangeAutoOpsRuleTriggeredAtCommand( - value?: proto_autoops_command_pb.ChangeAutoOpsRuleTriggeredAtCommand - ): void; - hasExecuteAutoOpsRuleCommand(): boolean; clearExecuteAutoOpsRuleCommand(): void; getExecuteAutoOpsRuleCommand(): @@ -535,7 +526,6 @@ export namespace ExecuteAutoOpsRequest { export type AsObject = { environmentNamespace: string; id: string; - changeAutoOpsRuleTriggeredAtCommand?: proto_autoops_command_pb.ChangeAutoOpsRuleTriggeredAtCommand.AsObject; executeAutoOpsRuleCommand?: proto_autoops_command_pb.ExecuteAutoOpsRuleCommand.AsObject; }; } diff --git a/ui/web-v2/src/proto/autoops/service_pb.js b/ui/web-v2/src/proto/autoops/service_pb.js index 3e31cca7e..67832c283 100644 --- a/ui/web-v2/src/proto/autoops/service_pb.js +++ b/ui/web-v2/src/proto/autoops/service_pb.js @@ -3442,12 +3442,6 @@ if (jspb.Message.GENERATE_TO_OBJECT) { obj = { environmentNamespace: jspb.Message.getFieldWithDefault(msg, 1, ''), id: jspb.Message.getFieldWithDefault(msg, 2, ''), - changeAutoOpsRuleTriggeredAtCommand: - (f = msg.getChangeAutoOpsRuleTriggeredAtCommand()) && - proto_autoops_command_pb.ChangeAutoOpsRuleTriggeredAtCommand.toObject( - includeInstance, - f - ), executeAutoOpsRuleCommand: (f = msg.getExecuteAutoOpsRuleCommand()) && proto_autoops_command_pb.ExecuteAutoOpsRuleCommand.toObject( @@ -3502,16 +3496,6 @@ proto.bucketeer.autoops.ExecuteAutoOpsRequest.deserializeBinaryFromReader = var value = /** @type {string} */ (reader.readString()); msg.setId(value); break; - case 3: - var value = - new proto_autoops_command_pb.ChangeAutoOpsRuleTriggeredAtCommand(); - reader.readMessage( - value, - proto_autoops_command_pb.ChangeAutoOpsRuleTriggeredAtCommand - .deserializeBinaryFromReader - ); - msg.setChangeAutoOpsRuleTriggeredAtCommand(value); - break; case 4: var value = new proto_autoops_command_pb.ExecuteAutoOpsRuleCommand(); reader.readMessage( @@ -3561,15 +3545,6 @@ proto.bucketeer.autoops.ExecuteAutoOpsRequest.serializeBinaryToWriter = if (f.length > 0) { writer.writeString(2, f); } - f = message.getChangeAutoOpsRuleTriggeredAtCommand(); - if (f != null) { - writer.writeMessage( - 3, - f, - proto_autoops_command_pb.ChangeAutoOpsRuleTriggeredAtCommand - .serializeBinaryToWriter - ); - } f = message.getExecuteAutoOpsRuleCommand(); if (f != null) { writer.writeMessage( @@ -3619,48 +3594,6 @@ proto.bucketeer.autoops.ExecuteAutoOpsRequest.prototype.setId = function ( return jspb.Message.setProto3StringField(this, 2, value); }; -/** - * optional ChangeAutoOpsRuleTriggeredAtCommand change_auto_ops_rule_triggered_at_command = 3; - * @return {?proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand} - */ -proto.bucketeer.autoops.ExecuteAutoOpsRequest.prototype.getChangeAutoOpsRuleTriggeredAtCommand = - function () { - return /** @type{?proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand} */ ( - jspb.Message.getWrapperField( - this, - proto_autoops_command_pb.ChangeAutoOpsRuleTriggeredAtCommand, - 3 - ) - ); - }; - -/** - * @param {?proto.bucketeer.autoops.ChangeAutoOpsRuleTriggeredAtCommand|undefined} value - * @return {!proto.bucketeer.autoops.ExecuteAutoOpsRequest} returns this - */ -proto.bucketeer.autoops.ExecuteAutoOpsRequest.prototype.setChangeAutoOpsRuleTriggeredAtCommand = - function (value) { - return jspb.Message.setWrapperField(this, 3, value); - }; - -/** - * Clears the message field making it undefined. - * @return {!proto.bucketeer.autoops.ExecuteAutoOpsRequest} returns this - */ -proto.bucketeer.autoops.ExecuteAutoOpsRequest.prototype.clearChangeAutoOpsRuleTriggeredAtCommand = - function () { - return this.setChangeAutoOpsRuleTriggeredAtCommand(undefined); - }; - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.bucketeer.autoops.ExecuteAutoOpsRequest.prototype.hasChangeAutoOpsRuleTriggeredAtCommand = - function () { - return jspb.Message.getField(this, 3) != null; - }; - /** * optional ExecuteAutoOpsRuleCommand execute_auto_ops_rule_command = 4; * @return {?proto.bucketeer.autoops.ExecuteAutoOpsRuleCommand} diff --git a/ui/web-v2/src/proto/event/domain/event_pb.d.ts b/ui/web-v2/src/proto/event/domain/event_pb.d.ts index e084bfce5..e934ecf87 100644 --- a/ui/web-v2/src/proto/event/domain/event_pb.d.ts +++ b/ui/web-v2/src/proto/event/domain/event_pb.d.ts @@ -4067,9 +4067,6 @@ export class AutoOpsRuleCreatedEvent extends jspb.Message { index?: number ): proto_autoops_clause_pb.Clause; - getTriggeredAt(): number; - setTriggeredAt(value: number): void; - getCreatedAt(): number; setCreatedAt(value: number): void; @@ -4107,7 +4104,6 @@ export namespace AutoOpsRuleCreatedEvent { featureId: string; opsType: proto_autoops_auto_ops_rule_pb.OpsTypeMap[keyof proto_autoops_auto_ops_rule_pb.OpsTypeMap]; clausesList: Array; - triggeredAt: number; createdAt: number; updatedAt: number; opsStatus: proto_autoops_auto_ops_rule_pb.AutoOpsStatusMap[keyof proto_autoops_auto_ops_rule_pb.AutoOpsStatusMap]; diff --git a/ui/web-v2/src/proto/event/domain/event_pb.js b/ui/web-v2/src/proto/event/domain/event_pb.js index ed4de6d68..693a47db6 100644 --- a/ui/web-v2/src/proto/event/domain/event_pb.js +++ b/ui/web-v2/src/proto/event/domain/event_pb.js @@ -24429,7 +24429,6 @@ if (jspb.Message.GENERATE_TO_OBJECT) { proto_autoops_clause_pb.Clause.toObject, includeInstance ), - triggeredAt: jspb.Message.getFieldWithDefault(msg, 4, 0), createdAt: jspb.Message.getFieldWithDefault(msg, 5, 0), updatedAt: jspb.Message.getFieldWithDefault(msg, 6, 0), opsStatus: jspb.Message.getFieldWithDefault(msg, 7, 0) @@ -24490,10 +24489,6 @@ proto.bucketeer.event.domain.AutoOpsRuleCreatedEvent.deserializeBinaryFromReader ); msg.addClauses(value); break; - case 4: - var value = /** @type {number} */ (reader.readInt64()); - msg.setTriggeredAt(value); - break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setCreatedAt(value); @@ -24556,10 +24551,6 @@ proto.bucketeer.event.domain.AutoOpsRuleCreatedEvent.serializeBinaryToWriter = proto_autoops_clause_pb.Clause.serializeBinaryToWriter ); } - f = message.getTriggeredAt(); - if (f !== 0) { - writer.writeInt64(4, f); - } f = message.getCreatedAt(); if (f !== 0) { writer.writeInt64(5, f); @@ -24663,24 +24654,6 @@ proto.bucketeer.event.domain.AutoOpsRuleCreatedEvent.prototype.clearClausesList return this.setClausesList([]); }; -/** - * optional int64 triggered_at = 4; - * @return {number} - */ -proto.bucketeer.event.domain.AutoOpsRuleCreatedEvent.prototype.getTriggeredAt = - function () { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); - }; - -/** - * @param {number} value - * @return {!proto.bucketeer.event.domain.AutoOpsRuleCreatedEvent} returns this - */ -proto.bucketeer.event.domain.AutoOpsRuleCreatedEvent.prototype.setTriggeredAt = - function (value) { - return jspb.Message.setProto3IntField(this, 4, value); - }; - /** * optional int64 created_at = 5; * @return {number}