diff --git a/README.md b/README.md index 6a8be8b1..4ade6843 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,36 @@ # engine +## Email commands — EM-25 + +Workspace sends the Email attempt commands of an operator over WebSocket in +one action, `cc_email_attempt`, with `operation`: `take`, `postpone`, `resume`, +`return`, `complete`, `renew` or `transfer`. Each command has +`thread_id`, `attempt_id`, `expected_version` and a UUID `command_id` (the same +id for a repeat of the same intent). Postpone adds `postponed_until` (Unix ms) or +`postpone_for_sec`, Renew `renewal_sec`, Return a `reason` (1–500 characters), +Transfer exactly one of `queue_id` and `agent_id` and an optional `comment`. +`cc_email_transfer_agents` with `attempt_id` lists the agents a direct transfer +may offer the email to, from `call_center.cc_email_transfer_candidates`. + +The domain, the user and the agent come from the session, never from the +client. Every command needs `email_thread` update and an agent of the user +(`engine.email_attempt.agent_not_found` otherwise); a transfer to a queue also +needs `cc_queue` read and, with RBAC, read access to that queue. `call_center` +checks the owner, the version and a repeat, so a repeat after a lost reply gets +the first result even when the sender is no longer the owner. + +A reply carries the attempt (`attempt_id`, `thread_id`, `state`, +`attempt_version`, `projection_version`, `result`, `queue_id`, +`postponed_until`, `replayed`); a transfer carries `email` and `transferred_to`. +An error keeps the stable id of `call_center` and maps its gRPC code to HTTP: +`InvalidArgument`/`FailedPrecondition` 400, `Unauthenticated` 401, +`PermissionDenied` 403, `NotFound` 404, `Aborted`/`AlreadyExists` 409, +`ResourceExhausted` 429, `Canceled` 499, `Internal` 500, `Unavailable` 503, +`DeadlineExceeded` 504. A status without a stable id gets +`engine.email_attempt.`. `email_command_timeout` (`EMAIL_COMMAND_TIMEOUT`, +10 seconds) bounds a call to `call_center`. This is the WebSocket contract; an +HTTP entry and the Gateway answer are not part of it. + ## Email Agent API — EM-21 Substeps 5.1–5.4 are prepared on `feature/EM-21-email-distribution`. diff --git a/app/cc/client.go b/app/cc/client.go index 0a3ac19a..4c712b2a 100644 --- a/app/cc/client.go +++ b/app/cc/client.go @@ -43,6 +43,16 @@ type MemberApi interface { InterceptAttempt(ctx context.Context, domainId int64, attemptId int64, agentId int32) error TransferAttempt(ctx context.Context, domainId int64, attemptId int64, agentId, queueId int32) error ResumeAttempt(ctx context.Context, attemptId int64, domainId int64) error + + // Email commands of an operator; errors are model.AppError mapped from the call_center status + // with its stable id and an HTTP code. + EmailAttemptTake(ctx context.Context, in *cc.EmailAttemptTakeRequest) (*cc.EmailAttemptResponse, model.AppError) + EmailAttemptPostpone(ctx context.Context, in *cc.EmailAttemptPostponeRequest) (*cc.EmailAttemptResponse, model.AppError) + EmailAttemptReturn(ctx context.Context, in *cc.EmailAttemptReturnRequest) (*cc.EmailAttemptResponse, model.AppError) + EmailAttemptComplete(ctx context.Context, in *cc.EmailAttemptCompleteRequest) (*cc.EmailAttemptResponse, model.AppError) + EmailAttemptResume(ctx context.Context, in *cc.ResumeAttemptRequest) (*cc.ResumeAttemptResponse, model.AppError) + EmailAttemptRenew(ctx context.Context, in *cc.AttemptRenewalResultRequest) (*cc.AttemptRenewalResultResponse, model.AppError) + EmailAttemptTransfer(ctx context.Context, in *cc.TransferRequest) (*cc.TransferResponse, model.AppError) } type CCManager interface { diff --git a/app/cc/email_error.go b/app/cc/email_error.go new file mode 100644 index 00000000..290c509a --- /dev/null +++ b/app/cc/email_error.go @@ -0,0 +1,76 @@ +package cc + +import ( + "context" + "errors" + "net/http" + "regexp" + "strings" + "unicode" + + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + + "github.com/webitel/engine/model" +) + +// emailStableId matches the stable ids call_center sends as the status message. +var emailStableId = regexp.MustCompile(`^[a-z][a-z0-9_]*(\.[a-z0-9_]+)+$`) + +var emailHttpCodes = map[codes.Code]int{ + codes.InvalidArgument: http.StatusBadRequest, + codes.FailedPrecondition: http.StatusBadRequest, + codes.Unauthenticated: http.StatusUnauthorized, + codes.PermissionDenied: http.StatusForbidden, + codes.NotFound: http.StatusNotFound, + codes.Aborted: http.StatusConflict, + codes.AlreadyExists: http.StatusConflict, + codes.ResourceExhausted: http.StatusTooManyRequests, + codes.Canceled: 499, + codes.Internal: http.StatusInternalServerError, + codes.Unavailable: http.StatusServiceUnavailable, + codes.DeadlineExceeded: http.StatusGatewayTimeout, +} + +// emailGrpcError keeps the stable id of call_center and the code of its status; free text gets +// the fallback id of the code, and the end of the caller's context keeps its own code. +func emailGrpcError(ctx context.Context, err error) model.AppError { + code := codes.Unknown + message := "" + if st, ok := status.FromError(err); ok { + code, message = st.Code(), st.Message() + } + switch { + case errors.Is(ctx.Err(), context.DeadlineExceeded): + code = codes.DeadlineExceeded + case errors.Is(ctx.Err(), context.Canceled): + code = codes.Canceled + } + + httpCode, known := emailHttpCodes[code] + if !known { + code, httpCode = codes.Internal, http.StatusInternalServerError + } + id := message + if !emailStableId.MatchString(id) { + id = "engine.email_attempt." + snakeCase(code.String()) + } + + return model.NewCustomCodeError(id, message, httpCode) +} + +// snakeCase turns a gRPC code name such as InvalidArgument into invalid_argument. +func snakeCase(name string) string { + var b strings.Builder + for i, r := range name { + if unicode.IsUpper(r) { + if i > 0 { + b.WriteByte('_') + } + r = unicode.ToLower(r) + } + b.WriteRune(r) + } + + return b.String() +} diff --git a/app/cc/email_error_test.go b/app/cc/email_error_test.go new file mode 100644 index 00000000..f86532eb --- /dev/null +++ b/app/cc/email_error_test.go @@ -0,0 +1,41 @@ +package cc + +import ( + "context" + "errors" + "testing" + + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +func TestEmailGrpcError(t *testing.T) { + cases := []struct { + err error + id string + code int + }{ + {status.Error(codes.ResourceExhausted, "cc.email_attempt.slot_exhausted"), "cc.email_attempt.slot_exhausted", 429}, + {status.Error(codes.FailedPrecondition, "cc.email_attempt.agent_ineligible"), "cc.email_attempt.agent_ineligible", 400}, + {status.Error(codes.Aborted, "cc.email_attempt.version_conflict"), "cc.email_attempt.version_conflict", 409}, + {status.Error(codes.AlreadyExists, "cc.email_attempt.command_id_conflict"), "cc.email_attempt.command_id_conflict", 409}, + {status.Error(codes.NotFound, "cc.email_attempt.not_found"), "cc.email_attempt.not_found", 404}, + {status.Error(codes.Unavailable, "cc.email_attempt.lock_timeout"), "cc.email_attempt.lock_timeout", 503}, + {status.Error(codes.InvalidArgument, "postponed_until must be positive Unix milliseconds"), "engine.email_attempt.invalid_argument", 400}, + {status.Error(codes.DataLoss, "x"), "engine.email_attempt.internal", 500}, + {errors.New("plain"), "engine.email_attempt.internal", 500}, + } + for _, tc := range cases { + got := emailGrpcError(context.Background(), tc.err) + if got.GetId() != tc.id || got.GetStatusCode() != tc.code { + t.Errorf("%v: got %s %d, want %s %d", tc.err, got.GetId(), got.GetStatusCode(), tc.id, tc.code) + } + } + + ctx, cancel := context.WithCancel(context.Background()) + cancel() + if got := emailGrpcError(ctx, status.Error(codes.Canceled, "context canceled")); got.GetStatusCode() != 499 || + got.GetId() != "engine.email_attempt.canceled" { + t.Errorf("canceled: %s %d", got.GetId(), got.GetStatusCode()) + } +} diff --git a/app/cc/member.go b/app/cc/member.go index a4907655..5e4f6cc0 100644 --- a/app/cc/member.go +++ b/app/cc/member.go @@ -2,7 +2,9 @@ package cc import ( "context" + "github.com/webitel/engine/gen/cc" + "github.com/webitel/engine/model" "github.com/webitel/engine/pkg/wbt" ) @@ -134,3 +136,59 @@ func (api *memberApi) SaveFormFields(domainId, attemptId int64, fields map[strin return err } + +func (api *memberApi) EmailAttemptTake(ctx context.Context, in *cc.EmailAttemptTakeRequest) (*cc.EmailAttemptResponse, model.AppError) { + out, err := api.Api.EmailAttemptTake(ctx, in) + if err != nil { + return nil, emailGrpcError(ctx, err) + } + return out, nil +} + +func (api *memberApi) EmailAttemptPostpone(ctx context.Context, in *cc.EmailAttemptPostponeRequest) (*cc.EmailAttemptResponse, model.AppError) { + out, err := api.Api.EmailAttemptPostpone(ctx, in) + if err != nil { + return nil, emailGrpcError(ctx, err) + } + return out, nil +} + +func (api *memberApi) EmailAttemptReturn(ctx context.Context, in *cc.EmailAttemptReturnRequest) (*cc.EmailAttemptResponse, model.AppError) { + out, err := api.Api.EmailAttemptReturn(ctx, in) + if err != nil { + return nil, emailGrpcError(ctx, err) + } + return out, nil +} + +func (api *memberApi) EmailAttemptComplete(ctx context.Context, in *cc.EmailAttemptCompleteRequest) (*cc.EmailAttemptResponse, model.AppError) { + out, err := api.Api.EmailAttemptComplete(ctx, in) + if err != nil { + return nil, emailGrpcError(ctx, err) + } + return out, nil +} + +func (api *memberApi) EmailAttemptResume(ctx context.Context, in *cc.ResumeAttemptRequest) (*cc.ResumeAttemptResponse, model.AppError) { + out, err := api.Api.ResumeAttempt(ctx, in) + if err != nil { + return nil, emailGrpcError(ctx, err) + } + return out, nil +} + +func (api *memberApi) EmailAttemptRenew(ctx context.Context, in *cc.AttemptRenewalResultRequest) (*cc.AttemptRenewalResultResponse, model.AppError) { + out, err := api.Api.AttemptRenewalResult(ctx, in) + if err != nil { + return nil, emailGrpcError(ctx, err) + } + return out, nil +} + +func (api *memberApi) EmailAttemptTransfer(ctx context.Context, in *cc.TransferRequest) (*cc.TransferResponse, model.AppError) { + out, err := api.Api.Transfer(ctx, in) + if err != nil { + return nil, emailGrpcError(ctx, err) + } + return out, nil +} diff --git a/app/email_attempt.go b/app/email_attempt.go new file mode 100644 index 00000000..dee91ad7 --- /dev/null +++ b/app/email_attempt.go @@ -0,0 +1,166 @@ +package app + +import ( + "context" + "net/http" + "time" + + ccclient "github.com/webitel/engine/app/cc" + "github.com/webitel/engine/gen/cc" + "github.com/webitel/engine/model" +) + +const defaultEmailCommandTimeout = 10 * time.Second + +// EmailOwnAgent is the agent of the session user; commands act only for it. +func (app *App) EmailOwnAgent(ctx context.Context, domainId, userId int64) (int32, model.AppError) { + agentId, err := app.Store.Agent().EmailAgentIdByUser(ctx, domainId, userId) + if err != nil { + return 0, err + } + if agentId == nil { + return 0, model.NewCustomCodeError("engine.email_attempt.agent_not_found", "the user has no agent", http.StatusBadRequest) + } + + return *agentId, nil +} + +// EmailTransferCandidates lists the agents a direct transfer of the attempt of agentId may offer it to. +func (app *App) EmailTransferCandidates(ctx context.Context, domainId, attemptId int64, agentId int32) ([]*model.EmailTransferCandidate, model.AppError) { + return app.Store.Member().EmailTransferCandidates(ctx, domainId, attemptId, agentId) +} + +// emailOperation is the session and operator data shared by the Email attempt commands. +type emailOperation struct { + member ccclient.MemberApi + domainId int64 + userId int64 + agentId int32 + operator *cc.EmailAttemptOperator + cmd *model.EmailAttemptCommand +} + +// emailOperationHandler sends one Email attempt command to its call_center RPC. +type emailOperationHandler func(ctx context.Context, o *emailOperation) (*model.EmailAttemptResult, model.AppError) + +var emailOperationHandlers = map[string]emailOperationHandler{ + model.EmailAttemptTake: emailAttemptTake, + model.EmailAttemptPostpone: emailAttemptPostpone, + model.EmailAttemptReturn: emailAttemptReturn, + model.EmailAttemptComplete: emailAttemptComplete, + model.EmailAttemptResume: emailAttemptResume, + model.EmailAttemptRenew: emailAttemptRenew, + model.EmailAttemptTransfer: emailAttemptTransfer, +} + +// EmailAttemptCommand sends the command of the operator to call_center, which checks the owner, +// version and repeat; userId and agentId come from the session. +func (app *App) EmailAttemptCommand(ctx context.Context, domainId, userId int64, agentId int32, cmd *model.EmailAttemptCommand) (*model.EmailAttemptResult, model.AppError) { + handler, ok := emailOperationHandlers[cmd.Op] + if !ok { + return nil, model.NewBadRequestError("engine.email_attempt.invalid_argument", "unknown operation") + } + + timeout := defaultEmailCommandTimeout + if sec := app.Config().EmailSettings.EmailCommandTimeout; sec > 0 { + timeout = time.Duration(sec) * time.Second + } + ctx, cancel := context.WithTimeout(ctx, timeout) + defer cancel() + + return handler(ctx, &emailOperation{ + member: app.cc.Member(), + domainId: domainId, + userId: userId, + agentId: agentId, + operator: &cc.EmailAttemptOperator{AttemptId: cmd.AttemptId, AgentId: agentId, + ExpectedVersion: model.NewInt64(cmd.ExpectedVersion), CommandId: cmd.CommandId, UserId: userId}, + cmd: cmd, + }) +} + +func emailAttemptTake(ctx context.Context, o *emailOperation) (*model.EmailAttemptResult, model.AppError) { + res, err := o.member.EmailAttemptTake(ctx, &cc.EmailAttemptTakeRequest{DomainId: o.domainId, ThreadId: o.cmd.ThreadId, + Operator: o.operator}) + return emailAttemptResult(res, err) +} + +func emailAttemptPostpone(ctx context.Context, o *emailOperation) (*model.EmailAttemptResult, model.AppError) { + in := &cc.EmailAttemptPostponeRequest{DomainId: o.domainId, ThreadId: o.cmd.ThreadId, + Caller: &cc.EmailAttemptPostponeRequest_Operator{Operator: o.operator}} + if o.cmd.PostponedUntil > 0 { + in.Deadline = &cc.EmailAttemptPostponeRequest_PostponedUntil{PostponedUntil: o.cmd.PostponedUntil} + } else { + in.Deadline = &cc.EmailAttemptPostponeRequest_PostponeForSec{PostponeForSec: o.cmd.PostponeForSec} + } + res, err := o.member.EmailAttemptPostpone(ctx, in) + return emailAttemptResult(res, err) +} + +func emailAttemptReturn(ctx context.Context, o *emailOperation) (*model.EmailAttemptResult, model.AppError) { + res, err := o.member.EmailAttemptReturn(ctx, &cc.EmailAttemptReturnRequest{DomainId: o.domainId, ThreadId: o.cmd.ThreadId, + Operator: o.operator, Reason: o.cmd.Reason}) + return emailAttemptResult(res, err) +} + +func emailAttemptComplete(ctx context.Context, o *emailOperation) (*model.EmailAttemptResult, model.AppError) { + res, err := o.member.EmailAttemptComplete(ctx, &cc.EmailAttemptCompleteRequest{DomainId: o.domainId, ThreadId: o.cmd.ThreadId, + Operator: o.operator}) + return emailAttemptResult(res, err) +} + +func emailAttemptResume(ctx context.Context, o *emailOperation) (*model.EmailAttemptResult, model.AppError) { + out, err := o.member.EmailAttemptResume(ctx, &cc.ResumeAttemptRequest{DomainId: o.domainId, AttemptId: o.cmd.AttemptId, + ThreadId: o.cmd.ThreadId, AgentId: o.agentId, ExpectedVersion: model.NewInt64(o.cmd.ExpectedVersion), + CommandId: o.cmd.CommandId, UserId: o.userId}) + return emailAttemptResult(out.GetEmail(), err) +} + +func emailAttemptRenew(ctx context.Context, o *emailOperation) (*model.EmailAttemptResult, model.AppError) { + out, err := o.member.EmailAttemptRenew(ctx, &cc.AttemptRenewalResultRequest{DomainId: o.domainId, AttemptId: o.cmd.AttemptId, + Renewal: o.cmd.RenewalSec, ThreadId: o.cmd.ThreadId, AgentId: o.agentId, ExpectedVersion: model.NewInt64(o.cmd.ExpectedVersion), + CommandId: o.cmd.CommandId, UserId: o.userId}) + return emailAttemptResult(out.GetEmail(), err) +} + +// emailAttemptTransfer returns both the transferred attempt and the attempt it ended up in. +func emailAttemptTransfer(ctx context.Context, o *emailOperation) (*model.EmailAttemptResult, model.AppError) { + out, err := o.member.EmailAttemptTransfer(ctx, &cc.TransferRequest{DomainId: o.domainId, AttemptId: o.cmd.AttemptId, + AgentId: o.cmd.ToAgentId, QueueId: o.cmd.ToQueueId, ThreadId: o.cmd.ThreadId, Operator: o.operator, Comment: o.cmd.Comment}) + if err != nil { + return nil, err + } + if out.GetEmail() == nil || out.GetTransferredTo() == nil { + return nil, model.NewInternalError("engine.email_attempt.internal", "call_center returned an incomplete transfer") + } + + return &model.EmailAttemptResult{Email: emailAttemptState(out.GetEmail()), + TransferredTo: emailAttemptState(out.GetTransferredTo())}, nil +} + +// emailAttemptResult is the result of a command that returns one Email attempt. +func emailAttemptResult(res *cc.EmailAttemptResponse, err model.AppError) (*model.EmailAttemptResult, model.AppError) { + if err != nil { + return nil, err + } + if res == nil { + return nil, model.NewInternalError("engine.email_attempt.internal", "call_center returned no Email attempt") + } + + return &model.EmailAttemptResult{Email: emailAttemptState(res)}, nil +} + +func emailAttemptState(r *cc.EmailAttemptResponse) *model.EmailAttemptState { + return &model.EmailAttemptState{ + AttemptId: r.GetAttemptId(), + ThreadId: r.GetThreadId(), + State: r.GetState(), + AttemptVersion: r.GetAttemptVersion(), + ProjectionVersion: r.GetProjectionVersion(), + Result: r.GetResult(), + QueueId: r.GetQueueId(), + AgentId: r.GetAgentId(), + PostponedUntil: r.GetPostponedUntil(), + Replayed: r.GetReplayed(), + } +} diff --git a/app/grpc_server.go b/app/grpc_server.go index 199c547d..0d589f4e 100644 --- a/app/grpc_server.go +++ b/app/grpc_server.go @@ -258,6 +258,8 @@ func httpCodeToGrpc(c int) codes.Code { return codes.InvalidArgument case http.StatusAccepted: return codes.ResourceExhausted + case http.StatusTooManyRequests: + return codes.ResourceExhausted case http.StatusUnauthorized: return codes.Unauthenticated case http.StatusForbidden: diff --git a/controller/email_attempt.go b/controller/email_attempt.go new file mode 100644 index 00000000..d6819ef1 --- /dev/null +++ b/controller/email_attempt.go @@ -0,0 +1,65 @@ +package controller + +import ( + "context" + + "github.com/webitel/engine/model" + "github.com/webitel/engine/pkg/wbt/auth_manager" +) + +// emailCommandAllowed: every Email command of an operator needs email_thread update. +func emailCommandAllowed(session *auth_manager.Session) bool { + return session.GetPermission(model.PERMISSION_SCOPE_EMAIL_THREAD).CanUpdate() +} + +// emailTargetQueue is the queue a transfer moves the email to; it needs cc_queue read. +func emailTargetQueue(cmd *model.EmailAttemptCommand) int32 { + if cmd.Op == model.EmailAttemptTransfer { + return cmd.ToQueueId + } + + return 0 +} + +// EmailAttemptCommand checks the session, its rights and its own agent; call_center checks the owner, +// the version and a repeat of the command. +func (c *Controller) EmailAttemptCommand(ctx context.Context, session *auth_manager.Session, cmd *model.EmailAttemptCommand) (*model.EmailAttemptResult, model.AppError) { + if !emailCommandAllowed(session) { + return nil, c.app.MakePermissionError(session, session.GetPermission(model.PERMISSION_SCOPE_EMAIL_THREAD), auth_manager.PERMISSION_ACCESS_UPDATE) + } + if queueId := emailTargetQueue(cmd); queueId > 0 { + permission := session.GetPermission(model.PERMISSION_SCOPE_CC_QUEUE) + if !permission.CanRead() { + return nil, c.app.MakePermissionError(session, permission, auth_manager.PERMISSION_ACCESS_READ) + } + if session.UseRBAC(auth_manager.PERMISSION_ACCESS_READ, permission) { + allowed, err := c.app.QueueCheckAccess(ctx, session.DomainId, int64(queueId), session.GetAclRoles(), auth_manager.PERMISSION_ACCESS_READ) + if err != nil { + return nil, err + } + if !allowed { + return nil, c.app.MakeResourcePermissionError(session, int64(queueId), permission, auth_manager.PERMISSION_ACCESS_READ) + } + } + } + + agentId, err := c.app.EmailOwnAgent(ctx, session.DomainId, session.UserId) + if err != nil { + return nil, err + } + + return c.app.EmailAttemptCommand(ctx, session.DomainId, session.UserId, agentId, cmd) +} + +// EmailTransferCandidates lists the agents the current owner may transfer the email to. +func (c *Controller) EmailTransferCandidates(ctx context.Context, session *auth_manager.Session, attemptId int64) ([]*model.EmailTransferCandidate, model.AppError) { + if !emailCommandAllowed(session) { + return nil, c.app.MakePermissionError(session, session.GetPermission(model.PERMISSION_SCOPE_EMAIL_THREAD), auth_manager.PERMISSION_ACCESS_UPDATE) + } + agentId, err := c.app.EmailOwnAgent(ctx, session.DomainId, session.UserId) + if err != nil { + return nil, err + } + + return c.app.EmailTransferCandidates(ctx, session.DomainId, attemptId, agentId) +} diff --git a/controller/email_attempt_test.go b/controller/email_attempt_test.go new file mode 100644 index 00000000..85b648aa --- /dev/null +++ b/controller/email_attempt_test.go @@ -0,0 +1,30 @@ +package controller + +import ( + "testing" + + "github.com/webitel/engine/model" + "github.com/webitel/engine/pkg/wbt/auth_manager" +) + +func TestEmailCommandAccess(t *testing.T) { + scope := func(access uint32) *auth_manager.Session { + return &auth_manager.Session{Scopes: []auth_manager.SessionPermission{ + {Name: model.PERMISSION_SCOPE_EMAIL_THREAD, Obac: true, Access: access}, + }} + } + if !emailCommandAllowed(scope(auth_manager.PERMISSION_ACCESS_UPDATE.Value() | auth_manager.PERMISSION_ACCESS_READ.Value())) { + t.Error("update was refused") + } + if emailCommandAllowed(scope(auth_manager.PERMISSION_ACCESS_READ.Value())) { + t.Error("read only was allowed") + } + if emailCommandAllowed(&auth_manager.Session{}) { + t.Error("a session without the scope was allowed") + } + + if emailTargetQueue(&model.EmailAttemptCommand{Op: model.EmailAttemptTransfer, ToQueueId: 5}) != 5 || + emailTargetQueue(&model.EmailAttemptCommand{Op: model.EmailAttemptTransfer, ToAgentId: 4}) != 0 { + t.Error("only a transfer to a queue needs cc_queue read") + } +} diff --git a/gen/cc/cc_member.pb.go b/gen/cc/cc_member.pb.go index c2dcdacb..21250452 100644 --- a/gen/cc/cc_member.pb.go +++ b/gen/cc/cc_member.pb.go @@ -76,6 +76,69 @@ func (EmailJoinToQueueResponse_Result) EnumDescriptor() ([]byte, []int) { return file_cc_member_proto_rawDescGZIP(), []int{33, 0} } +type EmailWakeUpResponse_Result int32 + +const ( + EmailWakeUpResponse_RESULT_UNSPECIFIED EmailWakeUpResponse_Result = 0 + // A postponed attempt went back to work with its agent. + EmailWakeUpResponse_RESULT_WOKEN EmailWakeUpResponse_Result = 1 + // A postponed attempt went to the queue: its agent had no slot or was not online. + EmailWakeUpResponse_RESULT_QUEUED EmailWakeUpResponse_Result = 2 + // An attempt in post-processing went back to work. + EmailWakeUpResponse_RESULT_REOPENED EmailWakeUpResponse_Result = 3 + // The active attempt needed no change. + EmailWakeUpResponse_RESULT_NOOP EmailWakeUpResponse_Result = 4 + // The Thread has no active attempt. + EmailWakeUpResponse_RESULT_NOT_ACTIVE EmailWakeUpResponse_Result = 5 +) + +// Enum value maps for EmailWakeUpResponse_Result. +var ( + EmailWakeUpResponse_Result_name = map[int32]string{ + 0: "RESULT_UNSPECIFIED", + 1: "RESULT_WOKEN", + 2: "RESULT_QUEUED", + 3: "RESULT_REOPENED", + 4: "RESULT_NOOP", + 5: "RESULT_NOT_ACTIVE", + } + EmailWakeUpResponse_Result_value = map[string]int32{ + "RESULT_UNSPECIFIED": 0, + "RESULT_WOKEN": 1, + "RESULT_QUEUED": 2, + "RESULT_REOPENED": 3, + "RESULT_NOOP": 4, + "RESULT_NOT_ACTIVE": 5, + } +) + +func (x EmailWakeUpResponse_Result) Enum() *EmailWakeUpResponse_Result { + p := new(EmailWakeUpResponse_Result) + *p = x + return p +} + +func (x EmailWakeUpResponse_Result) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (EmailWakeUpResponse_Result) Descriptor() protoreflect.EnumDescriptor { + return file_cc_member_proto_enumTypes[1].Descriptor() +} + +func (EmailWakeUpResponse_Result) Type() protoreflect.EnumType { + return &file_cc_member_proto_enumTypes[1] +} + +func (x EmailWakeUpResponse_Result) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use EmailWakeUpResponse_Result.Descriptor instead. +func (EmailWakeUpResponse_Result) EnumDescriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{49, 0} +} + type IMJoinToQueueRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -250,6 +313,15 @@ type ResumeAttemptRequest struct { DomainId int64 `protobuf:"varint,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` AttemptId int64 `protobuf:"varint,2,opt,name=attempt_id,json=attemptId,proto3" json:"attempt_id,omitempty"` + // An Email attempt is resumed either by its agent (attempt_id, thread_id, agent_id, + // expected_version, command_id) or by a Flow (thread_id and email_event_id only). + ThreadId int64 `protobuf:"varint,3,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` + AgentId int32 `protobuf:"varint,4,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + ExpectedVersion *int64 `protobuf:"varint,5,opt,name=expected_version,json=expectedVersion,proto3,oneof" json:"expected_version,omitempty"` + CommandId string `protobuf:"bytes,6,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` + EmailEventId string `protobuf:"bytes,7,opt,name=email_event_id,json=emailEventId,proto3" json:"email_event_id,omitempty"` + // Operator Email form: the session user of engine; not set by a Flow. + UserId int64 `protobuf:"varint,8,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` } func (x *ResumeAttemptRequest) Reset() { @@ -298,12 +370,56 @@ func (x *ResumeAttemptRequest) GetAttemptId() int64 { return 0 } +func (x *ResumeAttemptRequest) GetThreadId() int64 { + if x != nil { + return x.ThreadId + } + return 0 +} + +func (x *ResumeAttemptRequest) GetAgentId() int32 { + if x != nil { + return x.AgentId + } + return 0 +} + +func (x *ResumeAttemptRequest) GetExpectedVersion() int64 { + if x != nil && x.ExpectedVersion != nil { + return *x.ExpectedVersion + } + return 0 +} + +func (x *ResumeAttemptRequest) GetCommandId() string { + if x != nil { + return x.CommandId + } + return "" +} + +func (x *ResumeAttemptRequest) GetEmailEventId() string { + if x != nil { + return x.EmailEventId + } + return "" +} + +func (x *ResumeAttemptRequest) GetUserId() int64 { + if x != nil { + return x.UserId + } + return 0 +} + type ResumeAttemptResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` + // Set for an Email attempt. + Email *EmailAttemptResponse `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` } func (x *ResumeAttemptResponse) Reset() { @@ -345,6 +461,13 @@ func (x *ResumeAttemptResponse) GetOk() bool { return false } +func (x *ResumeAttemptResponse) GetEmail() *EmailAttemptResponse { + if x != nil { + return x.Email + } + return nil +} + type InterceptAttemptRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -948,6 +1071,12 @@ type TransferRequest struct { AgentId int32 `protobuf:"varint,3,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` QueueId int32 `protobuf:"varint,4,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"` FormFields map[string]string `protobuf:"bytes,5,rep,name=form_fields,json=formFields,proto3" json:"form_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Email form: thread_id and operator, exactly one of agent_id and queue_id, no form_fields; + // attempt_id is 0 or operator.attempt_id. + ThreadId int64 `protobuf:"varint,6,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` + Operator *EmailAttemptOperator `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"` + // Optional, up to 500 characters. + Comment string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"` } func (x *TransferRequest) Reset() { @@ -1017,10 +1146,35 @@ func (x *TransferRequest) GetFormFields() map[string]string { return nil } +func (x *TransferRequest) GetThreadId() int64 { + if x != nil { + return x.ThreadId + } + return 0 +} + +func (x *TransferRequest) GetOperator() *EmailAttemptOperator { + if x != nil { + return x.Operator + } + return nil +} + +func (x *TransferRequest) GetComment() string { + if x != nil { + return x.Comment + } + return "" +} + type TransferResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + // Email form: the transferred attempt and the attempt created for the Thread. + Email *EmailAttemptResponse `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` + TransferredTo *EmailAttemptResponse `protobuf:"bytes,2,opt,name=transferred_to,json=transferredTo,proto3" json:"transferred_to,omitempty"` } func (x *TransferResponse) Reset() { @@ -1055,6 +1209,20 @@ func (*TransferResponse) Descriptor() ([]byte, []int) { return file_cc_member_proto_rawDescGZIP(), []int{15} } +func (x *TransferResponse) GetEmail() *EmailAttemptResponse { + if x != nil { + return x.Email + } + return nil +} + +func (x *TransferResponse) GetTransferredTo() *EmailAttemptResponse { + if x != nil { + return x.TransferredTo + } + return nil +} + type CancelAgentDistributeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1764,6 +1932,13 @@ type AttemptRenewalResultRequest struct { DomainId int64 `protobuf:"varint,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` AttemptId int64 `protobuf:"varint,2,opt,name=attempt_id,json=attemptId,proto3" json:"attempt_id,omitempty"` Renewal uint32 `protobuf:"varint,3,opt,name=renewal,proto3" json:"renewal,omitempty"` + // Required for an Email attempt, which is renewed only by its agent at the expected version. + ThreadId int64 `protobuf:"varint,4,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` + AgentId int32 `protobuf:"varint,5,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + ExpectedVersion *int64 `protobuf:"varint,6,opt,name=expected_version,json=expectedVersion,proto3,oneof" json:"expected_version,omitempty"` + CommandId string `protobuf:"bytes,7,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` + // The session user of engine. + UserId int64 `protobuf:"varint,8,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` } func (x *AttemptRenewalResultRequest) Reset() { @@ -1819,10 +1994,48 @@ func (x *AttemptRenewalResultRequest) GetRenewal() uint32 { return 0 } +func (x *AttemptRenewalResultRequest) GetThreadId() int64 { + if x != nil { + return x.ThreadId + } + return 0 +} + +func (x *AttemptRenewalResultRequest) GetAgentId() int32 { + if x != nil { + return x.AgentId + } + return 0 +} + +func (x *AttemptRenewalResultRequest) GetExpectedVersion() int64 { + if x != nil && x.ExpectedVersion != nil { + return *x.ExpectedVersion + } + return 0 +} + +func (x *AttemptRenewalResultRequest) GetCommandId() string { + if x != nil { + return x.CommandId + } + return "" +} + +func (x *AttemptRenewalResultRequest) GetUserId() int64 { + if x != nil { + return x.UserId + } + return 0 +} + type AttemptRenewalResultResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + // Set for an Email attempt. + Email *EmailAttemptResponse `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` } func (x *AttemptRenewalResultResponse) Reset() { @@ -1857,6 +2070,13 @@ func (*AttemptRenewalResultResponse) Descriptor() ([]byte, []int) { return file_cc_member_proto_rawDescGZIP(), []int{27} } +func (x *AttemptRenewalResultResponse) GetEmail() *EmailAttemptResponse { + if x != nil { + return x.Email + } + return nil +} + type QueueEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2199,7 +2419,7 @@ type EmailJoinToQueueRequest struct { // Idempotency key: the email.message.inbound event that started the Flow. // Valid replays return the stored result without changing routing parameters. EmailEventId string `protobuf:"bytes,4,opt,name=email_event_id,json=emailEventId,proto3" json:"email_event_id,omitempty"` - // Priority in [0, 100]; default 0. Invalid values return InvalidArgument + // Priority in [0, 2147483647]; default 0. Invalid values return InvalidArgument // with ID store.sql_member.email_join.invalid_priority. Priority int32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"` // Explicit Sticky candidate; 0 means no candidate. @@ -2974,17 +3194,24 @@ func (x *AttemptResultResponse) GetStatus() string { return "" } -type IMJoinToQueueRequest_Queue struct { +// Operator form of an Email attempt command, sent by engine for the agent of the attempt. +type EmailAttemptOperator struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + AttemptId int64 `protobuf:"varint,1,opt,name=attempt_id,json=attemptId,proto3" json:"attempt_id,omitempty"` + AgentId int32 `protobuf:"varint,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + // attempt_version the agent saw; a newer attempt rejects the command. + ExpectedVersion *int64 `protobuf:"varint,3,opt,name=expected_version,json=expectedVersion,proto3,oneof" json:"expected_version,omitempty"` + // Idempotency key of the command; a retry repeats it with the same arguments. + CommandId string `protobuf:"bytes,4,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` + // The session user of engine; must be the user of agent_id. + UserId int64 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` } -func (x *IMJoinToQueueRequest_Queue) Reset() { - *x = IMJoinToQueueRequest_Queue{} +func (x *EmailAttemptOperator) Reset() { + *x = EmailAttemptOperator{} if protoimpl.UnsafeEnabled { mi := &file_cc_member_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2992,13 +3219,13 @@ func (x *IMJoinToQueueRequest_Queue) Reset() { } } -func (x *IMJoinToQueueRequest_Queue) String() string { +func (x *EmailAttemptOperator) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IMJoinToQueueRequest_Queue) ProtoMessage() {} +func (*EmailAttemptOperator) ProtoMessage() {} -func (x *IMJoinToQueueRequest_Queue) ProtoReflect() protoreflect.Message { +func (x *EmailAttemptOperator) ProtoReflect() protoreflect.Message { mi := &file_cc_member_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3010,52 +3237,72 @@ func (x *IMJoinToQueueRequest_Queue) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IMJoinToQueueRequest_Queue.ProtoReflect.Descriptor instead. -func (*IMJoinToQueueRequest_Queue) Descriptor() ([]byte, []int) { - return file_cc_member_proto_rawDescGZIP(), []int{0, 0} +// Deprecated: Use EmailAttemptOperator.ProtoReflect.Descriptor instead. +func (*EmailAttemptOperator) Descriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{41} } -func (x *IMJoinToQueueRequest_Queue) GetId() int32 { +func (x *EmailAttemptOperator) GetAttemptId() int64 { if x != nil { - return x.Id + return x.AttemptId } return 0 } -func (x *IMJoinToQueueRequest_Queue) GetName() string { +func (x *EmailAttemptOperator) GetAgentId() int32 { if x != nil { - return x.Name + return x.AgentId + } + return 0 +} + +func (x *EmailAttemptOperator) GetExpectedVersion() int64 { + if x != nil && x.ExpectedVersion != nil { + return *x.ExpectedVersion + } + return 0 +} + +func (x *EmailAttemptOperator) GetCommandId() string { + if x != nil { + return x.CommandId } return "" } -type IMJoinToQueueRequest_Endpoint struct { +func (x *EmailAttemptOperator) GetUserId() int64 { + if x != nil { + return x.UserId + } + return 0 +} + +// Flow form: the attempt is the active one of the Thread, woken by this inbound Email event. +type EmailAttemptFlow struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Sub string `protobuf:"bytes,2,opt,name=sub,proto3" json:"sub,omitempty"` - MemberId string `protobuf:"bytes,3,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` + EmailEventId string `protobuf:"bytes,1,opt,name=email_event_id,json=emailEventId,proto3" json:"email_event_id,omitempty"` } -func (x *IMJoinToQueueRequest_Endpoint) Reset() { - *x = IMJoinToQueueRequest_Endpoint{} +func (x *EmailAttemptFlow) Reset() { + *x = EmailAttemptFlow{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[43] + mi := &file_cc_member_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *IMJoinToQueueRequest_Endpoint) String() string { +func (x *EmailAttemptFlow) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IMJoinToQueueRequest_Endpoint) ProtoMessage() {} +func (*EmailAttemptFlow) ProtoMessage() {} -func (x *IMJoinToQueueRequest_Endpoint) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[43] +func (x *EmailAttemptFlow) ProtoReflect() protoreflect.Message { + mi := &file_cc_member_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3066,62 +3313,45 @@ func (x *IMJoinToQueueRequest_Endpoint) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IMJoinToQueueRequest_Endpoint.ProtoReflect.Descriptor instead. -func (*IMJoinToQueueRequest_Endpoint) Descriptor() ([]byte, []int) { - return file_cc_member_proto_rawDescGZIP(), []int{0, 2} -} - -func (x *IMJoinToQueueRequest_Endpoint) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *IMJoinToQueueRequest_Endpoint) GetSub() string { - if x != nil { - return x.Sub - } - return "" +// Deprecated: Use EmailAttemptFlow.ProtoReflect.Descriptor instead. +func (*EmailAttemptFlow) Descriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{42} } -func (x *IMJoinToQueueRequest_Endpoint) GetMemberId() string { +func (x *EmailAttemptFlow) GetEmailEventId() string { if x != nil { - return x.MemberId + return x.EmailEventId } return "" } -type IMJoinToQueueRequest_MemberInfo struct { +type EmailAttemptTakeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Iss string `protobuf:"bytes,3,opt,name=iss,proto3" json:"iss,omitempty"` - Sub string `protobuf:"bytes,4,opt,name=sub,proto3" json:"sub,omitempty"` - Role int32 `protobuf:"varint,5,opt,name=role,proto3" json:"role,omitempty"` - MemberId string `protobuf:"bytes,6,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` + DomainId int64 `protobuf:"varint,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` + ThreadId int64 `protobuf:"varint,2,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` + Operator *EmailAttemptOperator `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"` } -func (x *IMJoinToQueueRequest_MemberInfo) Reset() { - *x = IMJoinToQueueRequest_MemberInfo{} +func (x *EmailAttemptTakeRequest) Reset() { + *x = EmailAttemptTakeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[44] + mi := &file_cc_member_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *IMJoinToQueueRequest_MemberInfo) String() string { +func (x *EmailAttemptTakeRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IMJoinToQueueRequest_MemberInfo) ProtoMessage() {} +func (*EmailAttemptTakeRequest) ProtoMessage() {} -func (x *IMJoinToQueueRequest_MemberInfo) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[44] +func (x *EmailAttemptTakeRequest) ProtoReflect() protoreflect.Message { + mi := &file_cc_member_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3132,82 +3362,817 @@ func (x *IMJoinToQueueRequest_MemberInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IMJoinToQueueRequest_MemberInfo.ProtoReflect.Descriptor instead. -func (*IMJoinToQueueRequest_MemberInfo) Descriptor() ([]byte, []int) { - return file_cc_member_proto_rawDescGZIP(), []int{0, 3} -} - -func (x *IMJoinToQueueRequest_MemberInfo) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *IMJoinToQueueRequest_MemberInfo) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *IMJoinToQueueRequest_MemberInfo) GetIss() string { - if x != nil { - return x.Iss - } - return "" +// Deprecated: Use EmailAttemptTakeRequest.ProtoReflect.Descriptor instead. +func (*EmailAttemptTakeRequest) Descriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{43} } -func (x *IMJoinToQueueRequest_MemberInfo) GetSub() string { +func (x *EmailAttemptTakeRequest) GetDomainId() int64 { if x != nil { - return x.Sub + return x.DomainId } - return "" + return 0 } -func (x *IMJoinToQueueRequest_MemberInfo) GetRole() int32 { +func (x *EmailAttemptTakeRequest) GetThreadId() int64 { if x != nil { - return x.Role + return x.ThreadId } return 0 } -func (x *IMJoinToQueueRequest_MemberInfo) GetMemberId() string { +func (x *EmailAttemptTakeRequest) GetOperator() *EmailAttemptOperator { if x != nil { - return x.MemberId + return x.Operator } - return "" + return nil } -type IMJoinToQueueRequest_ThreadInfo struct { +type EmailAttemptPostponeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - From *IMJoinToQueueRequest_Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - To *IMJoinToQueueRequest_Endpoint `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` - Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` - Members []*IMJoinToQueueRequest_MemberInfo `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"` - LastMessage string `protobuf:"bytes,5,opt,name=last_message,json=lastMessage,proto3" json:"last_message,omitempty"` + DomainId int64 `protobuf:"varint,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` + ThreadId int64 `protobuf:"varint,2,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` + // Types that are assignable to Caller: + // + // *EmailAttemptPostponeRequest_Operator + // *EmailAttemptPostponeRequest_Flow + Caller isEmailAttemptPostponeRequest_Caller `protobuf_oneof:"caller"` + // Types that are assignable to Deadline: + // + // *EmailAttemptPostponeRequest_PostponedUntil + // *EmailAttemptPostponeRequest_PostponeForSec + Deadline isEmailAttemptPostponeRequest_Deadline `protobuf_oneof:"deadline"` } -func (x *IMJoinToQueueRequest_ThreadInfo) Reset() { - *x = IMJoinToQueueRequest_ThreadInfo{} +func (x *EmailAttemptPostponeRequest) Reset() { + *x = EmailAttemptPostponeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[45] + mi := &file_cc_member_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *IMJoinToQueueRequest_ThreadInfo) String() string { +func (x *EmailAttemptPostponeRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IMJoinToQueueRequest_ThreadInfo) ProtoMessage() {} +func (*EmailAttemptPostponeRequest) ProtoMessage() {} -func (x *IMJoinToQueueRequest_ThreadInfo) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[45] +func (x *EmailAttemptPostponeRequest) ProtoReflect() protoreflect.Message { + mi := &file_cc_member_proto_msgTypes[44] + 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 EmailAttemptPostponeRequest.ProtoReflect.Descriptor instead. +func (*EmailAttemptPostponeRequest) Descriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{44} +} + +func (x *EmailAttemptPostponeRequest) GetDomainId() int64 { + if x != nil { + return x.DomainId + } + return 0 +} + +func (x *EmailAttemptPostponeRequest) GetThreadId() int64 { + if x != nil { + return x.ThreadId + } + return 0 +} + +func (m *EmailAttemptPostponeRequest) GetCaller() isEmailAttemptPostponeRequest_Caller { + if m != nil { + return m.Caller + } + return nil +} + +func (x *EmailAttemptPostponeRequest) GetOperator() *EmailAttemptOperator { + if x, ok := x.GetCaller().(*EmailAttemptPostponeRequest_Operator); ok { + return x.Operator + } + return nil +} + +func (x *EmailAttemptPostponeRequest) GetFlow() *EmailAttemptFlow { + if x, ok := x.GetCaller().(*EmailAttemptPostponeRequest_Flow); ok { + return x.Flow + } + return nil +} + +func (m *EmailAttemptPostponeRequest) GetDeadline() isEmailAttemptPostponeRequest_Deadline { + if m != nil { + return m.Deadline + } + return nil +} + +func (x *EmailAttemptPostponeRequest) GetPostponedUntil() int64 { + if x, ok := x.GetDeadline().(*EmailAttemptPostponeRequest_PostponedUntil); ok { + return x.PostponedUntil + } + return 0 +} + +func (x *EmailAttemptPostponeRequest) GetPostponeForSec() int32 { + if x, ok := x.GetDeadline().(*EmailAttemptPostponeRequest_PostponeForSec); ok { + return x.PostponeForSec + } + return 0 +} + +type isEmailAttemptPostponeRequest_Caller interface { + isEmailAttemptPostponeRequest_Caller() +} + +type EmailAttemptPostponeRequest_Operator struct { + Operator *EmailAttemptOperator `protobuf:"bytes,3,opt,name=operator,proto3,oneof"` +} + +type EmailAttemptPostponeRequest_Flow struct { + Flow *EmailAttemptFlow `protobuf:"bytes,4,opt,name=flow,proto3,oneof"` +} + +func (*EmailAttemptPostponeRequest_Operator) isEmailAttemptPostponeRequest_Caller() {} + +func (*EmailAttemptPostponeRequest_Flow) isEmailAttemptPostponeRequest_Caller() {} + +type isEmailAttemptPostponeRequest_Deadline interface { + isEmailAttemptPostponeRequest_Deadline() +} + +type EmailAttemptPostponeRequest_PostponedUntil struct { + // Unix milliseconds. + PostponedUntil int64 `protobuf:"varint,5,opt,name=postponed_until,json=postponedUntil,proto3,oneof"` +} + +type EmailAttemptPostponeRequest_PostponeForSec struct { + PostponeForSec int32 `protobuf:"varint,6,opt,name=postpone_for_sec,json=postponeForSec,proto3,oneof"` +} + +func (*EmailAttemptPostponeRequest_PostponedUntil) isEmailAttemptPostponeRequest_Deadline() {} + +func (*EmailAttemptPostponeRequest_PostponeForSec) isEmailAttemptPostponeRequest_Deadline() {} + +type EmailAttemptReturnRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DomainId int64 `protobuf:"varint,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` + ThreadId int64 `protobuf:"varint,2,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` + Operator *EmailAttemptOperator `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"` + // Required, 1 to 500 characters. + Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` +} + +func (x *EmailAttemptReturnRequest) Reset() { + *x = EmailAttemptReturnRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cc_member_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EmailAttemptReturnRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EmailAttemptReturnRequest) ProtoMessage() {} + +func (x *EmailAttemptReturnRequest) ProtoReflect() protoreflect.Message { + mi := &file_cc_member_proto_msgTypes[45] + 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 EmailAttemptReturnRequest.ProtoReflect.Descriptor instead. +func (*EmailAttemptReturnRequest) Descriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{45} +} + +func (x *EmailAttemptReturnRequest) GetDomainId() int64 { + if x != nil { + return x.DomainId + } + return 0 +} + +func (x *EmailAttemptReturnRequest) GetThreadId() int64 { + if x != nil { + return x.ThreadId + } + return 0 +} + +func (x *EmailAttemptReturnRequest) GetOperator() *EmailAttemptOperator { + if x != nil { + return x.Operator + } + return nil +} + +func (x *EmailAttemptReturnRequest) GetReason() string { + if x != nil { + return x.Reason + } + return "" +} + +type EmailAttemptCompleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DomainId int64 `protobuf:"varint,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` + ThreadId int64 `protobuf:"varint,2,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` + Operator *EmailAttemptOperator `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"` +} + +func (x *EmailAttemptCompleteRequest) Reset() { + *x = EmailAttemptCompleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cc_member_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EmailAttemptCompleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EmailAttemptCompleteRequest) ProtoMessage() {} + +func (x *EmailAttemptCompleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_cc_member_proto_msgTypes[46] + 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 EmailAttemptCompleteRequest.ProtoReflect.Descriptor instead. +func (*EmailAttemptCompleteRequest) Descriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{46} +} + +func (x *EmailAttemptCompleteRequest) GetDomainId() int64 { + if x != nil { + return x.DomainId + } + return 0 +} + +func (x *EmailAttemptCompleteRequest) GetThreadId() int64 { + if x != nil { + return x.ThreadId + } + return 0 +} + +func (x *EmailAttemptCompleteRequest) GetOperator() *EmailAttemptOperator { + if x != nil { + return x.Operator + } + return nil +} + +// State of the attempt after the command, or after its first execution for a replay. +type EmailAttemptResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AttemptId int64 `protobuf:"varint,1,opt,name=attempt_id,json=attemptId,proto3" json:"attempt_id,omitempty"` + ThreadId int64 `protobuf:"varint,2,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` + // waiting, offering, active, postponed, processing or leaving. + State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` + AttemptVersion int64 `protobuf:"varint,4,opt,name=attempt_version,json=attemptVersion,proto3" json:"attempt_version,omitempty"` + // Order of the change among the changes of the Thread. + ProjectionVersion int64 `protobuf:"varint,5,opt,name=projection_version,json=projectionVersion,proto3" json:"projection_version,omitempty"` + // Set when the attempt left: processed, processing_timeout or transfer. + Result string `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"` + QueueId int32 `protobuf:"varint,7,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"` + AgentId int32 `protobuf:"varint,8,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + // Unix milliseconds; set while postponed. + PostponedUntil int64 `protobuf:"varint,9,opt,name=postponed_until,json=postponedUntil,proto3" json:"postponed_until,omitempty"` + Replayed bool `protobuf:"varint,10,opt,name=replayed,proto3" json:"replayed,omitempty"` +} + +func (x *EmailAttemptResponse) Reset() { + *x = EmailAttemptResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cc_member_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EmailAttemptResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EmailAttemptResponse) ProtoMessage() {} + +func (x *EmailAttemptResponse) ProtoReflect() protoreflect.Message { + mi := &file_cc_member_proto_msgTypes[47] + 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 EmailAttemptResponse.ProtoReflect.Descriptor instead. +func (*EmailAttemptResponse) Descriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{47} +} + +func (x *EmailAttemptResponse) GetAttemptId() int64 { + if x != nil { + return x.AttemptId + } + return 0 +} + +func (x *EmailAttemptResponse) GetThreadId() int64 { + if x != nil { + return x.ThreadId + } + return 0 +} + +func (x *EmailAttemptResponse) GetState() string { + if x != nil { + return x.State + } + return "" +} + +func (x *EmailAttemptResponse) GetAttemptVersion() int64 { + if x != nil { + return x.AttemptVersion + } + return 0 +} + +func (x *EmailAttemptResponse) GetProjectionVersion() int64 { + if x != nil { + return x.ProjectionVersion + } + return 0 +} + +func (x *EmailAttemptResponse) GetResult() string { + if x != nil { + return x.Result + } + return "" +} + +func (x *EmailAttemptResponse) GetQueueId() int32 { + if x != nil { + return x.QueueId + } + return 0 +} + +func (x *EmailAttemptResponse) GetAgentId() int32 { + if x != nil { + return x.AgentId + } + return 0 +} + +func (x *EmailAttemptResponse) GetPostponedUntil() int64 { + if x != nil { + return x.PostponedUntil + } + return 0 +} + +func (x *EmailAttemptResponse) GetReplayed() bool { + if x != nil { + return x.Replayed + } + return false +} + +type EmailWakeUpRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DomainId int64 `protobuf:"varint,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` + ThreadId int64 `protobuf:"varint,2,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` + // The email.message.inbound event; its result is kept and returned again on a replay. + EmailEventId string `protobuf:"bytes,3,opt,name=email_event_id,json=emailEventId,proto3" json:"email_event_id,omitempty"` +} + +func (x *EmailWakeUpRequest) Reset() { + *x = EmailWakeUpRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cc_member_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EmailWakeUpRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EmailWakeUpRequest) ProtoMessage() {} + +func (x *EmailWakeUpRequest) ProtoReflect() protoreflect.Message { + mi := &file_cc_member_proto_msgTypes[48] + 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 EmailWakeUpRequest.ProtoReflect.Descriptor instead. +func (*EmailWakeUpRequest) Descriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{48} +} + +func (x *EmailWakeUpRequest) GetDomainId() int64 { + if x != nil { + return x.DomainId + } + return 0 +} + +func (x *EmailWakeUpRequest) GetThreadId() int64 { + if x != nil { + return x.ThreadId + } + return 0 +} + +func (x *EmailWakeUpRequest) GetEmailEventId() string { + if x != nil { + return x.EmailEventId + } + return "" +} + +type EmailWakeUpResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result EmailWakeUpResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=cc.EmailWakeUpResponse_Result" json:"result,omitempty"` + AttemptId int64 `protobuf:"varint,2,opt,name=attempt_id,json=attemptId,proto3" json:"attempt_id,omitempty"` + State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` + AttemptVersion int64 `protobuf:"varint,4,opt,name=attempt_version,json=attemptVersion,proto3" json:"attempt_version,omitempty"` + Replayed bool `protobuf:"varint,5,opt,name=replayed,proto3" json:"replayed,omitempty"` + // Queue of the last finished Email attempt of the Thread; set only for RESULT_NOT_ACTIVE and kept for a replay. + FallbackQueueId *int32 `protobuf:"varint,6,opt,name=fallback_queue_id,json=fallbackQueueId,proto3,oneof" json:"fallback_queue_id,omitempty"` +} + +func (x *EmailWakeUpResponse) Reset() { + *x = EmailWakeUpResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cc_member_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EmailWakeUpResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EmailWakeUpResponse) ProtoMessage() {} + +func (x *EmailWakeUpResponse) ProtoReflect() protoreflect.Message { + mi := &file_cc_member_proto_msgTypes[49] + 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 EmailWakeUpResponse.ProtoReflect.Descriptor instead. +func (*EmailWakeUpResponse) Descriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{49} +} + +func (x *EmailWakeUpResponse) GetResult() EmailWakeUpResponse_Result { + if x != nil { + return x.Result + } + return EmailWakeUpResponse_RESULT_UNSPECIFIED +} + +func (x *EmailWakeUpResponse) GetAttemptId() int64 { + if x != nil { + return x.AttemptId + } + return 0 +} + +func (x *EmailWakeUpResponse) GetState() string { + if x != nil { + return x.State + } + return "" +} + +func (x *EmailWakeUpResponse) GetAttemptVersion() int64 { + if x != nil { + return x.AttemptVersion + } + return 0 +} + +func (x *EmailWakeUpResponse) GetReplayed() bool { + if x != nil { + return x.Replayed + } + return false +} + +func (x *EmailWakeUpResponse) GetFallbackQueueId() int32 { + if x != nil && x.FallbackQueueId != nil { + return *x.FallbackQueueId + } + return 0 +} + +type IMJoinToQueueRequest_Queue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *IMJoinToQueueRequest_Queue) Reset() { + *x = IMJoinToQueueRequest_Queue{} + if protoimpl.UnsafeEnabled { + mi := &file_cc_member_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IMJoinToQueueRequest_Queue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IMJoinToQueueRequest_Queue) ProtoMessage() {} + +func (x *IMJoinToQueueRequest_Queue) ProtoReflect() protoreflect.Message { + mi := &file_cc_member_proto_msgTypes[50] + 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 IMJoinToQueueRequest_Queue.ProtoReflect.Descriptor instead. +func (*IMJoinToQueueRequest_Queue) Descriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *IMJoinToQueueRequest_Queue) GetId() int32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *IMJoinToQueueRequest_Queue) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type IMJoinToQueueRequest_Endpoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Sub string `protobuf:"bytes,2,opt,name=sub,proto3" json:"sub,omitempty"` + MemberId string `protobuf:"bytes,3,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` +} + +func (x *IMJoinToQueueRequest_Endpoint) Reset() { + *x = IMJoinToQueueRequest_Endpoint{} + if protoimpl.UnsafeEnabled { + mi := &file_cc_member_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IMJoinToQueueRequest_Endpoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IMJoinToQueueRequest_Endpoint) ProtoMessage() {} + +func (x *IMJoinToQueueRequest_Endpoint) ProtoReflect() protoreflect.Message { + mi := &file_cc_member_proto_msgTypes[52] + 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 IMJoinToQueueRequest_Endpoint.ProtoReflect.Descriptor instead. +func (*IMJoinToQueueRequest_Endpoint) Descriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *IMJoinToQueueRequest_Endpoint) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *IMJoinToQueueRequest_Endpoint) GetSub() string { + if x != nil { + return x.Sub + } + return "" +} + +func (x *IMJoinToQueueRequest_Endpoint) GetMemberId() string { + if x != nil { + return x.MemberId + } + return "" +} + +type IMJoinToQueueRequest_MemberInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Iss string `protobuf:"bytes,3,opt,name=iss,proto3" json:"iss,omitempty"` + Sub string `protobuf:"bytes,4,opt,name=sub,proto3" json:"sub,omitempty"` + Role int32 `protobuf:"varint,5,opt,name=role,proto3" json:"role,omitempty"` + MemberId string `protobuf:"bytes,6,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` +} + +func (x *IMJoinToQueueRequest_MemberInfo) Reset() { + *x = IMJoinToQueueRequest_MemberInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_cc_member_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IMJoinToQueueRequest_MemberInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IMJoinToQueueRequest_MemberInfo) ProtoMessage() {} + +func (x *IMJoinToQueueRequest_MemberInfo) ProtoReflect() protoreflect.Message { + mi := &file_cc_member_proto_msgTypes[53] + 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 IMJoinToQueueRequest_MemberInfo.ProtoReflect.Descriptor instead. +func (*IMJoinToQueueRequest_MemberInfo) Descriptor() ([]byte, []int) { + return file_cc_member_proto_rawDescGZIP(), []int{0, 3} +} + +func (x *IMJoinToQueueRequest_MemberInfo) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *IMJoinToQueueRequest_MemberInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *IMJoinToQueueRequest_MemberInfo) GetIss() string { + if x != nil { + return x.Iss + } + return "" +} + +func (x *IMJoinToQueueRequest_MemberInfo) GetSub() string { + if x != nil { + return x.Sub + } + return "" +} + +func (x *IMJoinToQueueRequest_MemberInfo) GetRole() int32 { + if x != nil { + return x.Role + } + return 0 +} + +func (x *IMJoinToQueueRequest_MemberInfo) GetMemberId() string { + if x != nil { + return x.MemberId + } + return "" +} + +type IMJoinToQueueRequest_ThreadInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + From *IMJoinToQueueRequest_Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + To *IMJoinToQueueRequest_Endpoint `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` + Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` + Members []*IMJoinToQueueRequest_MemberInfo `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"` + LastMessage string `protobuf:"bytes,5,opt,name=last_message,json=lastMessage,proto3" json:"last_message,omitempty"` +} + +func (x *IMJoinToQueueRequest_ThreadInfo) Reset() { + *x = IMJoinToQueueRequest_ThreadInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_cc_member_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IMJoinToQueueRequest_ThreadInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IMJoinToQueueRequest_ThreadInfo) ProtoMessage() {} + +func (x *IMJoinToQueueRequest_ThreadInfo) ProtoReflect() protoreflect.Message { + mi := &file_cc_member_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3274,7 +4239,7 @@ type TaskJoinToAgentRequest_Processing struct { func (x *TaskJoinToAgentRequest_Processing) Reset() { *x = TaskJoinToAgentRequest_Processing{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[50] + mi := &file_cc_member_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3287,7 +4252,7 @@ func (x *TaskJoinToAgentRequest_Processing) String() string { func (*TaskJoinToAgentRequest_Processing) ProtoMessage() {} func (x *TaskJoinToAgentRequest_Processing) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[50] + mi := &file_cc_member_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3362,7 +4327,7 @@ type OutboundCallRequest_Processing struct { func (x *OutboundCallRequest_Processing) Reset() { *x = OutboundCallRequest_Processing{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[52] + mi := &file_cc_member_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3375,7 +4340,7 @@ func (x *OutboundCallRequest_Processing) String() string { func (*OutboundCallRequest_Processing) ProtoMessage() {} func (x *OutboundCallRequest_Processing) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[52] + mi := &file_cc_member_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3453,7 +4418,7 @@ type CallJoinToAgentRequest_WaitingMusic struct { func (x *CallJoinToAgentRequest_WaitingMusic) Reset() { *x = CallJoinToAgentRequest_WaitingMusic{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[54] + mi := &file_cc_member_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3466,7 +4431,7 @@ func (x *CallJoinToAgentRequest_WaitingMusic) String() string { func (*CallJoinToAgentRequest_WaitingMusic) ProtoMessage() {} func (x *CallJoinToAgentRequest_WaitingMusic) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[54] + mi := &file_cc_member_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3519,7 +4484,7 @@ type CallJoinToAgentRequest_Processing struct { func (x *CallJoinToAgentRequest_Processing) Reset() { *x = CallJoinToAgentRequest_Processing{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[55] + mi := &file_cc_member_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3532,7 +4497,7 @@ func (x *CallJoinToAgentRequest_Processing) String() string { func (*CallJoinToAgentRequest_Processing) ProtoMessage() {} func (x *CallJoinToAgentRequest_Processing) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[55] + mi := &file_cc_member_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3602,7 +4567,7 @@ type QueueEvent_JoinedData struct { func (x *QueueEvent_JoinedData) Reset() { *x = QueueEvent_JoinedData{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[57] + mi := &file_cc_member_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3615,7 +4580,7 @@ func (x *QueueEvent_JoinedData) String() string { func (*QueueEvent_JoinedData) ProtoMessage() {} func (x *QueueEvent_JoinedData) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[57] + mi := &file_cc_member_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3658,7 +4623,7 @@ type QueueEvent_OfferingData struct { func (x *QueueEvent_OfferingData) Reset() { *x = QueueEvent_OfferingData{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[58] + mi := &file_cc_member_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3671,7 +4636,7 @@ func (x *QueueEvent_OfferingData) String() string { func (*QueueEvent_OfferingData) ProtoMessage() {} func (x *QueueEvent_OfferingData) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[58] + mi := &file_cc_member_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3719,7 +4684,7 @@ type QueueEvent_MissedAgent struct { func (x *QueueEvent_MissedAgent) Reset() { *x = QueueEvent_MissedAgent{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[59] + mi := &file_cc_member_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3732,7 +4697,7 @@ func (x *QueueEvent_MissedAgent) String() string { func (*QueueEvent_MissedAgent) ProtoMessage() {} func (x *QueueEvent_MissedAgent) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[59] + mi := &file_cc_member_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3766,7 +4731,7 @@ type QueueEvent_BridgedData struct { func (x *QueueEvent_BridgedData) Reset() { *x = QueueEvent_BridgedData{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[60] + mi := &file_cc_member_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3779,7 +4744,7 @@ func (x *QueueEvent_BridgedData) String() string { func (*QueueEvent_BridgedData) ProtoMessage() {} func (x *QueueEvent_BridgedData) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[60] + mi := &file_cc_member_proto_msgTypes[69] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3813,7 +4778,7 @@ type QueueEvent_LeavingData struct { func (x *QueueEvent_LeavingData) Reset() { *x = QueueEvent_LeavingData{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[61] + mi := &file_cc_member_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3826,7 +4791,7 @@ func (x *QueueEvent_LeavingData) String() string { func (*QueueEvent_LeavingData) ProtoMessage() {} func (x *QueueEvent_LeavingData) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[61] + mi := &file_cc_member_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3861,7 +4826,7 @@ type ChatJoinToQueueRequest_Queue struct { func (x *ChatJoinToQueueRequest_Queue) Reset() { *x = ChatJoinToQueueRequest_Queue{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[62] + mi := &file_cc_member_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3874,7 +4839,7 @@ func (x *ChatJoinToQueueRequest_Queue) String() string { func (*ChatJoinToQueueRequest_Queue) ProtoMessage() {} func (x *ChatJoinToQueueRequest_Queue) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[62] + mi := &file_cc_member_proto_msgTypes[71] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3916,7 +4881,7 @@ type CallJoinToQueueRequest_Queue struct { func (x *CallJoinToQueueRequest_Queue) Reset() { *x = CallJoinToQueueRequest_Queue{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[64] + mi := &file_cc_member_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3929,7 +4894,7 @@ func (x *CallJoinToQueueRequest_Queue) String() string { func (*CallJoinToQueueRequest_Queue) ProtoMessage() {} func (x *CallJoinToQueueRequest_Queue) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[64] + mi := &file_cc_member_proto_msgTypes[73] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3972,7 +4937,7 @@ type CallJoinToQueueRequest_WaitingMusic struct { func (x *CallJoinToQueueRequest_WaitingMusic) Reset() { *x = CallJoinToQueueRequest_WaitingMusic{} if protoimpl.UnsafeEnabled { - mi := &file_cc_member_proto_msgTypes[65] + mi := &file_cc_member_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3985,7 +4950,7 @@ func (x *CallJoinToQueueRequest_WaitingMusic) String() string { func (*CallJoinToQueueRequest_WaitingMusic) ProtoMessage() {} func (x *CallJoinToQueueRequest_WaitingMusic) ProtoReflect() protoreflect.Message { - mi := &file_cc_member_proto_msgTypes[65] + mi := &file_cc_member_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4092,212 +5057,202 @@ var file_cc_member_proto_rawDesc = []byte{ 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x64, 0x22, 0x52, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x75, 0x6d, - 0x65, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, - 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x22, 0x27, 0x0a, 0x15, 0x52, - 0x65, 0x73, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x02, 0x6f, 0x6b, 0x22, 0x70, 0x0a, 0x17, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, - 0x74, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, - 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, - 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, - 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, - 0x65, 0x70, 0x74, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x4d, 0x0a, 0x14, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x74, 0x74, 0x65, - 0x6d, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, - 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, - 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa1, 0x02, 0x0a, 0x1b, 0x50, - 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, - 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, - 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, - 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, - 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, - 0x07, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, - 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, - 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, - 0x72, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x65, - 0x6c, 0x64, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1e, - 0x0a, 0x1c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x99, - 0x02, 0x0a, 0x19, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, - 0x6d, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, - 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, - 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, - 0x17, 0x0a, 0x07, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x64, 0x12, 0x41, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, - 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x61, 0x76, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x66, - 0x6f, 0x72, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x1a, + 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x64, 0x22, 0xad, 0x02, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x75, + 0x6d, 0x65, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, + 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x08, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, + 0x52, 0x0f, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, + 0x49, 0x64, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x57, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x75, 0x6d, + 0x65, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, + 0x12, 0x2e, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, + 0x22, 0x70, 0x0a, 0x17, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x41, 0x74, 0x74, + 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, + 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, + 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x49, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x41, + 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, + 0x0a, 0x14, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, + 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x17, 0x0a, + 0x15, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa1, 0x02, 0x0a, 0x1b, 0x50, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, + 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x6f, 0x72, + 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, + 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x06, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x63, 0x2e, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x41, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1c, 0x0a, 0x1a, 0x50, 0x72, - 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x61, 0x76, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xfe, 0x02, 0x0a, 0x20, 0x50, 0x72, 0x6f, - 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, - 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, - 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, - 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x17, 0x0a, 0x07, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, - 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x79, 0x6e, 0x63, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x73, 0x79, 0x6e, 0x63, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, - 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x23, 0x0a, 0x21, 0x50, 0x72, 0x6f, - 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x88, - 0x02, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, - 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, - 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, - 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, - 0x75, 0x65, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x0b, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x66, 0x69, 0x65, - 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x63, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, - 0x6f, 0x72, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, - 0x66, 0x6f, 0x72, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x46, 0x6f, - 0x72, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x0a, - 0x1c, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, - 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x43, 0x61, 0x6e, 0x63, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1e, 0x0a, 0x1c, 0x50, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x41, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x99, 0x02, 0x0a, 0x19, 0x50, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x61, 0x76, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, + 0x70, 0x74, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x66, + 0x6f, 0x72, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, + 0x72, 0x6d, 0x49, 0x64, 0x12, 0x41, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x1a, 0x39, 0x0a, 0x0b, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1c, 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xfe, 0x02, 0x0a, 0x20, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, + 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, + 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, + 0x6f, 0x72, 0x6d, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, + 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x51, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x79, 0x6e, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x04, 0x73, 0x79, 0x6e, 0x63, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x23, 0x0a, 0x21, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf5, 0x02, 0x0a, 0x0f, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, + 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, + 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x75, 0x65, 0x49, 0x64, + 0x12, 0x44, 0x0a, 0x0b, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x6d, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x68, 0x72, 0x65, 0x61, + 0x64, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, + 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, + 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, + 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, + 0x65, 0x6e, 0x74, 0x1a, 0x3d, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x83, 0x01, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, + 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x3f, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x54, 0x6f, 0x22, 0x39, 0x0a, 0x1c, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x0a, 0x17, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 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, 0x8a, 0x01, 0x0a, 0x13, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1b, 0x2e, 0x63, 0x63, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, - 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x21, 0x0a, 0x0f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x46, 0x6f, - 0x72, 0x6d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0xb7, 0x01, 0x0a, 0x16, 0x50, 0x72, 0x6f, - 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x25, 0x0a, - 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x4e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x63, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x74, - 0x72, 0x79, 0x22, 0xb5, 0x05, 0x0a, 0x16, 0x54, 0x61, 0x73, 0x6b, 0x4a, 0x6f, 0x69, 0x6e, 0x54, - 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, - 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, - 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, - 0x75, 0x74, 0x12, 0x47, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4a, - 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0a, 0x70, - 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x25, 0x2e, 0x63, 0x63, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, - 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, - 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, - 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x64, 0x69, 0x73, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x63, 0x61, - 0x6e, 0x63, 0x65, 0x6c, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x39, - 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x63, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x65, - 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, - 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x64, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, - 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x1a, 0xf3, 0x01, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x63, 0x65, - 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, - 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x53, 0x65, 0x63, - 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, - 0x65, 0x63, 0x12, 0x27, 0x0a, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x53, 0x0a, 0x17, 0x70, - 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, - 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, - 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x6c, - 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, - 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x61, 0x76, 0x65, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x08, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x61, 0x76, 0x65, 0x1a, 0x3c, 0x0a, 0x0e, - 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xaf, 0x05, 0x0a, 0x13, 0x4f, - 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x64, - 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, - 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x6c, 0x6c, - 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x49, - 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x44, 0x0a, 0x09, 0x76, - 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, - 0x2e, 0x63, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x61, 0x6c, 0x6c, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x73, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, - 0x75, 0x6e, 0x64, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, - 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, - 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x64, - 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x10, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, - 0x65, 0x1a, 0x9a, 0x02, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x67, 0x65, + 0x6e, 0x74, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x0a, 0x17, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x6f, + 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 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, 0x8a, 0x01, 0x0a, 0x13, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x6f, + 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, + 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x63, + 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, + 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x21, 0x0a, 0x0f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x02, 0x69, 0x64, 0x22, 0xb7, 0x01, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, + 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, + 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x65, + 0x61, 0x74, 0x73, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, + 0x32, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, + 0x70, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, + 0x53, 0x65, 0x63, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, + 0x73, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x74, 0x72, 0x79, 0x22, 0xb5, 0x05, + 0x0a, 0x16, 0x54, 0x61, 0x73, 0x6b, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x47, 0x0a, + 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, + 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, + 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, + 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x63, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, + 0x67, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, + 0x0a, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, + 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x44, + 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x39, 0x0a, 0x0b, 0x64, 0x65, 0x73, + 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x63, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x64, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, + 0x64, 0x1a, 0xf3, 0x01, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, @@ -4305,421 +5260,618 @@ var file_cc_member_proto_rawDesc = []byte{ 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x63, 0x12, 0x27, 0x0a, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x52, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x25, 0x0a, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x6f, 0x75, - 0x74, 0x5f, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, - 0x77, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x53, 0x0a, - 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x6c, - 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, - 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x70, 0x72, 0x6f, 0x63, - 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x61, 0x76, 0x65, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x61, 0x76, 0x65, 0x1a, 0x3c, - 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x50, 0x0a, 0x14, - 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, - 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xd6, - 0x06, 0x0a, 0x16, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, - 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x0c, 0x77, 0x61, - 0x69, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x27, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, - 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x57, 0x61, 0x69, - 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x69, - 0x6e, 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, - 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, - 0x74, 0x12, 0x47, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, - 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x72, - 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, - 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, - 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, - 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x63, 0x61, 0x6e, - 0x63, 0x65, 0x6c, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x1f, 0x0a, - 0x0b, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x1b, - 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x64, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x1a, 0x46, 0x0a, 0x0c, 0x57, - 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 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, - 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x1a, 0xf3, 0x01, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, - 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, - 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x12, 0x10, 0x0a, - 0x03, 0x73, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x63, 0x12, - 0x27, 0x0a, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, - 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x52, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x53, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x63, + 0x52, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x53, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x50, + 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, + 0x75, 0x74, 0x6f, 0x73, 0x61, 0x76, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, + 0x75, 0x74, 0x6f, 0x73, 0x61, 0x76, 0x65, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xaf, 0x05, 0x0a, 0x13, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, + 0x6e, 0x64, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, + 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, + 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, + 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x44, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x63, 0x2e, 0x4f, + 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x0a, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x63, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x61, + 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x12, 0x1d, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x2b, 0x0a, 0x11, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x63, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x1a, 0x9a, 0x02, 0x0a, + 0x0a, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, + 0x5f, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x6e, 0x65, + 0x77, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x63, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x63, 0x12, 0x27, 0x0a, 0x04, 0x66, 0x6f, 0x72, 0x6d, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, + 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x66, 0x6f, 0x72, + 0x6d, 0x12, 0x25, 0x0a, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x5f, 0x61, 0x6e, 0x73, + 0x77, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x77, 0x69, 0x74, 0x68, 0x6f, + 0x75, 0x74, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x53, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x63, 0x2e, 0x50, + 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, - 0x08, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x61, 0x76, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x08, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x61, 0x76, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x61, 0x76, 0x65, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x73, 0x0a, 0x1b, 0x41, 0x74, 0x74, 0x65, 0x6d, - 0x70, 0x74, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, - 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, - 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x07, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x22, 0x1e, 0x0a, 0x1c, - 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xea, 0x04, 0x0a, - 0x0a, 0x51, 0x75, 0x65, 0x75, 0x65, 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, 0x12, - 0x39, 0x0a, 0x08, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x2e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, - 0x52, 0x08, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x36, 0x0a, 0x07, 0x62, 0x72, - 0x69, 0x64, 0x67, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x63, - 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x42, 0x72, 0x69, 0x64, - 0x67, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x07, 0x62, 0x72, 0x69, 0x64, 0x67, - 0x65, 0x64, 0x12, 0x34, 0x0a, 0x06, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x2e, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x48, 0x00, - 0x52, 0x06, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x07, 0x6c, 0x65, 0x61, 0x76, - 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x63, 0x2e, 0x51, - 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x65, 0x61, 0x76, 0x69, 0x6e, - 0x67, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x07, 0x6c, 0x65, 0x61, 0x76, 0x69, 0x6e, 0x67, - 0x12, 0x33, 0x0a, 0x06, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x2e, 0x4a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x06, 0x6a, - 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x1a, 0x42, 0x0a, 0x0a, 0x4a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x44, - 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, - 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x1a, 0x6c, 0x0a, 0x0c, 0x4f, 0x66, 0x66, - 0x65, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, - 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, - 0x6e, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, - 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x67, 0x65, - 0x6e, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x67, 0x65, 0x6e, - 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x67, - 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x27, 0x0a, 0x0b, 0x4d, 0x69, 0x73, 0x73, 0x65, - 0x64, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, - 0x1a, 0x28, 0x0a, 0x0b, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, - 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x1a, 0x25, 0x0a, 0x0b, 0x4c, 0x65, - 0x61, 0x76, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3a, 0x0a, 0x19, 0x41, 0x6e, 0x73, - 0x77, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x43, - 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0xef, 0x03, 0x0a, 0x16, 0x43, 0x68, 0x61, 0x74, 0x4a, 0x6f, 0x69, 0x6e, - 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, - 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x74, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x50, 0x0a, 0x14, 0x4f, 0x75, 0x74, 0x62, 0x6f, + 0x75, 0x6e, 0x64, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, + 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xd6, 0x06, 0x0a, 0x16, 0x43, 0x61, + 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x63, + 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, + 0x4d, 0x75, 0x73, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x63, + 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x4d, + 0x75, 0x73, 0x69, 0x63, 0x52, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x75, 0x73, + 0x69, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x47, 0x0a, 0x09, + 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, + 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x63, 0x2e, 0x43, + 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, + 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x63, + 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x44, 0x69, + 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, + 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x64, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x1a, 0x46, 0x0a, 0x0c, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, + 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 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, 0x12, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0xf3, + 0x01, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, + 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, + 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6e, 0x65, 0x77, + 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, + 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x63, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x63, 0x12, 0x27, 0x0a, 0x04, 0x66, 0x6f, + 0x72, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, + 0x65, 0x75, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x66, + 0x6f, 0x72, 0x6d, 0x12, 0x53, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, + 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x6c, 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x16, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x6c, + 0x6f, 0x6e, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x75, 0x74, 0x6f, + 0x73, 0x61, 0x76, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x75, 0x74, 0x6f, + 0x73, 0x61, 0x76, 0x65, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0xa8, 0x02, 0x0a, 0x1b, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, + 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, + 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, + 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x68, 0x72, + 0x65, 0x61, 0x64, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, + 0x12, 0x2e, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0f, 0x65, 0x78, + 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, + 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x49, 0x64, 0x12, + 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x65, 0x78, 0x70, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x4e, 0x0a, + 0x1c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, + 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0xea, 0x04, + 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x75, 0x65, 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, + 0x12, 0x39, 0x0a, 0x08, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x2e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x48, + 0x00, 0x52, 0x08, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x36, 0x0a, 0x07, 0x62, + 0x72, 0x69, 0x64, 0x67, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, + 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x42, 0x72, 0x69, + 0x64, 0x67, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x07, 0x62, 0x72, 0x69, 0x64, + 0x67, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x06, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x48, + 0x00, 0x52, 0x06, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x07, 0x6c, 0x65, 0x61, + 0x76, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x63, 0x2e, + 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x65, 0x61, 0x76, 0x69, + 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x07, 0x6c, 0x65, 0x61, 0x76, 0x69, 0x6e, + 0x67, 0x12, 0x33, 0x0a, 0x06, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x2e, 0x4a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x06, + 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x1a, 0x42, 0x0a, 0x0a, 0x4a, 0x6f, 0x69, 0x6e, 0x65, 0x64, + 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, + 0x74, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x1a, 0x6c, 0x0a, 0x0c, 0x4f, 0x66, + 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x63, + 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x27, 0x0a, 0x0b, 0x4d, 0x69, 0x73, 0x73, + 0x65, 0x64, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, + 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x1a, 0x28, 0x0a, 0x0b, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, + 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x1a, 0x25, 0x0a, 0x0b, 0x4c, + 0x65, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3a, 0x0a, 0x19, 0x41, 0x6e, + 0x73, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, + 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, + 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xef, 0x03, 0x0a, 0x16, 0x43, 0x68, 0x61, 0x74, 0x4a, 0x6f, 0x69, + 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, + 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x68, 0x61, + 0x74, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, + 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, + 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x47, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x43, + 0x68, 0x61, 0x74, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, + 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, + 0x73, 0x74, 0x69, 0x63, 0x6b, 0x79, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x73, 0x74, 0x69, 0x63, 0x6b, 0x79, 0x41, 0x67, 0x65, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x63, 0x68, + 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, + 0x65, 0x78, 0x74, 0x72, 0x61, 0x43, 0x68, 0x61, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, + 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x64, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x1a, 0x2b, 0x0a, 0x05, 0x51, + 0x75, 0x65, 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc6, 0x02, 0x0a, 0x17, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, - 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, - 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x47, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, - 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x68, - 0x61, 0x74, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x1b, - 0x0a, 0x09, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x08, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x73, - 0x74, 0x69, 0x63, 0x6b, 0x79, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x08, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x49, + 0x64, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x75, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, + 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x08, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x73, + 0x74, 0x69, 0x63, 0x6b, 0x79, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x73, 0x74, 0x69, 0x63, 0x6b, 0x79, 0x41, 0x67, 0x65, 0x6e, - 0x74, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x63, 0x68, 0x61, - 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x65, - 0x78, 0x74, 0x72, 0x61, 0x43, 0x68, 0x61, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, + 0x74, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, + 0x65, 0x78, 0x74, 0x72, 0x61, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x21, 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x64, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, + 0x93, 0x02, 0x0a, 0x18, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, + 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, + 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, + 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x75, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x75, 0x65, + 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4a, 0x6f, 0x69, + 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, + 0x64, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, + 0x55, 0x4c, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, + 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, + 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, + 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, + 0x59, 0x45, 0x44, 0x10, 0x03, 0x22, 0x9c, 0x01, 0x0a, 0x1a, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, + 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x49, 0x64, 0x22, 0x3c, 0x0a, 0x1b, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x41, 0x67, + 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, + 0x49, 0x64, 0x22, 0xf8, 0x04, 0x0a, 0x16, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, + 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, + 0x0e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x61, 0x6c, + 0x6c, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, + 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x51, + 0x75, 0x65, 0x75, 0x65, 0x52, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x77, + 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, + 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x57, 0x61, + 0x69, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x0c, 0x77, 0x61, 0x69, 0x74, + 0x69, 0x6e, 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, + 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, + 0x75, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x47, + 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, + 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, + 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, + 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x63, 0x6b, 0x65, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x75, 0x63, 0x6b, + 0x65, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x69, 0x63, 0x6b, 0x79, 0x5f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x73, + 0x74, 0x69, 0x63, 0x6b, 0x79, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, + 0x69, 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0a, 0x69, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x64, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x1a, 0x2b, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc6, 0x02, 0x0a, 0x17, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4a, - 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1d, 0x0a, 0x08, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x49, 0x64, - 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x75, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, - 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, - 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6d, 0x61, 0x69, - 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1a, - 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, - 0x69, 0x63, 0x6b, 0x79, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x0d, 0x73, 0x74, 0x69, 0x63, 0x6b, 0x79, 0x41, 0x67, 0x65, 0x6e, 0x74, - 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x65, 0x6d, 0x61, 0x69, - 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, - 0x78, 0x74, 0x72, 0x61, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, - 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x64, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x93, - 0x02, 0x0a, 0x18, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, - 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x06, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, - 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, - 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x75, 0x65, 0x49, - 0x64, 0x12, 0x3b, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x23, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, - 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x64, - 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, 0x55, - 0x4c, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, - 0x45, 0x44, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x41, - 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, - 0x13, 0x0a, 0x0f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x59, - 0x45, 0x44, 0x10, 0x03, 0x22, 0x9c, 0x01, 0x0a, 0x1a, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x41, - 0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x63, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, - 0x6e, 0x49, 0x64, 0x22, 0x3c, 0x0a, 0x1b, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x41, 0x67, 0x65, - 0x6e, 0x74, 0x54, 0x6f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, - 0x64, 0x22, 0xf8, 0x04, 0x0a, 0x16, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, - 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, - 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x61, 0x6c, 0x6c, - 0x49, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, - 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x51, 0x75, - 0x65, 0x75, 0x65, 0x52, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x77, 0x61, - 0x69, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x27, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, - 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x57, 0x61, 0x69, - 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x69, - 0x6e, 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, - 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x47, 0x0a, - 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, - 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x75, 0x63, 0x6b, 0x65, - 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x69, 0x63, 0x6b, 0x79, 0x5f, 0x61, 0x67, - 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x73, 0x74, - 0x69, 0x63, 0x6b, 0x79, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, - 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0a, 0x69, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, - 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x64, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x1a, 0x2b, 0x0a, 0x05, 0x51, 0x75, 0x65, - 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x46, 0x0a, 0x0c, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, - 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 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, 0x12, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x3c, - 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x31, 0x0a, 0x17, - 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, - 0x99, 0x02, 0x0a, 0x20, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x4c, 0x6f, - 0x6f, 0x6b, 0x75, 0x70, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, - 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, - 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 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, 0x2a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x65, 0x6e, 0x67, - 0x69, 0x6e, 0x65, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x12, 0x17, - 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x06, 0x73, 0x74, 0x6f, 0x70, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x6d, 0x66, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x6d, 0x66, 0x22, 0xd7, 0x05, 0x0a, 0x14, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x46, 0x0a, 0x0c, 0x57, 0x61, 0x69, 0x74, 0x69, + 0x6e, 0x67, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 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, 0x12, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, + 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x31, 0x0a, + 0x17, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x22, 0x99, 0x02, 0x0a, 0x20, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x75, + 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x4c, + 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, + 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 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, 0x2a, 0x0a, 0x08, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x65, 0x6e, + 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x52, 0x08, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x12, + 0x17, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x73, 0x74, 0x6f, 0x70, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x6d, 0x66, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x6d, 0x66, 0x22, 0xd7, 0x05, 0x0a, + 0x14, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, + 0x70, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2c, 0x0a, 0x12, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, + 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6e, 0x65, 0x78, 0x74, 0x44, 0x69, + 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, + 0x70, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x65, + 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x74, 0x12, 0x45, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x63, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, - 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6e, - 0x65, 0x78, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x61, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6e, 0x65, 0x78, 0x74, 0x44, 0x69, 0x73, - 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x70, - 0x69, 0x72, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x65, 0x78, - 0x70, 0x69, 0x72, 0x65, 0x41, 0x74, 0x12, 0x45, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x63, 0x2e, 0x41, - 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x18, 0x0a, - 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x51, 0x75, - 0x65, 0x75, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, - 0x12, 0x42, 0x0a, 0x1d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x63, 0x75, 0x72, 0x72, - 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, - 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x64, 0x69, 0x61, 0x6c, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x64, 0x69, 0x61, 0x6c, 0x12, 0x53, 0x0a, 0x12, - 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x4d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x11, - 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x30, 0x0a, 0x14, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x62, 0x65, 0x74, 0x77, 0x65, 0x65, - 0x6e, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x12, 0x77, 0x61, 0x69, 0x74, 0x42, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x52, 0x65, 0x74, 0x72, - 0x69, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x63, 0x75, 0x72, 0x72, - 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x6f, 0x6e, 0x6c, 0x79, 0x43, 0x75, 0x72, - 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2f, 0x0a, 0x15, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0x92, 0x0b, 0x0a, 0x0d, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x46, 0x0a, 0x0d, 0x41, 0x74, 0x74, 0x65, - 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x41, - 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x63, 0x63, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x5b, 0x0a, 0x14, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x6e, 0x65, 0x77, - 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x2e, 0x63, 0x63, 0x2e, 0x41, 0x74, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x18, + 0x0a, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x51, + 0x75, 0x65, 0x75, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, + 0x64, 0x12, 0x42, 0x0a, 0x1d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x63, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x64, 0x69, 0x61, 0x6c, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x64, 0x69, 0x61, 0x6c, 0x12, 0x53, 0x0a, + 0x12, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x4d, + 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x11, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x62, 0x65, 0x74, 0x77, 0x65, + 0x65, 0x6e, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x12, 0x77, 0x61, 0x69, 0x74, 0x42, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x52, 0x65, 0x74, + 0x72, 0x69, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x63, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x6f, 0x6e, 0x6c, 0x79, 0x43, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2f, 0x0a, 0x15, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, + 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x14, 0x45, 0x6d, 0x61, 0x69, + 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, + 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x10, 0x65, 0x78, + 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0f, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, + 0x49, 0x64, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x38, 0x0a, 0x10, 0x45, 0x6d, 0x61, 0x69, 0x6c, + 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x24, 0x0a, 0x0e, 0x65, + 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, + 0x64, 0x22, 0x89, 0x01, 0x0a, 0x17, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, + 0x70, 0x74, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, + 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x68, + 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x45, + 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x6f, 0x72, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xa8, 0x02, + 0x0a, 0x1b, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x50, 0x6f, + 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, + 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x68, + 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x45, + 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x2a, 0x0a, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x46, + 0x6c, 0x6f, 0x77, 0x48, 0x00, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x29, 0x0a, 0x0f, 0x70, + 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, + 0x64, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x12, 0x2a, 0x0a, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, + 0x6e, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, + 0x48, 0x01, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x46, 0x6f, 0x72, 0x53, + 0x65, 0x63, 0x42, 0x08, 0x0a, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x42, 0x0a, 0x0a, 0x08, + 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x19, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x64, + 0x12, 0x34, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, + 0x65, 0x6d, 0x70, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x8d, + 0x01, 0x0a, 0x1b, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x43, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, + 0x0a, 0x09, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, + 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x63, 0x2e, + 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xd3, + 0x02, 0x0a, 0x14, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, + 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x74, 0x74, + 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x68, 0x72, 0x65, 0x61, + 0x64, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x74, 0x74, + 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0e, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, + 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, + 0x75, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, + 0x27, 0x0a, 0x0f, 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x74, + 0x69, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, + 0x6e, 0x65, 0x64, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x64, 0x22, 0x74, 0x0a, 0x12, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x57, 0x61, 0x6b, + 0x65, 0x55, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, + 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x68, 0x72, 0x65, + 0x61, 0x64, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x93, 0x03, 0x0a, 0x13, 0x45, + 0x6d, 0x61, 0x69, 0x6c, 0x57, 0x61, 0x6b, 0x65, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x57, 0x61, 0x6b, + 0x65, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, + 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x27, 0x0a, 0x0f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, + 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x11, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, + 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x48, + 0x00, 0x52, 0x0f, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x51, 0x75, 0x65, 0x75, 0x65, + 0x49, 0x64, 0x88, 0x01, 0x01, 0x22, 0x82, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, + 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x53, 0x55, + 0x4c, 0x54, 0x5f, 0x57, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x45, + 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x02, 0x12, 0x13, 0x0a, + 0x0f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x52, 0x45, 0x4f, 0x50, 0x45, 0x4e, 0x45, 0x44, + 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x4e, 0x4f, 0x4f, + 0x50, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x05, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x66, + 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x69, 0x64, + 0x32, 0x9c, 0x0e, 0x0a, 0x0d, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x46, 0x0a, 0x0d, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, + 0x63, 0x63, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x14, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x63, 0x2e, 0x41, - 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, - 0x0f, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, + 0x6c, 0x74, 0x12, 0x1f, 0x2e, 0x63, 0x63, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, + 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x63, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, + 0x52, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0f, 0x43, 0x61, 0x6c, 0x6c, 0x4a, + 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x1a, 0x2e, 0x63, 0x63, 0x2e, + 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, + 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x41, 0x0a, 0x0f, 0x43, 0x68, + 0x61, 0x74, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x1a, 0x2e, + 0x63, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, + 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x63, 0x63, 0x2e, 0x51, + 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x41, 0x0a, + 0x0f, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, - 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x63, + 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x00, 0x30, 0x01, - 0x12, 0x41, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x74, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, - 0x65, 0x75, 0x65, 0x12, 0x1a, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4a, 0x6f, 0x69, - 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x0e, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, - 0x00, 0x30, 0x01, 0x12, 0x41, 0x0a, 0x0f, 0x43, 0x61, 0x6c, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, - 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, - 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x43, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, - 0x6e, 0x64, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x17, 0x2e, 0x63, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x62, - 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x61, 0x6c, - 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0f, 0x54, - 0x61, 0x73, 0x6b, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1a, - 0x2e, 0x63, 0x63, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x63, 0x63, 0x2e, - 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x46, - 0x0a, 0x0d, 0x49, 0x4d, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, - 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x49, 0x4d, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, - 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x63, 0x63, 0x2e, 0x49, - 0x4d, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0d, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, - 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x12, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6e, - 0x63, 0x65, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x19, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x74, 0x74, - 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, - 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, - 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6e, - 0x63, 0x65, 0x6c, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, - 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x63, 0x63, 0x2e, 0x43, - 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, - 0x0a, 0x10, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, - 0x75, 0x65, 0x12, 0x1b, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4a, 0x6f, 0x69, - 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1c, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, - 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x58, 0x0a, 0x13, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1e, 0x2e, 0x63, 0x63, 0x2e, 0x44, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x63, 0x63, 0x2e, 0x44, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x14, 0x50, 0x72, 0x6f, - 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x1f, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, - 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, - 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x19, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, - 0x73, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x12, 0x43, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x61, 0x6c, 0x6c, + 0x12, 0x17, 0x2e, 0x63, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x61, + 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x4f, + 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x4a, 0x6f, 0x69, + 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x63, 0x63, 0x2e, 0x54, 0x61, + 0x73, 0x6b, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x63, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x46, 0x0a, 0x0d, 0x49, 0x4d, 0x4a, 0x6f, + 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x49, + 0x4d, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x63, 0x63, 0x2e, 0x49, 0x4d, 0x4a, 0x6f, 0x69, 0x6e, 0x54, + 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x46, 0x0a, 0x0d, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, + 0x74, 0x12, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x74, 0x74, + 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x63, 0x63, + 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x12, 0x20, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x67, 0x65, + 0x6e, 0x74, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x63, 0x63, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, + 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x10, 0x45, 0x6d, 0x61, 0x69, + 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x1b, 0x2e, 0x63, + 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, + 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x63, 0x63, 0x2e, 0x45, + 0x6d, 0x61, 0x69, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x13, 0x44, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, + 0x12, 0x1e, 0x2e, 0x63, 0x63, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x41, 0x67, 0x65, 0x6e, + 0x74, 0x54, 0x6f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1f, 0x2e, 0x63, 0x63, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x41, 0x67, 0x65, 0x6e, + 0x74, 0x54, 0x6f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, + 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x2e, 0x63, 0x63, + 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x41, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, + 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, + 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x6a, 0x0a, 0x19, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x43, 0x6f, + 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, + 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, + 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x63, 0x2e, 0x50, - 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, - 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x55, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, - 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x61, 0x76, 0x65, 0x12, 0x1d, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, - 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x61, 0x76, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, - 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x61, 0x76, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x08, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x13, 0x2e, 0x63, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x63, 0x63, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x10, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x41, - 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x12, 0x1b, 0x2e, 0x63, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x65, - 0x72, 0x63, 0x65, 0x70, 0x74, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x63, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, - 0x70, 0x74, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, - 0x65, 0x6d, 0x70, 0x74, 0x12, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, - 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x12, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x61, + 0x76, 0x65, 0x12, 0x1d, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, + 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1e, 0x2e, 0x63, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, + 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x08, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, + 0x13, 0x2e, 0x63, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x63, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x10, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, + 0x12, 0x1b, 0x2e, 0x63, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x41, + 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, + 0x63, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x41, 0x74, 0x74, 0x65, + 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, + 0x0d, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x12, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x5d, 0x0a, 0x06, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x63, 0x42, 0x0d, 0x43, 0x63, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x77, 0x65, 0x62, 0x69, 0x74, 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x73, 0x2f, 0x63, 0x63, 0xa2, 0x02, 0x03, 0x43, 0x58, 0x58, 0xaa, 0x02, 0x02, 0x43, 0x63, 0xca, - 0x02, 0x02, 0x43, 0x63, 0xe2, 0x02, 0x0e, 0x43, 0x63, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x02, 0x43, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x63, 0x63, 0x2e, 0x52, 0x65, + 0x73, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x10, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, + 0x74, 0x65, 0x6d, 0x70, 0x74, 0x54, 0x61, 0x6b, 0x65, 0x12, 0x1b, 0x2e, 0x63, 0x63, 0x2e, 0x45, + 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x54, 0x61, 0x6b, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, + 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x53, 0x0a, 0x14, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, + 0x70, 0x74, 0x50, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x12, 0x1f, 0x2e, 0x63, 0x63, 0x2e, + 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x50, 0x6f, 0x73, 0x74, + 0x70, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x63, 0x63, + 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x12, 0x45, 0x6d, 0x61, 0x69, 0x6c, + 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x1d, 0x2e, + 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, + 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x63, + 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x14, 0x45, 0x6d, 0x61, 0x69, + 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, + 0x12, 0x1f, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x6d, + 0x70, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x18, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x65, + 0x6d, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, + 0x0b, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x57, 0x61, 0x6b, 0x65, 0x55, 0x70, 0x12, 0x16, 0x2e, 0x63, + 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x57, 0x61, 0x6b, 0x65, 0x55, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x63, 0x63, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x57, + 0x61, 0x6b, 0x65, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, + 0x5d, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x63, 0x42, 0x0d, 0x43, 0x63, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1c, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x77, 0x65, 0x62, 0x69, 0x74, 0x65, 0x6c, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x63, 0xa2, 0x02, 0x03, 0x43, 0x58, 0x58, 0xaa, 0x02, + 0x02, 0x43, 0x63, 0xca, 0x02, 0x02, 0x43, 0x63, 0xe2, 0x02, 0x0e, 0x43, 0x63, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x02, 0x43, 0x63, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -4734,162 +5886,193 @@ func file_cc_member_proto_rawDescGZIP() []byte { return file_cc_member_proto_rawDescData } -var file_cc_member_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_cc_member_proto_msgTypes = make([]protoimpl.MessageInfo, 68) +var file_cc_member_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_cc_member_proto_msgTypes = make([]protoimpl.MessageInfo, 77) var file_cc_member_proto_goTypes = []interface{}{ (EmailJoinToQueueResponse_Result)(0), // 0: cc.EmailJoinToQueueResponse.Result - (*IMJoinToQueueRequest)(nil), // 1: cc.IMJoinToQueueRequest - (*IMJoinToQueueResponse)(nil), // 2: cc.IMJoinToQueueResponse - (*ResumeAttemptRequest)(nil), // 3: cc.ResumeAttemptRequest - (*ResumeAttemptResponse)(nil), // 4: cc.ResumeAttemptResponse - (*InterceptAttemptRequest)(nil), // 5: cc.InterceptAttemptRequest - (*InterceptAttemptResponse)(nil), // 6: cc.InterceptAttemptResponse - (*CancelAttemptRequest)(nil), // 7: cc.CancelAttemptRequest - (*CancelAttemptResponse)(nil), // 8: cc.CancelAttemptResponse - (*ProcessingFormActionRequest)(nil), // 9: cc.ProcessingFormActionRequest - (*ProcessingFormActionResponse)(nil), // 10: cc.ProcessingFormActionResponse - (*ProcessingFormSaveRequest)(nil), // 11: cc.ProcessingFormSaveRequest - (*ProcessingFormSaveResponse)(nil), // 12: cc.ProcessingFormSaveResponse - (*ProcessingComponentActionRequest)(nil), // 13: cc.ProcessingComponentActionRequest - (*ProcessingComponentActionResponse)(nil), // 14: cc.ProcessingComponentActionResponse - (*TransferRequest)(nil), // 15: cc.TransferRequest - (*TransferResponse)(nil), // 16: cc.TransferResponse - (*CancelAgentDistributeRequest)(nil), // 17: cc.CancelAgentDistributeRequest - (*CancelAgentDistributeResponse)(nil), // 18: cc.CancelAgentDistributeResponse - (*MemberCommunicationType)(nil), // 19: cc.MemberCommunicationType - (*MemberCommunication)(nil), // 20: cc.MemberCommunication - (*QueueFormSchema)(nil), // 21: cc.QueueFormSchema - (*ProcessingProlongation)(nil), // 22: cc.ProcessingProlongation - (*TaskJoinToAgentRequest)(nil), // 23: cc.TaskJoinToAgentRequest - (*OutboundCallRequest)(nil), // 24: cc.OutboundCallRequest - (*OutboundCallResponse)(nil), // 25: cc.OutboundCallResponse - (*CallJoinToAgentRequest)(nil), // 26: cc.CallJoinToAgentRequest - (*AttemptRenewalResultRequest)(nil), // 27: cc.AttemptRenewalResultRequest - (*AttemptRenewalResultResponse)(nil), // 28: cc.AttemptRenewalResultResponse - (*QueueEvent)(nil), // 29: cc.QueueEvent - (*AnswerConversationRequest)(nil), // 30: cc.AnswerConversationRequest - (*AnswerConversationResponse)(nil), // 31: cc.AnswerConversationResponse - (*ChatJoinToQueueRequest)(nil), // 32: cc.ChatJoinToQueueRequest - (*EmailJoinToQueueRequest)(nil), // 33: cc.EmailJoinToQueueRequest - (*EmailJoinToQueueResponse)(nil), // 34: cc.EmailJoinToQueueResponse - (*DirectAgentToMemberRequest)(nil), // 35: cc.DirectAgentToMemberRequest - (*DirectAgentToMemberResponse)(nil), // 36: cc.DirectAgentToMemberResponse - (*CallJoinToQueueRequest)(nil), // 37: cc.CallJoinToQueueRequest - (*CallJoinToQueueResponse)(nil), // 38: cc.CallJoinToQueueResponse - (*MemberCommunicationCreateRequest)(nil), // 39: cc.MemberCommunicationCreateRequest - (*AttemptResultRequest)(nil), // 40: cc.AttemptResultRequest - (*AttemptResultResponse)(nil), // 41: cc.AttemptResultResponse - (*IMJoinToQueueRequest_Queue)(nil), // 42: cc.IMJoinToQueueRequest.Queue - nil, // 43: cc.IMJoinToQueueRequest.VariablesEntry - (*IMJoinToQueueRequest_Endpoint)(nil), // 44: cc.IMJoinToQueueRequest.Endpoint - (*IMJoinToQueueRequest_MemberInfo)(nil), // 45: cc.IMJoinToQueueRequest.MemberInfo - (*IMJoinToQueueRequest_ThreadInfo)(nil), // 46: cc.IMJoinToQueueRequest.ThreadInfo - nil, // 47: cc.ProcessingFormActionRequest.FieldsEntry - nil, // 48: cc.ProcessingFormSaveRequest.FieldsEntry - nil, // 49: cc.ProcessingComponentActionRequest.VariablesEntry - nil, // 50: cc.TransferRequest.FormFieldsEntry - (*TaskJoinToAgentRequest_Processing)(nil), // 51: cc.TaskJoinToAgentRequest.Processing - nil, // 52: cc.TaskJoinToAgentRequest.VariablesEntry - (*OutboundCallRequest_Processing)(nil), // 53: cc.OutboundCallRequest.Processing - nil, // 54: cc.OutboundCallRequest.VariablesEntry - (*CallJoinToAgentRequest_WaitingMusic)(nil), // 55: cc.CallJoinToAgentRequest.WaitingMusic - (*CallJoinToAgentRequest_Processing)(nil), // 56: cc.CallJoinToAgentRequest.Processing - nil, // 57: cc.CallJoinToAgentRequest.VariablesEntry - (*QueueEvent_JoinedData)(nil), // 58: cc.QueueEvent.JoinedData - (*QueueEvent_OfferingData)(nil), // 59: cc.QueueEvent.OfferingData - (*QueueEvent_MissedAgent)(nil), // 60: cc.QueueEvent.MissedAgent - (*QueueEvent_BridgedData)(nil), // 61: cc.QueueEvent.BridgedData - (*QueueEvent_LeavingData)(nil), // 62: cc.QueueEvent.LeavingData - (*ChatJoinToQueueRequest_Queue)(nil), // 63: cc.ChatJoinToQueueRequest.Queue - nil, // 64: cc.ChatJoinToQueueRequest.VariablesEntry - (*CallJoinToQueueRequest_Queue)(nil), // 65: cc.CallJoinToQueueRequest.Queue - (*CallJoinToQueueRequest_WaitingMusic)(nil), // 66: cc.CallJoinToQueueRequest.WaitingMusic - nil, // 67: cc.CallJoinToQueueRequest.VariablesEntry - nil, // 68: cc.AttemptResultRequest.VariablesEntry - (*engine.Lookup)(nil), // 69: engine.Lookup + (EmailWakeUpResponse_Result)(0), // 1: cc.EmailWakeUpResponse.Result + (*IMJoinToQueueRequest)(nil), // 2: cc.IMJoinToQueueRequest + (*IMJoinToQueueResponse)(nil), // 3: cc.IMJoinToQueueResponse + (*ResumeAttemptRequest)(nil), // 4: cc.ResumeAttemptRequest + (*ResumeAttemptResponse)(nil), // 5: cc.ResumeAttemptResponse + (*InterceptAttemptRequest)(nil), // 6: cc.InterceptAttemptRequest + (*InterceptAttemptResponse)(nil), // 7: cc.InterceptAttemptResponse + (*CancelAttemptRequest)(nil), // 8: cc.CancelAttemptRequest + (*CancelAttemptResponse)(nil), // 9: cc.CancelAttemptResponse + (*ProcessingFormActionRequest)(nil), // 10: cc.ProcessingFormActionRequest + (*ProcessingFormActionResponse)(nil), // 11: cc.ProcessingFormActionResponse + (*ProcessingFormSaveRequest)(nil), // 12: cc.ProcessingFormSaveRequest + (*ProcessingFormSaveResponse)(nil), // 13: cc.ProcessingFormSaveResponse + (*ProcessingComponentActionRequest)(nil), // 14: cc.ProcessingComponentActionRequest + (*ProcessingComponentActionResponse)(nil), // 15: cc.ProcessingComponentActionResponse + (*TransferRequest)(nil), // 16: cc.TransferRequest + (*TransferResponse)(nil), // 17: cc.TransferResponse + (*CancelAgentDistributeRequest)(nil), // 18: cc.CancelAgentDistributeRequest + (*CancelAgentDistributeResponse)(nil), // 19: cc.CancelAgentDistributeResponse + (*MemberCommunicationType)(nil), // 20: cc.MemberCommunicationType + (*MemberCommunication)(nil), // 21: cc.MemberCommunication + (*QueueFormSchema)(nil), // 22: cc.QueueFormSchema + (*ProcessingProlongation)(nil), // 23: cc.ProcessingProlongation + (*TaskJoinToAgentRequest)(nil), // 24: cc.TaskJoinToAgentRequest + (*OutboundCallRequest)(nil), // 25: cc.OutboundCallRequest + (*OutboundCallResponse)(nil), // 26: cc.OutboundCallResponse + (*CallJoinToAgentRequest)(nil), // 27: cc.CallJoinToAgentRequest + (*AttemptRenewalResultRequest)(nil), // 28: cc.AttemptRenewalResultRequest + (*AttemptRenewalResultResponse)(nil), // 29: cc.AttemptRenewalResultResponse + (*QueueEvent)(nil), // 30: cc.QueueEvent + (*AnswerConversationRequest)(nil), // 31: cc.AnswerConversationRequest + (*AnswerConversationResponse)(nil), // 32: cc.AnswerConversationResponse + (*ChatJoinToQueueRequest)(nil), // 33: cc.ChatJoinToQueueRequest + (*EmailJoinToQueueRequest)(nil), // 34: cc.EmailJoinToQueueRequest + (*EmailJoinToQueueResponse)(nil), // 35: cc.EmailJoinToQueueResponse + (*DirectAgentToMemberRequest)(nil), // 36: cc.DirectAgentToMemberRequest + (*DirectAgentToMemberResponse)(nil), // 37: cc.DirectAgentToMemberResponse + (*CallJoinToQueueRequest)(nil), // 38: cc.CallJoinToQueueRequest + (*CallJoinToQueueResponse)(nil), // 39: cc.CallJoinToQueueResponse + (*MemberCommunicationCreateRequest)(nil), // 40: cc.MemberCommunicationCreateRequest + (*AttemptResultRequest)(nil), // 41: cc.AttemptResultRequest + (*AttemptResultResponse)(nil), // 42: cc.AttemptResultResponse + (*EmailAttemptOperator)(nil), // 43: cc.EmailAttemptOperator + (*EmailAttemptFlow)(nil), // 44: cc.EmailAttemptFlow + (*EmailAttemptTakeRequest)(nil), // 45: cc.EmailAttemptTakeRequest + (*EmailAttemptPostponeRequest)(nil), // 46: cc.EmailAttemptPostponeRequest + (*EmailAttemptReturnRequest)(nil), // 47: cc.EmailAttemptReturnRequest + (*EmailAttemptCompleteRequest)(nil), // 48: cc.EmailAttemptCompleteRequest + (*EmailAttemptResponse)(nil), // 49: cc.EmailAttemptResponse + (*EmailWakeUpRequest)(nil), // 50: cc.EmailWakeUpRequest + (*EmailWakeUpResponse)(nil), // 51: cc.EmailWakeUpResponse + (*IMJoinToQueueRequest_Queue)(nil), // 52: cc.IMJoinToQueueRequest.Queue + nil, // 53: cc.IMJoinToQueueRequest.VariablesEntry + (*IMJoinToQueueRequest_Endpoint)(nil), // 54: cc.IMJoinToQueueRequest.Endpoint + (*IMJoinToQueueRequest_MemberInfo)(nil), // 55: cc.IMJoinToQueueRequest.MemberInfo + (*IMJoinToQueueRequest_ThreadInfo)(nil), // 56: cc.IMJoinToQueueRequest.ThreadInfo + nil, // 57: cc.ProcessingFormActionRequest.FieldsEntry + nil, // 58: cc.ProcessingFormSaveRequest.FieldsEntry + nil, // 59: cc.ProcessingComponentActionRequest.VariablesEntry + nil, // 60: cc.TransferRequest.FormFieldsEntry + (*TaskJoinToAgentRequest_Processing)(nil), // 61: cc.TaskJoinToAgentRequest.Processing + nil, // 62: cc.TaskJoinToAgentRequest.VariablesEntry + (*OutboundCallRequest_Processing)(nil), // 63: cc.OutboundCallRequest.Processing + nil, // 64: cc.OutboundCallRequest.VariablesEntry + (*CallJoinToAgentRequest_WaitingMusic)(nil), // 65: cc.CallJoinToAgentRequest.WaitingMusic + (*CallJoinToAgentRequest_Processing)(nil), // 66: cc.CallJoinToAgentRequest.Processing + nil, // 67: cc.CallJoinToAgentRequest.VariablesEntry + (*QueueEvent_JoinedData)(nil), // 68: cc.QueueEvent.JoinedData + (*QueueEvent_OfferingData)(nil), // 69: cc.QueueEvent.OfferingData + (*QueueEvent_MissedAgent)(nil), // 70: cc.QueueEvent.MissedAgent + (*QueueEvent_BridgedData)(nil), // 71: cc.QueueEvent.BridgedData + (*QueueEvent_LeavingData)(nil), // 72: cc.QueueEvent.LeavingData + (*ChatJoinToQueueRequest_Queue)(nil), // 73: cc.ChatJoinToQueueRequest.Queue + nil, // 74: cc.ChatJoinToQueueRequest.VariablesEntry + (*CallJoinToQueueRequest_Queue)(nil), // 75: cc.CallJoinToQueueRequest.Queue + (*CallJoinToQueueRequest_WaitingMusic)(nil), // 76: cc.CallJoinToQueueRequest.WaitingMusic + nil, // 77: cc.CallJoinToQueueRequest.VariablesEntry + nil, // 78: cc.AttemptResultRequest.VariablesEntry + (*engine.Lookup)(nil), // 79: engine.Lookup } var file_cc_member_proto_depIdxs = []int32{ - 42, // 0: cc.IMJoinToQueueRequest.queue:type_name -> cc.IMJoinToQueueRequest.Queue - 43, // 1: cc.IMJoinToQueueRequest.variables:type_name -> cc.IMJoinToQueueRequest.VariablesEntry - 46, // 2: cc.IMJoinToQueueRequest.thread:type_name -> cc.IMJoinToQueueRequest.ThreadInfo - 47, // 3: cc.ProcessingFormActionRequest.fields:type_name -> cc.ProcessingFormActionRequest.FieldsEntry - 48, // 4: cc.ProcessingFormSaveRequest.fields:type_name -> cc.ProcessingFormSaveRequest.FieldsEntry - 49, // 5: cc.ProcessingComponentActionRequest.variables:type_name -> cc.ProcessingComponentActionRequest.VariablesEntry - 50, // 6: cc.TransferRequest.form_fields:type_name -> cc.TransferRequest.FormFieldsEntry - 19, // 7: cc.MemberCommunication.type:type_name -> cc.MemberCommunicationType - 52, // 8: cc.TaskJoinToAgentRequest.variables:type_name -> cc.TaskJoinToAgentRequest.VariablesEntry - 51, // 9: cc.TaskJoinToAgentRequest.processing:type_name -> cc.TaskJoinToAgentRequest.Processing - 20, // 10: cc.TaskJoinToAgentRequest.destination:type_name -> cc.MemberCommunication - 54, // 11: cc.OutboundCallRequest.variables:type_name -> cc.OutboundCallRequest.VariablesEntry - 53, // 12: cc.OutboundCallRequest.processing:type_name -> cc.OutboundCallRequest.Processing - 55, // 13: cc.CallJoinToAgentRequest.waitingMusic:type_name -> cc.CallJoinToAgentRequest.WaitingMusic - 57, // 14: cc.CallJoinToAgentRequest.variables:type_name -> cc.CallJoinToAgentRequest.VariablesEntry - 56, // 15: cc.CallJoinToAgentRequest.processing:type_name -> cc.CallJoinToAgentRequest.Processing - 59, // 16: cc.QueueEvent.offering:type_name -> cc.QueueEvent.OfferingData - 61, // 17: cc.QueueEvent.bridged:type_name -> cc.QueueEvent.BridgedData - 60, // 18: cc.QueueEvent.missed:type_name -> cc.QueueEvent.MissedAgent - 62, // 19: cc.QueueEvent.leaving:type_name -> cc.QueueEvent.LeavingData - 58, // 20: cc.QueueEvent.joined:type_name -> cc.QueueEvent.JoinedData - 63, // 21: cc.ChatJoinToQueueRequest.queue:type_name -> cc.ChatJoinToQueueRequest.Queue - 64, // 22: cc.ChatJoinToQueueRequest.variables:type_name -> cc.ChatJoinToQueueRequest.VariablesEntry - 0, // 23: cc.EmailJoinToQueueResponse.result:type_name -> cc.EmailJoinToQueueResponse.Result - 65, // 24: cc.CallJoinToQueueRequest.queue:type_name -> cc.CallJoinToQueueRequest.Queue - 66, // 25: cc.CallJoinToQueueRequest.waitingMusic:type_name -> cc.CallJoinToQueueRequest.WaitingMusic - 67, // 26: cc.CallJoinToQueueRequest.variables:type_name -> cc.CallJoinToQueueRequest.VariablesEntry - 69, // 27: cc.MemberCommunicationCreateRequest.type:type_name -> engine.Lookup - 69, // 28: cc.MemberCommunicationCreateRequest.resource:type_name -> engine.Lookup - 68, // 29: cc.AttemptResultRequest.variables:type_name -> cc.AttemptResultRequest.VariablesEntry - 39, // 30: cc.AttemptResultRequest.add_communications:type_name -> cc.MemberCommunicationCreateRequest - 44, // 31: cc.IMJoinToQueueRequest.ThreadInfo.from:type_name -> cc.IMJoinToQueueRequest.Endpoint - 44, // 32: cc.IMJoinToQueueRequest.ThreadInfo.to:type_name -> cc.IMJoinToQueueRequest.Endpoint - 45, // 33: cc.IMJoinToQueueRequest.ThreadInfo.members:type_name -> cc.IMJoinToQueueRequest.MemberInfo - 21, // 34: cc.TaskJoinToAgentRequest.Processing.form:type_name -> cc.QueueFormSchema - 22, // 35: cc.TaskJoinToAgentRequest.Processing.processing_prolongation:type_name -> cc.ProcessingProlongation - 21, // 36: cc.OutboundCallRequest.Processing.form:type_name -> cc.QueueFormSchema - 22, // 37: cc.OutboundCallRequest.Processing.processing_prolongation:type_name -> cc.ProcessingProlongation - 21, // 38: cc.CallJoinToAgentRequest.Processing.form:type_name -> cc.QueueFormSchema - 22, // 39: cc.CallJoinToAgentRequest.Processing.processing_prolongation:type_name -> cc.ProcessingProlongation - 40, // 40: cc.MemberService.AttemptResult:input_type -> cc.AttemptResultRequest - 27, // 41: cc.MemberService.AttemptRenewalResult:input_type -> cc.AttemptRenewalResultRequest - 37, // 42: cc.MemberService.CallJoinToQueue:input_type -> cc.CallJoinToQueueRequest - 32, // 43: cc.MemberService.ChatJoinToQueue:input_type -> cc.ChatJoinToQueueRequest - 26, // 44: cc.MemberService.CallJoinToAgent:input_type -> cc.CallJoinToAgentRequest - 24, // 45: cc.MemberService.OutboundCall:input_type -> cc.OutboundCallRequest - 23, // 46: cc.MemberService.TaskJoinToAgent:input_type -> cc.TaskJoinToAgentRequest - 1, // 47: cc.MemberService.IMJoinToQueue:input_type -> cc.IMJoinToQueueRequest - 7, // 48: cc.MemberService.CancelAttempt:input_type -> cc.CancelAttemptRequest - 17, // 49: cc.MemberService.CancelAgentDistribute:input_type -> cc.CancelAgentDistributeRequest - 33, // 50: cc.MemberService.EmailJoinToQueue:input_type -> cc.EmailJoinToQueueRequest - 35, // 51: cc.MemberService.DirectAgentToMember:input_type -> cc.DirectAgentToMemberRequest - 9, // 52: cc.MemberService.ProcessingFormAction:input_type -> cc.ProcessingFormActionRequest - 13, // 53: cc.MemberService.ProcessingComponentAction:input_type -> cc.ProcessingComponentActionRequest - 11, // 54: cc.MemberService.ProcessingFormSave:input_type -> cc.ProcessingFormSaveRequest - 15, // 55: cc.MemberService.Transfer:input_type -> cc.TransferRequest - 5, // 56: cc.MemberService.InterceptAttempt:input_type -> cc.InterceptAttemptRequest - 3, // 57: cc.MemberService.ResumeAttempt:input_type -> cc.ResumeAttemptRequest - 41, // 58: cc.MemberService.AttemptResult:output_type -> cc.AttemptResultResponse - 28, // 59: cc.MemberService.AttemptRenewalResult:output_type -> cc.AttemptRenewalResultResponse - 29, // 60: cc.MemberService.CallJoinToQueue:output_type -> cc.QueueEvent - 29, // 61: cc.MemberService.ChatJoinToQueue:output_type -> cc.QueueEvent - 29, // 62: cc.MemberService.CallJoinToAgent:output_type -> cc.QueueEvent - 25, // 63: cc.MemberService.OutboundCall:output_type -> cc.OutboundCallResponse - 29, // 64: cc.MemberService.TaskJoinToAgent:output_type -> cc.QueueEvent - 2, // 65: cc.MemberService.IMJoinToQueue:output_type -> cc.IMJoinToQueueResponse - 8, // 66: cc.MemberService.CancelAttempt:output_type -> cc.CancelAttemptResponse - 18, // 67: cc.MemberService.CancelAgentDistribute:output_type -> cc.CancelAgentDistributeResponse - 34, // 68: cc.MemberService.EmailJoinToQueue:output_type -> cc.EmailJoinToQueueResponse - 36, // 69: cc.MemberService.DirectAgentToMember:output_type -> cc.DirectAgentToMemberResponse - 10, // 70: cc.MemberService.ProcessingFormAction:output_type -> cc.ProcessingFormActionResponse - 14, // 71: cc.MemberService.ProcessingComponentAction:output_type -> cc.ProcessingComponentActionResponse - 12, // 72: cc.MemberService.ProcessingFormSave:output_type -> cc.ProcessingFormSaveResponse - 16, // 73: cc.MemberService.Transfer:output_type -> cc.TransferResponse - 6, // 74: cc.MemberService.InterceptAttempt:output_type -> cc.InterceptAttemptResponse - 4, // 75: cc.MemberService.ResumeAttempt:output_type -> cc.ResumeAttemptResponse - 58, // [58:76] is the sub-list for method output_type - 40, // [40:58] is the sub-list for method input_type - 40, // [40:40] is the sub-list for extension type_name - 40, // [40:40] is the sub-list for extension extendee - 0, // [0:40] is the sub-list for field type_name + 52, // 0: cc.IMJoinToQueueRequest.queue:type_name -> cc.IMJoinToQueueRequest.Queue + 53, // 1: cc.IMJoinToQueueRequest.variables:type_name -> cc.IMJoinToQueueRequest.VariablesEntry + 56, // 2: cc.IMJoinToQueueRequest.thread:type_name -> cc.IMJoinToQueueRequest.ThreadInfo + 49, // 3: cc.ResumeAttemptResponse.email:type_name -> cc.EmailAttemptResponse + 57, // 4: cc.ProcessingFormActionRequest.fields:type_name -> cc.ProcessingFormActionRequest.FieldsEntry + 58, // 5: cc.ProcessingFormSaveRequest.fields:type_name -> cc.ProcessingFormSaveRequest.FieldsEntry + 59, // 6: cc.ProcessingComponentActionRequest.variables:type_name -> cc.ProcessingComponentActionRequest.VariablesEntry + 60, // 7: cc.TransferRequest.form_fields:type_name -> cc.TransferRequest.FormFieldsEntry + 43, // 8: cc.TransferRequest.operator:type_name -> cc.EmailAttemptOperator + 49, // 9: cc.TransferResponse.email:type_name -> cc.EmailAttemptResponse + 49, // 10: cc.TransferResponse.transferred_to:type_name -> cc.EmailAttemptResponse + 20, // 11: cc.MemberCommunication.type:type_name -> cc.MemberCommunicationType + 62, // 12: cc.TaskJoinToAgentRequest.variables:type_name -> cc.TaskJoinToAgentRequest.VariablesEntry + 61, // 13: cc.TaskJoinToAgentRequest.processing:type_name -> cc.TaskJoinToAgentRequest.Processing + 21, // 14: cc.TaskJoinToAgentRequest.destination:type_name -> cc.MemberCommunication + 64, // 15: cc.OutboundCallRequest.variables:type_name -> cc.OutboundCallRequest.VariablesEntry + 63, // 16: cc.OutboundCallRequest.processing:type_name -> cc.OutboundCallRequest.Processing + 65, // 17: cc.CallJoinToAgentRequest.waitingMusic:type_name -> cc.CallJoinToAgentRequest.WaitingMusic + 67, // 18: cc.CallJoinToAgentRequest.variables:type_name -> cc.CallJoinToAgentRequest.VariablesEntry + 66, // 19: cc.CallJoinToAgentRequest.processing:type_name -> cc.CallJoinToAgentRequest.Processing + 49, // 20: cc.AttemptRenewalResultResponse.email:type_name -> cc.EmailAttemptResponse + 69, // 21: cc.QueueEvent.offering:type_name -> cc.QueueEvent.OfferingData + 71, // 22: cc.QueueEvent.bridged:type_name -> cc.QueueEvent.BridgedData + 70, // 23: cc.QueueEvent.missed:type_name -> cc.QueueEvent.MissedAgent + 72, // 24: cc.QueueEvent.leaving:type_name -> cc.QueueEvent.LeavingData + 68, // 25: cc.QueueEvent.joined:type_name -> cc.QueueEvent.JoinedData + 73, // 26: cc.ChatJoinToQueueRequest.queue:type_name -> cc.ChatJoinToQueueRequest.Queue + 74, // 27: cc.ChatJoinToQueueRequest.variables:type_name -> cc.ChatJoinToQueueRequest.VariablesEntry + 0, // 28: cc.EmailJoinToQueueResponse.result:type_name -> cc.EmailJoinToQueueResponse.Result + 75, // 29: cc.CallJoinToQueueRequest.queue:type_name -> cc.CallJoinToQueueRequest.Queue + 76, // 30: cc.CallJoinToQueueRequest.waitingMusic:type_name -> cc.CallJoinToQueueRequest.WaitingMusic + 77, // 31: cc.CallJoinToQueueRequest.variables:type_name -> cc.CallJoinToQueueRequest.VariablesEntry + 79, // 32: cc.MemberCommunicationCreateRequest.type:type_name -> engine.Lookup + 79, // 33: cc.MemberCommunicationCreateRequest.resource:type_name -> engine.Lookup + 78, // 34: cc.AttemptResultRequest.variables:type_name -> cc.AttemptResultRequest.VariablesEntry + 40, // 35: cc.AttemptResultRequest.add_communications:type_name -> cc.MemberCommunicationCreateRequest + 43, // 36: cc.EmailAttemptTakeRequest.operator:type_name -> cc.EmailAttemptOperator + 43, // 37: cc.EmailAttemptPostponeRequest.operator:type_name -> cc.EmailAttemptOperator + 44, // 38: cc.EmailAttemptPostponeRequest.flow:type_name -> cc.EmailAttemptFlow + 43, // 39: cc.EmailAttemptReturnRequest.operator:type_name -> cc.EmailAttemptOperator + 43, // 40: cc.EmailAttemptCompleteRequest.operator:type_name -> cc.EmailAttemptOperator + 1, // 41: cc.EmailWakeUpResponse.result:type_name -> cc.EmailWakeUpResponse.Result + 54, // 42: cc.IMJoinToQueueRequest.ThreadInfo.from:type_name -> cc.IMJoinToQueueRequest.Endpoint + 54, // 43: cc.IMJoinToQueueRequest.ThreadInfo.to:type_name -> cc.IMJoinToQueueRequest.Endpoint + 55, // 44: cc.IMJoinToQueueRequest.ThreadInfo.members:type_name -> cc.IMJoinToQueueRequest.MemberInfo + 22, // 45: cc.TaskJoinToAgentRequest.Processing.form:type_name -> cc.QueueFormSchema + 23, // 46: cc.TaskJoinToAgentRequest.Processing.processing_prolongation:type_name -> cc.ProcessingProlongation + 22, // 47: cc.OutboundCallRequest.Processing.form:type_name -> cc.QueueFormSchema + 23, // 48: cc.OutboundCallRequest.Processing.processing_prolongation:type_name -> cc.ProcessingProlongation + 22, // 49: cc.CallJoinToAgentRequest.Processing.form:type_name -> cc.QueueFormSchema + 23, // 50: cc.CallJoinToAgentRequest.Processing.processing_prolongation:type_name -> cc.ProcessingProlongation + 41, // 51: cc.MemberService.AttemptResult:input_type -> cc.AttemptResultRequest + 28, // 52: cc.MemberService.AttemptRenewalResult:input_type -> cc.AttemptRenewalResultRequest + 38, // 53: cc.MemberService.CallJoinToQueue:input_type -> cc.CallJoinToQueueRequest + 33, // 54: cc.MemberService.ChatJoinToQueue:input_type -> cc.ChatJoinToQueueRequest + 27, // 55: cc.MemberService.CallJoinToAgent:input_type -> cc.CallJoinToAgentRequest + 25, // 56: cc.MemberService.OutboundCall:input_type -> cc.OutboundCallRequest + 24, // 57: cc.MemberService.TaskJoinToAgent:input_type -> cc.TaskJoinToAgentRequest + 2, // 58: cc.MemberService.IMJoinToQueue:input_type -> cc.IMJoinToQueueRequest + 8, // 59: cc.MemberService.CancelAttempt:input_type -> cc.CancelAttemptRequest + 18, // 60: cc.MemberService.CancelAgentDistribute:input_type -> cc.CancelAgentDistributeRequest + 34, // 61: cc.MemberService.EmailJoinToQueue:input_type -> cc.EmailJoinToQueueRequest + 36, // 62: cc.MemberService.DirectAgentToMember:input_type -> cc.DirectAgentToMemberRequest + 10, // 63: cc.MemberService.ProcessingFormAction:input_type -> cc.ProcessingFormActionRequest + 14, // 64: cc.MemberService.ProcessingComponentAction:input_type -> cc.ProcessingComponentActionRequest + 12, // 65: cc.MemberService.ProcessingFormSave:input_type -> cc.ProcessingFormSaveRequest + 16, // 66: cc.MemberService.Transfer:input_type -> cc.TransferRequest + 6, // 67: cc.MemberService.InterceptAttempt:input_type -> cc.InterceptAttemptRequest + 4, // 68: cc.MemberService.ResumeAttempt:input_type -> cc.ResumeAttemptRequest + 45, // 69: cc.MemberService.EmailAttemptTake:input_type -> cc.EmailAttemptTakeRequest + 46, // 70: cc.MemberService.EmailAttemptPostpone:input_type -> cc.EmailAttemptPostponeRequest + 47, // 71: cc.MemberService.EmailAttemptReturn:input_type -> cc.EmailAttemptReturnRequest + 48, // 72: cc.MemberService.EmailAttemptComplete:input_type -> cc.EmailAttemptCompleteRequest + 50, // 73: cc.MemberService.EmailWakeUp:input_type -> cc.EmailWakeUpRequest + 42, // 74: cc.MemberService.AttemptResult:output_type -> cc.AttemptResultResponse + 29, // 75: cc.MemberService.AttemptRenewalResult:output_type -> cc.AttemptRenewalResultResponse + 30, // 76: cc.MemberService.CallJoinToQueue:output_type -> cc.QueueEvent + 30, // 77: cc.MemberService.ChatJoinToQueue:output_type -> cc.QueueEvent + 30, // 78: cc.MemberService.CallJoinToAgent:output_type -> cc.QueueEvent + 26, // 79: cc.MemberService.OutboundCall:output_type -> cc.OutboundCallResponse + 30, // 80: cc.MemberService.TaskJoinToAgent:output_type -> cc.QueueEvent + 3, // 81: cc.MemberService.IMJoinToQueue:output_type -> cc.IMJoinToQueueResponse + 9, // 82: cc.MemberService.CancelAttempt:output_type -> cc.CancelAttemptResponse + 19, // 83: cc.MemberService.CancelAgentDistribute:output_type -> cc.CancelAgentDistributeResponse + 35, // 84: cc.MemberService.EmailJoinToQueue:output_type -> cc.EmailJoinToQueueResponse + 37, // 85: cc.MemberService.DirectAgentToMember:output_type -> cc.DirectAgentToMemberResponse + 11, // 86: cc.MemberService.ProcessingFormAction:output_type -> cc.ProcessingFormActionResponse + 15, // 87: cc.MemberService.ProcessingComponentAction:output_type -> cc.ProcessingComponentActionResponse + 13, // 88: cc.MemberService.ProcessingFormSave:output_type -> cc.ProcessingFormSaveResponse + 17, // 89: cc.MemberService.Transfer:output_type -> cc.TransferResponse + 7, // 90: cc.MemberService.InterceptAttempt:output_type -> cc.InterceptAttemptResponse + 5, // 91: cc.MemberService.ResumeAttempt:output_type -> cc.ResumeAttemptResponse + 49, // 92: cc.MemberService.EmailAttemptTake:output_type -> cc.EmailAttemptResponse + 49, // 93: cc.MemberService.EmailAttemptPostpone:output_type -> cc.EmailAttemptResponse + 49, // 94: cc.MemberService.EmailAttemptReturn:output_type -> cc.EmailAttemptResponse + 49, // 95: cc.MemberService.EmailAttemptComplete:output_type -> cc.EmailAttemptResponse + 51, // 96: cc.MemberService.EmailWakeUp:output_type -> cc.EmailWakeUpResponse + 74, // [74:97] is the sub-list for method output_type + 51, // [51:74] is the sub-list for method input_type + 51, // [51:51] is the sub-list for extension type_name + 51, // [51:51] is the sub-list for extension extendee + 0, // [0:51] is the sub-list for field type_name } func init() { file_cc_member_proto_init() } @@ -5391,7 +6574,19 @@ func file_cc_member_proto_init() { } } file_cc_member_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IMJoinToQueueRequest_Queue); i { + switch v := v.(*EmailAttemptOperator); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cc_member_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EmailAttemptFlow); i { case 0: return &v.state case 1: @@ -5403,7 +6598,7 @@ func file_cc_member_proto_init() { } } file_cc_member_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IMJoinToQueueRequest_Endpoint); i { + switch v := v.(*EmailAttemptTakeRequest); i { case 0: return &v.state case 1: @@ -5415,7 +6610,7 @@ func file_cc_member_proto_init() { } } file_cc_member_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IMJoinToQueueRequest_MemberInfo); i { + switch v := v.(*EmailAttemptPostponeRequest); i { case 0: return &v.state case 1: @@ -5427,7 +6622,55 @@ func file_cc_member_proto_init() { } } file_cc_member_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IMJoinToQueueRequest_ThreadInfo); i { + switch v := v.(*EmailAttemptReturnRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cc_member_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EmailAttemptCompleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cc_member_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EmailAttemptResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cc_member_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EmailWakeUpRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cc_member_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EmailWakeUpResponse); i { case 0: return &v.state case 1: @@ -5439,7 +6682,7 @@ func file_cc_member_proto_init() { } } file_cc_member_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TaskJoinToAgentRequest_Processing); i { + switch v := v.(*IMJoinToQueueRequest_Queue); i { case 0: return &v.state case 1: @@ -5451,7 +6694,19 @@ func file_cc_member_proto_init() { } } file_cc_member_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OutboundCallRequest_Processing); i { + switch v := v.(*IMJoinToQueueRequest_Endpoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cc_member_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IMJoinToQueueRequest_MemberInfo); i { case 0: return &v.state case 1: @@ -5463,6 +6718,42 @@ func file_cc_member_proto_init() { } } file_cc_member_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IMJoinToQueueRequest_ThreadInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cc_member_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskJoinToAgentRequest_Processing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cc_member_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OutboundCallRequest_Processing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cc_member_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CallJoinToAgentRequest_WaitingMusic); i { case 0: return &v.state @@ -5474,7 +6765,7 @@ func file_cc_member_proto_init() { return nil } } - file_cc_member_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_cc_member_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CallJoinToAgentRequest_Processing); i { case 0: return &v.state @@ -5486,7 +6777,7 @@ func file_cc_member_proto_init() { return nil } } - file_cc_member_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_cc_member_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueueEvent_JoinedData); i { case 0: return &v.state @@ -5498,7 +6789,7 @@ func file_cc_member_proto_init() { return nil } } - file_cc_member_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_cc_member_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueueEvent_OfferingData); i { case 0: return &v.state @@ -5510,7 +6801,7 @@ func file_cc_member_proto_init() { return nil } } - file_cc_member_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_cc_member_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueueEvent_MissedAgent); i { case 0: return &v.state @@ -5522,7 +6813,7 @@ func file_cc_member_proto_init() { return nil } } - file_cc_member_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_cc_member_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueueEvent_BridgedData); i { case 0: return &v.state @@ -5534,7 +6825,7 @@ func file_cc_member_proto_init() { return nil } } - file_cc_member_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_cc_member_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueueEvent_LeavingData); i { case 0: return &v.state @@ -5546,7 +6837,7 @@ func file_cc_member_proto_init() { return nil } } - file_cc_member_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_cc_member_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChatJoinToQueueRequest_Queue); i { case 0: return &v.state @@ -5558,7 +6849,7 @@ func file_cc_member_proto_init() { return nil } } - file_cc_member_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_cc_member_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CallJoinToQueueRequest_Queue); i { case 0: return &v.state @@ -5570,7 +6861,7 @@ func file_cc_member_proto_init() { return nil } } - file_cc_member_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_cc_member_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CallJoinToQueueRequest_WaitingMusic); i { case 0: return &v.state @@ -5583,6 +6874,8 @@ func file_cc_member_proto_init() { } } } + file_cc_member_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_cc_member_proto_msgTypes[26].OneofWrappers = []interface{}{} file_cc_member_proto_msgTypes[28].OneofWrappers = []interface{}{ (*QueueEvent_Offering)(nil), (*QueueEvent_Bridged)(nil), @@ -5590,13 +6883,21 @@ func file_cc_member_proto_init() { (*QueueEvent_Leaving)(nil), (*QueueEvent_Joined)(nil), } + file_cc_member_proto_msgTypes[41].OneofWrappers = []interface{}{} + file_cc_member_proto_msgTypes[44].OneofWrappers = []interface{}{ + (*EmailAttemptPostponeRequest_Operator)(nil), + (*EmailAttemptPostponeRequest_Flow)(nil), + (*EmailAttemptPostponeRequest_PostponedUntil)(nil), + (*EmailAttemptPostponeRequest_PostponeForSec)(nil), + } + file_cc_member_proto_msgTypes[49].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_cc_member_proto_rawDesc, - NumEnums: 1, - NumMessages: 68, + NumEnums: 2, + NumMessages: 77, NumExtensions: 0, NumServices: 1, }, diff --git a/gen/cc/cc_member_grpc.pb.go b/gen/cc/cc_member_grpc.pb.go index fb397915..76b051d3 100644 --- a/gen/cc/cc_member_grpc.pb.go +++ b/gen/cc/cc_member_grpc.pb.go @@ -37,6 +37,11 @@ const ( MemberService_Transfer_FullMethodName = "/cc.MemberService/Transfer" MemberService_InterceptAttempt_FullMethodName = "/cc.MemberService/InterceptAttempt" MemberService_ResumeAttempt_FullMethodName = "/cc.MemberService/ResumeAttempt" + MemberService_EmailAttemptTake_FullMethodName = "/cc.MemberService/EmailAttemptTake" + MemberService_EmailAttemptPostpone_FullMethodName = "/cc.MemberService/EmailAttemptPostpone" + MemberService_EmailAttemptReturn_FullMethodName = "/cc.MemberService/EmailAttemptReturn" + MemberService_EmailAttemptComplete_FullMethodName = "/cc.MemberService/EmailAttemptComplete" + MemberService_EmailWakeUp_FullMethodName = "/cc.MemberService/EmailWakeUp" ) // MemberServiceClient is the client API for MemberService service. @@ -61,6 +66,13 @@ type MemberServiceClient interface { Transfer(ctx context.Context, in *TransferRequest, opts ...grpc.CallOption) (*TransferResponse, error) InterceptAttempt(ctx context.Context, in *InterceptAttemptRequest, opts ...grpc.CallOption) (*InterceptAttemptResponse, error) ResumeAttempt(ctx context.Context, in *ResumeAttemptRequest, opts ...grpc.CallOption) (*ResumeAttemptResponse, error) + // Email attempt lifecycle; the request form tells the caller: an operator or a Flow. + EmailAttemptTake(ctx context.Context, in *EmailAttemptTakeRequest, opts ...grpc.CallOption) (*EmailAttemptResponse, error) + EmailAttemptPostpone(ctx context.Context, in *EmailAttemptPostponeRequest, opts ...grpc.CallOption) (*EmailAttemptResponse, error) + EmailAttemptReturn(ctx context.Context, in *EmailAttemptReturnRequest, opts ...grpc.CallOption) (*EmailAttemptResponse, error) + EmailAttemptComplete(ctx context.Context, in *EmailAttemptCompleteRequest, opts ...grpc.CallOption) (*EmailAttemptResponse, error) + // Wakes the active attempt of the Thread once per inbound Email event, with or without a Flow. + EmailWakeUp(ctx context.Context, in *EmailWakeUpRequest, opts ...grpc.CallOption) (*EmailWakeUpResponse, error) } type memberServiceClient struct { @@ -325,6 +337,51 @@ func (c *memberServiceClient) ResumeAttempt(ctx context.Context, in *ResumeAttem return out, nil } +func (c *memberServiceClient) EmailAttemptTake(ctx context.Context, in *EmailAttemptTakeRequest, opts ...grpc.CallOption) (*EmailAttemptResponse, error) { + out := new(EmailAttemptResponse) + err := c.cc.Invoke(ctx, MemberService_EmailAttemptTake_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *memberServiceClient) EmailAttemptPostpone(ctx context.Context, in *EmailAttemptPostponeRequest, opts ...grpc.CallOption) (*EmailAttemptResponse, error) { + out := new(EmailAttemptResponse) + err := c.cc.Invoke(ctx, MemberService_EmailAttemptPostpone_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *memberServiceClient) EmailAttemptReturn(ctx context.Context, in *EmailAttemptReturnRequest, opts ...grpc.CallOption) (*EmailAttemptResponse, error) { + out := new(EmailAttemptResponse) + err := c.cc.Invoke(ctx, MemberService_EmailAttemptReturn_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *memberServiceClient) EmailAttemptComplete(ctx context.Context, in *EmailAttemptCompleteRequest, opts ...grpc.CallOption) (*EmailAttemptResponse, error) { + out := new(EmailAttemptResponse) + err := c.cc.Invoke(ctx, MemberService_EmailAttemptComplete_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *memberServiceClient) EmailWakeUp(ctx context.Context, in *EmailWakeUpRequest, opts ...grpc.CallOption) (*EmailWakeUpResponse, error) { + out := new(EmailWakeUpResponse) + err := c.cc.Invoke(ctx, MemberService_EmailWakeUp_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MemberServiceServer is the server API for MemberService service. // All implementations must embed UnimplementedMemberServiceServer // for forward compatibility @@ -347,6 +404,13 @@ type MemberServiceServer interface { Transfer(context.Context, *TransferRequest) (*TransferResponse, error) InterceptAttempt(context.Context, *InterceptAttemptRequest) (*InterceptAttemptResponse, error) ResumeAttempt(context.Context, *ResumeAttemptRequest) (*ResumeAttemptResponse, error) + // Email attempt lifecycle; the request form tells the caller: an operator or a Flow. + EmailAttemptTake(context.Context, *EmailAttemptTakeRequest) (*EmailAttemptResponse, error) + EmailAttemptPostpone(context.Context, *EmailAttemptPostponeRequest) (*EmailAttemptResponse, error) + EmailAttemptReturn(context.Context, *EmailAttemptReturnRequest) (*EmailAttemptResponse, error) + EmailAttemptComplete(context.Context, *EmailAttemptCompleteRequest) (*EmailAttemptResponse, error) + // Wakes the active attempt of the Thread once per inbound Email event, with or without a Flow. + EmailWakeUp(context.Context, *EmailWakeUpRequest) (*EmailWakeUpResponse, error) mustEmbedUnimplementedMemberServiceServer() } @@ -408,6 +472,21 @@ func (UnimplementedMemberServiceServer) InterceptAttempt(context.Context, *Inter func (UnimplementedMemberServiceServer) ResumeAttempt(context.Context, *ResumeAttemptRequest) (*ResumeAttemptResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResumeAttempt not implemented") } +func (UnimplementedMemberServiceServer) EmailAttemptTake(context.Context, *EmailAttemptTakeRequest) (*EmailAttemptResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EmailAttemptTake not implemented") +} +func (UnimplementedMemberServiceServer) EmailAttemptPostpone(context.Context, *EmailAttemptPostponeRequest) (*EmailAttemptResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EmailAttemptPostpone not implemented") +} +func (UnimplementedMemberServiceServer) EmailAttemptReturn(context.Context, *EmailAttemptReturnRequest) (*EmailAttemptResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EmailAttemptReturn not implemented") +} +func (UnimplementedMemberServiceServer) EmailAttemptComplete(context.Context, *EmailAttemptCompleteRequest) (*EmailAttemptResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EmailAttemptComplete not implemented") +} +func (UnimplementedMemberServiceServer) EmailWakeUp(context.Context, *EmailWakeUpRequest) (*EmailWakeUpResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EmailWakeUp not implemented") +} func (UnimplementedMemberServiceServer) mustEmbedUnimplementedMemberServiceServer() {} // UnsafeMemberServiceServer may be embedded to opt out of forward compatibility for this service. @@ -757,6 +836,96 @@ func _MemberService_ResumeAttempt_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _MemberService_EmailAttemptTake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmailAttemptTakeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MemberServiceServer).EmailAttemptTake(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MemberService_EmailAttemptTake_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MemberServiceServer).EmailAttemptTake(ctx, req.(*EmailAttemptTakeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MemberService_EmailAttemptPostpone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmailAttemptPostponeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MemberServiceServer).EmailAttemptPostpone(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MemberService_EmailAttemptPostpone_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MemberServiceServer).EmailAttemptPostpone(ctx, req.(*EmailAttemptPostponeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MemberService_EmailAttemptReturn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmailAttemptReturnRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MemberServiceServer).EmailAttemptReturn(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MemberService_EmailAttemptReturn_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MemberServiceServer).EmailAttemptReturn(ctx, req.(*EmailAttemptReturnRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MemberService_EmailAttemptComplete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmailAttemptCompleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MemberServiceServer).EmailAttemptComplete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MemberService_EmailAttemptComplete_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MemberServiceServer).EmailAttemptComplete(ctx, req.(*EmailAttemptCompleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MemberService_EmailWakeUp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmailWakeUpRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MemberServiceServer).EmailWakeUp(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MemberService_EmailWakeUp_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MemberServiceServer).EmailWakeUp(ctx, req.(*EmailWakeUpRequest)) + } + return interceptor(ctx, in, info, handler) +} + // MemberService_ServiceDesc is the grpc.ServiceDesc for MemberService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -820,6 +989,26 @@ var MemberService_ServiceDesc = grpc.ServiceDesc{ MethodName: "ResumeAttempt", Handler: _MemberService_ResumeAttempt_Handler, }, + { + MethodName: "EmailAttemptTake", + Handler: _MemberService_EmailAttemptTake_Handler, + }, + { + MethodName: "EmailAttemptPostpone", + Handler: _MemberService_EmailAttemptPostpone_Handler, + }, + { + MethodName: "EmailAttemptReturn", + Handler: _MemberService_EmailAttemptReturn_Handler, + }, + { + MethodName: "EmailAttemptComplete", + Handler: _MemberService_EmailAttemptComplete_Handler, + }, + { + MethodName: "EmailWakeUp", + Handler: _MemberService_EmailWakeUp_Handler, + }, }, Streams: []grpc.StreamDesc{ { diff --git a/model/config.go b/model/config.go index 734625e5..289f66ae 100644 --- a/model/config.go +++ b/model/config.go @@ -58,6 +58,13 @@ type Config struct { Health HealthSettings `json:"health"` TriggersSettings TriggersSettings `json:"triggers_settings"` RTCConfiguration string `json:"rtc_configuration" flag:"rtc_configuration||RTCConfiguration" default:"" env:"RTC_CONFIGURATION"` + EmailSettings +} + +// EmailSettings configures the Email commands of operators; embedded without a json tag, +// so its keys stay at the top level of the JSON configuration file. +type EmailSettings struct { + EmailCommandTimeout int `json:"email_command_timeout" flag:"email_command_timeout|10|Seconds an Email command waits for call_center" env:"EMAIL_COMMAND_TIMEOUT"` } type PushConfig struct { diff --git a/model/email_attempt.go b/model/email_attempt.go new file mode 100644 index 00000000..e5ea0a47 --- /dev/null +++ b/model/email_attempt.go @@ -0,0 +1,78 @@ +package model + +// PERMISSION_SCOPE_EMAIL_THREAD is the object class of Email Threads; commands need update. +const PERMISSION_SCOPE_EMAIL_THREAD = "email_thread" + +// Operations of the Email attempt commands of an operator. +const ( + EmailAttemptTake = "take" + EmailAttemptPostpone = "postpone" + EmailAttemptResume = "resume" + EmailAttemptReturn = "return" + EmailAttemptComplete = "complete" + EmailAttemptRenew = "renew" + EmailAttemptTransfer = "transfer" +) + +// EmailAttemptCommand is a command of the operator; the domain, the user and the agent come from the session. +type EmailAttemptCommand struct { + Op string + ThreadId int64 + AttemptId int64 + ExpectedVersion int64 + CommandId string + // Postpone: one of them; Unix milliseconds or seconds. + PostponedUntil int64 + PostponeForSec int32 + RenewalSec uint32 + Reason string + // Transfer: one of them. + ToQueueId int32 + ToAgentId int32 + Comment string +} + +// EmailAttemptState is an attempt after the command, or after its first execution when Replayed. +type EmailAttemptState struct { + AttemptId int64 + ThreadId int64 + State string + AttemptVersion int64 + ProjectionVersion int64 + Result string + QueueId int32 + AgentId int32 + PostponedUntil int64 + Replayed bool +} + +// EmailAttemptResult is one attempt, or for a transfer the transferred one and the new one. +type EmailAttemptResult struct { + Email *EmailAttemptState + TransferredTo *EmailAttemptState +} + +// EmailTransferCandidate is an agent a direct transfer may offer the email to; Available repeats the +// check of call_center without reserving a slot. +type EmailTransferCandidate struct { + AgentId int32 `json:"agent_id" db:"agent_id"` + UserId int64 `json:"user_id" db:"user_id"` + Name string `json:"name" db:"name"` + Online bool `json:"online" db:"online"` + SlotType *string `json:"slot_type" db:"slot_type"` + Available bool `json:"available" db:"available"` +} + +func (s *EmailAttemptState) ToMap() map[string]any { + return map[string]any{ + "attempt_id": s.AttemptId, + "thread_id": s.ThreadId, + "state": s.State, + "attempt_version": s.AttemptVersion, + "projection_version": s.ProjectionVersion, + "result": s.Result, + "queue_id": s.QueueId, + "postponed_until": s.PostponedUntil, + "replayed": s.Replayed, + } +} diff --git a/store/sqlstore/cc_agent_store.go b/store/sqlstore/cc_agent_store.go index e98fc72e..fbc30a68 100644 --- a/store/sqlstore/cc_agent_store.go +++ b/store/sqlstore/cc_agent_store.go @@ -1418,3 +1418,22 @@ func (s SqlAgentStore) UsersStatusByGroup(ctx context.Context, domainId int64, g return users, nil } + +// EmailAgentIdByUser finds the agent of the user without its channels; nil means none. +func (s SqlAgentStore) EmailAgentIdByUser(ctx context.Context, domainId, userId int64) (*int32, model.AppError) { + id, err := s.GetMaster().WithContext(ctx).SelectNullInt(`select a.id +from call_center.cc_agent a +where a.domain_id = :DomainId::int8 and a.user_id = :UserId::int8`, map[string]any{ + "DomainId": domainId, + "UserId": userId, + }) + if err != nil { + return nil, model.NewCustomCodeError("store.sql_agent.email_agent_by_user.app_error", err.Error(), extractCodeFromErr(err)) + } + if !id.Valid { + return nil, nil + } + agentId := int32(id.Int64) + + return &agentId, nil +} diff --git a/store/sqlstore/cc_member_store.go b/store/sqlstore/cc_member_store.go index af07e9fe..44ca442f 100644 --- a/store/sqlstore/cc_member_store.go +++ b/store/sqlstore/cc_member_store.go @@ -1144,3 +1144,31 @@ where user_id = :UserId and name = 'timezone'), '')`, map[string]interface{}{ return tz, nil } + +// EmailTransferCandidates reads cc_email_transfer_candidates of call_center, which keeps its rules +// in one place; the transfer checks them again under its locks. +func (s SqlMemberStore) EmailTransferCandidates(ctx context.Context, domainId, attemptId int64, agentId int32) ([]*model.EmailTransferCandidate, model.AppError) { + var res []*model.EmailTransferCandidate + _, err := s.GetMaster().WithContext(ctx).Select(&res, `select c.agent_id, c.user_id, + coalesce(nullif(u.name, ''), u.username::text, '') as name, c.online, c.slot_type, c.available +from call_center.cc_email_transfer_candidates(:DomainId::int8, :AttemptId::int8, :AgentId::int4) c + left join directory.wbt_user u on u.id = c.user_id and u.dc = :DomainId::int8 +order by c.available desc, name, c.agent_id`, map[string]any{ + "DomainId": domainId, + "AttemptId": attemptId, + "AgentId": agentId, + }) + if err != nil { + if e, ok := err.(*pq.Error); ok { + switch e.Code { + case "EMANF": + return nil, model.NewNotFoundError("cc.email_attempt.not_found", "active attempt not found") + case "EMAOW": + return nil, model.NewBadRequestError("cc.email_attempt.owner_mismatch", "the attempt is not assigned to the agent") + } + } + return nil, model.NewCustomCodeError("store.sql_member.email_transfer_candidates.app_error", err.Error(), http.StatusInternalServerError) + } + + return res, nil +} diff --git a/store/store.go b/store/store.go index df3eca85..f5a2b854 100644 --- a/store/store.go +++ b/store/store.go @@ -168,6 +168,8 @@ type AgentStore interface { StatusStatistic(ctx context.Context, domainId, supervisorUserId int64, groups []int, access auth_manager.PermissionAccess, search *model.SearchAgentStatusStatistic) ([]*model.AgentStatusStatistics, model.AppError) SupervisorAgentItem(ctx context.Context, domainId, agentId int64, t *model.FilterBetween) (*model.SupervisorAgentItem, model.AppError) DistributeInfoByUserId(ctx context.Context, domainId, userId int64, channel string) (*model.DistributeAgentInfo, model.AppError) + // EmailAgentIdByUser returns the agent of the user in the domain, nil without one. + EmailAgentIdByUser(ctx context.Context, domainId, userId int64) (*int32, model.AppError) IsAgentChannelOnline(ctx context.Context, agentId int64, channel string) (bool, model.AppError) UsersStatus(ctx context.Context, domainId int64, search *model.SearchUserStatus) ([]*model.UserStatus, model.AppError) @@ -353,6 +355,8 @@ type MemberStore interface { CancelAppointment(ctx context.Context, memberId int64, reason string) model.AppError QueueId(ctx context.Context, domainId, memberId int64) (int64, model.AppError) AttemptAgentUserId(ctx context.Context, domainId, attemptId int64) (int64, model.AppError) + // EmailTransferCandidates lists the agents a direct transfer of the attempt of agentId may offer it to. + EmailTransferCandidates(ctx context.Context, domainId, attemptId int64, agentId int32) ([]*model.EmailTransferCandidate, model.AppError) GetUserTimezone(ctx context.Context, userId int64) (string, model.AppError) } diff --git a/wsapi/api.go b/wsapi/api.go index 5db83dc5..53cf6185 100644 --- a/wsapi/api.go +++ b/wsapi/api.go @@ -24,6 +24,7 @@ func Init(a *app.App, router *app.WebSocketRouter) { api.InitCall() api.InitAgent() api.InitMember() + api.InitEmail() api.InitChat() api.InitNotification() api.InitScreenShare() diff --git a/wsapi/email.go b/wsapi/email.go new file mode 100644 index 00000000..c31b16bb --- /dev/null +++ b/wsapi/email.go @@ -0,0 +1,148 @@ +package wsapi + +import ( + "context" + "math" + "strings" + "unicode/utf8" + + "github.com/pborman/uuid" + + "github.com/webitel/engine/app" + "github.com/webitel/engine/model" +) + +const maxEmailCommentLen = 500 + +// InitEmail registers the Email attempt commands of an operator. +func (api *API) InitEmail() { + api.Router.Handle("cc_email_attempt", api.ApiWebSocketHandler(api.emailAttemptCommand)) + api.Router.Handle("cc_email_transfer_agents", api.ApiWebSocketHandler(api.emailTransferAgents)) +} + +// The handlers check req.Session, read for this request, never the session cached in the connection. +// The operation comes in the request and is checked before the rights and the agent. +func (api *API) emailAttemptCommand(ctx context.Context, _ *app.WebConn, req *model.WebSocketRequest) (map[string]any, model.AppError) { + op, _ := req.Data["operation"].(string) + switch op { + case model.EmailAttemptTake, model.EmailAttemptPostpone, model.EmailAttemptResume, model.EmailAttemptReturn, + model.EmailAttemptComplete, model.EmailAttemptRenew, model.EmailAttemptTransfer: + default: + return nil, NewInvalidWebSocketParamError(req.Action, "operation") + } + cmd, err := emailCommandFromRequest(req, op) + if err != nil { + return nil, err + } + + res, err := api.ctrl.EmailAttemptCommand(ctx, &req.Session, cmd) + if err != nil { + return nil, err + } + if res.TransferredTo != nil { + return map[string]any{"email": res.Email.ToMap(), "transferred_to": res.TransferredTo.ToMap()}, nil + } + + return res.Email.ToMap(), nil +} + +func (api *API) emailTransferAgents(ctx context.Context, _ *app.WebConn, req *model.WebSocketRequest) (map[string]any, model.AppError) { + attemptId, ok := emailPositive(req.Data, "attempt_id", math.MaxInt64) + if !ok { + return nil, NewInvalidWebSocketParamError(req.Action, "attempt_id") + } + + agents, err := api.ctrl.EmailTransferCandidates(ctx, &req.Session, attemptId) + if err != nil { + return nil, err + } + + return map[string]any{"items": agents}, nil +} + +// emailCommandFromRequest validates the parameters of the client; the domain, the user and the agent +// are never taken from it. +func emailCommandFromRequest(req *model.WebSocketRequest, op string) (*model.EmailAttemptCommand, model.AppError) { + d := req.Data + invalid := func(name string) (*model.EmailAttemptCommand, model.AppError) { + return nil, NewInvalidWebSocketParamError(req.Action, name) + } + + cmd := &model.EmailAttemptCommand{Op: op} + var ok bool + if cmd.ThreadId, ok = emailPositive(d, "thread_id", math.MaxInt64); !ok { + return invalid("thread_id") + } + if cmd.AttemptId, ok = emailPositive(d, "attempt_id", math.MaxInt64); !ok { + return invalid("attempt_id") + } + if cmd.ExpectedVersion, ok = emailInteger(d, "expected_version", 0, math.MaxInt64); !ok { + return invalid("expected_version") + } + if cmd.CommandId, ok = d["command_id"].(string); !ok || + len(cmd.CommandId) != 36 || uuid.Parse(cmd.CommandId) == nil { + return invalid("command_id") + } + + switch op { + case model.EmailAttemptPostpone: + until, hasUntil := emailPositive(d, "postponed_until", math.MaxInt64) + forSec, hasFor := emailPositive(d, "postpone_for_sec", math.MaxInt32) + if hasUntil == hasFor || (hasUntil && d["postpone_for_sec"] != nil) || (hasFor && d["postponed_until"] != nil) { + return invalid("postponed_until") + } + cmd.PostponedUntil, cmd.PostponeForSec = until, int32(forSec) + case model.EmailAttemptRenew: + sec, ok := emailPositive(d, "renewal_sec", math.MaxInt32) + if !ok { + return invalid("renewal_sec") + } + cmd.RenewalSec = uint32(sec) + case model.EmailAttemptReturn: + if cmd.Reason, ok = emailText(d, "reason", true); !ok { + return invalid("reason") + } + case model.EmailAttemptTransfer: + queueId, hasQueue := emailPositive(d, "queue_id", math.MaxInt32) + agentId, hasAgent := emailPositive(d, "agent_id", math.MaxInt32) + if hasQueue == hasAgent || (hasQueue && d["agent_id"] != nil) || (hasAgent && d["queue_id"] != nil) { + return invalid("queue_id") + } + cmd.ToQueueId, cmd.ToAgentId = int32(queueId), int32(agentId) + if cmd.Comment, ok = emailText(d, "comment", false); !ok { + return invalid("comment") + } + } + + return cmd, nil +} + +// emailInteger reads a whole JSON number within [min, max]; JSON numbers are exact up to 2^53. +func emailInteger(d map[string]any, name string, min, max int64) (int64, bool) { + v, ok := d[name].(float64) + if !ok || v != math.Trunc(v) || math.Abs(v) > 1<<53 || v < float64(min) || v > float64(max) { + return 0, false + } + + return int64(v), true +} + +func emailPositive(d map[string]any, name string, max int64) (int64, bool) { + return emailInteger(d, name, 1, max) +} + +// emailText trims a reason or a comment: up to maxEmailCommentLen characters, present when required. +func emailText(d map[string]any, name string, required bool) (string, bool) { + raw, present := d[name] + if !present || raw == nil { + return "", !required + } + s, ok := raw.(string) + if !ok { + return "", false + } + s = strings.TrimSpace(s) + n := utf8.RuneCountInString(s) + + return s, n <= maxEmailCommentLen && (n > 0 || !required) +} diff --git a/wsapi/email_test.go b/wsapi/email_test.go new file mode 100644 index 00000000..29e95a74 --- /dev/null +++ b/wsapi/email_test.go @@ -0,0 +1,55 @@ +package wsapi + +import ( + "strings" + "testing" + + "github.com/webitel/engine/model" +) + +func emailRequest(extra map[string]any) *model.WebSocketRequest { + d := map[string]any{ + "thread_id": float64(101), "attempt_id": float64(7), "expected_version": float64(0), + "command_id": "0199b2a4-3c4e-7a10-8f2e-1b2c3d4e5f60", + } + for k, v := range extra { + if v == nil { + delete(d, k) + } else { + d[k] = v + } + } + return &model.WebSocketRequest{Action: "cc_email_test", Data: d} +} + +func TestEmailCommandFromRequest(t *testing.T) { + cmd, err := emailCommandFromRequest(emailRequest(map[string]any{"queue_id": float64(5), "comment": " to sales "}), model.EmailAttemptTransfer) + if err != nil || cmd.ToQueueId != 5 || cmd.ToAgentId != 0 || cmd.Comment != "to sales" || cmd.ExpectedVersion != 0 { + t.Fatalf("transfer: %+v, %v", cmd, err) + } + cmd, err = emailCommandFromRequest(emailRequest(map[string]any{"postpone_for_sec": float64(60)}), model.EmailAttemptPostpone) + if err != nil || cmd.PostponeForSec != 60 || cmd.PostponedUntil != 0 { + t.Fatalf("postpone: %+v, %v", cmd, err) + } + + for name, tc := range map[string]struct { + op string + extra map[string]any + }{ + "no expected version": {model.EmailAttemptTake, map[string]any{"expected_version": nil}}, + "fractional attempt": {model.EmailAttemptTake, map[string]any{"attempt_id": 7.5}}, + "not a UUID": {model.EmailAttemptTake, map[string]any{"command_id": "c-1"}}, + "two deadlines": {model.EmailAttemptPostpone, map[string]any{"postpone_for_sec": float64(60), "postponed_until": float64(1)}}, + "no deadline": {model.EmailAttemptPostpone, nil}, + "no renewal": {model.EmailAttemptRenew, nil}, + "return without reason": {model.EmailAttemptReturn, map[string]any{"reason": " "}}, + "two targets": {model.EmailAttemptTransfer, map[string]any{"queue_id": float64(5), "agent_id": float64(4)}}, + "no target": {model.EmailAttemptTransfer, nil}, + "long comment": {model.EmailAttemptTransfer, map[string]any{"queue_id": float64(5), "comment": strings.Repeat("ї", 501)}}, + "queue beyond int32": {model.EmailAttemptTransfer, map[string]any{"queue_id": float64(1 << 32)}}, + } { + if _, err := emailCommandFromRequest(emailRequest(tc.extra), tc.op); err == nil { + t.Errorf("%s: accepted", name) + } + } +}