From cf7a906023b086890f87da467225634537cd99e4 Mon Sep 17 00:00:00 2001 From: Silvan Date: Wed, 1 Jul 2020 07:18:05 +0200 Subject: [PATCH] feat(auth): My user changes (#318) * fix: project by id loads project from view and from eventstore * fix: correct search key for role * feat(auth): my user changes * fix: improve error handling in change converters * fix: log-id --- .../eventsourcing/eventstore/user.go | 16 + .../eventsourcing/handler/user_grant.go | 8 +- internal/auth/repository/user.go | 3 + .../eventsourcing/handler/user_grant.go | 7 +- internal/cache/bigcache/cache.go | 13 +- .../eventsourcing/handler/project_grant.go | 16 +- .../policy/repository/eventsourcing/cache.go | 6 +- .../project/repository/eventsourcing/cache.go | 6 +- .../repository/view/project_grant_view.go | 47 +- .../user/repository/eventsourcing/cache.go | 6 +- .../repository/eventsourcing/cache.go | 8 +- .../repository/eventsourcing/user_grant.go | 6 +- pkg/auth/api/grpc/auth.pb.authoptions.go | 5 + pkg/auth/api/grpc/auth.pb.go | 5667 +++++++---------- pkg/auth/api/grpc/auth.pb.gw.go | 998 ++- pkg/auth/api/grpc/auth.swagger.json | 127 +- pkg/auth/api/grpc/user.go | 8 + pkg/auth/api/grpc/user_converter.go | 36 + pkg/auth/api/proto/auth.proto | 31 + pkg/management/api/grpc/user_converter.go | 11 +- 20 files changed, 3370 insertions(+), 3655 deletions(-) diff --git a/internal/auth/repository/eventsourcing/eventstore/user.go b/internal/auth/repository/eventsourcing/eventstore/user.go index 28de33b4e7..3c1f128f87 100644 --- a/internal/auth/repository/eventsourcing/eventstore/user.go +++ b/internal/auth/repository/eventsourcing/eventstore/user.go @@ -2,6 +2,7 @@ package eventstore import ( "context" + "github.com/caos/logging" "github.com/caos/zitadel/internal/eventstore" "github.com/caos/zitadel/internal/eventstore/sdk" @@ -258,6 +259,21 @@ func (repo *UserRepo) UserByID(ctx context.Context, id string) (*model.UserView, return usr_view_model.UserToModel(&userCopy), nil } +func (repo *UserRepo) MyUserChanges(ctx context.Context, lastSequence uint64, limit uint64, sortAscending bool) (*model.UserChanges, error) { + changes, err := repo.UserEvents.UserChanges(ctx, auth.GetCtxData(ctx).UserID, lastSequence, limit, sortAscending) + if err != nil { + return nil, err + } + for _, change := range changes.Changes { + change.ModifierName = change.ModifierId + user, _ := repo.UserEvents.UserByID(ctx, change.ModifierId) + if user != nil { + change.ModifierName = user.DisplayName + } + } + return changes, nil +} + func checkIDs(ctx context.Context, obj es_models.ObjectRoot) error { if obj.AggregateID != auth.GetCtxData(ctx).UserID { return errors.ThrowPermissionDenied(nil, "EVENT-kFi9w", "object does not belong to user") diff --git a/internal/auth/repository/eventsourcing/handler/user_grant.go b/internal/auth/repository/eventsourcing/handler/user_grant.go index 92eb36c55f..923a0069d4 100644 --- a/internal/auth/repository/eventsourcing/handler/user_grant.go +++ b/internal/auth/repository/eventsourcing/handler/user_grant.go @@ -2,6 +2,9 @@ package handler import ( "context" + "strings" + "time" + "github.com/caos/logging" "github.com/caos/zitadel/internal/errors" caos_errs "github.com/caos/zitadel/internal/errors" @@ -22,8 +25,6 @@ import ( usr_es_model "github.com/caos/zitadel/internal/user/repository/eventsourcing/model" grant_es_model "github.com/caos/zitadel/internal/usergrant/repository/eventsourcing/model" view_model "github.com/caos/zitadel/internal/usergrant/repository/view/model" - "strings" - "time" ) type UserGrant struct { @@ -171,7 +172,6 @@ func (u *UserGrant) processOrg(event *models.Event) (err error) { default: return u.view.ProcessedUserGrantSequence(event.Sequence) } - return nil } func (u *UserGrant) processIamMember(event *models.Event, rolePrefix string, suffix bool) error { @@ -341,6 +341,6 @@ func (u *UserGrant) fillOrgData(grant *view_model.UserGrantView, org *org_model. } func (u *UserGrant) OnError(event *models.Event, err error) error { - logging.LogWithFields("SPOOL-8is4s", "id", event.AggregateID).WithError(err).Warn("something went wrong in user handler") + logging.LogWithFields("SPOOL-UZmc7", "id", event.AggregateID).WithError(err).Warn("something went wrong in user grant handler") return spooler.HandleError(event, err, u.view.GetLatestUserGrantFailedEvent, u.view.ProcessedUserGrantFailedEvent, u.view.ProcessedUserGrantSequence, u.errorCountUntilSkip) } diff --git a/internal/auth/repository/user.go b/internal/auth/repository/user.go index 30838621f9..12de0b96d8 100644 --- a/internal/auth/repository/user.go +++ b/internal/auth/repository/user.go @@ -2,6 +2,7 @@ package repository import ( "context" + org_model "github.com/caos/zitadel/internal/org/model" "github.com/caos/zitadel/internal/user/model" @@ -53,4 +54,6 @@ type myUserRepo interface { AddMyMfaOTP(ctx context.Context) (*model.OTP, error) VerifyMyMfaOTPSetup(ctx context.Context, code string) error RemoveMyMfaOTP(ctx context.Context) error + + MyUserChanges(ctx context.Context, lastSequence uint64, limit uint64, sortAscending bool) (*model.UserChanges, error) } diff --git a/internal/authz/repository/eventsourcing/handler/user_grant.go b/internal/authz/repository/eventsourcing/handler/user_grant.go index 3ee646740c..ad722156bb 100644 --- a/internal/authz/repository/eventsourcing/handler/user_grant.go +++ b/internal/authz/repository/eventsourcing/handler/user_grant.go @@ -2,6 +2,9 @@ package handler import ( "context" + "strings" + "time" + "github.com/caos/logging" "github.com/caos/zitadel/internal/errors" caos_errs "github.com/caos/zitadel/internal/errors" @@ -14,8 +17,6 @@ import ( org_es_model "github.com/caos/zitadel/internal/org/repository/eventsourcing/model" proj_es_model "github.com/caos/zitadel/internal/project/repository/eventsourcing/model" view_model "github.com/caos/zitadel/internal/usergrant/repository/view/model" - "strings" - "time" ) type UserGrant struct { @@ -223,6 +224,6 @@ func (u *UserGrant) setIamProjectID() error { } func (u *UserGrant) OnError(event *models.Event, err error) error { - logging.LogWithFields("SPOOL-8is4s", "id", event.AggregateID).WithError(err).Warn("something went wrong in user handler") + logging.LogWithFields("SPOOL-VcVoJ", "id", event.AggregateID).WithError(err).Warn("something went wrong in user grant handler") return spooler.HandleError(event, err, u.view.GetLatestUserGrantFailedEvent, u.view.ProcessedUserGrantFailedEvent, u.view.ProcessedUserGrantSequence, u.errorCountUntilSkip) } diff --git a/internal/cache/bigcache/cache.go b/internal/cache/bigcache/cache.go index 23d695fbe4..eeb31529d9 100644 --- a/internal/cache/bigcache/cache.go +++ b/internal/cache/bigcache/cache.go @@ -3,12 +3,11 @@ package bigcache import ( "bytes" "encoding/gob" - "github.com/caos/logging" "reflect" - "github.com/caos/zitadel/internal/errors" - a_cache "github.com/allegro/bigcache" + "github.com/caos/logging" + "github.com/caos/zitadel/internal/errors" ) type Bigcache struct { @@ -30,19 +29,19 @@ func NewBigcache(c *Config) (*Bigcache, error) { func (c *Bigcache) Set(key string, object interface{}) error { if key == "" || reflect.ValueOf(object).IsNil() { - return errors.ThrowInvalidArgument(nil, "FASTC-du73s", "key or value should not be empty") + return errors.ThrowInvalidArgument(nil, "BIGCA-du73s", "key or value should not be empty") } var b bytes.Buffer enc := gob.NewEncoder(&b) if err := enc.Encode(object); err != nil { - return errors.ThrowInvalidArgument(err, "FASTC-RUyxI", "unable to encode object") + return errors.ThrowInvalidArgument(err, "BIGCA-RUyxI", "unable to encode object") } return c.cache.Set(key, b.Bytes()) } func (c *Bigcache) Get(key string, ptrToObject interface{}) error { if key == "" || reflect.ValueOf(ptrToObject).IsNil() { - return errors.ThrowInvalidArgument(nil, "FASTC-dksoe", "key or value should not be empty") + return errors.ThrowInvalidArgument(nil, "BIGCA-dksoe", "key or value should not be empty") } value, err := c.cache.Get(key) if err == a_cache.ErrEntryNotFound { @@ -61,7 +60,7 @@ func (c *Bigcache) Get(key string, ptrToObject interface{}) error { func (c *Bigcache) Delete(key string) error { if key == "" { - return errors.ThrowInvalidArgument(nil, "FASTC-clsi2", "key should not be empty") + return errors.ThrowInvalidArgument(nil, "BIGCA-clsi2", "key should not be empty") } return c.cache.Delete(key) } diff --git a/internal/management/repository/eventsourcing/handler/project_grant.go b/internal/management/repository/eventsourcing/handler/project_grant.go index fa8e75ec13..b6ed19fb49 100644 --- a/internal/management/repository/eventsourcing/handler/project_grant.go +++ b/internal/management/repository/eventsourcing/handler/project_grant.go @@ -50,7 +50,7 @@ func (p *ProjectGrant) Reduce(event *models.Event) (err error) { if err != nil { return err } - p.updateExistingProjects(project) + return p.updateExistingProjects(project) case es_model.ProjectGrantAdded: err = grantedProject.AppendEvent(event) if err != nil { @@ -107,19 +107,25 @@ func (p *ProjectGrant) getProject(projectID string) (*proj_model.Project, error) return p.projectEvents.ProjectByID(context.Background(), projectID) } -func (p *ProjectGrant) updateExistingProjects(project *view_model.ProjectView) { - projects, err := p.view.ProjectGrantsByProjectID(project.ProjectID) +func (p *ProjectGrant) updateExistingProjects(project *view_model.ProjectView) error { + projectGrants, err := p.view.ProjectGrantsByProjectID(project.ProjectID) if err != nil { logging.LogWithFields("SPOOL-los03", "id", project.ProjectID).WithError(err).Warn("could not update existing projects") } - for _, existing := range projects { + for _, existing := range projectGrants { existing.Name = project.Name err := p.view.PutProjectGrant(existing) - logging.LogWithFields("SPOOL-sjwi3", "id", existing.ProjectID).WithError(err).Warn("could not update existing project") + if err != nil { + logging.LogWithFields("SPOOL-sjwi3", "id", existing.ProjectID).WithError(err).Warn("could not update existing project") + return err + } } + + return p.view.ProcessedProjectGrantSequence(project.Sequence) } func (p *ProjectGrant) OnError(event *models.Event, err error) error { logging.LogWithFields("SPOOL-is8wa", "id", event.AggregateID).WithError(err).Warn("something went wrong in granted projecthandler") return spooler.HandleError(event, err, p.view.GetLatestProjectGrantFailedEvent, p.view.ProcessedProjectGrantFailedEvent, p.view.ProcessedProjectGrantSequence, p.errorCountUntilSkip) } + \ No newline at end of file diff --git a/internal/policy/repository/eventsourcing/cache.go b/internal/policy/repository/eventsourcing/cache.go index 674b2e3f61..79aa96a221 100644 --- a/internal/policy/repository/eventsourcing/cache.go +++ b/internal/policy/repository/eventsourcing/cache.go @@ -13,7 +13,7 @@ type PolicyCache struct { func StartCache(conf *config.CacheConfig) (*PolicyCache, error) { policyCache, err := conf.Config.NewCache() - logging.Log("EVENT-vDneN").OnError(err).Panic("unable to create policy cache") + logging.Log("EVENT-L7ZcH").OnError(err).Panic("unable to create policy cache") return &PolicyCache{policyCache: policyCache}, nil } @@ -21,7 +21,7 @@ func StartCache(conf *config.CacheConfig) (*PolicyCache, error) { func (c *PolicyCache) getPolicy(id string) (policy *PasswordComplexityPolicy) { policy = &PasswordComplexityPolicy{ObjectRoot: models.ObjectRoot{AggregateID: id}} if err := c.policyCache.Get(id, policy); err != nil { - logging.Log("EVENT-4eTZh").WithError(err).Debug("error in getting cache") + logging.Log("EVENT-tkUue").WithError(err).Debug("error in getting cache") } return policy } @@ -29,6 +29,6 @@ func (c *PolicyCache) getPolicy(id string) (policy *PasswordComplexityPolicy) { func (c *PolicyCache) cachePolicy(policy *PasswordComplexityPolicy) { err := c.policyCache.Set(policy.AggregateID, policy) if err != nil { - logging.Log("EVENT-ThnBb").WithError(err).Debug("error in setting policy cache") + logging.Log("EVENT-DVcpF").WithError(err).Debug("error in setting policy cache") } } diff --git a/internal/project/repository/eventsourcing/cache.go b/internal/project/repository/eventsourcing/cache.go index 49a20f32e3..6bf29563b2 100644 --- a/internal/project/repository/eventsourcing/cache.go +++ b/internal/project/repository/eventsourcing/cache.go @@ -14,7 +14,7 @@ type ProjectCache struct { func StartCache(conf *config.CacheConfig) (*ProjectCache, error) { projectCache, err := conf.Config.NewCache() - logging.Log("EVENT-vDneN").OnError(err).Panic("unable to create project cache") + logging.Log("EVENT-CsHdo").OnError(err).Panic("unable to create project cache") return &ProjectCache{projectCache: projectCache}, nil } @@ -22,7 +22,7 @@ func StartCache(conf *config.CacheConfig) (*ProjectCache, error) { func (c *ProjectCache) getProject(ID string) (project *model.Project) { project = &model.Project{ObjectRoot: models.ObjectRoot{AggregateID: ID}} if err := c.projectCache.Get(ID, project); err != nil { - logging.Log("EVENT-4eTZh").WithError(err).Debug("error in getting cache") + logging.Log("EVENT-tMydV").WithError(err).Debug("error in getting cache") } return project } @@ -30,6 +30,6 @@ func (c *ProjectCache) getProject(ID string) (project *model.Project) { func (c *ProjectCache) cacheProject(project *model.Project) { err := c.projectCache.Set(project.AggregateID, project) if err != nil { - logging.Log("EVENT-ThnBb").WithError(err).Debug("error in setting project cache") + logging.Log("EVENT-3wKzj").WithError(err).Debug("error in setting project cache") } } diff --git a/internal/project/repository/view/project_grant_view.go b/internal/project/repository/view/project_grant_view.go index 84c3b7a3bd..6e637d1899 100644 --- a/internal/project/repository/view/project_grant_view.go +++ b/internal/project/repository/view/project_grant_view.go @@ -9,58 +9,51 @@ import ( ) func ProjectGrantByProjectAndOrg(db *gorm.DB, table, projectID, orgID string) (*model.ProjectGrantView, error) { - project := new(model.ProjectGrantView) + projectGrant := new(model.ProjectGrantView) projectIDQuery := model.ProjectGrantSearchQuery{Key: proj_model.GrantedProjectSearchKeyProjectID, Value: projectID, Method: global_model.SearchMethodEquals} orgIDQuery := model.ProjectGrantSearchQuery{Key: proj_model.GrantedProjectSearchKeyOrgID, Value: orgID, Method: global_model.SearchMethodEquals} query := repository.PrepareGetByQuery(table, projectIDQuery, orgIDQuery) - err := query(db, project) - return project, err + err := query(db, projectGrant) + return projectGrant, err } func ProjectGrantByID(db *gorm.DB, table, grantID string) (*model.ProjectGrantView, error) { - project := new(model.ProjectGrantView) + projectGrant := new(model.ProjectGrantView) grantIDQuery := model.ProjectGrantSearchQuery{Key: proj_model.GrantedProjectSearchKeyGrantID, Value: grantID, Method: global_model.SearchMethodEquals} query := repository.PrepareGetByQuery(table, grantIDQuery) - err := query(db, project) - return project, err + err := query(db, projectGrant) + return projectGrant, err } func ProjectGrantsByProjectID(db *gorm.DB, table, projectID string) ([]*model.ProjectGrantView, error) { - projects := make([]*model.ProjectGrantView, 0) + projectGrants := make([]*model.ProjectGrantView, 0) queries := []*proj_model.ProjectGrantViewSearchQuery{ - &proj_model.ProjectGrantViewSearchQuery{Key: proj_model.GrantedProjectSearchKeyProjectID, Value: projectID, Method: global_model.SearchMethodEquals}, + {Key: proj_model.GrantedProjectSearchKeyProjectID, Value: projectID, Method: global_model.SearchMethodEquals}, } query := repository.PrepareSearchQuery(table, model.ProjectGrantSearchRequest{Queries: queries}) - _, err := query(db, &projects) - if err != nil { - return nil, err - } - return projects, nil + _, err := query(db, &projectGrants) + return projectGrants, err } func ProjectGrantsByProjectIDAndRoleKey(db *gorm.DB, table, projectID, roleKey string) ([]*model.ProjectGrantView, error) { - projects := make([]*model.ProjectGrantView, 0) + projectGrants := make([]*model.ProjectGrantView, 0) queries := []*proj_model.ProjectGrantViewSearchQuery{ - &proj_model.ProjectGrantViewSearchQuery{Key: proj_model.GrantedProjectSearchKeyProjectID, Value: projectID, Method: global_model.SearchMethodEquals}, - &proj_model.ProjectGrantViewSearchQuery{Key: proj_model.GrantedProjectSearchKeyRoleKeys, Value: roleKey, Method: global_model.SearchMethodListContains}, + {Key: proj_model.GrantedProjectSearchKeyProjectID, Value: projectID, Method: global_model.SearchMethodEquals}, + {Key: proj_model.GrantedProjectSearchKeyRoleKeys, Value: roleKey, Method: global_model.SearchMethodListContains}, } query := repository.PrepareSearchQuery(table, model.ProjectGrantSearchRequest{Queries: queries}) - _, err := query(db, &projects) - if err != nil { - return nil, err - } - return projects, nil + _, err := query(db, &projectGrants) + + return projectGrants, err } func SearchProjectGrants(db *gorm.DB, table string, req *proj_model.ProjectGrantViewSearchRequest) ([]*model.ProjectGrantView, int, error) { - projects := make([]*model.ProjectGrantView, 0) + projectGrants := make([]*model.ProjectGrantView, 0) query := repository.PrepareSearchQuery(table, model.ProjectGrantSearchRequest{Limit: req.Limit, Offset: req.Offset, Queries: req.Queries}) - count, err := query(db, &projects) - if err != nil { - return nil, 0, err - } - return projects, count, nil + count, err := query(db, &projectGrants) + + return projectGrants, count, err } func PutProjectGrant(db *gorm.DB, table string, project *model.ProjectGrantView) error { diff --git a/internal/user/repository/eventsourcing/cache.go b/internal/user/repository/eventsourcing/cache.go index 727df5d991..9a20ad48ae 100644 --- a/internal/user/repository/eventsourcing/cache.go +++ b/internal/user/repository/eventsourcing/cache.go @@ -14,7 +14,7 @@ type UserCache struct { func StartCache(conf *config.CacheConfig) (*UserCache, error) { userCache, err := conf.Config.NewCache() - logging.Log("EVENT-vDneN").OnError(err).Panic("unable to create user cache") + logging.Log("EVENT-vJG2j").OnError(err).Panic("unable to create user cache") return &UserCache{userCache: userCache}, nil } @@ -22,7 +22,7 @@ func StartCache(conf *config.CacheConfig) (*UserCache, error) { func (c *UserCache) getUser(ID string) *model.User { user := &model.User{ObjectRoot: models.ObjectRoot{AggregateID: ID}} if err := c.userCache.Get(ID, user); err != nil { - logging.Log("EVENT-4eTZh").WithError(err).Debug("error in getting cache") + logging.Log("EVENT-AtS0S").WithError(err).Debug("error in getting cache") } return user } @@ -30,6 +30,6 @@ func (c *UserCache) getUser(ID string) *model.User { func (c *UserCache) cacheUser(user *model.User) { err := c.userCache.Set(user.AggregateID, user) if err != nil { - logging.Log("EVENT-ThnBb").WithError(err).Debug("error in setting project cache") + logging.Log("EVENT-0V2gX").WithError(err).Debug("error in setting project cache") } } diff --git a/internal/usergrant/repository/eventsourcing/cache.go b/internal/usergrant/repository/eventsourcing/cache.go index b0812f82a9..14d940d3c3 100644 --- a/internal/usergrant/repository/eventsourcing/cache.go +++ b/internal/usergrant/repository/eventsourcing/cache.go @@ -14,7 +14,7 @@ type UserGrantCache struct { func StartCache(conf *config.CacheConfig) (*UserGrantCache, error) { userGrantCache, err := conf.Config.NewCache() - logging.Log("EVENT-vDneN").OnError(err).Panic("unable to create user cache") + logging.Log("EVENT-8EhUZ").OnError(err).Panic("unable to create user grant cache") return &UserGrantCache{userGrantCache: userGrantCache}, nil } @@ -22,13 +22,13 @@ func StartCache(conf *config.CacheConfig) (*UserGrantCache, error) { func (c *UserGrantCache) getUserGrant(ID string) *model.UserGrant { user := &model.UserGrant{ObjectRoot: models.ObjectRoot{AggregateID: ID}} err := c.userGrantCache.Get(ID, user) - logging.Log("EVENT-4eTZh").OnError(err).Debug("error in getting cache") - + logging.Log("EVENT-QAd7T").OnError(err).Debug("error in getting cache") + return user } func (c *UserGrantCache) cacheUserGrant(grant *model.UserGrant) { err := c.userGrantCache.Set(grant.AggregateID, grant) - logging.Log("EVENT-ThnBb").OnError(err).Debug("error in setting project cache") + logging.Log("EVENT-w2KNQ").OnError(err).Debug("error in setting user grant cache") } diff --git a/internal/usergrant/repository/eventsourcing/user_grant.go b/internal/usergrant/repository/eventsourcing/user_grant.go index b8fe64f1c8..831ca5b259 100644 --- a/internal/usergrant/repository/eventsourcing/user_grant.go +++ b/internal/usergrant/repository/eventsourcing/user_grant.go @@ -2,6 +2,7 @@ package eventsourcing import ( "context" + "github.com/caos/zitadel/internal/api/auth" "github.com/caos/zitadel/internal/errors" es_models "github.com/caos/zitadel/internal/eventstore/models" @@ -209,10 +210,7 @@ func addUserGrantValidation(resourceOwner string, grant *model.UserGrant) func(. if !existsUser { return errors.ThrowPreconditionFailed(nil, "EVENT-Sl8uS", "user doesn't exist") } - if err := checkProjectConditions(resourceOwner, grant, project); err != nil { - return err - } - return nil + return checkProjectConditions(resourceOwner, grant, project) } } diff --git a/pkg/auth/api/grpc/auth.pb.authoptions.go b/pkg/auth/api/grpc/auth.pb.authoptions.go index a87e421b44..c5d6b62ab7 100644 --- a/pkg/auth/api/grpc/auth.pb.authoptions.go +++ b/pkg/auth/api/grpc/auth.pb.authoptions.go @@ -80,6 +80,11 @@ var AuthService_AuthMethods = utils_auth.MethodMapping{ CheckParam: "", }, + "/caos.zitadel.auth.api.v1.AuthService/GetMyUserChanges": utils_auth.Option{ + Permission: "authenticated", + CheckParam: "", + }, + "/caos.zitadel.auth.api.v1.AuthService/UpdateMyUserAddress": utils_auth.Option{ Permission: "authenticated", CheckParam: "", diff --git a/pkg/auth/api/grpc/auth.pb.go b/pkg/auth/api/grpc/auth.pb.go index 3b69e41cd0..9a77e2445c 100644 --- a/pkg/auth/api/grpc/auth.pb.go +++ b/pkg/auth/api/grpc/auth.pb.go @@ -1,13 +1,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.20.1 -// protoc v3.11.3 // source: auth.proto package grpc import ( context "context" + fmt "fmt" _ "github.com/caos/zitadel/internal/protoc/protoc-gen-authoption/authoption" _ "github.com/envoyproxy/protoc-gen-validate/validate" proto "github.com/golang/protobuf/proto" @@ -19,22 +17,19 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type UserSessionState int32 @@ -44,45 +39,24 @@ const ( UserSessionState_USERSESSIONSTATE_TERMINATED UserSessionState = 2 ) -// Enum value maps for UserSessionState. -var ( - UserSessionState_name = map[int32]string{ - 0: "USERSESSIONSTATE_UNSPECIFIED", - 1: "USERSESSIONSTATE_ACTIVE", - 2: "USERSESSIONSTATE_TERMINATED", - } - UserSessionState_value = map[string]int32{ - "USERSESSIONSTATE_UNSPECIFIED": 0, - "USERSESSIONSTATE_ACTIVE": 1, - "USERSESSIONSTATE_TERMINATED": 2, - } -) +var UserSessionState_name = map[int32]string{ + 0: "USERSESSIONSTATE_UNSPECIFIED", + 1: "USERSESSIONSTATE_ACTIVE", + 2: "USERSESSIONSTATE_TERMINATED", +} -func (x UserSessionState) Enum() *UserSessionState { - p := new(UserSessionState) - *p = x - return p +var UserSessionState_value = map[string]int32{ + "USERSESSIONSTATE_UNSPECIFIED": 0, + "USERSESSIONSTATE_ACTIVE": 1, + "USERSESSIONSTATE_TERMINATED": 2, } func (x UserSessionState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(UserSessionState_name, int32(x)) } -func (UserSessionState) Descriptor() protoreflect.EnumDescriptor { - return file_auth_proto_enumTypes[0].Descriptor() -} - -func (UserSessionState) Type() protoreflect.EnumType { - return &file_auth_proto_enumTypes[0] -} - -func (x UserSessionState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use UserSessionState.Descriptor instead. func (UserSessionState) EnumDescriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{0} + return fileDescriptor_8bbd6f3875b0e874, []int{0} } type OIDCResponseType int32 @@ -93,45 +67,24 @@ const ( OIDCResponseType_OIDCRESPONSETYPE_ID_TOKEN_TOKEN OIDCResponseType = 2 ) -// Enum value maps for OIDCResponseType. -var ( - OIDCResponseType_name = map[int32]string{ - 0: "OIDCRESPONSETYPE_CODE", - 1: "OIDCRESPONSETYPE_ID_TOKEN", - 2: "OIDCRESPONSETYPE_ID_TOKEN_TOKEN", - } - OIDCResponseType_value = map[string]int32{ - "OIDCRESPONSETYPE_CODE": 0, - "OIDCRESPONSETYPE_ID_TOKEN": 1, - "OIDCRESPONSETYPE_ID_TOKEN_TOKEN": 2, - } -) +var OIDCResponseType_name = map[int32]string{ + 0: "OIDCRESPONSETYPE_CODE", + 1: "OIDCRESPONSETYPE_ID_TOKEN", + 2: "OIDCRESPONSETYPE_ID_TOKEN_TOKEN", +} -func (x OIDCResponseType) Enum() *OIDCResponseType { - p := new(OIDCResponseType) - *p = x - return p +var OIDCResponseType_value = map[string]int32{ + "OIDCRESPONSETYPE_CODE": 0, + "OIDCRESPONSETYPE_ID_TOKEN": 1, + "OIDCRESPONSETYPE_ID_TOKEN_TOKEN": 2, } func (x OIDCResponseType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(OIDCResponseType_name, int32(x)) } -func (OIDCResponseType) Descriptor() protoreflect.EnumDescriptor { - return file_auth_proto_enumTypes[1].Descriptor() -} - -func (OIDCResponseType) Type() protoreflect.EnumType { - return &file_auth_proto_enumTypes[1] -} - -func (x OIDCResponseType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use OIDCResponseType.Descriptor instead. func (OIDCResponseType) EnumDescriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{1} + return fileDescriptor_8bbd6f3875b0e874, []int{1} } type UserState int32 @@ -146,53 +99,32 @@ const ( UserState_USERSTATE_INITIAL UserState = 6 ) -// Enum value maps for UserState. -var ( - UserState_name = map[int32]string{ - 0: "USERSTATE_UNSPECIFIED", - 1: "USERSTATE_ACTIVE", - 2: "USERSTATE_INACTIVE", - 3: "USERSTATE_DELETED", - 4: "USERSTATE_LOCKED", - 5: "USERSTATE_SUSPEND", - 6: "USERSTATE_INITIAL", - } - UserState_value = map[string]int32{ - "USERSTATE_UNSPECIFIED": 0, - "USERSTATE_ACTIVE": 1, - "USERSTATE_INACTIVE": 2, - "USERSTATE_DELETED": 3, - "USERSTATE_LOCKED": 4, - "USERSTATE_SUSPEND": 5, - "USERSTATE_INITIAL": 6, - } -) +var UserState_name = map[int32]string{ + 0: "USERSTATE_UNSPECIFIED", + 1: "USERSTATE_ACTIVE", + 2: "USERSTATE_INACTIVE", + 3: "USERSTATE_DELETED", + 4: "USERSTATE_LOCKED", + 5: "USERSTATE_SUSPEND", + 6: "USERSTATE_INITIAL", +} -func (x UserState) Enum() *UserState { - p := new(UserState) - *p = x - return p +var UserState_value = map[string]int32{ + "USERSTATE_UNSPECIFIED": 0, + "USERSTATE_ACTIVE": 1, + "USERSTATE_INACTIVE": 2, + "USERSTATE_DELETED": 3, + "USERSTATE_LOCKED": 4, + "USERSTATE_SUSPEND": 5, + "USERSTATE_INITIAL": 6, } func (x UserState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(UserState_name, int32(x)) } -func (UserState) Descriptor() protoreflect.EnumDescriptor { - return file_auth_proto_enumTypes[2].Descriptor() -} - -func (UserState) Type() protoreflect.EnumType { - return &file_auth_proto_enumTypes[2] -} - -func (x UserState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use UserState.Descriptor instead. func (UserState) EnumDescriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{2} + return fileDescriptor_8bbd6f3875b0e874, []int{2} } type Gender int32 @@ -204,47 +136,26 @@ const ( Gender_GENDER_DIVERSE Gender = 3 ) -// Enum value maps for Gender. -var ( - Gender_name = map[int32]string{ - 0: "GENDER_UNSPECIFIED", - 1: "GENDER_FEMALE", - 2: "GENDER_MALE", - 3: "GENDER_DIVERSE", - } - Gender_value = map[string]int32{ - "GENDER_UNSPECIFIED": 0, - "GENDER_FEMALE": 1, - "GENDER_MALE": 2, - "GENDER_DIVERSE": 3, - } -) +var Gender_name = map[int32]string{ + 0: "GENDER_UNSPECIFIED", + 1: "GENDER_FEMALE", + 2: "GENDER_MALE", + 3: "GENDER_DIVERSE", +} -func (x Gender) Enum() *Gender { - p := new(Gender) - *p = x - return p +var Gender_value = map[string]int32{ + "GENDER_UNSPECIFIED": 0, + "GENDER_FEMALE": 1, + "GENDER_MALE": 2, + "GENDER_DIVERSE": 3, } func (x Gender) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(Gender_name, int32(x)) } -func (Gender) Descriptor() protoreflect.EnumDescriptor { - return file_auth_proto_enumTypes[3].Descriptor() -} - -func (Gender) Type() protoreflect.EnumType { - return &file_auth_proto_enumTypes[3] -} - -func (x Gender) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Gender.Descriptor instead. func (Gender) EnumDescriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{3} + return fileDescriptor_8bbd6f3875b0e874, []int{3} } type MfaType int32 @@ -255,45 +166,24 @@ const ( MfaType_MFATYPE_OTP MfaType = 2 ) -// Enum value maps for MfaType. -var ( - MfaType_name = map[int32]string{ - 0: "MFATYPE_UNSPECIFIED", - 1: "MFATYPE_SMS", - 2: "MFATYPE_OTP", - } - MfaType_value = map[string]int32{ - "MFATYPE_UNSPECIFIED": 0, - "MFATYPE_SMS": 1, - "MFATYPE_OTP": 2, - } -) +var MfaType_name = map[int32]string{ + 0: "MFATYPE_UNSPECIFIED", + 1: "MFATYPE_SMS", + 2: "MFATYPE_OTP", +} -func (x MfaType) Enum() *MfaType { - p := new(MfaType) - *p = x - return p +var MfaType_value = map[string]int32{ + "MFATYPE_UNSPECIFIED": 0, + "MFATYPE_SMS": 1, + "MFATYPE_OTP": 2, } func (x MfaType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(MfaType_name, int32(x)) } -func (MfaType) Descriptor() protoreflect.EnumDescriptor { - return file_auth_proto_enumTypes[4].Descriptor() -} - -func (MfaType) Type() protoreflect.EnumType { - return &file_auth_proto_enumTypes[4] -} - -func (x MfaType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MfaType.Descriptor instead. func (MfaType) EnumDescriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{4} + return fileDescriptor_8bbd6f3875b0e874, []int{4} } type MFAState int32 @@ -305,47 +195,26 @@ const ( MFAState_MFASTATE_REMOVED MFAState = 3 ) -// Enum value maps for MFAState. -var ( - MFAState_name = map[int32]string{ - 0: "MFASTATE_UNSPECIFIED", - 1: "MFASTATE_NOT_READY", - 2: "MFASTATE_READY", - 3: "MFASTATE_REMOVED", - } - MFAState_value = map[string]int32{ - "MFASTATE_UNSPECIFIED": 0, - "MFASTATE_NOT_READY": 1, - "MFASTATE_READY": 2, - "MFASTATE_REMOVED": 3, - } -) +var MFAState_name = map[int32]string{ + 0: "MFASTATE_UNSPECIFIED", + 1: "MFASTATE_NOT_READY", + 2: "MFASTATE_READY", + 3: "MFASTATE_REMOVED", +} -func (x MFAState) Enum() *MFAState { - p := new(MFAState) - *p = x - return p +var MFAState_value = map[string]int32{ + "MFASTATE_UNSPECIFIED": 0, + "MFASTATE_NOT_READY": 1, + "MFASTATE_READY": 2, + "MFASTATE_REMOVED": 3, } func (x MFAState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(MFAState_name, int32(x)) } -func (MFAState) Descriptor() protoreflect.EnumDescriptor { - return file_auth_proto_enumTypes[5].Descriptor() -} - -func (MFAState) Type() protoreflect.EnumType { - return &file_auth_proto_enumTypes[5] -} - -func (x MFAState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MFAState.Descriptor instead. func (MFAState) EnumDescriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{5} + return fileDescriptor_8bbd6f3875b0e874, []int{5} } type UserGrantSearchKey int32 @@ -356,45 +225,24 @@ const ( UserGrantSearchKey_UserGrantSearchKey_PROJECT_ID UserGrantSearchKey = 2 ) -// Enum value maps for UserGrantSearchKey. -var ( - UserGrantSearchKey_name = map[int32]string{ - 0: "UserGrantSearchKey_UNKNOWN", - 1: "UserGrantSearchKey_ORG_ID", - 2: "UserGrantSearchKey_PROJECT_ID", - } - UserGrantSearchKey_value = map[string]int32{ - "UserGrantSearchKey_UNKNOWN": 0, - "UserGrantSearchKey_ORG_ID": 1, - "UserGrantSearchKey_PROJECT_ID": 2, - } -) +var UserGrantSearchKey_name = map[int32]string{ + 0: "UserGrantSearchKey_UNKNOWN", + 1: "UserGrantSearchKey_ORG_ID", + 2: "UserGrantSearchKey_PROJECT_ID", +} -func (x UserGrantSearchKey) Enum() *UserGrantSearchKey { - p := new(UserGrantSearchKey) - *p = x - return p +var UserGrantSearchKey_value = map[string]int32{ + "UserGrantSearchKey_UNKNOWN": 0, + "UserGrantSearchKey_ORG_ID": 1, + "UserGrantSearchKey_PROJECT_ID": 2, } func (x UserGrantSearchKey) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(UserGrantSearchKey_name, int32(x)) } -func (UserGrantSearchKey) Descriptor() protoreflect.EnumDescriptor { - return file_auth_proto_enumTypes[6].Descriptor() -} - -func (UserGrantSearchKey) Type() protoreflect.EnumType { - return &file_auth_proto_enumTypes[6] -} - -func (x UserGrantSearchKey) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use UserGrantSearchKey.Descriptor instead. func (UserGrantSearchKey) EnumDescriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{6} + return fileDescriptor_8bbd6f3875b0e874, []int{6} } type MyProjectOrgSearchKey int32 @@ -404,43 +252,22 @@ const ( MyProjectOrgSearchKey_MYPROJECTORGSEARCHKEY_ORG_NAME MyProjectOrgSearchKey = 1 ) -// Enum value maps for MyProjectOrgSearchKey. -var ( - MyProjectOrgSearchKey_name = map[int32]string{ - 0: "MYPROJECTORGSEARCHKEY_UNSPECIFIED", - 1: "MYPROJECTORGSEARCHKEY_ORG_NAME", - } - MyProjectOrgSearchKey_value = map[string]int32{ - "MYPROJECTORGSEARCHKEY_UNSPECIFIED": 0, - "MYPROJECTORGSEARCHKEY_ORG_NAME": 1, - } -) +var MyProjectOrgSearchKey_name = map[int32]string{ + 0: "MYPROJECTORGSEARCHKEY_UNSPECIFIED", + 1: "MYPROJECTORGSEARCHKEY_ORG_NAME", +} -func (x MyProjectOrgSearchKey) Enum() *MyProjectOrgSearchKey { - p := new(MyProjectOrgSearchKey) - *p = x - return p +var MyProjectOrgSearchKey_value = map[string]int32{ + "MYPROJECTORGSEARCHKEY_UNSPECIFIED": 0, + "MYPROJECTORGSEARCHKEY_ORG_NAME": 1, } func (x MyProjectOrgSearchKey) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(MyProjectOrgSearchKey_name, int32(x)) } -func (MyProjectOrgSearchKey) Descriptor() protoreflect.EnumDescriptor { - return file_auth_proto_enumTypes[7].Descriptor() -} - -func (MyProjectOrgSearchKey) Type() protoreflect.EnumType { - return &file_auth_proto_enumTypes[7] -} - -func (x MyProjectOrgSearchKey) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MyProjectOrgSearchKey.Descriptor instead. func (MyProjectOrgSearchKey) EnumDescriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{7} + return fileDescriptor_8bbd6f3875b0e874, []int{7} } type SearchMethod int32 @@ -454,4090 +281,2872 @@ const ( SearchMethod_SEARCHMETHOD_CONTAINS_IGNORE_CASE SearchMethod = 5 ) -// Enum value maps for SearchMethod. -var ( - SearchMethod_name = map[int32]string{ - 0: "SEARCHMETHOD_EQUALS", - 1: "SEARCHMETHOD_STARTS_WITH", - 2: "SEARCHMETHOD_CONTAINS", - 3: "SEARCHMETHOD_EQUALS_IGNORE_CASE", - 4: "SEARCHMETHOD_STARTS_WITH_IGNORE_CASE", - 5: "SEARCHMETHOD_CONTAINS_IGNORE_CASE", - } - SearchMethod_value = map[string]int32{ - "SEARCHMETHOD_EQUALS": 0, - "SEARCHMETHOD_STARTS_WITH": 1, - "SEARCHMETHOD_CONTAINS": 2, - "SEARCHMETHOD_EQUALS_IGNORE_CASE": 3, - "SEARCHMETHOD_STARTS_WITH_IGNORE_CASE": 4, - "SEARCHMETHOD_CONTAINS_IGNORE_CASE": 5, - } -) +var SearchMethod_name = map[int32]string{ + 0: "SEARCHMETHOD_EQUALS", + 1: "SEARCHMETHOD_STARTS_WITH", + 2: "SEARCHMETHOD_CONTAINS", + 3: "SEARCHMETHOD_EQUALS_IGNORE_CASE", + 4: "SEARCHMETHOD_STARTS_WITH_IGNORE_CASE", + 5: "SEARCHMETHOD_CONTAINS_IGNORE_CASE", +} -func (x SearchMethod) Enum() *SearchMethod { - p := new(SearchMethod) - *p = x - return p +var SearchMethod_value = map[string]int32{ + "SEARCHMETHOD_EQUALS": 0, + "SEARCHMETHOD_STARTS_WITH": 1, + "SEARCHMETHOD_CONTAINS": 2, + "SEARCHMETHOD_EQUALS_IGNORE_CASE": 3, + "SEARCHMETHOD_STARTS_WITH_IGNORE_CASE": 4, + "SEARCHMETHOD_CONTAINS_IGNORE_CASE": 5, } func (x SearchMethod) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(SearchMethod_name, int32(x)) } -func (SearchMethod) Descriptor() protoreflect.EnumDescriptor { - return file_auth_proto_enumTypes[8].Descriptor() -} - -func (SearchMethod) Type() protoreflect.EnumType { - return &file_auth_proto_enumTypes[8] -} - -func (x SearchMethod) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SearchMethod.Descriptor instead. func (SearchMethod) EnumDescriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{8} + return fileDescriptor_8bbd6f3875b0e874, []int{8} } type UserSessionViews struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserSessions []*UserSessionView `protobuf:"bytes,1,rep,name=user_sessions,json=userSessions,proto3" json:"user_sessions,omitempty"` + UserSessions []*UserSessionView `protobuf:"bytes,1,rep,name=user_sessions,json=userSessions,proto3" json:"user_sessions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserSessionViews) Reset() { - *x = UserSessionViews{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserSessionViews) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserSessionViews) ProtoMessage() {} - -func (x *UserSessionViews) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserSessionViews.ProtoReflect.Descriptor instead. +func (m *UserSessionViews) Reset() { *m = UserSessionViews{} } +func (m *UserSessionViews) String() string { return proto.CompactTextString(m) } +func (*UserSessionViews) ProtoMessage() {} func (*UserSessionViews) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{0} + return fileDescriptor_8bbd6f3875b0e874, []int{0} } -func (x *UserSessionViews) GetUserSessions() []*UserSessionView { - if x != nil { - return x.UserSessions +func (m *UserSessionViews) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserSessionViews.Unmarshal(m, b) +} +func (m *UserSessionViews) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserSessionViews.Marshal(b, m, deterministic) +} +func (m *UserSessionViews) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserSessionViews.Merge(m, src) +} +func (m *UserSessionViews) XXX_Size() int { + return xxx_messageInfo_UserSessionViews.Size(m) +} +func (m *UserSessionViews) XXX_DiscardUnknown() { + xxx_messageInfo_UserSessionViews.DiscardUnknown(m) +} + +var xxx_messageInfo_UserSessionViews proto.InternalMessageInfo + +func (m *UserSessionViews) GetUserSessions() []*UserSessionView { + if m != nil { + return m.UserSessions } return nil } type UserSessionView struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - AuthState UserSessionState `protobuf:"varint,3,opt,name=auth_state,json=authState,proto3,enum=caos.zitadel.auth.api.v1.UserSessionState" json:"auth_state,omitempty"` - UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - UserName string `protobuf:"bytes,5,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` - Sequence uint64 `protobuf:"varint,6,opt,name=sequence,proto3" json:"sequence,omitempty"` - LoginName string `protobuf:"bytes,7,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` - DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + AuthState UserSessionState `protobuf:"varint,3,opt,name=auth_state,json=authState,proto3,enum=caos.zitadel.auth.api.v1.UserSessionState" json:"auth_state,omitempty"` + UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + UserName string `protobuf:"bytes,5,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + Sequence uint64 `protobuf:"varint,6,opt,name=sequence,proto3" json:"sequence,omitempty"` + LoginName string `protobuf:"bytes,7,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` + DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserSessionView) Reset() { - *x = UserSessionView{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserSessionView) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserSessionView) ProtoMessage() {} - -func (x *UserSessionView) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserSessionView.ProtoReflect.Descriptor instead. +func (m *UserSessionView) Reset() { *m = UserSessionView{} } +func (m *UserSessionView) String() string { return proto.CompactTextString(m) } +func (*UserSessionView) ProtoMessage() {} func (*UserSessionView) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{1} + return fileDescriptor_8bbd6f3875b0e874, []int{1} } -func (x *UserSessionView) GetId() string { - if x != nil { - return x.Id +func (m *UserSessionView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserSessionView.Unmarshal(m, b) +} +func (m *UserSessionView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserSessionView.Marshal(b, m, deterministic) +} +func (m *UserSessionView) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserSessionView.Merge(m, src) +} +func (m *UserSessionView) XXX_Size() int { + return xxx_messageInfo_UserSessionView.Size(m) +} +func (m *UserSessionView) XXX_DiscardUnknown() { + xxx_messageInfo_UserSessionView.DiscardUnknown(m) +} + +var xxx_messageInfo_UserSessionView proto.InternalMessageInfo + +func (m *UserSessionView) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *UserSessionView) GetAgentId() string { - if x != nil { - return x.AgentId +func (m *UserSessionView) GetAgentId() string { + if m != nil { + return m.AgentId } return "" } -func (x *UserSessionView) GetAuthState() UserSessionState { - if x != nil { - return x.AuthState +func (m *UserSessionView) GetAuthState() UserSessionState { + if m != nil { + return m.AuthState } return UserSessionState_USERSESSIONSTATE_UNSPECIFIED } -func (x *UserSessionView) GetUserId() string { - if x != nil { - return x.UserId +func (m *UserSessionView) GetUserId() string { + if m != nil { + return m.UserId } return "" } -func (x *UserSessionView) GetUserName() string { - if x != nil { - return x.UserName +func (m *UserSessionView) GetUserName() string { + if m != nil { + return m.UserName } return "" } -func (x *UserSessionView) GetSequence() uint64 { - if x != nil { - return x.Sequence +func (m *UserSessionView) GetSequence() uint64 { + if m != nil { + return m.Sequence } return 0 } -func (x *UserSessionView) GetLoginName() string { - if x != nil { - return x.LoginName +func (m *UserSessionView) GetLoginName() string { + if m != nil { + return m.LoginName } return "" } -func (x *UserSessionView) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *UserSessionView) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } type UserView struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - State UserState `protobuf:"varint,2,opt,name=state,proto3,enum=caos.zitadel.auth.api.v1.UserState" json:"state,omitempty"` - CreationDate *timestamp.Timestamp `protobuf:"bytes,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` - ChangeDate *timestamp.Timestamp `protobuf:"bytes,4,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` - LastLogin *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"` - PasswordChanged *timestamp.Timestamp `protobuf:"bytes,6,opt,name=password_changed,json=passwordChanged,proto3" json:"password_changed,omitempty"` - UserName string `protobuf:"bytes,7,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` - FirstName string `protobuf:"bytes,8,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` - LastName string `protobuf:"bytes,9,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` - DisplayName string `protobuf:"bytes,10,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - NickName string `protobuf:"bytes,11,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` - PreferredLanguage string `protobuf:"bytes,12,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"` - Gender Gender `protobuf:"varint,13,opt,name=gender,proto3,enum=caos.zitadel.auth.api.v1.Gender" json:"gender,omitempty"` - Email string `protobuf:"bytes,14,opt,name=email,proto3" json:"email,omitempty"` - IsEmailVerified bool `protobuf:"varint,15,opt,name=is_email_verified,json=isEmailVerified,proto3" json:"is_email_verified,omitempty"` - Phone string `protobuf:"bytes,16,opt,name=phone,proto3" json:"phone,omitempty"` - IsPhoneVerified bool `protobuf:"varint,17,opt,name=is_phone_verified,json=isPhoneVerified,proto3" json:"is_phone_verified,omitempty"` - Country string `protobuf:"bytes,18,opt,name=country,proto3" json:"country,omitempty"` - Locality string `protobuf:"bytes,19,opt,name=locality,proto3" json:"locality,omitempty"` - PostalCode string `protobuf:"bytes,20,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` - Region string `protobuf:"bytes,21,opt,name=region,proto3" json:"region,omitempty"` - StreetAddress string `protobuf:"bytes,22,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` - Sequence uint64 `protobuf:"varint,23,opt,name=sequence,proto3" json:"sequence,omitempty"` - ResourceOwner string `protobuf:"bytes,24,opt,name=resource_owner,json=resourceOwner,proto3" json:"resource_owner,omitempty"` - LoginNames []string `protobuf:"bytes,25,rep,name=login_names,json=loginNames,proto3" json:"login_names,omitempty"` - PreferredLoginName string `protobuf:"bytes,26,opt,name=preferred_login_name,json=preferredLoginName,proto3" json:"preferred_login_name,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + State UserState `protobuf:"varint,2,opt,name=state,proto3,enum=caos.zitadel.auth.api.v1.UserState" json:"state,omitempty"` + CreationDate *timestamp.Timestamp `protobuf:"bytes,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` + ChangeDate *timestamp.Timestamp `protobuf:"bytes,4,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + LastLogin *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"` + PasswordChanged *timestamp.Timestamp `protobuf:"bytes,6,opt,name=password_changed,json=passwordChanged,proto3" json:"password_changed,omitempty"` + UserName string `protobuf:"bytes,7,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + FirstName string `protobuf:"bytes,8,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` + LastName string `protobuf:"bytes,9,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` + DisplayName string `protobuf:"bytes,10,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + NickName string `protobuf:"bytes,11,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` + PreferredLanguage string `protobuf:"bytes,12,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"` + Gender Gender `protobuf:"varint,13,opt,name=gender,proto3,enum=caos.zitadel.auth.api.v1.Gender" json:"gender,omitempty"` + Email string `protobuf:"bytes,14,opt,name=email,proto3" json:"email,omitempty"` + IsEmailVerified bool `protobuf:"varint,15,opt,name=is_email_verified,json=isEmailVerified,proto3" json:"is_email_verified,omitempty"` + Phone string `protobuf:"bytes,16,opt,name=phone,proto3" json:"phone,omitempty"` + IsPhoneVerified bool `protobuf:"varint,17,opt,name=is_phone_verified,json=isPhoneVerified,proto3" json:"is_phone_verified,omitempty"` + Country string `protobuf:"bytes,18,opt,name=country,proto3" json:"country,omitempty"` + Locality string `protobuf:"bytes,19,opt,name=locality,proto3" json:"locality,omitempty"` + PostalCode string `protobuf:"bytes,20,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` + Region string `protobuf:"bytes,21,opt,name=region,proto3" json:"region,omitempty"` + StreetAddress string `protobuf:"bytes,22,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` + Sequence uint64 `protobuf:"varint,23,opt,name=sequence,proto3" json:"sequence,omitempty"` + ResourceOwner string `protobuf:"bytes,24,opt,name=resource_owner,json=resourceOwner,proto3" json:"resource_owner,omitempty"` + LoginNames []string `protobuf:"bytes,25,rep,name=login_names,json=loginNames,proto3" json:"login_names,omitempty"` + PreferredLoginName string `protobuf:"bytes,26,opt,name=preferred_login_name,json=preferredLoginName,proto3" json:"preferred_login_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserView) Reset() { - *x = UserView{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserView) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserView) ProtoMessage() {} - -func (x *UserView) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserView.ProtoReflect.Descriptor instead. +func (m *UserView) Reset() { *m = UserView{} } +func (m *UserView) String() string { return proto.CompactTextString(m) } +func (*UserView) ProtoMessage() {} func (*UserView) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{2} + return fileDescriptor_8bbd6f3875b0e874, []int{2} } -func (x *UserView) GetId() string { - if x != nil { - return x.Id +func (m *UserView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserView.Unmarshal(m, b) +} +func (m *UserView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserView.Marshal(b, m, deterministic) +} +func (m *UserView) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserView.Merge(m, src) +} +func (m *UserView) XXX_Size() int { + return xxx_messageInfo_UserView.Size(m) +} +func (m *UserView) XXX_DiscardUnknown() { + xxx_messageInfo_UserView.DiscardUnknown(m) +} + +var xxx_messageInfo_UserView proto.InternalMessageInfo + +func (m *UserView) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *UserView) GetState() UserState { - if x != nil { - return x.State +func (m *UserView) GetState() UserState { + if m != nil { + return m.State } return UserState_USERSTATE_UNSPECIFIED } -func (x *UserView) GetCreationDate() *timestamp.Timestamp { - if x != nil { - return x.CreationDate +func (m *UserView) GetCreationDate() *timestamp.Timestamp { + if m != nil { + return m.CreationDate } return nil } -func (x *UserView) GetChangeDate() *timestamp.Timestamp { - if x != nil { - return x.ChangeDate +func (m *UserView) GetChangeDate() *timestamp.Timestamp { + if m != nil { + return m.ChangeDate } return nil } -func (x *UserView) GetLastLogin() *timestamp.Timestamp { - if x != nil { - return x.LastLogin +func (m *UserView) GetLastLogin() *timestamp.Timestamp { + if m != nil { + return m.LastLogin } return nil } -func (x *UserView) GetPasswordChanged() *timestamp.Timestamp { - if x != nil { - return x.PasswordChanged +func (m *UserView) GetPasswordChanged() *timestamp.Timestamp { + if m != nil { + return m.PasswordChanged } return nil } -func (x *UserView) GetUserName() string { - if x != nil { - return x.UserName +func (m *UserView) GetUserName() string { + if m != nil { + return m.UserName } return "" } -func (x *UserView) GetFirstName() string { - if x != nil { - return x.FirstName +func (m *UserView) GetFirstName() string { + if m != nil { + return m.FirstName } return "" } -func (x *UserView) GetLastName() string { - if x != nil { - return x.LastName +func (m *UserView) GetLastName() string { + if m != nil { + return m.LastName } return "" } -func (x *UserView) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *UserView) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *UserView) GetNickName() string { - if x != nil { - return x.NickName +func (m *UserView) GetNickName() string { + if m != nil { + return m.NickName } return "" } -func (x *UserView) GetPreferredLanguage() string { - if x != nil { - return x.PreferredLanguage +func (m *UserView) GetPreferredLanguage() string { + if m != nil { + return m.PreferredLanguage } return "" } -func (x *UserView) GetGender() Gender { - if x != nil { - return x.Gender +func (m *UserView) GetGender() Gender { + if m != nil { + return m.Gender } return Gender_GENDER_UNSPECIFIED } -func (x *UserView) GetEmail() string { - if x != nil { - return x.Email +func (m *UserView) GetEmail() string { + if m != nil { + return m.Email } return "" } -func (x *UserView) GetIsEmailVerified() bool { - if x != nil { - return x.IsEmailVerified +func (m *UserView) GetIsEmailVerified() bool { + if m != nil { + return m.IsEmailVerified } return false } -func (x *UserView) GetPhone() string { - if x != nil { - return x.Phone +func (m *UserView) GetPhone() string { + if m != nil { + return m.Phone } return "" } -func (x *UserView) GetIsPhoneVerified() bool { - if x != nil { - return x.IsPhoneVerified +func (m *UserView) GetIsPhoneVerified() bool { + if m != nil { + return m.IsPhoneVerified } return false } -func (x *UserView) GetCountry() string { - if x != nil { - return x.Country +func (m *UserView) GetCountry() string { + if m != nil { + return m.Country } return "" } -func (x *UserView) GetLocality() string { - if x != nil { - return x.Locality +func (m *UserView) GetLocality() string { + if m != nil { + return m.Locality } return "" } -func (x *UserView) GetPostalCode() string { - if x != nil { - return x.PostalCode +func (m *UserView) GetPostalCode() string { + if m != nil { + return m.PostalCode } return "" } -func (x *UserView) GetRegion() string { - if x != nil { - return x.Region +func (m *UserView) GetRegion() string { + if m != nil { + return m.Region } return "" } -func (x *UserView) GetStreetAddress() string { - if x != nil { - return x.StreetAddress +func (m *UserView) GetStreetAddress() string { + if m != nil { + return m.StreetAddress } return "" } -func (x *UserView) GetSequence() uint64 { - if x != nil { - return x.Sequence +func (m *UserView) GetSequence() uint64 { + if m != nil { + return m.Sequence } return 0 } -func (x *UserView) GetResourceOwner() string { - if x != nil { - return x.ResourceOwner +func (m *UserView) GetResourceOwner() string { + if m != nil { + return m.ResourceOwner } return "" } -func (x *UserView) GetLoginNames() []string { - if x != nil { - return x.LoginNames +func (m *UserView) GetLoginNames() []string { + if m != nil { + return m.LoginNames } return nil } -func (x *UserView) GetPreferredLoginName() string { - if x != nil { - return x.PreferredLoginName +func (m *UserView) GetPreferredLoginName() string { + if m != nil { + return m.PreferredLoginName } return "" } type UserProfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` - FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` - LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` - NickName string `protobuf:"bytes,5,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` - DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - PreferredLanguage string `protobuf:"bytes,7,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"` - Gender Gender `protobuf:"varint,8,opt,name=gender,proto3,enum=caos.zitadel.auth.api.v1.Gender" json:"gender,omitempty"` - Sequence uint64 `protobuf:"varint,9,opt,name=sequence,proto3" json:"sequence,omitempty"` - CreationDate *timestamp.Timestamp `protobuf:"bytes,10,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` - ChangeDate *timestamp.Timestamp `protobuf:"bytes,11,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` + LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` + NickName string `protobuf:"bytes,5,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` + DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + PreferredLanguage string `protobuf:"bytes,7,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"` + Gender Gender `protobuf:"varint,8,opt,name=gender,proto3,enum=caos.zitadel.auth.api.v1.Gender" json:"gender,omitempty"` + Sequence uint64 `protobuf:"varint,9,opt,name=sequence,proto3" json:"sequence,omitempty"` + CreationDate *timestamp.Timestamp `protobuf:"bytes,10,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` + ChangeDate *timestamp.Timestamp `protobuf:"bytes,11,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserProfile) Reset() { - *x = UserProfile{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserProfile) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserProfile) ProtoMessage() {} - -func (x *UserProfile) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserProfile.ProtoReflect.Descriptor instead. +func (m *UserProfile) Reset() { *m = UserProfile{} } +func (m *UserProfile) String() string { return proto.CompactTextString(m) } +func (*UserProfile) ProtoMessage() {} func (*UserProfile) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{3} + return fileDescriptor_8bbd6f3875b0e874, []int{3} } -func (x *UserProfile) GetId() string { - if x != nil { - return x.Id +func (m *UserProfile) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserProfile.Unmarshal(m, b) +} +func (m *UserProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserProfile.Marshal(b, m, deterministic) +} +func (m *UserProfile) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserProfile.Merge(m, src) +} +func (m *UserProfile) XXX_Size() int { + return xxx_messageInfo_UserProfile.Size(m) +} +func (m *UserProfile) XXX_DiscardUnknown() { + xxx_messageInfo_UserProfile.DiscardUnknown(m) +} + +var xxx_messageInfo_UserProfile proto.InternalMessageInfo + +func (m *UserProfile) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *UserProfile) GetUserName() string { - if x != nil { - return x.UserName +func (m *UserProfile) GetUserName() string { + if m != nil { + return m.UserName } return "" } -func (x *UserProfile) GetFirstName() string { - if x != nil { - return x.FirstName +func (m *UserProfile) GetFirstName() string { + if m != nil { + return m.FirstName } return "" } -func (x *UserProfile) GetLastName() string { - if x != nil { - return x.LastName +func (m *UserProfile) GetLastName() string { + if m != nil { + return m.LastName } return "" } -func (x *UserProfile) GetNickName() string { - if x != nil { - return x.NickName +func (m *UserProfile) GetNickName() string { + if m != nil { + return m.NickName } return "" } -func (x *UserProfile) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *UserProfile) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *UserProfile) GetPreferredLanguage() string { - if x != nil { - return x.PreferredLanguage +func (m *UserProfile) GetPreferredLanguage() string { + if m != nil { + return m.PreferredLanguage } return "" } -func (x *UserProfile) GetGender() Gender { - if x != nil { - return x.Gender +func (m *UserProfile) GetGender() Gender { + if m != nil { + return m.Gender } return Gender_GENDER_UNSPECIFIED } -func (x *UserProfile) GetSequence() uint64 { - if x != nil { - return x.Sequence +func (m *UserProfile) GetSequence() uint64 { + if m != nil { + return m.Sequence } return 0 } -func (x *UserProfile) GetCreationDate() *timestamp.Timestamp { - if x != nil { - return x.CreationDate +func (m *UserProfile) GetCreationDate() *timestamp.Timestamp { + if m != nil { + return m.CreationDate } return nil } -func (x *UserProfile) GetChangeDate() *timestamp.Timestamp { - if x != nil { - return x.ChangeDate +func (m *UserProfile) GetChangeDate() *timestamp.Timestamp { + if m != nil { + return m.ChangeDate } return nil } type UserProfileView struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` - FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` - LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` - NickName string `protobuf:"bytes,5,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` - DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - PreferredLanguage string `protobuf:"bytes,7,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"` - Gender Gender `protobuf:"varint,8,opt,name=gender,proto3,enum=caos.zitadel.auth.api.v1.Gender" json:"gender,omitempty"` - Sequence uint64 `protobuf:"varint,9,opt,name=sequence,proto3" json:"sequence,omitempty"` - CreationDate *timestamp.Timestamp `protobuf:"bytes,10,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` - ChangeDate *timestamp.Timestamp `protobuf:"bytes,11,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` - LoginNames []string `protobuf:"bytes,12,rep,name=login_names,json=loginNames,proto3" json:"login_names,omitempty"` - PreferredLoginName string `protobuf:"bytes,13,opt,name=preferred_login_name,json=preferredLoginName,proto3" json:"preferred_login_name,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` + LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` + NickName string `protobuf:"bytes,5,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` + DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + PreferredLanguage string `protobuf:"bytes,7,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"` + Gender Gender `protobuf:"varint,8,opt,name=gender,proto3,enum=caos.zitadel.auth.api.v1.Gender" json:"gender,omitempty"` + Sequence uint64 `protobuf:"varint,9,opt,name=sequence,proto3" json:"sequence,omitempty"` + CreationDate *timestamp.Timestamp `protobuf:"bytes,10,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` + ChangeDate *timestamp.Timestamp `protobuf:"bytes,11,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + LoginNames []string `protobuf:"bytes,12,rep,name=login_names,json=loginNames,proto3" json:"login_names,omitempty"` + PreferredLoginName string `protobuf:"bytes,13,opt,name=preferred_login_name,json=preferredLoginName,proto3" json:"preferred_login_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserProfileView) Reset() { - *x = UserProfileView{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserProfileView) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserProfileView) ProtoMessage() {} - -func (x *UserProfileView) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserProfileView.ProtoReflect.Descriptor instead. +func (m *UserProfileView) Reset() { *m = UserProfileView{} } +func (m *UserProfileView) String() string { return proto.CompactTextString(m) } +func (*UserProfileView) ProtoMessage() {} func (*UserProfileView) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{4} + return fileDescriptor_8bbd6f3875b0e874, []int{4} } -func (x *UserProfileView) GetId() string { - if x != nil { - return x.Id +func (m *UserProfileView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserProfileView.Unmarshal(m, b) +} +func (m *UserProfileView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserProfileView.Marshal(b, m, deterministic) +} +func (m *UserProfileView) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserProfileView.Merge(m, src) +} +func (m *UserProfileView) XXX_Size() int { + return xxx_messageInfo_UserProfileView.Size(m) +} +func (m *UserProfileView) XXX_DiscardUnknown() { + xxx_messageInfo_UserProfileView.DiscardUnknown(m) +} + +var xxx_messageInfo_UserProfileView proto.InternalMessageInfo + +func (m *UserProfileView) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *UserProfileView) GetUserName() string { - if x != nil { - return x.UserName +func (m *UserProfileView) GetUserName() string { + if m != nil { + return m.UserName } return "" } -func (x *UserProfileView) GetFirstName() string { - if x != nil { - return x.FirstName +func (m *UserProfileView) GetFirstName() string { + if m != nil { + return m.FirstName } return "" } -func (x *UserProfileView) GetLastName() string { - if x != nil { - return x.LastName +func (m *UserProfileView) GetLastName() string { + if m != nil { + return m.LastName } return "" } -func (x *UserProfileView) GetNickName() string { - if x != nil { - return x.NickName +func (m *UserProfileView) GetNickName() string { + if m != nil { + return m.NickName } return "" } -func (x *UserProfileView) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *UserProfileView) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *UserProfileView) GetPreferredLanguage() string { - if x != nil { - return x.PreferredLanguage +func (m *UserProfileView) GetPreferredLanguage() string { + if m != nil { + return m.PreferredLanguage } return "" } -func (x *UserProfileView) GetGender() Gender { - if x != nil { - return x.Gender +func (m *UserProfileView) GetGender() Gender { + if m != nil { + return m.Gender } return Gender_GENDER_UNSPECIFIED } -func (x *UserProfileView) GetSequence() uint64 { - if x != nil { - return x.Sequence +func (m *UserProfileView) GetSequence() uint64 { + if m != nil { + return m.Sequence } return 0 } -func (x *UserProfileView) GetCreationDate() *timestamp.Timestamp { - if x != nil { - return x.CreationDate +func (m *UserProfileView) GetCreationDate() *timestamp.Timestamp { + if m != nil { + return m.CreationDate } return nil } -func (x *UserProfileView) GetChangeDate() *timestamp.Timestamp { - if x != nil { - return x.ChangeDate +func (m *UserProfileView) GetChangeDate() *timestamp.Timestamp { + if m != nil { + return m.ChangeDate } return nil } -func (x *UserProfileView) GetLoginNames() []string { - if x != nil { - return x.LoginNames +func (m *UserProfileView) GetLoginNames() []string { + if m != nil { + return m.LoginNames } return nil } -func (x *UserProfileView) GetPreferredLoginName() string { - if x != nil { - return x.PreferredLoginName +func (m *UserProfileView) GetPreferredLoginName() string { + if m != nil { + return m.PreferredLoginName } return "" } type UpdateUserProfileRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` - LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` - NickName string `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` - PreferredLanguage string `protobuf:"bytes,4,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"` - Gender Gender `protobuf:"varint,5,opt,name=gender,proto3,enum=caos.zitadel.auth.api.v1.Gender" json:"gender,omitempty"` + FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` + LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` + NickName string `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` + PreferredLanguage string `protobuf:"bytes,4,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"` + Gender Gender `protobuf:"varint,5,opt,name=gender,proto3,enum=caos.zitadel.auth.api.v1.Gender" json:"gender,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UpdateUserProfileRequest) Reset() { - *x = UpdateUserProfileRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateUserProfileRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserProfileRequest) ProtoMessage() {} - -func (x *UpdateUserProfileRequest) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateUserProfileRequest.ProtoReflect.Descriptor instead. +func (m *UpdateUserProfileRequest) Reset() { *m = UpdateUserProfileRequest{} } +func (m *UpdateUserProfileRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateUserProfileRequest) ProtoMessage() {} func (*UpdateUserProfileRequest) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{5} + return fileDescriptor_8bbd6f3875b0e874, []int{5} } -func (x *UpdateUserProfileRequest) GetFirstName() string { - if x != nil { - return x.FirstName +func (m *UpdateUserProfileRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateUserProfileRequest.Unmarshal(m, b) +} +func (m *UpdateUserProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateUserProfileRequest.Marshal(b, m, deterministic) +} +func (m *UpdateUserProfileRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateUserProfileRequest.Merge(m, src) +} +func (m *UpdateUserProfileRequest) XXX_Size() int { + return xxx_messageInfo_UpdateUserProfileRequest.Size(m) +} +func (m *UpdateUserProfileRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateUserProfileRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateUserProfileRequest proto.InternalMessageInfo + +func (m *UpdateUserProfileRequest) GetFirstName() string { + if m != nil { + return m.FirstName } return "" } -func (x *UpdateUserProfileRequest) GetLastName() string { - if x != nil { - return x.LastName +func (m *UpdateUserProfileRequest) GetLastName() string { + if m != nil { + return m.LastName } return "" } -func (x *UpdateUserProfileRequest) GetNickName() string { - if x != nil { - return x.NickName +func (m *UpdateUserProfileRequest) GetNickName() string { + if m != nil { + return m.NickName } return "" } -func (x *UpdateUserProfileRequest) GetPreferredLanguage() string { - if x != nil { - return x.PreferredLanguage +func (m *UpdateUserProfileRequest) GetPreferredLanguage() string { + if m != nil { + return m.PreferredLanguage } return "" } -func (x *UpdateUserProfileRequest) GetGender() Gender { - if x != nil { - return x.Gender +func (m *UpdateUserProfileRequest) GetGender() Gender { + if m != nil { + return m.Gender } return Gender_GENDER_UNSPECIFIED } type UserEmail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - IsEmailVerified bool `protobuf:"varint,3,opt,name=isEmailVerified,proto3" json:"isEmailVerified,omitempty"` - Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` - CreationDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` - ChangeDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + IsEmailVerified bool `protobuf:"varint,3,opt,name=isEmailVerified,proto3" json:"isEmailVerified,omitempty"` + Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` + CreationDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` + ChangeDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserEmail) Reset() { - *x = UserEmail{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserEmail) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserEmail) ProtoMessage() {} - -func (x *UserEmail) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserEmail.ProtoReflect.Descriptor instead. +func (m *UserEmail) Reset() { *m = UserEmail{} } +func (m *UserEmail) String() string { return proto.CompactTextString(m) } +func (*UserEmail) ProtoMessage() {} func (*UserEmail) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{6} + return fileDescriptor_8bbd6f3875b0e874, []int{6} } -func (x *UserEmail) GetId() string { - if x != nil { - return x.Id +func (m *UserEmail) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserEmail.Unmarshal(m, b) +} +func (m *UserEmail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserEmail.Marshal(b, m, deterministic) +} +func (m *UserEmail) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserEmail.Merge(m, src) +} +func (m *UserEmail) XXX_Size() int { + return xxx_messageInfo_UserEmail.Size(m) +} +func (m *UserEmail) XXX_DiscardUnknown() { + xxx_messageInfo_UserEmail.DiscardUnknown(m) +} + +var xxx_messageInfo_UserEmail proto.InternalMessageInfo + +func (m *UserEmail) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *UserEmail) GetEmail() string { - if x != nil { - return x.Email +func (m *UserEmail) GetEmail() string { + if m != nil { + return m.Email } return "" } -func (x *UserEmail) GetIsEmailVerified() bool { - if x != nil { - return x.IsEmailVerified +func (m *UserEmail) GetIsEmailVerified() bool { + if m != nil { + return m.IsEmailVerified } return false } -func (x *UserEmail) GetSequence() uint64 { - if x != nil { - return x.Sequence +func (m *UserEmail) GetSequence() uint64 { + if m != nil { + return m.Sequence } return 0 } -func (x *UserEmail) GetCreationDate() *timestamp.Timestamp { - if x != nil { - return x.CreationDate +func (m *UserEmail) GetCreationDate() *timestamp.Timestamp { + if m != nil { + return m.CreationDate } return nil } -func (x *UserEmail) GetChangeDate() *timestamp.Timestamp { - if x != nil { - return x.ChangeDate +func (m *UserEmail) GetChangeDate() *timestamp.Timestamp { + if m != nil { + return m.ChangeDate } return nil } type UserEmailView struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - IsEmailVerified bool `protobuf:"varint,3,opt,name=isEmailVerified,proto3" json:"isEmailVerified,omitempty"` - Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` - CreationDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` - ChangeDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + IsEmailVerified bool `protobuf:"varint,3,opt,name=isEmailVerified,proto3" json:"isEmailVerified,omitempty"` + Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` + CreationDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` + ChangeDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserEmailView) Reset() { - *x = UserEmailView{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserEmailView) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserEmailView) ProtoMessage() {} - -func (x *UserEmailView) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserEmailView.ProtoReflect.Descriptor instead. +func (m *UserEmailView) Reset() { *m = UserEmailView{} } +func (m *UserEmailView) String() string { return proto.CompactTextString(m) } +func (*UserEmailView) ProtoMessage() {} func (*UserEmailView) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{7} + return fileDescriptor_8bbd6f3875b0e874, []int{7} } -func (x *UserEmailView) GetId() string { - if x != nil { - return x.Id +func (m *UserEmailView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserEmailView.Unmarshal(m, b) +} +func (m *UserEmailView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserEmailView.Marshal(b, m, deterministic) +} +func (m *UserEmailView) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserEmailView.Merge(m, src) +} +func (m *UserEmailView) XXX_Size() int { + return xxx_messageInfo_UserEmailView.Size(m) +} +func (m *UserEmailView) XXX_DiscardUnknown() { + xxx_messageInfo_UserEmailView.DiscardUnknown(m) +} + +var xxx_messageInfo_UserEmailView proto.InternalMessageInfo + +func (m *UserEmailView) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *UserEmailView) GetEmail() string { - if x != nil { - return x.Email +func (m *UserEmailView) GetEmail() string { + if m != nil { + return m.Email } return "" } -func (x *UserEmailView) GetIsEmailVerified() bool { - if x != nil { - return x.IsEmailVerified +func (m *UserEmailView) GetIsEmailVerified() bool { + if m != nil { + return m.IsEmailVerified } return false } -func (x *UserEmailView) GetSequence() uint64 { - if x != nil { - return x.Sequence +func (m *UserEmailView) GetSequence() uint64 { + if m != nil { + return m.Sequence } return 0 } -func (x *UserEmailView) GetCreationDate() *timestamp.Timestamp { - if x != nil { - return x.CreationDate +func (m *UserEmailView) GetCreationDate() *timestamp.Timestamp { + if m != nil { + return m.CreationDate } return nil } -func (x *UserEmailView) GetChangeDate() *timestamp.Timestamp { - if x != nil { - return x.ChangeDate +func (m *UserEmailView) GetChangeDate() *timestamp.Timestamp { + if m != nil { + return m.ChangeDate } return nil } type VerifyMyUserEmailRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VerifyMyUserEmailRequest) Reset() { - *x = VerifyMyUserEmailRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VerifyMyUserEmailRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VerifyMyUserEmailRequest) ProtoMessage() {} - -func (x *VerifyMyUserEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[8] - 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 VerifyMyUserEmailRequest.ProtoReflect.Descriptor instead. +func (m *VerifyMyUserEmailRequest) Reset() { *m = VerifyMyUserEmailRequest{} } +func (m *VerifyMyUserEmailRequest) String() string { return proto.CompactTextString(m) } +func (*VerifyMyUserEmailRequest) ProtoMessage() {} func (*VerifyMyUserEmailRequest) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{8} + return fileDescriptor_8bbd6f3875b0e874, []int{8} } -func (x *VerifyMyUserEmailRequest) GetCode() string { - if x != nil { - return x.Code +func (m *VerifyMyUserEmailRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VerifyMyUserEmailRequest.Unmarshal(m, b) +} +func (m *VerifyMyUserEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VerifyMyUserEmailRequest.Marshal(b, m, deterministic) +} +func (m *VerifyMyUserEmailRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerifyMyUserEmailRequest.Merge(m, src) +} +func (m *VerifyMyUserEmailRequest) XXX_Size() int { + return xxx_messageInfo_VerifyMyUserEmailRequest.Size(m) +} +func (m *VerifyMyUserEmailRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VerifyMyUserEmailRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_VerifyMyUserEmailRequest proto.InternalMessageInfo + +func (m *VerifyMyUserEmailRequest) GetCode() string { + if m != nil { + return m.Code } return "" } type VerifyUserEmailRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VerifyUserEmailRequest) Reset() { - *x = VerifyUserEmailRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VerifyUserEmailRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VerifyUserEmailRequest) ProtoMessage() {} - -func (x *VerifyUserEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[9] - 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 VerifyUserEmailRequest.ProtoReflect.Descriptor instead. +func (m *VerifyUserEmailRequest) Reset() { *m = VerifyUserEmailRequest{} } +func (m *VerifyUserEmailRequest) String() string { return proto.CompactTextString(m) } +func (*VerifyUserEmailRequest) ProtoMessage() {} func (*VerifyUserEmailRequest) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{9} + return fileDescriptor_8bbd6f3875b0e874, []int{9} } -func (x *VerifyUserEmailRequest) GetId() string { - if x != nil { - return x.Id +func (m *VerifyUserEmailRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VerifyUserEmailRequest.Unmarshal(m, b) +} +func (m *VerifyUserEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VerifyUserEmailRequest.Marshal(b, m, deterministic) +} +func (m *VerifyUserEmailRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerifyUserEmailRequest.Merge(m, src) +} +func (m *VerifyUserEmailRequest) XXX_Size() int { + return xxx_messageInfo_VerifyUserEmailRequest.Size(m) +} +func (m *VerifyUserEmailRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VerifyUserEmailRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_VerifyUserEmailRequest proto.InternalMessageInfo + +func (m *VerifyUserEmailRequest) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *VerifyUserEmailRequest) GetCode() string { - if x != nil { - return x.Code +func (m *VerifyUserEmailRequest) GetCode() string { + if m != nil { + return m.Code } return "" } type UpdateUserEmailRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` + Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UpdateUserEmailRequest) Reset() { - *x = UpdateUserEmailRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateUserEmailRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserEmailRequest) ProtoMessage() {} - -func (x *UpdateUserEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[10] - 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 UpdateUserEmailRequest.ProtoReflect.Descriptor instead. +func (m *UpdateUserEmailRequest) Reset() { *m = UpdateUserEmailRequest{} } +func (m *UpdateUserEmailRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateUserEmailRequest) ProtoMessage() {} func (*UpdateUserEmailRequest) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{10} + return fileDescriptor_8bbd6f3875b0e874, []int{10} } -func (x *UpdateUserEmailRequest) GetEmail() string { - if x != nil { - return x.Email +func (m *UpdateUserEmailRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateUserEmailRequest.Unmarshal(m, b) +} +func (m *UpdateUserEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateUserEmailRequest.Marshal(b, m, deterministic) +} +func (m *UpdateUserEmailRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateUserEmailRequest.Merge(m, src) +} +func (m *UpdateUserEmailRequest) XXX_Size() int { + return xxx_messageInfo_UpdateUserEmailRequest.Size(m) +} +func (m *UpdateUserEmailRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateUserEmailRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateUserEmailRequest proto.InternalMessageInfo + +func (m *UpdateUserEmailRequest) GetEmail() string { + if m != nil { + return m.Email } return "" } type UserPhone struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` - IsPhoneVerified bool `protobuf:"varint,3,opt,name=is_phone_verified,json=isPhoneVerified,proto3" json:"is_phone_verified,omitempty"` - Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` - CreationDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` - ChangeDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` + IsPhoneVerified bool `protobuf:"varint,3,opt,name=is_phone_verified,json=isPhoneVerified,proto3" json:"is_phone_verified,omitempty"` + Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` + CreationDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` + ChangeDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserPhone) Reset() { - *x = UserPhone{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserPhone) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserPhone) ProtoMessage() {} - -func (x *UserPhone) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[11] - 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 UserPhone.ProtoReflect.Descriptor instead. +func (m *UserPhone) Reset() { *m = UserPhone{} } +func (m *UserPhone) String() string { return proto.CompactTextString(m) } +func (*UserPhone) ProtoMessage() {} func (*UserPhone) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{11} + return fileDescriptor_8bbd6f3875b0e874, []int{11} } -func (x *UserPhone) GetId() string { - if x != nil { - return x.Id +func (m *UserPhone) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserPhone.Unmarshal(m, b) +} +func (m *UserPhone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserPhone.Marshal(b, m, deterministic) +} +func (m *UserPhone) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserPhone.Merge(m, src) +} +func (m *UserPhone) XXX_Size() int { + return xxx_messageInfo_UserPhone.Size(m) +} +func (m *UserPhone) XXX_DiscardUnknown() { + xxx_messageInfo_UserPhone.DiscardUnknown(m) +} + +var xxx_messageInfo_UserPhone proto.InternalMessageInfo + +func (m *UserPhone) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *UserPhone) GetPhone() string { - if x != nil { - return x.Phone +func (m *UserPhone) GetPhone() string { + if m != nil { + return m.Phone } return "" } -func (x *UserPhone) GetIsPhoneVerified() bool { - if x != nil { - return x.IsPhoneVerified +func (m *UserPhone) GetIsPhoneVerified() bool { + if m != nil { + return m.IsPhoneVerified } return false } -func (x *UserPhone) GetSequence() uint64 { - if x != nil { - return x.Sequence +func (m *UserPhone) GetSequence() uint64 { + if m != nil { + return m.Sequence } return 0 } -func (x *UserPhone) GetCreationDate() *timestamp.Timestamp { - if x != nil { - return x.CreationDate +func (m *UserPhone) GetCreationDate() *timestamp.Timestamp { + if m != nil { + return m.CreationDate } return nil } -func (x *UserPhone) GetChangeDate() *timestamp.Timestamp { - if x != nil { - return x.ChangeDate +func (m *UserPhone) GetChangeDate() *timestamp.Timestamp { + if m != nil { + return m.ChangeDate } return nil } type UserPhoneView struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` - IsPhoneVerified bool `protobuf:"varint,3,opt,name=is_phone_verified,json=isPhoneVerified,proto3" json:"is_phone_verified,omitempty"` - Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` - CreationDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` - ChangeDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` + IsPhoneVerified bool `protobuf:"varint,3,opt,name=is_phone_verified,json=isPhoneVerified,proto3" json:"is_phone_verified,omitempty"` + Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` + CreationDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` + ChangeDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserPhoneView) Reset() { - *x = UserPhoneView{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserPhoneView) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserPhoneView) ProtoMessage() {} - -func (x *UserPhoneView) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[12] - 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 UserPhoneView.ProtoReflect.Descriptor instead. +func (m *UserPhoneView) Reset() { *m = UserPhoneView{} } +func (m *UserPhoneView) String() string { return proto.CompactTextString(m) } +func (*UserPhoneView) ProtoMessage() {} func (*UserPhoneView) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{12} + return fileDescriptor_8bbd6f3875b0e874, []int{12} } -func (x *UserPhoneView) GetId() string { - if x != nil { - return x.Id +func (m *UserPhoneView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserPhoneView.Unmarshal(m, b) +} +func (m *UserPhoneView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserPhoneView.Marshal(b, m, deterministic) +} +func (m *UserPhoneView) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserPhoneView.Merge(m, src) +} +func (m *UserPhoneView) XXX_Size() int { + return xxx_messageInfo_UserPhoneView.Size(m) +} +func (m *UserPhoneView) XXX_DiscardUnknown() { + xxx_messageInfo_UserPhoneView.DiscardUnknown(m) +} + +var xxx_messageInfo_UserPhoneView proto.InternalMessageInfo + +func (m *UserPhoneView) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *UserPhoneView) GetPhone() string { - if x != nil { - return x.Phone +func (m *UserPhoneView) GetPhone() string { + if m != nil { + return m.Phone } return "" } -func (x *UserPhoneView) GetIsPhoneVerified() bool { - if x != nil { - return x.IsPhoneVerified +func (m *UserPhoneView) GetIsPhoneVerified() bool { + if m != nil { + return m.IsPhoneVerified } return false } -func (x *UserPhoneView) GetSequence() uint64 { - if x != nil { - return x.Sequence +func (m *UserPhoneView) GetSequence() uint64 { + if m != nil { + return m.Sequence } return 0 } -func (x *UserPhoneView) GetCreationDate() *timestamp.Timestamp { - if x != nil { - return x.CreationDate +func (m *UserPhoneView) GetCreationDate() *timestamp.Timestamp { + if m != nil { + return m.CreationDate } return nil } -func (x *UserPhoneView) GetChangeDate() *timestamp.Timestamp { - if x != nil { - return x.ChangeDate +func (m *UserPhoneView) GetChangeDate() *timestamp.Timestamp { + if m != nil { + return m.ChangeDate } return nil } type UpdateUserPhoneRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` + Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UpdateUserPhoneRequest) Reset() { - *x = UpdateUserPhoneRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateUserPhoneRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserPhoneRequest) ProtoMessage() {} - -func (x *UpdateUserPhoneRequest) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[13] - 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 UpdateUserPhoneRequest.ProtoReflect.Descriptor instead. +func (m *UpdateUserPhoneRequest) Reset() { *m = UpdateUserPhoneRequest{} } +func (m *UpdateUserPhoneRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateUserPhoneRequest) ProtoMessage() {} func (*UpdateUserPhoneRequest) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{13} + return fileDescriptor_8bbd6f3875b0e874, []int{13} } -func (x *UpdateUserPhoneRequest) GetPhone() string { - if x != nil { - return x.Phone +func (m *UpdateUserPhoneRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateUserPhoneRequest.Unmarshal(m, b) +} +func (m *UpdateUserPhoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateUserPhoneRequest.Marshal(b, m, deterministic) +} +func (m *UpdateUserPhoneRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateUserPhoneRequest.Merge(m, src) +} +func (m *UpdateUserPhoneRequest) XXX_Size() int { + return xxx_messageInfo_UpdateUserPhoneRequest.Size(m) +} +func (m *UpdateUserPhoneRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateUserPhoneRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateUserPhoneRequest proto.InternalMessageInfo + +func (m *UpdateUserPhoneRequest) GetPhone() string { + if m != nil { + return m.Phone } return "" } type VerifyUserPhoneRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VerifyUserPhoneRequest) Reset() { - *x = VerifyUserPhoneRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VerifyUserPhoneRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VerifyUserPhoneRequest) ProtoMessage() {} - -func (x *VerifyUserPhoneRequest) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[14] - 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 VerifyUserPhoneRequest.ProtoReflect.Descriptor instead. +func (m *VerifyUserPhoneRequest) Reset() { *m = VerifyUserPhoneRequest{} } +func (m *VerifyUserPhoneRequest) String() string { return proto.CompactTextString(m) } +func (*VerifyUserPhoneRequest) ProtoMessage() {} func (*VerifyUserPhoneRequest) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{14} + return fileDescriptor_8bbd6f3875b0e874, []int{14} } -func (x *VerifyUserPhoneRequest) GetCode() string { - if x != nil { - return x.Code +func (m *VerifyUserPhoneRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VerifyUserPhoneRequest.Unmarshal(m, b) +} +func (m *VerifyUserPhoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VerifyUserPhoneRequest.Marshal(b, m, deterministic) +} +func (m *VerifyUserPhoneRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerifyUserPhoneRequest.Merge(m, src) +} +func (m *VerifyUserPhoneRequest) XXX_Size() int { + return xxx_messageInfo_VerifyUserPhoneRequest.Size(m) +} +func (m *VerifyUserPhoneRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VerifyUserPhoneRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_VerifyUserPhoneRequest proto.InternalMessageInfo + +func (m *VerifyUserPhoneRequest) GetCode() string { + if m != nil { + return m.Code } return "" } type UserAddress struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` - Locality string `protobuf:"bytes,3,opt,name=locality,proto3" json:"locality,omitempty"` - PostalCode string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` - Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` - StreetAddress string `protobuf:"bytes,6,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` - Sequence uint64 `protobuf:"varint,7,opt,name=sequence,proto3" json:"sequence,omitempty"` - CreationDate *timestamp.Timestamp `protobuf:"bytes,8,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` - ChangeDate *timestamp.Timestamp `protobuf:"bytes,9,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` + Locality string `protobuf:"bytes,3,opt,name=locality,proto3" json:"locality,omitempty"` + PostalCode string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` + Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` + StreetAddress string `protobuf:"bytes,6,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` + Sequence uint64 `protobuf:"varint,7,opt,name=sequence,proto3" json:"sequence,omitempty"` + CreationDate *timestamp.Timestamp `protobuf:"bytes,8,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` + ChangeDate *timestamp.Timestamp `protobuf:"bytes,9,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserAddress) Reset() { - *x = UserAddress{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserAddress) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserAddress) ProtoMessage() {} - -func (x *UserAddress) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[15] - 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 UserAddress.ProtoReflect.Descriptor instead. +func (m *UserAddress) Reset() { *m = UserAddress{} } +func (m *UserAddress) String() string { return proto.CompactTextString(m) } +func (*UserAddress) ProtoMessage() {} func (*UserAddress) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{15} + return fileDescriptor_8bbd6f3875b0e874, []int{15} } -func (x *UserAddress) GetId() string { - if x != nil { - return x.Id +func (m *UserAddress) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserAddress.Unmarshal(m, b) +} +func (m *UserAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserAddress.Marshal(b, m, deterministic) +} +func (m *UserAddress) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserAddress.Merge(m, src) +} +func (m *UserAddress) XXX_Size() int { + return xxx_messageInfo_UserAddress.Size(m) +} +func (m *UserAddress) XXX_DiscardUnknown() { + xxx_messageInfo_UserAddress.DiscardUnknown(m) +} + +var xxx_messageInfo_UserAddress proto.InternalMessageInfo + +func (m *UserAddress) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *UserAddress) GetCountry() string { - if x != nil { - return x.Country +func (m *UserAddress) GetCountry() string { + if m != nil { + return m.Country } return "" } -func (x *UserAddress) GetLocality() string { - if x != nil { - return x.Locality +func (m *UserAddress) GetLocality() string { + if m != nil { + return m.Locality } return "" } -func (x *UserAddress) GetPostalCode() string { - if x != nil { - return x.PostalCode +func (m *UserAddress) GetPostalCode() string { + if m != nil { + return m.PostalCode } return "" } -func (x *UserAddress) GetRegion() string { - if x != nil { - return x.Region +func (m *UserAddress) GetRegion() string { + if m != nil { + return m.Region } return "" } -func (x *UserAddress) GetStreetAddress() string { - if x != nil { - return x.StreetAddress +func (m *UserAddress) GetStreetAddress() string { + if m != nil { + return m.StreetAddress } return "" } -func (x *UserAddress) GetSequence() uint64 { - if x != nil { - return x.Sequence +func (m *UserAddress) GetSequence() uint64 { + if m != nil { + return m.Sequence } return 0 } -func (x *UserAddress) GetCreationDate() *timestamp.Timestamp { - if x != nil { - return x.CreationDate +func (m *UserAddress) GetCreationDate() *timestamp.Timestamp { + if m != nil { + return m.CreationDate } return nil } -func (x *UserAddress) GetChangeDate() *timestamp.Timestamp { - if x != nil { - return x.ChangeDate +func (m *UserAddress) GetChangeDate() *timestamp.Timestamp { + if m != nil { + return m.ChangeDate } return nil } type UserAddressView struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` - Locality string `protobuf:"bytes,3,opt,name=locality,proto3" json:"locality,omitempty"` - PostalCode string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` - Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` - StreetAddress string `protobuf:"bytes,6,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` - Sequence uint64 `protobuf:"varint,7,opt,name=sequence,proto3" json:"sequence,omitempty"` - CreationDate *timestamp.Timestamp `protobuf:"bytes,8,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` - ChangeDate *timestamp.Timestamp `protobuf:"bytes,9,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` + Locality string `protobuf:"bytes,3,opt,name=locality,proto3" json:"locality,omitempty"` + PostalCode string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` + Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` + StreetAddress string `protobuf:"bytes,6,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` + Sequence uint64 `protobuf:"varint,7,opt,name=sequence,proto3" json:"sequence,omitempty"` + CreationDate *timestamp.Timestamp `protobuf:"bytes,8,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` + ChangeDate *timestamp.Timestamp `protobuf:"bytes,9,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserAddressView) Reset() { - *x = UserAddressView{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserAddressView) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserAddressView) ProtoMessage() {} - -func (x *UserAddressView) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[16] - 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 UserAddressView.ProtoReflect.Descriptor instead. +func (m *UserAddressView) Reset() { *m = UserAddressView{} } +func (m *UserAddressView) String() string { return proto.CompactTextString(m) } +func (*UserAddressView) ProtoMessage() {} func (*UserAddressView) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{16} + return fileDescriptor_8bbd6f3875b0e874, []int{16} } -func (x *UserAddressView) GetId() string { - if x != nil { - return x.Id +func (m *UserAddressView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserAddressView.Unmarshal(m, b) +} +func (m *UserAddressView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserAddressView.Marshal(b, m, deterministic) +} +func (m *UserAddressView) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserAddressView.Merge(m, src) +} +func (m *UserAddressView) XXX_Size() int { + return xxx_messageInfo_UserAddressView.Size(m) +} +func (m *UserAddressView) XXX_DiscardUnknown() { + xxx_messageInfo_UserAddressView.DiscardUnknown(m) +} + +var xxx_messageInfo_UserAddressView proto.InternalMessageInfo + +func (m *UserAddressView) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *UserAddressView) GetCountry() string { - if x != nil { - return x.Country +func (m *UserAddressView) GetCountry() string { + if m != nil { + return m.Country } return "" } -func (x *UserAddressView) GetLocality() string { - if x != nil { - return x.Locality +func (m *UserAddressView) GetLocality() string { + if m != nil { + return m.Locality } return "" } -func (x *UserAddressView) GetPostalCode() string { - if x != nil { - return x.PostalCode +func (m *UserAddressView) GetPostalCode() string { + if m != nil { + return m.PostalCode } return "" } -func (x *UserAddressView) GetRegion() string { - if x != nil { - return x.Region +func (m *UserAddressView) GetRegion() string { + if m != nil { + return m.Region } return "" } -func (x *UserAddressView) GetStreetAddress() string { - if x != nil { - return x.StreetAddress +func (m *UserAddressView) GetStreetAddress() string { + if m != nil { + return m.StreetAddress } return "" } -func (x *UserAddressView) GetSequence() uint64 { - if x != nil { - return x.Sequence +func (m *UserAddressView) GetSequence() uint64 { + if m != nil { + return m.Sequence } return 0 } -func (x *UserAddressView) GetCreationDate() *timestamp.Timestamp { - if x != nil { - return x.CreationDate +func (m *UserAddressView) GetCreationDate() *timestamp.Timestamp { + if m != nil { + return m.CreationDate } return nil } -func (x *UserAddressView) GetChangeDate() *timestamp.Timestamp { - if x != nil { - return x.ChangeDate +func (m *UserAddressView) GetChangeDate() *timestamp.Timestamp { + if m != nil { + return m.ChangeDate } return nil } type UpdateUserAddressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` - Locality string `protobuf:"bytes,2,opt,name=locality,proto3" json:"locality,omitempty"` - PostalCode string `protobuf:"bytes,3,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` - Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` - StreetAddress string `protobuf:"bytes,5,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` + Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` + Locality string `protobuf:"bytes,2,opt,name=locality,proto3" json:"locality,omitempty"` + PostalCode string `protobuf:"bytes,3,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` + Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` + StreetAddress string `protobuf:"bytes,5,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UpdateUserAddressRequest) Reset() { - *x = UpdateUserAddressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateUserAddressRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserAddressRequest) ProtoMessage() {} - -func (x *UpdateUserAddressRequest) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[17] - 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 UpdateUserAddressRequest.ProtoReflect.Descriptor instead. +func (m *UpdateUserAddressRequest) Reset() { *m = UpdateUserAddressRequest{} } +func (m *UpdateUserAddressRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateUserAddressRequest) ProtoMessage() {} func (*UpdateUserAddressRequest) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{17} + return fileDescriptor_8bbd6f3875b0e874, []int{17} } -func (x *UpdateUserAddressRequest) GetCountry() string { - if x != nil { - return x.Country +func (m *UpdateUserAddressRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateUserAddressRequest.Unmarshal(m, b) +} +func (m *UpdateUserAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateUserAddressRequest.Marshal(b, m, deterministic) +} +func (m *UpdateUserAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateUserAddressRequest.Merge(m, src) +} +func (m *UpdateUserAddressRequest) XXX_Size() int { + return xxx_messageInfo_UpdateUserAddressRequest.Size(m) +} +func (m *UpdateUserAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateUserAddressRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateUserAddressRequest proto.InternalMessageInfo + +func (m *UpdateUserAddressRequest) GetCountry() string { + if m != nil { + return m.Country } return "" } -func (x *UpdateUserAddressRequest) GetLocality() string { - if x != nil { - return x.Locality +func (m *UpdateUserAddressRequest) GetLocality() string { + if m != nil { + return m.Locality } return "" } -func (x *UpdateUserAddressRequest) GetPostalCode() string { - if x != nil { - return x.PostalCode +func (m *UpdateUserAddressRequest) GetPostalCode() string { + if m != nil { + return m.PostalCode } return "" } -func (x *UpdateUserAddressRequest) GetRegion() string { - if x != nil { - return x.Region +func (m *UpdateUserAddressRequest) GetRegion() string { + if m != nil { + return m.Region } return "" } -func (x *UpdateUserAddressRequest) GetStreetAddress() string { - if x != nil { - return x.StreetAddress +func (m *UpdateUserAddressRequest) GetStreetAddress() string { + if m != nil { + return m.StreetAddress } return "" } type PasswordID struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PasswordID) Reset() { - *x = PasswordID{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PasswordID) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PasswordID) ProtoMessage() {} - -func (x *PasswordID) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[18] - 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 PasswordID.ProtoReflect.Descriptor instead. +func (m *PasswordID) Reset() { *m = PasswordID{} } +func (m *PasswordID) String() string { return proto.CompactTextString(m) } +func (*PasswordID) ProtoMessage() {} func (*PasswordID) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{18} + return fileDescriptor_8bbd6f3875b0e874, []int{18} } -func (x *PasswordID) GetId() string { - if x != nil { - return x.Id +func (m *PasswordID) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PasswordID.Unmarshal(m, b) +} +func (m *PasswordID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PasswordID.Marshal(b, m, deterministic) +} +func (m *PasswordID) XXX_Merge(src proto.Message) { + xxx_messageInfo_PasswordID.Merge(m, src) +} +func (m *PasswordID) XXX_Size() int { + return xxx_messageInfo_PasswordID.Size(m) +} +func (m *PasswordID) XXX_DiscardUnknown() { + xxx_messageInfo_PasswordID.DiscardUnknown(m) +} + +var xxx_messageInfo_PasswordID proto.InternalMessageInfo + +func (m *PasswordID) GetId() string { + if m != nil { + return m.Id } return "" } type PasswordRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` + Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PasswordRequest) Reset() { - *x = PasswordRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PasswordRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PasswordRequest) ProtoMessage() {} - -func (x *PasswordRequest) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[19] - 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 PasswordRequest.ProtoReflect.Descriptor instead. +func (m *PasswordRequest) Reset() { *m = PasswordRequest{} } +func (m *PasswordRequest) String() string { return proto.CompactTextString(m) } +func (*PasswordRequest) ProtoMessage() {} func (*PasswordRequest) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{19} + return fileDescriptor_8bbd6f3875b0e874, []int{19} } -func (x *PasswordRequest) GetPassword() string { - if x != nil { - return x.Password +func (m *PasswordRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PasswordRequest.Unmarshal(m, b) +} +func (m *PasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PasswordRequest.Marshal(b, m, deterministic) +} +func (m *PasswordRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PasswordRequest.Merge(m, src) +} +func (m *PasswordRequest) XXX_Size() int { + return xxx_messageInfo_PasswordRequest.Size(m) +} +func (m *PasswordRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PasswordRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PasswordRequest proto.InternalMessageInfo + +func (m *PasswordRequest) GetPassword() string { + if m != nil { + return m.Password } return "" } type PasswordChange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OldPassword string `protobuf:"bytes,1,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"` - NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` + OldPassword string `protobuf:"bytes,1,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"` + NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PasswordChange) Reset() { - *x = PasswordChange{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PasswordChange) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PasswordChange) ProtoMessage() {} - -func (x *PasswordChange) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[20] - 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 PasswordChange.ProtoReflect.Descriptor instead. +func (m *PasswordChange) Reset() { *m = PasswordChange{} } +func (m *PasswordChange) String() string { return proto.CompactTextString(m) } +func (*PasswordChange) ProtoMessage() {} func (*PasswordChange) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{20} + return fileDescriptor_8bbd6f3875b0e874, []int{20} } -func (x *PasswordChange) GetOldPassword() string { - if x != nil { - return x.OldPassword +func (m *PasswordChange) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PasswordChange.Unmarshal(m, b) +} +func (m *PasswordChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PasswordChange.Marshal(b, m, deterministic) +} +func (m *PasswordChange) XXX_Merge(src proto.Message) { + xxx_messageInfo_PasswordChange.Merge(m, src) +} +func (m *PasswordChange) XXX_Size() int { + return xxx_messageInfo_PasswordChange.Size(m) +} +func (m *PasswordChange) XXX_DiscardUnknown() { + xxx_messageInfo_PasswordChange.DiscardUnknown(m) +} + +var xxx_messageInfo_PasswordChange proto.InternalMessageInfo + +func (m *PasswordChange) GetOldPassword() string { + if m != nil { + return m.OldPassword } return "" } -func (x *PasswordChange) GetNewPassword() string { - if x != nil { - return x.NewPassword +func (m *PasswordChange) GetNewPassword() string { + if m != nil { + return m.NewPassword } return "" } type VerifyMfaOtp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VerifyMfaOtp) Reset() { - *x = VerifyMfaOtp{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VerifyMfaOtp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VerifyMfaOtp) ProtoMessage() {} - -func (x *VerifyMfaOtp) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[21] - 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 VerifyMfaOtp.ProtoReflect.Descriptor instead. +func (m *VerifyMfaOtp) Reset() { *m = VerifyMfaOtp{} } +func (m *VerifyMfaOtp) String() string { return proto.CompactTextString(m) } +func (*VerifyMfaOtp) ProtoMessage() {} func (*VerifyMfaOtp) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{21} + return fileDescriptor_8bbd6f3875b0e874, []int{21} } -func (x *VerifyMfaOtp) GetCode() string { - if x != nil { - return x.Code +func (m *VerifyMfaOtp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VerifyMfaOtp.Unmarshal(m, b) +} +func (m *VerifyMfaOtp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VerifyMfaOtp.Marshal(b, m, deterministic) +} +func (m *VerifyMfaOtp) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerifyMfaOtp.Merge(m, src) +} +func (m *VerifyMfaOtp) XXX_Size() int { + return xxx_messageInfo_VerifyMfaOtp.Size(m) +} +func (m *VerifyMfaOtp) XXX_DiscardUnknown() { + xxx_messageInfo_VerifyMfaOtp.DiscardUnknown(m) +} + +var xxx_messageInfo_VerifyMfaOtp proto.InternalMessageInfo + +func (m *VerifyMfaOtp) GetCode() string { + if m != nil { + return m.Code } return "" } type MultiFactors struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Mfas []*MultiFactor `protobuf:"bytes,1,rep,name=mfas,proto3" json:"mfas,omitempty"` + Mfas []*MultiFactor `protobuf:"bytes,1,rep,name=mfas,proto3" json:"mfas,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MultiFactors) Reset() { - *x = MultiFactors{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiFactors) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiFactors) ProtoMessage() {} - -func (x *MultiFactors) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[22] - 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 MultiFactors.ProtoReflect.Descriptor instead. +func (m *MultiFactors) Reset() { *m = MultiFactors{} } +func (m *MultiFactors) String() string { return proto.CompactTextString(m) } +func (*MultiFactors) ProtoMessage() {} func (*MultiFactors) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{22} + return fileDescriptor_8bbd6f3875b0e874, []int{22} } -func (x *MultiFactors) GetMfas() []*MultiFactor { - if x != nil { - return x.Mfas +func (m *MultiFactors) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MultiFactors.Unmarshal(m, b) +} +func (m *MultiFactors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MultiFactors.Marshal(b, m, deterministic) +} +func (m *MultiFactors) XXX_Merge(src proto.Message) { + xxx_messageInfo_MultiFactors.Merge(m, src) +} +func (m *MultiFactors) XXX_Size() int { + return xxx_messageInfo_MultiFactors.Size(m) +} +func (m *MultiFactors) XXX_DiscardUnknown() { + xxx_messageInfo_MultiFactors.DiscardUnknown(m) +} + +var xxx_messageInfo_MultiFactors proto.InternalMessageInfo + +func (m *MultiFactors) GetMfas() []*MultiFactor { + if m != nil { + return m.Mfas } return nil } type MultiFactor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type MfaType `protobuf:"varint,1,opt,name=type,proto3,enum=caos.zitadel.auth.api.v1.MfaType" json:"type,omitempty"` - State MFAState `protobuf:"varint,2,opt,name=state,proto3,enum=caos.zitadel.auth.api.v1.MFAState" json:"state,omitempty"` + Type MfaType `protobuf:"varint,1,opt,name=type,proto3,enum=caos.zitadel.auth.api.v1.MfaType" json:"type,omitempty"` + State MFAState `protobuf:"varint,2,opt,name=state,proto3,enum=caos.zitadel.auth.api.v1.MFAState" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MultiFactor) Reset() { - *x = MultiFactor{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiFactor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiFactor) ProtoMessage() {} - -func (x *MultiFactor) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[23] - 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 MultiFactor.ProtoReflect.Descriptor instead. +func (m *MultiFactor) Reset() { *m = MultiFactor{} } +func (m *MultiFactor) String() string { return proto.CompactTextString(m) } +func (*MultiFactor) ProtoMessage() {} func (*MultiFactor) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{23} + return fileDescriptor_8bbd6f3875b0e874, []int{23} } -func (x *MultiFactor) GetType() MfaType { - if x != nil { - return x.Type +func (m *MultiFactor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MultiFactor.Unmarshal(m, b) +} +func (m *MultiFactor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MultiFactor.Marshal(b, m, deterministic) +} +func (m *MultiFactor) XXX_Merge(src proto.Message) { + xxx_messageInfo_MultiFactor.Merge(m, src) +} +func (m *MultiFactor) XXX_Size() int { + return xxx_messageInfo_MultiFactor.Size(m) +} +func (m *MultiFactor) XXX_DiscardUnknown() { + xxx_messageInfo_MultiFactor.DiscardUnknown(m) +} + +var xxx_messageInfo_MultiFactor proto.InternalMessageInfo + +func (m *MultiFactor) GetType() MfaType { + if m != nil { + return m.Type } return MfaType_MFATYPE_UNSPECIFIED } -func (x *MultiFactor) GetState() MFAState { - if x != nil { - return x.State +func (m *MultiFactor) GetState() MFAState { + if m != nil { + return m.State } return MFAState_MFASTATE_UNSPECIFIED } type MfaOtpResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` - State MFAState `protobuf:"varint,4,opt,name=state,proto3,enum=caos.zitadel.auth.api.v1.MFAState" json:"state,omitempty"` + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` + State MFAState `protobuf:"varint,4,opt,name=state,proto3,enum=caos.zitadel.auth.api.v1.MFAState" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MfaOtpResponse) Reset() { - *x = MfaOtpResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MfaOtpResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MfaOtpResponse) ProtoMessage() {} - -func (x *MfaOtpResponse) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[24] - 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 MfaOtpResponse.ProtoReflect.Descriptor instead. +func (m *MfaOtpResponse) Reset() { *m = MfaOtpResponse{} } +func (m *MfaOtpResponse) String() string { return proto.CompactTextString(m) } +func (*MfaOtpResponse) ProtoMessage() {} func (*MfaOtpResponse) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{24} + return fileDescriptor_8bbd6f3875b0e874, []int{24} } -func (x *MfaOtpResponse) GetUserId() string { - if x != nil { - return x.UserId +func (m *MfaOtpResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MfaOtpResponse.Unmarshal(m, b) +} +func (m *MfaOtpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MfaOtpResponse.Marshal(b, m, deterministic) +} +func (m *MfaOtpResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MfaOtpResponse.Merge(m, src) +} +func (m *MfaOtpResponse) XXX_Size() int { + return xxx_messageInfo_MfaOtpResponse.Size(m) +} +func (m *MfaOtpResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MfaOtpResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MfaOtpResponse proto.InternalMessageInfo + +func (m *MfaOtpResponse) GetUserId() string { + if m != nil { + return m.UserId } return "" } -func (x *MfaOtpResponse) GetUrl() string { - if x != nil { - return x.Url +func (m *MfaOtpResponse) GetUrl() string { + if m != nil { + return m.Url } return "" } -func (x *MfaOtpResponse) GetSecret() string { - if x != nil { - return x.Secret +func (m *MfaOtpResponse) GetSecret() string { + if m != nil { + return m.Secret } return "" } -func (x *MfaOtpResponse) GetState() MFAState { - if x != nil { - return x.State +func (m *MfaOtpResponse) GetState() MFAState { + if m != nil { + return m.State } return MFAState_MFASTATE_UNSPECIFIED } type OIDCClientAuth struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` - ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *OIDCClientAuth) Reset() { - *x = OIDCClientAuth{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OIDCClientAuth) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OIDCClientAuth) ProtoMessage() {} - -func (x *OIDCClientAuth) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[25] - 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 OIDCClientAuth.ProtoReflect.Descriptor instead. +func (m *OIDCClientAuth) Reset() { *m = OIDCClientAuth{} } +func (m *OIDCClientAuth) String() string { return proto.CompactTextString(m) } +func (*OIDCClientAuth) ProtoMessage() {} func (*OIDCClientAuth) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{25} + return fileDescriptor_8bbd6f3875b0e874, []int{25} } -func (x *OIDCClientAuth) GetClientId() string { - if x != nil { - return x.ClientId +func (m *OIDCClientAuth) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OIDCClientAuth.Unmarshal(m, b) +} +func (m *OIDCClientAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OIDCClientAuth.Marshal(b, m, deterministic) +} +func (m *OIDCClientAuth) XXX_Merge(src proto.Message) { + xxx_messageInfo_OIDCClientAuth.Merge(m, src) +} +func (m *OIDCClientAuth) XXX_Size() int { + return xxx_messageInfo_OIDCClientAuth.Size(m) +} +func (m *OIDCClientAuth) XXX_DiscardUnknown() { + xxx_messageInfo_OIDCClientAuth.DiscardUnknown(m) +} + +var xxx_messageInfo_OIDCClientAuth proto.InternalMessageInfo + +func (m *OIDCClientAuth) GetClientId() string { + if m != nil { + return m.ClientId } return "" } -func (x *OIDCClientAuth) GetClientSecret() string { - if x != nil { - return x.ClientSecret +func (m *OIDCClientAuth) GetClientSecret() string { + if m != nil { + return m.ClientSecret } return "" } type UserGrantSearchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` - Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - SortingColumn UserGrantSearchKey `protobuf:"varint,3,opt,name=sorting_column,json=sortingColumn,proto3,enum=caos.zitadel.auth.api.v1.UserGrantSearchKey" json:"sorting_column,omitempty"` - Asc bool `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,omitempty"` - Queries []*UserGrantSearchQuery `protobuf:"bytes,5,rep,name=queries,proto3" json:"queries,omitempty"` + Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` + Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + SortingColumn UserGrantSearchKey `protobuf:"varint,3,opt,name=sorting_column,json=sortingColumn,proto3,enum=caos.zitadel.auth.api.v1.UserGrantSearchKey" json:"sorting_column,omitempty"` + Asc bool `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,omitempty"` + Queries []*UserGrantSearchQuery `protobuf:"bytes,5,rep,name=queries,proto3" json:"queries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserGrantSearchRequest) Reset() { - *x = UserGrantSearchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserGrantSearchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserGrantSearchRequest) ProtoMessage() {} - -func (x *UserGrantSearchRequest) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[26] - 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 UserGrantSearchRequest.ProtoReflect.Descriptor instead. +func (m *UserGrantSearchRequest) Reset() { *m = UserGrantSearchRequest{} } +func (m *UserGrantSearchRequest) String() string { return proto.CompactTextString(m) } +func (*UserGrantSearchRequest) ProtoMessage() {} func (*UserGrantSearchRequest) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{26} + return fileDescriptor_8bbd6f3875b0e874, []int{26} } -func (x *UserGrantSearchRequest) GetOffset() uint64 { - if x != nil { - return x.Offset +func (m *UserGrantSearchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserGrantSearchRequest.Unmarshal(m, b) +} +func (m *UserGrantSearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserGrantSearchRequest.Marshal(b, m, deterministic) +} +func (m *UserGrantSearchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserGrantSearchRequest.Merge(m, src) +} +func (m *UserGrantSearchRequest) XXX_Size() int { + return xxx_messageInfo_UserGrantSearchRequest.Size(m) +} +func (m *UserGrantSearchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserGrantSearchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserGrantSearchRequest proto.InternalMessageInfo + +func (m *UserGrantSearchRequest) GetOffset() uint64 { + if m != nil { + return m.Offset } return 0 } -func (x *UserGrantSearchRequest) GetLimit() uint64 { - if x != nil { - return x.Limit +func (m *UserGrantSearchRequest) GetLimit() uint64 { + if m != nil { + return m.Limit } return 0 } -func (x *UserGrantSearchRequest) GetSortingColumn() UserGrantSearchKey { - if x != nil { - return x.SortingColumn +func (m *UserGrantSearchRequest) GetSortingColumn() UserGrantSearchKey { + if m != nil { + return m.SortingColumn } return UserGrantSearchKey_UserGrantSearchKey_UNKNOWN } -func (x *UserGrantSearchRequest) GetAsc() bool { - if x != nil { - return x.Asc +func (m *UserGrantSearchRequest) GetAsc() bool { + if m != nil { + return m.Asc } return false } -func (x *UserGrantSearchRequest) GetQueries() []*UserGrantSearchQuery { - if x != nil { - return x.Queries +func (m *UserGrantSearchRequest) GetQueries() []*UserGrantSearchQuery { + if m != nil { + return m.Queries } return nil } type UserGrantSearchQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key UserGrantSearchKey `protobuf:"varint,1,opt,name=key,proto3,enum=caos.zitadel.auth.api.v1.UserGrantSearchKey" json:"key,omitempty"` - Method SearchMethod `protobuf:"varint,2,opt,name=method,proto3,enum=caos.zitadel.auth.api.v1.SearchMethod" json:"method,omitempty"` - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + Key UserGrantSearchKey `protobuf:"varint,1,opt,name=key,proto3,enum=caos.zitadel.auth.api.v1.UserGrantSearchKey" json:"key,omitempty"` + Method SearchMethod `protobuf:"varint,2,opt,name=method,proto3,enum=caos.zitadel.auth.api.v1.SearchMethod" json:"method,omitempty"` + Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserGrantSearchQuery) Reset() { - *x = UserGrantSearchQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserGrantSearchQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserGrantSearchQuery) ProtoMessage() {} - -func (x *UserGrantSearchQuery) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[27] - 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 UserGrantSearchQuery.ProtoReflect.Descriptor instead. +func (m *UserGrantSearchQuery) Reset() { *m = UserGrantSearchQuery{} } +func (m *UserGrantSearchQuery) String() string { return proto.CompactTextString(m) } +func (*UserGrantSearchQuery) ProtoMessage() {} func (*UserGrantSearchQuery) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{27} + return fileDescriptor_8bbd6f3875b0e874, []int{27} } -func (x *UserGrantSearchQuery) GetKey() UserGrantSearchKey { - if x != nil { - return x.Key +func (m *UserGrantSearchQuery) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserGrantSearchQuery.Unmarshal(m, b) +} +func (m *UserGrantSearchQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserGrantSearchQuery.Marshal(b, m, deterministic) +} +func (m *UserGrantSearchQuery) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserGrantSearchQuery.Merge(m, src) +} +func (m *UserGrantSearchQuery) XXX_Size() int { + return xxx_messageInfo_UserGrantSearchQuery.Size(m) +} +func (m *UserGrantSearchQuery) XXX_DiscardUnknown() { + xxx_messageInfo_UserGrantSearchQuery.DiscardUnknown(m) +} + +var xxx_messageInfo_UserGrantSearchQuery proto.InternalMessageInfo + +func (m *UserGrantSearchQuery) GetKey() UserGrantSearchKey { + if m != nil { + return m.Key } return UserGrantSearchKey_UserGrantSearchKey_UNKNOWN } -func (x *UserGrantSearchQuery) GetMethod() SearchMethod { - if x != nil { - return x.Method +func (m *UserGrantSearchQuery) GetMethod() SearchMethod { + if m != nil { + return m.Method } return SearchMethod_SEARCHMETHOD_EQUALS } -func (x *UserGrantSearchQuery) GetValue() string { - if x != nil { - return x.Value +func (m *UserGrantSearchQuery) GetValue() string { + if m != nil { + return m.Value } return "" } type UserGrantSearchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` - Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - TotalResult uint64 `protobuf:"varint,3,opt,name=total_result,json=totalResult,proto3" json:"total_result,omitempty"` - Result []*UserGrantView `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` + Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` + Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + TotalResult uint64 `protobuf:"varint,3,opt,name=total_result,json=totalResult,proto3" json:"total_result,omitempty"` + Result []*UserGrantView `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserGrantSearchResponse) Reset() { - *x = UserGrantSearchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserGrantSearchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserGrantSearchResponse) ProtoMessage() {} - -func (x *UserGrantSearchResponse) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[28] - 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 UserGrantSearchResponse.ProtoReflect.Descriptor instead. +func (m *UserGrantSearchResponse) Reset() { *m = UserGrantSearchResponse{} } +func (m *UserGrantSearchResponse) String() string { return proto.CompactTextString(m) } +func (*UserGrantSearchResponse) ProtoMessage() {} func (*UserGrantSearchResponse) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{28} + return fileDescriptor_8bbd6f3875b0e874, []int{28} } -func (x *UserGrantSearchResponse) GetOffset() uint64 { - if x != nil { - return x.Offset +func (m *UserGrantSearchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserGrantSearchResponse.Unmarshal(m, b) +} +func (m *UserGrantSearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserGrantSearchResponse.Marshal(b, m, deterministic) +} +func (m *UserGrantSearchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserGrantSearchResponse.Merge(m, src) +} +func (m *UserGrantSearchResponse) XXX_Size() int { + return xxx_messageInfo_UserGrantSearchResponse.Size(m) +} +func (m *UserGrantSearchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserGrantSearchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserGrantSearchResponse proto.InternalMessageInfo + +func (m *UserGrantSearchResponse) GetOffset() uint64 { + if m != nil { + return m.Offset } return 0 } -func (x *UserGrantSearchResponse) GetLimit() uint64 { - if x != nil { - return x.Limit +func (m *UserGrantSearchResponse) GetLimit() uint64 { + if m != nil { + return m.Limit } return 0 } -func (x *UserGrantSearchResponse) GetTotalResult() uint64 { - if x != nil { - return x.TotalResult +func (m *UserGrantSearchResponse) GetTotalResult() uint64 { + if m != nil { + return m.TotalResult } return 0 } -func (x *UserGrantSearchResponse) GetResult() []*UserGrantView { - if x != nil { - return x.Result +func (m *UserGrantSearchResponse) GetResult() []*UserGrantView { + if m != nil { + return m.Result } return nil } type UserGrantView struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OrgId string `protobuf:"bytes,1,opt,name=OrgId,proto3" json:"OrgId,omitempty"` - ProjectId string `protobuf:"bytes,2,opt,name=ProjectId,proto3" json:"ProjectId,omitempty"` - UserId string `protobuf:"bytes,3,opt,name=UserId,proto3" json:"UserId,omitempty"` - Roles []string `protobuf:"bytes,4,rep,name=Roles,proto3" json:"Roles,omitempty"` - OrgName string `protobuf:"bytes,5,opt,name=OrgName,proto3" json:"OrgName,omitempty"` + OrgId string `protobuf:"bytes,1,opt,name=OrgId,proto3" json:"OrgId,omitempty"` + ProjectId string `protobuf:"bytes,2,opt,name=ProjectId,proto3" json:"ProjectId,omitempty"` + UserId string `protobuf:"bytes,3,opt,name=UserId,proto3" json:"UserId,omitempty"` + Roles []string `protobuf:"bytes,4,rep,name=Roles,proto3" json:"Roles,omitempty"` + OrgName string `protobuf:"bytes,5,opt,name=OrgName,proto3" json:"OrgName,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserGrantView) Reset() { - *x = UserGrantView{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserGrantView) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserGrantView) ProtoMessage() {} - -func (x *UserGrantView) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[29] - 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 UserGrantView.ProtoReflect.Descriptor instead. +func (m *UserGrantView) Reset() { *m = UserGrantView{} } +func (m *UserGrantView) String() string { return proto.CompactTextString(m) } +func (*UserGrantView) ProtoMessage() {} func (*UserGrantView) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{29} + return fileDescriptor_8bbd6f3875b0e874, []int{29} } -func (x *UserGrantView) GetOrgId() string { - if x != nil { - return x.OrgId +func (m *UserGrantView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserGrantView.Unmarshal(m, b) +} +func (m *UserGrantView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserGrantView.Marshal(b, m, deterministic) +} +func (m *UserGrantView) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserGrantView.Merge(m, src) +} +func (m *UserGrantView) XXX_Size() int { + return xxx_messageInfo_UserGrantView.Size(m) +} +func (m *UserGrantView) XXX_DiscardUnknown() { + xxx_messageInfo_UserGrantView.DiscardUnknown(m) +} + +var xxx_messageInfo_UserGrantView proto.InternalMessageInfo + +func (m *UserGrantView) GetOrgId() string { + if m != nil { + return m.OrgId } return "" } -func (x *UserGrantView) GetProjectId() string { - if x != nil { - return x.ProjectId +func (m *UserGrantView) GetProjectId() string { + if m != nil { + return m.ProjectId } return "" } -func (x *UserGrantView) GetUserId() string { - if x != nil { - return x.UserId +func (m *UserGrantView) GetUserId() string { + if m != nil { + return m.UserId } return "" } -func (x *UserGrantView) GetRoles() []string { - if x != nil { - return x.Roles +func (m *UserGrantView) GetRoles() []string { + if m != nil { + return m.Roles } return nil } -func (x *UserGrantView) GetOrgName() string { - if x != nil { - return x.OrgName +func (m *UserGrantView) GetOrgName() string { + if m != nil { + return m.OrgName } return "" } type MyProjectOrgSearchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` - Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - Asc bool `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,omitempty"` - Queries []*MyProjectOrgSearchQuery `protobuf:"bytes,5,rep,name=queries,proto3" json:"queries,omitempty"` + Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` + Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + Asc bool `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,omitempty"` + Queries []*MyProjectOrgSearchQuery `protobuf:"bytes,5,rep,name=queries,proto3" json:"queries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MyProjectOrgSearchRequest) Reset() { - *x = MyProjectOrgSearchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MyProjectOrgSearchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MyProjectOrgSearchRequest) ProtoMessage() {} - -func (x *MyProjectOrgSearchRequest) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[30] - 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 MyProjectOrgSearchRequest.ProtoReflect.Descriptor instead. +func (m *MyProjectOrgSearchRequest) Reset() { *m = MyProjectOrgSearchRequest{} } +func (m *MyProjectOrgSearchRequest) String() string { return proto.CompactTextString(m) } +func (*MyProjectOrgSearchRequest) ProtoMessage() {} func (*MyProjectOrgSearchRequest) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{30} + return fileDescriptor_8bbd6f3875b0e874, []int{30} } -func (x *MyProjectOrgSearchRequest) GetOffset() uint64 { - if x != nil { - return x.Offset +func (m *MyProjectOrgSearchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MyProjectOrgSearchRequest.Unmarshal(m, b) +} +func (m *MyProjectOrgSearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MyProjectOrgSearchRequest.Marshal(b, m, deterministic) +} +func (m *MyProjectOrgSearchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MyProjectOrgSearchRequest.Merge(m, src) +} +func (m *MyProjectOrgSearchRequest) XXX_Size() int { + return xxx_messageInfo_MyProjectOrgSearchRequest.Size(m) +} +func (m *MyProjectOrgSearchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MyProjectOrgSearchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MyProjectOrgSearchRequest proto.InternalMessageInfo + +func (m *MyProjectOrgSearchRequest) GetOffset() uint64 { + if m != nil { + return m.Offset } return 0 } -func (x *MyProjectOrgSearchRequest) GetLimit() uint64 { - if x != nil { - return x.Limit +func (m *MyProjectOrgSearchRequest) GetLimit() uint64 { + if m != nil { + return m.Limit } return 0 } -func (x *MyProjectOrgSearchRequest) GetAsc() bool { - if x != nil { - return x.Asc +func (m *MyProjectOrgSearchRequest) GetAsc() bool { + if m != nil { + return m.Asc } return false } -func (x *MyProjectOrgSearchRequest) GetQueries() []*MyProjectOrgSearchQuery { - if x != nil { - return x.Queries +func (m *MyProjectOrgSearchRequest) GetQueries() []*MyProjectOrgSearchQuery { + if m != nil { + return m.Queries } return nil } type MyProjectOrgSearchQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key MyProjectOrgSearchKey `protobuf:"varint,1,opt,name=key,proto3,enum=caos.zitadel.auth.api.v1.MyProjectOrgSearchKey" json:"key,omitempty"` - Method SearchMethod `protobuf:"varint,2,opt,name=method,proto3,enum=caos.zitadel.auth.api.v1.SearchMethod" json:"method,omitempty"` - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + Key MyProjectOrgSearchKey `protobuf:"varint,1,opt,name=key,proto3,enum=caos.zitadel.auth.api.v1.MyProjectOrgSearchKey" json:"key,omitempty"` + Method SearchMethod `protobuf:"varint,2,opt,name=method,proto3,enum=caos.zitadel.auth.api.v1.SearchMethod" json:"method,omitempty"` + Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MyProjectOrgSearchQuery) Reset() { - *x = MyProjectOrgSearchQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MyProjectOrgSearchQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MyProjectOrgSearchQuery) ProtoMessage() {} - -func (x *MyProjectOrgSearchQuery) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[31] - 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 MyProjectOrgSearchQuery.ProtoReflect.Descriptor instead. +func (m *MyProjectOrgSearchQuery) Reset() { *m = MyProjectOrgSearchQuery{} } +func (m *MyProjectOrgSearchQuery) String() string { return proto.CompactTextString(m) } +func (*MyProjectOrgSearchQuery) ProtoMessage() {} func (*MyProjectOrgSearchQuery) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{31} + return fileDescriptor_8bbd6f3875b0e874, []int{31} } -func (x *MyProjectOrgSearchQuery) GetKey() MyProjectOrgSearchKey { - if x != nil { - return x.Key +func (m *MyProjectOrgSearchQuery) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MyProjectOrgSearchQuery.Unmarshal(m, b) +} +func (m *MyProjectOrgSearchQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MyProjectOrgSearchQuery.Marshal(b, m, deterministic) +} +func (m *MyProjectOrgSearchQuery) XXX_Merge(src proto.Message) { + xxx_messageInfo_MyProjectOrgSearchQuery.Merge(m, src) +} +func (m *MyProjectOrgSearchQuery) XXX_Size() int { + return xxx_messageInfo_MyProjectOrgSearchQuery.Size(m) +} +func (m *MyProjectOrgSearchQuery) XXX_DiscardUnknown() { + xxx_messageInfo_MyProjectOrgSearchQuery.DiscardUnknown(m) +} + +var xxx_messageInfo_MyProjectOrgSearchQuery proto.InternalMessageInfo + +func (m *MyProjectOrgSearchQuery) GetKey() MyProjectOrgSearchKey { + if m != nil { + return m.Key } return MyProjectOrgSearchKey_MYPROJECTORGSEARCHKEY_UNSPECIFIED } -func (x *MyProjectOrgSearchQuery) GetMethod() SearchMethod { - if x != nil { - return x.Method +func (m *MyProjectOrgSearchQuery) GetMethod() SearchMethod { + if m != nil { + return m.Method } return SearchMethod_SEARCHMETHOD_EQUALS } -func (x *MyProjectOrgSearchQuery) GetValue() string { - if x != nil { - return x.Value +func (m *MyProjectOrgSearchQuery) GetValue() string { + if m != nil { + return m.Value } return "" } type MyProjectOrgSearchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` - Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - TotalResult uint64 `protobuf:"varint,3,opt,name=total_result,json=totalResult,proto3" json:"total_result,omitempty"` - Result []*Org `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` + Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` + Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + TotalResult uint64 `protobuf:"varint,3,opt,name=total_result,json=totalResult,proto3" json:"total_result,omitempty"` + Result []*Org `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MyProjectOrgSearchResponse) Reset() { - *x = MyProjectOrgSearchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MyProjectOrgSearchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MyProjectOrgSearchResponse) ProtoMessage() {} - -func (x *MyProjectOrgSearchResponse) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[32] - 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 MyProjectOrgSearchResponse.ProtoReflect.Descriptor instead. +func (m *MyProjectOrgSearchResponse) Reset() { *m = MyProjectOrgSearchResponse{} } +func (m *MyProjectOrgSearchResponse) String() string { return proto.CompactTextString(m) } +func (*MyProjectOrgSearchResponse) ProtoMessage() {} func (*MyProjectOrgSearchResponse) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{32} + return fileDescriptor_8bbd6f3875b0e874, []int{32} } -func (x *MyProjectOrgSearchResponse) GetOffset() uint64 { - if x != nil { - return x.Offset +func (m *MyProjectOrgSearchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MyProjectOrgSearchResponse.Unmarshal(m, b) +} +func (m *MyProjectOrgSearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MyProjectOrgSearchResponse.Marshal(b, m, deterministic) +} +func (m *MyProjectOrgSearchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MyProjectOrgSearchResponse.Merge(m, src) +} +func (m *MyProjectOrgSearchResponse) XXX_Size() int { + return xxx_messageInfo_MyProjectOrgSearchResponse.Size(m) +} +func (m *MyProjectOrgSearchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MyProjectOrgSearchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MyProjectOrgSearchResponse proto.InternalMessageInfo + +func (m *MyProjectOrgSearchResponse) GetOffset() uint64 { + if m != nil { + return m.Offset } return 0 } -func (x *MyProjectOrgSearchResponse) GetLimit() uint64 { - if x != nil { - return x.Limit +func (m *MyProjectOrgSearchResponse) GetLimit() uint64 { + if m != nil { + return m.Limit } return 0 } -func (x *MyProjectOrgSearchResponse) GetTotalResult() uint64 { - if x != nil { - return x.TotalResult +func (m *MyProjectOrgSearchResponse) GetTotalResult() uint64 { + if m != nil { + return m.TotalResult } return 0 } -func (x *MyProjectOrgSearchResponse) GetResult() []*Org { - if x != nil { - return x.Result +func (m *MyProjectOrgSearchResponse) GetResult() []*Org { + if m != nil { + return m.Result } return nil } type Org struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Org) Reset() { - *x = Org{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Org) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Org) ProtoMessage() {} - -func (x *Org) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[33] - 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 Org.ProtoReflect.Descriptor instead. +func (m *Org) Reset() { *m = Org{} } +func (m *Org) String() string { return proto.CompactTextString(m) } +func (*Org) ProtoMessage() {} func (*Org) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{33} + return fileDescriptor_8bbd6f3875b0e874, []int{33} } -func (x *Org) GetId() string { - if x != nil { - return x.Id +func (m *Org) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Org.Unmarshal(m, b) +} +func (m *Org) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Org.Marshal(b, m, deterministic) +} +func (m *Org) XXX_Merge(src proto.Message) { + xxx_messageInfo_Org.Merge(m, src) +} +func (m *Org) XXX_Size() int { + return xxx_messageInfo_Org.Size(m) +} +func (m *Org) XXX_DiscardUnknown() { + xxx_messageInfo_Org.DiscardUnknown(m) +} + +var xxx_messageInfo_Org proto.InternalMessageInfo + +func (m *Org) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *Org) GetName() string { - if x != nil { - return x.Name +func (m *Org) GetName() string { + if m != nil { + return m.Name } return "" } type MyPermissions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` + Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MyPermissions) Reset() { - *x = MyPermissions{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MyPermissions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MyPermissions) ProtoMessage() {} - -func (x *MyPermissions) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[34] - 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 MyPermissions.ProtoReflect.Descriptor instead. +func (m *MyPermissions) Reset() { *m = MyPermissions{} } +func (m *MyPermissions) String() string { return proto.CompactTextString(m) } +func (*MyPermissions) ProtoMessage() {} func (*MyPermissions) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{34} + return fileDescriptor_8bbd6f3875b0e874, []int{34} } -func (x *MyPermissions) GetPermissions() []string { - if x != nil { - return x.Permissions +func (m *MyPermissions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MyPermissions.Unmarshal(m, b) +} +func (m *MyPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MyPermissions.Marshal(b, m, deterministic) +} +func (m *MyPermissions) XXX_Merge(src proto.Message) { + xxx_messageInfo_MyPermissions.Merge(m, src) +} +func (m *MyPermissions) XXX_Size() int { + return xxx_messageInfo_MyPermissions.Size(m) +} +func (m *MyPermissions) XXX_DiscardUnknown() { + xxx_messageInfo_MyPermissions.DiscardUnknown(m) +} + +var xxx_messageInfo_MyPermissions proto.InternalMessageInfo + +func (m *MyPermissions) GetPermissions() []string { + if m != nil { + return m.Permissions } return nil } -var File_auth_proto protoreflect.FileDescriptor - -var file_auth_proto_rawDesc = []byte{ - 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x61, - 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x73, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x2f, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x62, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x56, 0x69, 0x65, 0x77, 0x73, 0x12, 0x4e, 0x0a, 0x0d, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, - 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9b, 0x02, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, - 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, - 0x6e, 0x74, 0x49, 0x64, 0x12, 0x49, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, - 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, - 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0x87, 0x08, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x56, 0x69, 0x65, 0x77, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x39, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x23, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, - 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x6c, 0x61, 0x73, - 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x4c, - 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x45, 0x0a, 0x10, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, - 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x70, 0x61, 0x73, 0x73, - 0x77, 0x6f, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x75, - 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, - 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, - 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, - 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, - 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x11, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, - 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x0d, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, - 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, - 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, - 0x61, 0x69, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, - 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, - 0x69, 0x73, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, - 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x70, 0x68, 0x6f, 0x6e, - 0x65, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0f, 0x69, 0x73, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, - 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x12, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6c, - 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, - 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x61, - 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6f, - 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, - 0x6f, 0x6e, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, - 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, - 0x6e, 0x63, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, - 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, - 0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x19, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x0a, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x70, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x70, 0x72, 0x65, 0x66, 0x65, - 0x72, 0x72, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb9, 0x03, - 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, - 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, - 0x72, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x73, - 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, - 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, - 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x72, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x11, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x4c, 0x61, 0x6e, - 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, - 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, - 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x65, 0x22, 0x90, 0x04, 0x0a, 0x0f, 0x55, 0x73, - 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x56, 0x69, 0x65, 0x77, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, - 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, - 0x72, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x73, - 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, - 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, - 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x72, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x11, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x4c, 0x61, 0x6e, - 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, - 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, - 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x67, - 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, - 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x70, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x72, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x8c, 0x02, 0x0a, - 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x66, 0x69, 0x72, - 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, - 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, - 0x18, 0xc8, 0x01, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, - 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x52, 0x08, 0x6e, 0x69, - 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x72, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x52, 0x11, - 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, - 0x65, 0x12, 0x38, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x20, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, - 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, - 0x64, 0x65, 0x72, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0xf5, 0x01, 0x0a, 0x09, - 0x55, 0x73, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, - 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, - 0x28, 0x0a, 0x0f, 0x69, 0x73, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, - 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x45, 0x6d, 0x61, 0x69, - 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, - 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, - 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, - 0x61, 0x74, 0x65, 0x22, 0xf9, 0x01, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x69, - 0x6c, 0x56, 0x69, 0x65, 0x77, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x28, 0x0a, 0x0f, 0x69, - 0x73, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, - 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, - 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, - 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, - 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x61, 0x74, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x65, 0x22, - 0x3a, 0x0a, 0x18, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4d, 0x79, 0x55, 0x73, 0x65, 0x72, 0x45, - 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x72, 0x05, - 0x10, 0x01, 0x18, 0xc8, 0x01, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x48, 0x0a, 0x16, 0x56, - 0x65, 0x72, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x52, - 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x3a, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x20, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, - 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, - 0x6c, 0x22, 0xf7, 0x01, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x70, 0x68, 0x6f, 0x6e, - 0x65, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0f, 0x69, 0x73, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, - 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3f, 0x0a, - 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x12, 0x3b, - 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x65, 0x22, 0xfb, 0x01, 0x0a, 0x0d, - 0x55, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x69, 0x65, 0x77, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, - 0x6f, 0x6e, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, - 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, - 0x69, 0x73, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, - 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x65, 0x22, 0x39, 0x0a, 0x16, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x72, 0x04, 0x10, 0x01, 0x18, 0x14, 0x52, 0x05, 0x70, - 0x68, 0x6f, 0x6e, 0x65, 0x22, 0x38, 0x0a, 0x16, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x55, 0x73, - 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, - 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, - 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0xcd, - 0x02, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, - 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, - 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, - 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x63, - 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x74, 0x61, - 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, - 0x0e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, - 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, - 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, - 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x65, 0x22, 0xd1, - 0x02, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x56, 0x69, - 0x65, 0x77, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, - 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x74, - 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, - 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x65, 0x65, - 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, - 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, - 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x44, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, - 0x64, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, - 0x74, 0x65, 0x22, 0xe2, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x22, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x08, 0xfa, 0x42, 0x05, 0x72, 0x03, 0x18, 0xc8, 0x01, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x72, 0x03, 0x18, 0xc8, 0x01, 0x52, - 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x29, 0x0a, 0x0b, 0x70, 0x6f, 0x73, - 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, - 0xfa, 0x42, 0x05, 0x72, 0x03, 0x18, 0xc8, 0x01, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, - 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x72, 0x03, 0x18, 0xc8, 0x01, 0x52, 0x06, - 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, - 0xfa, 0x42, 0x05, 0x72, 0x03, 0x18, 0xc8, 0x01, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x1c, 0x0a, 0x0a, 0x50, 0x61, 0x73, 0x73, 0x77, - 0x6f, 0x72, 0x64, 0x49, 0x44, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x38, 0x0a, 0x0f, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, - 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x72, - 0x04, 0x10, 0x01, 0x18, 0x48, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, - 0x6c, 0x0a, 0x0e, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x12, 0x2c, 0x0a, 0x0c, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x72, 0x04, 0x10, 0x01, - 0x18, 0x48, 0x52, 0x0b, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, - 0x2c, 0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x72, 0x04, 0x10, 0x01, 0x18, 0x48, - 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x22, 0x0a, - 0x0c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4d, 0x66, 0x61, 0x4f, 0x74, 0x70, 0x12, 0x12, 0x0a, - 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, - 0x65, 0x22, 0x49, 0x0a, 0x0c, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, - 0x73, 0x12, 0x39, 0x0a, 0x04, 0x6d, 0x66, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x25, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, - 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, - 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x6d, 0x66, 0x61, 0x73, 0x22, 0x7e, 0x0a, 0x0b, - 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x63, 0x61, 0x6f, 0x73, - 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x66, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, - 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x46, 0x41, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x8d, 0x01, 0x0a, - 0x0e, 0x4d, 0x66, 0x61, 0x4f, 0x74, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, - 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x46, 0x41, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x52, 0x0a, 0x0e, - 0x4f, 0x49, 0x44, 0x43, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1b, - 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, - 0x22, 0x81, 0x02, 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, - 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, - 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x5d, 0x0a, 0x0e, 0x73, 0x6f, 0x72, - 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x2c, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, - 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x42, - 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x20, 0x00, 0x52, 0x0d, 0x73, 0x6f, 0x72, 0x74, 0x69, - 0x6e, 0x67, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x63, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x73, 0x63, 0x12, 0x48, 0x0a, 0x07, 0x71, 0x75, - 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x61, - 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x07, 0x71, 0x75, 0x65, - 0x72, 0x69, 0x65, 0x73, 0x22, 0xb6, 0x01, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x61, - 0x6e, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x48, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x63, 0x61, 0x6f, - 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, - 0x20, 0x00, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, - 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, - 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xab, 0x01, - 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, - 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, - 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x61, 0x6f, - 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x56, - 0x69, 0x65, 0x77, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x0d, - 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x56, 0x69, 0x65, 0x77, 0x12, 0x14, 0x0a, - 0x05, 0x4f, 0x72, 0x67, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4f, 0x72, - 0x67, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, - 0x64, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x6f, 0x6c, - 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, - 0x18, 0x0a, 0x07, 0x4f, 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x4f, 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xa8, 0x01, 0x0a, 0x19, 0x4d, 0x79, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4f, 0x72, 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, - 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x63, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x03, 0x61, 0x73, 0x63, 0x12, 0x4b, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, - 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, - 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4f, 0x72, 0x67, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x07, 0x71, 0x75, 0x65, - 0x72, 0x69, 0x65, 0x73, 0x22, 0xbc, 0x01, 0x0a, 0x17, 0x4d, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x4f, 0x72, 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x12, 0x4b, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, - 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, - 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x4f, 0x72, 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x42, 0x08, - 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x20, 0x00, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3e, 0x0a, - 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, - 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, - 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x1a, 0x4d, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x4f, 0x72, 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, - 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, - 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4f, - 0x72, 0x67, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x29, 0x0a, 0x03, 0x4f, 0x72, - 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x31, 0x0a, 0x0d, 0x4d, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2a, 0x72, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, - 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x1c, - 0x55, 0x53, 0x45, 0x52, 0x53, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x53, 0x54, 0x41, 0x54, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, - 0x0a, 0x17, 0x55, 0x53, 0x45, 0x52, 0x53, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x53, 0x54, 0x41, - 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x55, - 0x53, 0x45, 0x52, 0x53, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, - 0x54, 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x45, 0x44, 0x10, 0x02, 0x2a, 0x71, 0x0a, 0x10, - 0x4f, 0x49, 0x44, 0x43, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x19, 0x0a, 0x15, 0x4f, 0x49, 0x44, 0x43, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x4f, - 0x49, 0x44, 0x43, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x49, 0x44, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x23, 0x0a, 0x1f, 0x4f, 0x49, - 0x44, 0x43, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, - 0x44, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x02, 0x2a, - 0xaf, 0x01, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, - 0x15, 0x55, 0x53, 0x45, 0x52, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x53, 0x45, 0x52, - 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x16, - 0x0a, 0x12, 0x55, 0x53, 0x45, 0x52, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x41, 0x43, - 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x53, 0x45, 0x52, 0x53, 0x54, - 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x14, 0x0a, - 0x10, 0x55, 0x53, 0x45, 0x52, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, - 0x44, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x53, 0x45, 0x52, 0x53, 0x54, 0x41, 0x54, 0x45, - 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x10, 0x05, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x53, - 0x45, 0x52, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x10, - 0x06, 0x2a, 0x58, 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x12, 0x47, - 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x46, 0x45, - 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, - 0x5f, 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x45, 0x4e, 0x44, 0x45, - 0x52, 0x5f, 0x44, 0x49, 0x56, 0x45, 0x52, 0x53, 0x45, 0x10, 0x03, 0x2a, 0x44, 0x0a, 0x07, 0x4d, - 0x66, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x46, 0x41, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, - 0x0f, 0x0a, 0x0b, 0x4d, 0x46, 0x41, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x4d, 0x53, 0x10, 0x01, - 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x46, 0x41, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x54, 0x50, 0x10, - 0x02, 0x2a, 0x66, 0x0a, 0x08, 0x4d, 0x46, 0x41, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, - 0x14, 0x4d, 0x46, 0x41, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x46, 0x41, 0x53, 0x54, - 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x01, 0x12, - 0x12, 0x0a, 0x0e, 0x4d, 0x46, 0x41, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, - 0x59, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x46, 0x41, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, - 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x03, 0x2a, 0x76, 0x0a, 0x12, 0x55, 0x73, 0x65, - 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x12, - 0x1e, 0x0a, 0x1a, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x4b, 0x65, 0x79, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, - 0x1d, 0x0a, 0x19, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x4b, 0x65, 0x79, 0x5f, 0x4f, 0x52, 0x47, 0x5f, 0x49, 0x44, 0x10, 0x01, 0x12, 0x21, - 0x0a, 0x1d, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x4b, 0x65, 0x79, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x49, 0x44, 0x10, - 0x02, 0x2a, 0x62, 0x0a, 0x15, 0x4d, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4f, 0x72, - 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x21, 0x4d, 0x59, - 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x47, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, - 0x4b, 0x45, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x4d, 0x59, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x4f, 0x52, - 0x47, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x4b, 0x45, 0x59, 0x5f, 0x4f, 0x52, 0x47, 0x5f, 0x4e, - 0x41, 0x4d, 0x45, 0x10, 0x01, 0x2a, 0xd6, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, - 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x53, 0x10, 0x00, 0x12, - 0x1c, 0x0a, 0x18, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, - 0x53, 0x54, 0x41, 0x52, 0x54, 0x53, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x10, 0x01, 0x12, 0x19, 0x0a, - 0x15, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x43, 0x4f, - 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x53, 0x10, 0x02, 0x12, 0x23, 0x0a, 0x1f, 0x53, 0x45, 0x41, 0x52, - 0x43, 0x48, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x53, 0x5f, - 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x10, 0x03, 0x12, 0x28, 0x0a, - 0x24, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x53, 0x54, - 0x41, 0x52, 0x54, 0x53, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, - 0x5f, 0x43, 0x41, 0x53, 0x45, 0x10, 0x04, 0x12, 0x25, 0x0a, 0x21, 0x53, 0x45, 0x41, 0x52, 0x43, - 0x48, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x53, - 0x5f, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x10, 0x05, 0x32, 0xd8, - 0x1b, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4b, - 0x0a, 0x07, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x7a, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x10, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x0a, 0x12, 0x08, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x7a, 0x12, 0x47, 0x0a, 0x05, 0x52, - 0x65, 0x61, 0x64, 0x79, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x22, 0x0e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x08, 0x12, 0x06, 0x2f, 0x72, - 0x65, 0x61, 0x64, 0x79, 0x12, 0x4e, 0x0a, 0x08, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, - 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x22, 0x11, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0b, 0x12, 0x09, 0x2f, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x55, 0x73, - 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x1a, 0x2a, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, - 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x73, 0x22, 0x2b, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x6d, 0x65, 0x2f, 0x75, 0x73, 0x65, 0x72, - 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, - 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x6d, 0x0a, 0x09, 0x47, - 0x65, 0x74, 0x4d, 0x79, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x1a, 0x22, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, - 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x56, 0x69, 0x65, 0x77, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0b, 0x12, 0x09, 0x2f, 0x75, - 0x73, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, - 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x83, 0x01, 0x0a, 0x10, 0x47, - 0x65, 0x74, 0x4d, 0x79, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, - 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x29, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, - 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x56, 0x69, - 0x65, 0x77, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x75, 0x73, 0x65, - 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x82, 0xb5, 0x18, - 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, - 0x12, 0xa1, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x79, 0x55, 0x73, 0x65, - 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, - 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, - 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, - 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, - 0x69, 0x6c, 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x1a, 0x11, 0x2f, 0x75, 0x73, - 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x01, - 0x2a, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, - 0x61, 0x74, 0x65, 0x64, 0x12, 0x7d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x55, 0x73, 0x65, - 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x27, - 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, - 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6d, - 0x61, 0x69, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x12, - 0x0f, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, - 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, - 0x74, 0x65, 0x64, 0x12, 0x99, 0x01, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x79, - 0x55, 0x73, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x30, 0x2e, 0x63, 0x61, 0x6f, 0x73, - 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x45, - 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x63, 0x61, - 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, - 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x1a, 0x0f, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, - 0x2f, 0x6d, 0x65, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x3a, 0x01, 0x2a, 0x82, 0xb5, 0x18, 0x0f, - 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, - 0x96, 0x01, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4d, 0x79, 0x55, 0x73, 0x65, 0x72, - 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x32, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, - 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4d, 0x79, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6d, 0x61, - 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x22, 0x17, 0x2f, 0x75, 0x73, 0x65, 0x72, - 0x73, 0x2f, 0x6d, 0x65, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2f, 0x5f, 0x76, 0x65, 0x72, 0x69, - 0x66, 0x79, 0x3a, 0x01, 0x2a, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, - 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x92, 0x01, 0x0a, 0x1d, 0x52, 0x65, 0x73, - 0x65, 0x6e, 0x64, 0x4d, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x28, 0x22, 0x23, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x2f, 0x65, 0x6d, - 0x61, 0x69, 0x6c, 0x2f, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x76, 0x65, 0x72, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, - 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x7d, 0x0a, - 0x0e, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x55, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, - 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x27, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, - 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x69, 0x65, 0x77, - 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x12, 0x0f, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, - 0x2f, 0x6d, 0x65, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, - 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x99, 0x01, 0x0a, - 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x79, 0x55, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, - 0x6e, 0x65, 0x12, 0x30, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, - 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, - 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x55, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x14, 0x1a, 0x0f, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x2f, 0x70, 0x68, 0x6f, - 0x6e, 0x65, 0x3a, 0x01, 0x2a, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, - 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x94, 0x01, 0x0a, 0x11, 0x56, 0x65, 0x72, - 0x69, 0x66, 0x79, 0x4d, 0x79, 0x55, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x30, - 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, - 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, - 0x55, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, - 0x22, 0x17, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x2f, 0x70, 0x68, 0x6f, 0x6e, - 0x65, 0x2f, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x3a, 0x01, 0x2a, 0x82, 0xb5, 0x18, 0x0f, - 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, - 0x92, 0x01, 0x0a, 0x1d, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4d, 0x79, 0x50, 0x68, 0x6f, 0x6e, - 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, - 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x22, 0x23, 0x2f, 0x75, 0x73, 0x65, 0x72, - 0x73, 0x2f, 0x6d, 0x65, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2f, 0x5f, 0x72, 0x65, 0x73, 0x65, - 0x6e, 0x64, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, - 0x2a, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, - 0x61, 0x74, 0x65, 0x64, 0x12, 0x83, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x55, 0x73, - 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x1a, 0x29, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, - 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x56, 0x69, 0x65, 0x77, 0x22, 0x2c, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x2f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, - 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0xa1, 0x01, 0x0a, 0x13, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x79, 0x55, 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x32, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, - 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, - 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x2f, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x1a, 0x11, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, - 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x82, 0xb5, 0x18, 0x0f, 0x0a, - 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x76, - 0x0a, 0x09, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x4d, 0x66, 0x61, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x1a, 0x26, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, - 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x75, 0x6c, 0x74, 0x69, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x22, 0x29, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x2f, 0x6d, - 0x66, 0x61, 0x73, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, - 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x8f, 0x01, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x4d, 0x79, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x28, 0x2e, 0x63, 0x61, - 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x39, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x1a, 0x1b, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, - 0x2f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x2f, 0x5f, 0x63, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x3a, 0x01, 0x2a, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, - 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x7e, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x4d, - 0x66, 0x61, 0x4f, 0x54, 0x50, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x28, 0x2e, - 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, - 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x66, 0x61, 0x4f, 0x74, 0x70, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x22, - 0x11, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x2f, 0x6d, 0x66, 0x61, 0x2f, 0x6f, - 0x74, 0x70, 0x3a, 0x01, 0x2a, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, - 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x87, 0x01, 0x0a, 0x0c, 0x56, 0x65, 0x72, - 0x69, 0x66, 0x79, 0x4d, 0x66, 0x61, 0x4f, 0x54, 0x50, 0x12, 0x26, 0x2e, 0x63, 0x61, 0x6f, 0x73, - 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4d, 0x66, 0x61, 0x4f, 0x74, - 0x70, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1e, 0x1a, 0x19, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x2f, 0x6d, 0x66, 0x61, - 0x2f, 0x6f, 0x74, 0x70, 0x2f, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x3a, 0x01, 0x2a, 0x82, - 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, - 0x65, 0x64, 0x12, 0x6c, 0x0a, 0x0c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x66, 0x61, 0x4f, - 0x54, 0x50, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x2a, 0x11, 0x2f, 0x75, 0x73, 0x65, - 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x2f, 0x6d, 0x66, 0x61, 0x2f, 0x6f, 0x74, 0x70, 0x82, 0xb5, 0x18, - 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, - 0x12, 0xae, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x79, 0x55, 0x73, 0x65, - 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x30, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, - 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, - 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x1b, 0x22, 0x16, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, - 0x2f, 0x6d, 0x65, 0x2f, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x3a, 0x01, 0x2a, 0x82, 0xb5, - 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x12, 0xbb, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x79, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4f, 0x72, 0x67, 0x73, 0x12, 0x33, 0x2e, 0x63, 0x61, 0x6f, 0x73, - 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4f, 0x72, - 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, - 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, - 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x79, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x4f, 0x72, 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x67, - 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x67, - 0x73, 0x2f, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x3a, 0x01, 0x2a, 0x82, 0xb5, 0x18, 0x0f, - 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, - 0x8e, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x5a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x1a, 0x27, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, - 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x32, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x65, 0x82, 0xb5, 0x18, - 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, - 0x12, 0x86, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x27, 0x2e, 0x63, 0x61, 0x6f, 0x73, 0x2e, 0x7a, 0x69, 0x74, 0x61, - 0x64, 0x65, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2a, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x12, 0x0f, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x65, 0x82, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, - 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0xb7, 0x01, 0x5a, 0x29, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x61, 0x6f, 0x73, 0x2f, 0x7a, 0x69, - 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x92, 0x41, 0x88, 0x01, 0x12, 0x3b, 0x0a, 0x08, 0x41, - 0x75, 0x74, 0x68, 0x20, 0x41, 0x50, 0x49, 0x22, 0x2a, 0x12, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, - 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x61, - 0x6f, 0x73, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, - 0x75, 0x74, 0x68, 0x32, 0x03, 0x30, 0x2e, 0x31, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3a, - 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, - 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, - 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +type ChangesRequest struct { + Limit uint64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` + SequenceOffset uint64 `protobuf:"varint,2,opt,name=sequence_offset,json=sequenceOffset,proto3" json:"sequence_offset,omitempty"` + Asc bool `protobuf:"varint,3,opt,name=asc,proto3" json:"asc,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -var ( - file_auth_proto_rawDescOnce sync.Once - file_auth_proto_rawDescData = file_auth_proto_rawDesc -) - -func file_auth_proto_rawDescGZIP() []byte { - file_auth_proto_rawDescOnce.Do(func() { - file_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_auth_proto_rawDescData) - }) - return file_auth_proto_rawDescData +func (m *ChangesRequest) Reset() { *m = ChangesRequest{} } +func (m *ChangesRequest) String() string { return proto.CompactTextString(m) } +func (*ChangesRequest) ProtoMessage() {} +func (*ChangesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_8bbd6f3875b0e874, []int{35} } -var file_auth_proto_enumTypes = make([]protoimpl.EnumInfo, 9) -var file_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 35) -var file_auth_proto_goTypes = []interface{}{ - (UserSessionState)(0), // 0: caos.zitadel.auth.api.v1.UserSessionState - (OIDCResponseType)(0), // 1: caos.zitadel.auth.api.v1.OIDCResponseType - (UserState)(0), // 2: caos.zitadel.auth.api.v1.UserState - (Gender)(0), // 3: caos.zitadel.auth.api.v1.Gender - (MfaType)(0), // 4: caos.zitadel.auth.api.v1.MfaType - (MFAState)(0), // 5: caos.zitadel.auth.api.v1.MFAState - (UserGrantSearchKey)(0), // 6: caos.zitadel.auth.api.v1.UserGrantSearchKey - (MyProjectOrgSearchKey)(0), // 7: caos.zitadel.auth.api.v1.MyProjectOrgSearchKey - (SearchMethod)(0), // 8: caos.zitadel.auth.api.v1.SearchMethod - (*UserSessionViews)(nil), // 9: caos.zitadel.auth.api.v1.UserSessionViews - (*UserSessionView)(nil), // 10: caos.zitadel.auth.api.v1.UserSessionView - (*UserView)(nil), // 11: caos.zitadel.auth.api.v1.UserView - (*UserProfile)(nil), // 12: caos.zitadel.auth.api.v1.UserProfile - (*UserProfileView)(nil), // 13: caos.zitadel.auth.api.v1.UserProfileView - (*UpdateUserProfileRequest)(nil), // 14: caos.zitadel.auth.api.v1.UpdateUserProfileRequest - (*UserEmail)(nil), // 15: caos.zitadel.auth.api.v1.UserEmail - (*UserEmailView)(nil), // 16: caos.zitadel.auth.api.v1.UserEmailView - (*VerifyMyUserEmailRequest)(nil), // 17: caos.zitadel.auth.api.v1.VerifyMyUserEmailRequest - (*VerifyUserEmailRequest)(nil), // 18: caos.zitadel.auth.api.v1.VerifyUserEmailRequest - (*UpdateUserEmailRequest)(nil), // 19: caos.zitadel.auth.api.v1.UpdateUserEmailRequest - (*UserPhone)(nil), // 20: caos.zitadel.auth.api.v1.UserPhone - (*UserPhoneView)(nil), // 21: caos.zitadel.auth.api.v1.UserPhoneView - (*UpdateUserPhoneRequest)(nil), // 22: caos.zitadel.auth.api.v1.UpdateUserPhoneRequest - (*VerifyUserPhoneRequest)(nil), // 23: caos.zitadel.auth.api.v1.VerifyUserPhoneRequest - (*UserAddress)(nil), // 24: caos.zitadel.auth.api.v1.UserAddress - (*UserAddressView)(nil), // 25: caos.zitadel.auth.api.v1.UserAddressView - (*UpdateUserAddressRequest)(nil), // 26: caos.zitadel.auth.api.v1.UpdateUserAddressRequest - (*PasswordID)(nil), // 27: caos.zitadel.auth.api.v1.PasswordID - (*PasswordRequest)(nil), // 28: caos.zitadel.auth.api.v1.PasswordRequest - (*PasswordChange)(nil), // 29: caos.zitadel.auth.api.v1.PasswordChange - (*VerifyMfaOtp)(nil), // 30: caos.zitadel.auth.api.v1.VerifyMfaOtp - (*MultiFactors)(nil), // 31: caos.zitadel.auth.api.v1.MultiFactors - (*MultiFactor)(nil), // 32: caos.zitadel.auth.api.v1.MultiFactor - (*MfaOtpResponse)(nil), // 33: caos.zitadel.auth.api.v1.MfaOtpResponse - (*OIDCClientAuth)(nil), // 34: caos.zitadel.auth.api.v1.OIDCClientAuth - (*UserGrantSearchRequest)(nil), // 35: caos.zitadel.auth.api.v1.UserGrantSearchRequest - (*UserGrantSearchQuery)(nil), // 36: caos.zitadel.auth.api.v1.UserGrantSearchQuery - (*UserGrantSearchResponse)(nil), // 37: caos.zitadel.auth.api.v1.UserGrantSearchResponse - (*UserGrantView)(nil), // 38: caos.zitadel.auth.api.v1.UserGrantView - (*MyProjectOrgSearchRequest)(nil), // 39: caos.zitadel.auth.api.v1.MyProjectOrgSearchRequest - (*MyProjectOrgSearchQuery)(nil), // 40: caos.zitadel.auth.api.v1.MyProjectOrgSearchQuery - (*MyProjectOrgSearchResponse)(nil), // 41: caos.zitadel.auth.api.v1.MyProjectOrgSearchResponse - (*Org)(nil), // 42: caos.zitadel.auth.api.v1.Org - (*MyPermissions)(nil), // 43: caos.zitadel.auth.api.v1.MyPermissions - (*timestamp.Timestamp)(nil), // 44: google.protobuf.Timestamp - (*empty.Empty)(nil), // 45: google.protobuf.Empty - (*_struct.Struct)(nil), // 46: google.protobuf.Struct +func (m *ChangesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ChangesRequest.Unmarshal(m, b) } -var file_auth_proto_depIdxs = []int32{ - 10, // 0: caos.zitadel.auth.api.v1.UserSessionViews.user_sessions:type_name -> caos.zitadel.auth.api.v1.UserSessionView - 0, // 1: caos.zitadel.auth.api.v1.UserSessionView.auth_state:type_name -> caos.zitadel.auth.api.v1.UserSessionState - 2, // 2: caos.zitadel.auth.api.v1.UserView.state:type_name -> caos.zitadel.auth.api.v1.UserState - 44, // 3: caos.zitadel.auth.api.v1.UserView.creation_date:type_name -> google.protobuf.Timestamp - 44, // 4: caos.zitadel.auth.api.v1.UserView.change_date:type_name -> google.protobuf.Timestamp - 44, // 5: caos.zitadel.auth.api.v1.UserView.last_login:type_name -> google.protobuf.Timestamp - 44, // 6: caos.zitadel.auth.api.v1.UserView.password_changed:type_name -> google.protobuf.Timestamp - 3, // 7: caos.zitadel.auth.api.v1.UserView.gender:type_name -> caos.zitadel.auth.api.v1.Gender - 3, // 8: caos.zitadel.auth.api.v1.UserProfile.gender:type_name -> caos.zitadel.auth.api.v1.Gender - 44, // 9: caos.zitadel.auth.api.v1.UserProfile.creation_date:type_name -> google.protobuf.Timestamp - 44, // 10: caos.zitadel.auth.api.v1.UserProfile.change_date:type_name -> google.protobuf.Timestamp - 3, // 11: caos.zitadel.auth.api.v1.UserProfileView.gender:type_name -> caos.zitadel.auth.api.v1.Gender - 44, // 12: caos.zitadel.auth.api.v1.UserProfileView.creation_date:type_name -> google.protobuf.Timestamp - 44, // 13: caos.zitadel.auth.api.v1.UserProfileView.change_date:type_name -> google.protobuf.Timestamp - 3, // 14: caos.zitadel.auth.api.v1.UpdateUserProfileRequest.gender:type_name -> caos.zitadel.auth.api.v1.Gender - 44, // 15: caos.zitadel.auth.api.v1.UserEmail.creation_date:type_name -> google.protobuf.Timestamp - 44, // 16: caos.zitadel.auth.api.v1.UserEmail.change_date:type_name -> google.protobuf.Timestamp - 44, // 17: caos.zitadel.auth.api.v1.UserEmailView.creation_date:type_name -> google.protobuf.Timestamp - 44, // 18: caos.zitadel.auth.api.v1.UserEmailView.change_date:type_name -> google.protobuf.Timestamp - 44, // 19: caos.zitadel.auth.api.v1.UserPhone.creation_date:type_name -> google.protobuf.Timestamp - 44, // 20: caos.zitadel.auth.api.v1.UserPhone.change_date:type_name -> google.protobuf.Timestamp - 44, // 21: caos.zitadel.auth.api.v1.UserPhoneView.creation_date:type_name -> google.protobuf.Timestamp - 44, // 22: caos.zitadel.auth.api.v1.UserPhoneView.change_date:type_name -> google.protobuf.Timestamp - 44, // 23: caos.zitadel.auth.api.v1.UserAddress.creation_date:type_name -> google.protobuf.Timestamp - 44, // 24: caos.zitadel.auth.api.v1.UserAddress.change_date:type_name -> google.protobuf.Timestamp - 44, // 25: caos.zitadel.auth.api.v1.UserAddressView.creation_date:type_name -> google.protobuf.Timestamp - 44, // 26: caos.zitadel.auth.api.v1.UserAddressView.change_date:type_name -> google.protobuf.Timestamp - 32, // 27: caos.zitadel.auth.api.v1.MultiFactors.mfas:type_name -> caos.zitadel.auth.api.v1.MultiFactor - 4, // 28: caos.zitadel.auth.api.v1.MultiFactor.type:type_name -> caos.zitadel.auth.api.v1.MfaType - 5, // 29: caos.zitadel.auth.api.v1.MultiFactor.state:type_name -> caos.zitadel.auth.api.v1.MFAState - 5, // 30: caos.zitadel.auth.api.v1.MfaOtpResponse.state:type_name -> caos.zitadel.auth.api.v1.MFAState - 6, // 31: caos.zitadel.auth.api.v1.UserGrantSearchRequest.sorting_column:type_name -> caos.zitadel.auth.api.v1.UserGrantSearchKey - 36, // 32: caos.zitadel.auth.api.v1.UserGrantSearchRequest.queries:type_name -> caos.zitadel.auth.api.v1.UserGrantSearchQuery - 6, // 33: caos.zitadel.auth.api.v1.UserGrantSearchQuery.key:type_name -> caos.zitadel.auth.api.v1.UserGrantSearchKey - 8, // 34: caos.zitadel.auth.api.v1.UserGrantSearchQuery.method:type_name -> caos.zitadel.auth.api.v1.SearchMethod - 38, // 35: caos.zitadel.auth.api.v1.UserGrantSearchResponse.result:type_name -> caos.zitadel.auth.api.v1.UserGrantView - 40, // 36: caos.zitadel.auth.api.v1.MyProjectOrgSearchRequest.queries:type_name -> caos.zitadel.auth.api.v1.MyProjectOrgSearchQuery - 7, // 37: caos.zitadel.auth.api.v1.MyProjectOrgSearchQuery.key:type_name -> caos.zitadel.auth.api.v1.MyProjectOrgSearchKey - 8, // 38: caos.zitadel.auth.api.v1.MyProjectOrgSearchQuery.method:type_name -> caos.zitadel.auth.api.v1.SearchMethod - 42, // 39: caos.zitadel.auth.api.v1.MyProjectOrgSearchResponse.result:type_name -> caos.zitadel.auth.api.v1.Org - 45, // 40: caos.zitadel.auth.api.v1.AuthService.Healthz:input_type -> google.protobuf.Empty - 45, // 41: caos.zitadel.auth.api.v1.AuthService.Ready:input_type -> google.protobuf.Empty - 45, // 42: caos.zitadel.auth.api.v1.AuthService.Validate:input_type -> google.protobuf.Empty - 45, // 43: caos.zitadel.auth.api.v1.AuthService.GetMyUserSessions:input_type -> google.protobuf.Empty - 45, // 44: caos.zitadel.auth.api.v1.AuthService.GetMyUser:input_type -> google.protobuf.Empty - 45, // 45: caos.zitadel.auth.api.v1.AuthService.GetMyUserProfile:input_type -> google.protobuf.Empty - 14, // 46: caos.zitadel.auth.api.v1.AuthService.UpdateMyUserProfile:input_type -> caos.zitadel.auth.api.v1.UpdateUserProfileRequest - 45, // 47: caos.zitadel.auth.api.v1.AuthService.GetMyUserEmail:input_type -> google.protobuf.Empty - 19, // 48: caos.zitadel.auth.api.v1.AuthService.ChangeMyUserEmail:input_type -> caos.zitadel.auth.api.v1.UpdateUserEmailRequest - 17, // 49: caos.zitadel.auth.api.v1.AuthService.VerifyMyUserEmail:input_type -> caos.zitadel.auth.api.v1.VerifyMyUserEmailRequest - 45, // 50: caos.zitadel.auth.api.v1.AuthService.ResendMyEmailVerificationMail:input_type -> google.protobuf.Empty - 45, // 51: caos.zitadel.auth.api.v1.AuthService.GetMyUserPhone:input_type -> google.protobuf.Empty - 22, // 52: caos.zitadel.auth.api.v1.AuthService.ChangeMyUserPhone:input_type -> caos.zitadel.auth.api.v1.UpdateUserPhoneRequest - 23, // 53: caos.zitadel.auth.api.v1.AuthService.VerifyMyUserPhone:input_type -> caos.zitadel.auth.api.v1.VerifyUserPhoneRequest - 45, // 54: caos.zitadel.auth.api.v1.AuthService.ResendMyPhoneVerificationCode:input_type -> google.protobuf.Empty - 45, // 55: caos.zitadel.auth.api.v1.AuthService.GetMyUserAddress:input_type -> google.protobuf.Empty - 26, // 56: caos.zitadel.auth.api.v1.AuthService.UpdateMyUserAddress:input_type -> caos.zitadel.auth.api.v1.UpdateUserAddressRequest - 45, // 57: caos.zitadel.auth.api.v1.AuthService.GetMyMfas:input_type -> google.protobuf.Empty - 29, // 58: caos.zitadel.auth.api.v1.AuthService.ChangeMyPassword:input_type -> caos.zitadel.auth.api.v1.PasswordChange - 45, // 59: caos.zitadel.auth.api.v1.AuthService.AddMfaOTP:input_type -> google.protobuf.Empty - 30, // 60: caos.zitadel.auth.api.v1.AuthService.VerifyMfaOTP:input_type -> caos.zitadel.auth.api.v1.VerifyMfaOtp - 45, // 61: caos.zitadel.auth.api.v1.AuthService.RemoveMfaOTP:input_type -> google.protobuf.Empty - 35, // 62: caos.zitadel.auth.api.v1.AuthService.SearchMyUserGrant:input_type -> caos.zitadel.auth.api.v1.UserGrantSearchRequest - 39, // 63: caos.zitadel.auth.api.v1.AuthService.SearchMyProjectOrgs:input_type -> caos.zitadel.auth.api.v1.MyProjectOrgSearchRequest - 45, // 64: caos.zitadel.auth.api.v1.AuthService.GetMyZitadelPermissions:input_type -> google.protobuf.Empty - 45, // 65: caos.zitadel.auth.api.v1.AuthService.GetMyProjectPermissions:input_type -> google.protobuf.Empty - 45, // 66: caos.zitadel.auth.api.v1.AuthService.Healthz:output_type -> google.protobuf.Empty - 45, // 67: caos.zitadel.auth.api.v1.AuthService.Ready:output_type -> google.protobuf.Empty - 46, // 68: caos.zitadel.auth.api.v1.AuthService.Validate:output_type -> google.protobuf.Struct - 9, // 69: caos.zitadel.auth.api.v1.AuthService.GetMyUserSessions:output_type -> caos.zitadel.auth.api.v1.UserSessionViews - 11, // 70: caos.zitadel.auth.api.v1.AuthService.GetMyUser:output_type -> caos.zitadel.auth.api.v1.UserView - 13, // 71: caos.zitadel.auth.api.v1.AuthService.GetMyUserProfile:output_type -> caos.zitadel.auth.api.v1.UserProfileView - 12, // 72: caos.zitadel.auth.api.v1.AuthService.UpdateMyUserProfile:output_type -> caos.zitadel.auth.api.v1.UserProfile - 16, // 73: caos.zitadel.auth.api.v1.AuthService.GetMyUserEmail:output_type -> caos.zitadel.auth.api.v1.UserEmailView - 15, // 74: caos.zitadel.auth.api.v1.AuthService.ChangeMyUserEmail:output_type -> caos.zitadel.auth.api.v1.UserEmail - 45, // 75: caos.zitadel.auth.api.v1.AuthService.VerifyMyUserEmail:output_type -> google.protobuf.Empty - 45, // 76: caos.zitadel.auth.api.v1.AuthService.ResendMyEmailVerificationMail:output_type -> google.protobuf.Empty - 21, // 77: caos.zitadel.auth.api.v1.AuthService.GetMyUserPhone:output_type -> caos.zitadel.auth.api.v1.UserPhoneView - 20, // 78: caos.zitadel.auth.api.v1.AuthService.ChangeMyUserPhone:output_type -> caos.zitadel.auth.api.v1.UserPhone - 45, // 79: caos.zitadel.auth.api.v1.AuthService.VerifyMyUserPhone:output_type -> google.protobuf.Empty - 45, // 80: caos.zitadel.auth.api.v1.AuthService.ResendMyPhoneVerificationCode:output_type -> google.protobuf.Empty - 25, // 81: caos.zitadel.auth.api.v1.AuthService.GetMyUserAddress:output_type -> caos.zitadel.auth.api.v1.UserAddressView - 24, // 82: caos.zitadel.auth.api.v1.AuthService.UpdateMyUserAddress:output_type -> caos.zitadel.auth.api.v1.UserAddress - 31, // 83: caos.zitadel.auth.api.v1.AuthService.GetMyMfas:output_type -> caos.zitadel.auth.api.v1.MultiFactors - 45, // 84: caos.zitadel.auth.api.v1.AuthService.ChangeMyPassword:output_type -> google.protobuf.Empty - 33, // 85: caos.zitadel.auth.api.v1.AuthService.AddMfaOTP:output_type -> caos.zitadel.auth.api.v1.MfaOtpResponse - 45, // 86: caos.zitadel.auth.api.v1.AuthService.VerifyMfaOTP:output_type -> google.protobuf.Empty - 45, // 87: caos.zitadel.auth.api.v1.AuthService.RemoveMfaOTP:output_type -> google.protobuf.Empty - 37, // 88: caos.zitadel.auth.api.v1.AuthService.SearchMyUserGrant:output_type -> caos.zitadel.auth.api.v1.UserGrantSearchResponse - 41, // 89: caos.zitadel.auth.api.v1.AuthService.SearchMyProjectOrgs:output_type -> caos.zitadel.auth.api.v1.MyProjectOrgSearchResponse - 43, // 90: caos.zitadel.auth.api.v1.AuthService.GetMyZitadelPermissions:output_type -> caos.zitadel.auth.api.v1.MyPermissions - 43, // 91: caos.zitadel.auth.api.v1.AuthService.GetMyProjectPermissions:output_type -> caos.zitadel.auth.api.v1.MyPermissions - 66, // [66:92] is the sub-list for method output_type - 40, // [40:66] 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 +func (m *ChangesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ChangesRequest.Marshal(b, m, deterministic) +} +func (m *ChangesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChangesRequest.Merge(m, src) +} +func (m *ChangesRequest) XXX_Size() int { + return xxx_messageInfo_ChangesRequest.Size(m) +} +func (m *ChangesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ChangesRequest.DiscardUnknown(m) } -func init() { file_auth_proto_init() } -func file_auth_proto_init() { - if File_auth_proto != nil { - return +var xxx_messageInfo_ChangesRequest proto.InternalMessageInfo + +func (m *ChangesRequest) GetLimit() uint64 { + if m != nil { + return m.Limit } - if !protoimpl.UnsafeEnabled { - file_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserSessionViews); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserSessionView); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserView); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserProfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserProfileView); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserProfileRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserEmail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserEmailView); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VerifyMyUserEmailRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VerifyUserEmailRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserEmailRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserPhone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserPhoneView); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserPhoneRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VerifyUserPhoneRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserAddress); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserAddressView); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserAddressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PasswordID); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PasswordRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PasswordChange); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VerifyMfaOtp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiFactors); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiFactor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MfaOtpResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OIDCClientAuth); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserGrantSearchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserGrantSearchQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserGrantSearchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserGrantView); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MyProjectOrgSearchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MyProjectOrgSearchQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MyProjectOrgSearchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Org); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MyPermissions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } + return 0 +} + +func (m *ChangesRequest) GetSequenceOffset() uint64 { + if m != nil { + return m.SequenceOffset } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_auth_proto_rawDesc, - NumEnums: 9, - NumMessages: 35, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_auth_proto_goTypes, - DependencyIndexes: file_auth_proto_depIdxs, - EnumInfos: file_auth_proto_enumTypes, - MessageInfos: file_auth_proto_msgTypes, - }.Build() - File_auth_proto = out.File - file_auth_proto_rawDesc = nil - file_auth_proto_goTypes = nil - file_auth_proto_depIdxs = nil + return 0 +} + +func (m *ChangesRequest) GetAsc() bool { + if m != nil { + return m.Asc + } + return false +} + +type Changes struct { + Changes []*Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` + Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Changes) Reset() { *m = Changes{} } +func (m *Changes) String() string { return proto.CompactTextString(m) } +func (*Changes) ProtoMessage() {} +func (*Changes) Descriptor() ([]byte, []int) { + return fileDescriptor_8bbd6f3875b0e874, []int{36} +} + +func (m *Changes) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Changes.Unmarshal(m, b) +} +func (m *Changes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Changes.Marshal(b, m, deterministic) +} +func (m *Changes) XXX_Merge(src proto.Message) { + xxx_messageInfo_Changes.Merge(m, src) +} +func (m *Changes) XXX_Size() int { + return xxx_messageInfo_Changes.Size(m) +} +func (m *Changes) XXX_DiscardUnknown() { + xxx_messageInfo_Changes.DiscardUnknown(m) +} + +var xxx_messageInfo_Changes proto.InternalMessageInfo + +func (m *Changes) GetChanges() []*Change { + if m != nil { + return m.Changes + } + return nil +} + +func (m *Changes) GetOffset() uint64 { + if m != nil { + return m.Offset + } + return 0 +} + +func (m *Changes) GetLimit() uint64 { + if m != nil { + return m.Limit + } + return 0 +} + +type Change struct { + ChangeDate *timestamp.Timestamp `protobuf:"bytes,1,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"` + EventType string `protobuf:"bytes,2,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` + Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` + EditorId string `protobuf:"bytes,4,opt,name=editor_id,json=editorId,proto3" json:"editor_id,omitempty"` + Editor string `protobuf:"bytes,5,opt,name=editor,proto3" json:"editor,omitempty"` + Data *_struct.Struct `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Change) Reset() { *m = Change{} } +func (m *Change) String() string { return proto.CompactTextString(m) } +func (*Change) ProtoMessage() {} +func (*Change) Descriptor() ([]byte, []int) { + return fileDescriptor_8bbd6f3875b0e874, []int{37} +} + +func (m *Change) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Change.Unmarshal(m, b) +} +func (m *Change) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Change.Marshal(b, m, deterministic) +} +func (m *Change) XXX_Merge(src proto.Message) { + xxx_messageInfo_Change.Merge(m, src) +} +func (m *Change) XXX_Size() int { + return xxx_messageInfo_Change.Size(m) +} +func (m *Change) XXX_DiscardUnknown() { + xxx_messageInfo_Change.DiscardUnknown(m) +} + +var xxx_messageInfo_Change proto.InternalMessageInfo + +func (m *Change) GetChangeDate() *timestamp.Timestamp { + if m != nil { + return m.ChangeDate + } + return nil +} + +func (m *Change) GetEventType() string { + if m != nil { + return m.EventType + } + return "" +} + +func (m *Change) GetSequence() uint64 { + if m != nil { + return m.Sequence + } + return 0 +} + +func (m *Change) GetEditorId() string { + if m != nil { + return m.EditorId + } + return "" +} + +func (m *Change) GetEditor() string { + if m != nil { + return m.Editor + } + return "" +} + +func (m *Change) GetData() *_struct.Struct { + if m != nil { + return m.Data + } + return nil +} + +func init() { + proto.RegisterEnum("caos.zitadel.auth.api.v1.UserSessionState", UserSessionState_name, UserSessionState_value) + proto.RegisterEnum("caos.zitadel.auth.api.v1.OIDCResponseType", OIDCResponseType_name, OIDCResponseType_value) + proto.RegisterEnum("caos.zitadel.auth.api.v1.UserState", UserState_name, UserState_value) + proto.RegisterEnum("caos.zitadel.auth.api.v1.Gender", Gender_name, Gender_value) + proto.RegisterEnum("caos.zitadel.auth.api.v1.MfaType", MfaType_name, MfaType_value) + proto.RegisterEnum("caos.zitadel.auth.api.v1.MFAState", MFAState_name, MFAState_value) + proto.RegisterEnum("caos.zitadel.auth.api.v1.UserGrantSearchKey", UserGrantSearchKey_name, UserGrantSearchKey_value) + proto.RegisterEnum("caos.zitadel.auth.api.v1.MyProjectOrgSearchKey", MyProjectOrgSearchKey_name, MyProjectOrgSearchKey_value) + proto.RegisterEnum("caos.zitadel.auth.api.v1.SearchMethod", SearchMethod_name, SearchMethod_value) + proto.RegisterType((*UserSessionViews)(nil), "caos.zitadel.auth.api.v1.UserSessionViews") + proto.RegisterType((*UserSessionView)(nil), "caos.zitadel.auth.api.v1.UserSessionView") + proto.RegisterType((*UserView)(nil), "caos.zitadel.auth.api.v1.UserView") + proto.RegisterType((*UserProfile)(nil), "caos.zitadel.auth.api.v1.UserProfile") + proto.RegisterType((*UserProfileView)(nil), "caos.zitadel.auth.api.v1.UserProfileView") + proto.RegisterType((*UpdateUserProfileRequest)(nil), "caos.zitadel.auth.api.v1.UpdateUserProfileRequest") + proto.RegisterType((*UserEmail)(nil), "caos.zitadel.auth.api.v1.UserEmail") + proto.RegisterType((*UserEmailView)(nil), "caos.zitadel.auth.api.v1.UserEmailView") + proto.RegisterType((*VerifyMyUserEmailRequest)(nil), "caos.zitadel.auth.api.v1.VerifyMyUserEmailRequest") + proto.RegisterType((*VerifyUserEmailRequest)(nil), "caos.zitadel.auth.api.v1.VerifyUserEmailRequest") + proto.RegisterType((*UpdateUserEmailRequest)(nil), "caos.zitadel.auth.api.v1.UpdateUserEmailRequest") + proto.RegisterType((*UserPhone)(nil), "caos.zitadel.auth.api.v1.UserPhone") + proto.RegisterType((*UserPhoneView)(nil), "caos.zitadel.auth.api.v1.UserPhoneView") + proto.RegisterType((*UpdateUserPhoneRequest)(nil), "caos.zitadel.auth.api.v1.UpdateUserPhoneRequest") + proto.RegisterType((*VerifyUserPhoneRequest)(nil), "caos.zitadel.auth.api.v1.VerifyUserPhoneRequest") + proto.RegisterType((*UserAddress)(nil), "caos.zitadel.auth.api.v1.UserAddress") + proto.RegisterType((*UserAddressView)(nil), "caos.zitadel.auth.api.v1.UserAddressView") + proto.RegisterType((*UpdateUserAddressRequest)(nil), "caos.zitadel.auth.api.v1.UpdateUserAddressRequest") + proto.RegisterType((*PasswordID)(nil), "caos.zitadel.auth.api.v1.PasswordID") + proto.RegisterType((*PasswordRequest)(nil), "caos.zitadel.auth.api.v1.PasswordRequest") + proto.RegisterType((*PasswordChange)(nil), "caos.zitadel.auth.api.v1.PasswordChange") + proto.RegisterType((*VerifyMfaOtp)(nil), "caos.zitadel.auth.api.v1.VerifyMfaOtp") + proto.RegisterType((*MultiFactors)(nil), "caos.zitadel.auth.api.v1.MultiFactors") + proto.RegisterType((*MultiFactor)(nil), "caos.zitadel.auth.api.v1.MultiFactor") + proto.RegisterType((*MfaOtpResponse)(nil), "caos.zitadel.auth.api.v1.MfaOtpResponse") + proto.RegisterType((*OIDCClientAuth)(nil), "caos.zitadel.auth.api.v1.OIDCClientAuth") + proto.RegisterType((*UserGrantSearchRequest)(nil), "caos.zitadel.auth.api.v1.UserGrantSearchRequest") + proto.RegisterType((*UserGrantSearchQuery)(nil), "caos.zitadel.auth.api.v1.UserGrantSearchQuery") + proto.RegisterType((*UserGrantSearchResponse)(nil), "caos.zitadel.auth.api.v1.UserGrantSearchResponse") + proto.RegisterType((*UserGrantView)(nil), "caos.zitadel.auth.api.v1.UserGrantView") + proto.RegisterType((*MyProjectOrgSearchRequest)(nil), "caos.zitadel.auth.api.v1.MyProjectOrgSearchRequest") + proto.RegisterType((*MyProjectOrgSearchQuery)(nil), "caos.zitadel.auth.api.v1.MyProjectOrgSearchQuery") + proto.RegisterType((*MyProjectOrgSearchResponse)(nil), "caos.zitadel.auth.api.v1.MyProjectOrgSearchResponse") + proto.RegisterType((*Org)(nil), "caos.zitadel.auth.api.v1.Org") + proto.RegisterType((*MyPermissions)(nil), "caos.zitadel.auth.api.v1.MyPermissions") + proto.RegisterType((*ChangesRequest)(nil), "caos.zitadel.auth.api.v1.ChangesRequest") + proto.RegisterType((*Changes)(nil), "caos.zitadel.auth.api.v1.Changes") + proto.RegisterType((*Change)(nil), "caos.zitadel.auth.api.v1.Change") +} + +func init() { proto.RegisterFile("auth.proto", fileDescriptor_8bbd6f3875b0e874) } + +var fileDescriptor_8bbd6f3875b0e874 = []byte{ + // 3298 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0x5f, 0x6f, 0x1b, 0xc7, + 0xb5, 0xf7, 0x92, 0x94, 0x44, 0x1e, 0x4a, 0x14, 0x35, 0x96, 0xa5, 0x15, 0x25, 0xdb, 0xf2, 0x3a, + 0x8e, 0x65, 0xc6, 0x16, 0x63, 0x25, 0xc1, 0xb5, 0x1d, 0xe0, 0x06, 0xb4, 0xb8, 0x96, 0x78, 0x2d, + 0x92, 0xca, 0x92, 0x72, 0xae, 0x03, 0x5c, 0x10, 0x6b, 0xee, 0x88, 0xda, 0x84, 0xe4, 0x32, 0xbb, + 0x4b, 0x19, 0x0c, 0x70, 0x03, 0xdc, 0xdc, 0xa2, 0x29, 0xd0, 0xa6, 0x2d, 0xd2, 0xa2, 0x40, 0xd1, + 0xa7, 0x02, 0x7d, 0x28, 0x50, 0xa0, 0x7d, 0x6a, 0x8b, 0xa2, 0xfd, 0x00, 0x7d, 0xe9, 0x43, 0x51, + 0xa0, 0x1f, 0xa0, 0xe8, 0x43, 0xbf, 0x40, 0x51, 0x34, 0x7d, 0x29, 0xe6, 0xcf, 0x92, 0xfb, 0x87, + 0x4b, 0x52, 0x76, 0x53, 0x04, 0x41, 0x9e, 0xcc, 0x39, 0xff, 0xe6, 0xcc, 0x39, 0xbf, 0x99, 0x39, + 0x7b, 0x46, 0x06, 0x50, 0x7b, 0xf6, 0xc9, 0x76, 0xd7, 0x34, 0x6c, 0x03, 0x89, 0x0d, 0xd5, 0xb0, + 0xb6, 0xdf, 0xd7, 0x6d, 0x55, 0xc3, 0xad, 0x6d, 0xca, 0x50, 0xbb, 0xfa, 0xf6, 0xe9, 0xed, 0xcc, + 0x46, 0xd3, 0x30, 0x9a, 0x2d, 0x9c, 0x53, 0xbb, 0x7a, 0x4e, 0xed, 0x74, 0x0c, 0x5b, 0xb5, 0x75, + 0xa3, 0x63, 0x31, 0xbd, 0xcc, 0x3a, 0xe7, 0xd2, 0xd1, 0x93, 0xde, 0x71, 0x0e, 0xb7, 0xbb, 0x76, + 0x9f, 0x33, 0x37, 0xfc, 0x4c, 0xcb, 0x36, 0x7b, 0x0d, 0x9b, 0x73, 0x2f, 0xfb, 0xb9, 0xb6, 0xde, + 0xc6, 0x96, 0xad, 0xb6, 0xbb, 0x5c, 0x60, 0xf5, 0x54, 0x6d, 0xe9, 0x9a, 0x6a, 0xe3, 0x9c, 0xf3, + 0x83, 0x33, 0x6e, 0xd2, 0x7f, 0x1a, 0xb7, 0x9a, 0xb8, 0x73, 0xcb, 0x7a, 0xaa, 0x36, 0x9b, 0xd8, + 0xcc, 0x19, 0x5d, 0xea, 0xd6, 0x08, 0x17, 0x45, 0xb2, 0x1a, 0xc6, 0x76, 0xa4, 0x18, 0x47, 0x7a, + 0x02, 0xe9, 0x23, 0x0b, 0x9b, 0x55, 0x6c, 0x59, 0xba, 0xd1, 0x79, 0xa4, 0xe3, 0xa7, 0x16, 0x2a, + 0xc3, 0x42, 0xcf, 0xc2, 0x66, 0xdd, 0x62, 0x44, 0x4b, 0x14, 0x36, 0xa3, 0x5b, 0xc9, 0x9d, 0x1b, + 0xdb, 0x61, 0x01, 0xda, 0xf6, 0x99, 0x50, 0xe6, 0x7b, 0x43, 0x82, 0x25, 0xfd, 0x20, 0x02, 0x8b, + 0x3e, 0x09, 0x94, 0x82, 0x88, 0xae, 0x89, 0xc2, 0xa6, 0xb0, 0x95, 0x50, 0x22, 0xba, 0x86, 0xd6, + 0x20, 0xae, 0x36, 0x71, 0xc7, 0xae, 0xeb, 0x9a, 0x18, 0xa1, 0xd4, 0x39, 0x3a, 0x2e, 0x6a, 0xa8, + 0xc8, 0xb2, 0x54, 0xb7, 0x6c, 0xd5, 0xc6, 0x62, 0x74, 0x53, 0xd8, 0x4a, 0xed, 0x64, 0xa7, 0xf2, + 0xa5, 0x4a, 0x34, 0x94, 0x04, 0xe1, 0xd2, 0x9f, 0x68, 0x15, 0xe6, 0xe8, 0xca, 0x74, 0x4d, 0x8c, + 0xd1, 0x49, 0x66, 0xc9, 0xb0, 0xa8, 0xa1, 0x75, 0x48, 0x50, 0x46, 0x47, 0x6d, 0x63, 0x71, 0x86, + 0xb2, 0xe2, 0x84, 0x50, 0x56, 0xdb, 0x18, 0x65, 0x20, 0x6e, 0xe1, 0xf7, 0x7a, 0xb8, 0xd3, 0xc0, + 0xe2, 0xec, 0xa6, 0xb0, 0x15, 0x53, 0x06, 0x63, 0x74, 0x11, 0xa0, 0x65, 0x34, 0xf5, 0x0e, 0xd3, + 0x9c, 0xa3, 0x9a, 0x09, 0x4a, 0xa1, 0xaa, 0x57, 0x60, 0x5e, 0xd3, 0xad, 0x6e, 0x4b, 0xed, 0x33, + 0x81, 0x38, 0x15, 0x48, 0x72, 0x1a, 0x11, 0x91, 0x3e, 0x8a, 0x43, 0x9c, 0xf8, 0x3c, 0x32, 0x2c, + 0x77, 0x61, 0x86, 0x2d, 0x3b, 0x42, 0x97, 0x7d, 0x75, 0xc2, 0xb2, 0xe9, 0x7a, 0x99, 0x06, 0x7a, + 0x03, 0x16, 0x1a, 0x26, 0xa6, 0x30, 0xa8, 0x6b, 0x4e, 0xe4, 0x92, 0x3b, 0x99, 0x6d, 0x86, 0xb9, + 0x6d, 0x07, 0x73, 0xdb, 0x35, 0x07, 0x73, 0xca, 0xbc, 0xa3, 0x50, 0x20, 0x06, 0x5e, 0x87, 0x64, + 0xe3, 0x44, 0xed, 0x34, 0x31, 0x53, 0x8f, 0x4d, 0x54, 0x07, 0x26, 0x4e, 0x95, 0xef, 0x02, 0xb4, + 0x54, 0xcb, 0xae, 0xd3, 0x50, 0xd0, 0x88, 0x8e, 0xd7, 0x4d, 0x10, 0xe9, 0x03, 0x22, 0x8c, 0x64, + 0x48, 0x77, 0x55, 0xcb, 0x7a, 0x6a, 0x98, 0x5a, 0x9d, 0x59, 0xd4, 0x68, 0xd8, 0xc7, 0x1b, 0x58, + 0x74, 0x74, 0x76, 0x99, 0x8a, 0x37, 0xa5, 0x73, 0xbe, 0x94, 0x5e, 0x04, 0x38, 0xd6, 0x4d, 0xcb, + 0x76, 0x67, 0x25, 0x41, 0x29, 0x94, 0xbd, 0x0e, 0xd4, 0x1f, 0xc6, 0x4d, 0x30, 0x5d, 0x42, 0x18, + 0x99, 0x53, 0x08, 0xe4, 0x94, 0xe8, 0x77, 0xf4, 0xc6, 0xbb, 0x8c, 0x9f, 0x64, 0xfa, 0x84, 0x40, + 0x99, 0xb7, 0x00, 0x75, 0x4d, 0x7c, 0x8c, 0x4d, 0x13, 0x6b, 0xf5, 0x96, 0xda, 0x69, 0xf6, 0xd4, + 0x26, 0x16, 0xe7, 0xa9, 0xd4, 0xd2, 0x80, 0x73, 0xc0, 0x19, 0xe8, 0x0e, 0xcc, 0x36, 0x71, 0x47, + 0xc3, 0xa6, 0xb8, 0x40, 0x31, 0xb0, 0x19, 0x8e, 0x81, 0x3d, 0x2a, 0xa7, 0x70, 0x79, 0xb4, 0x0c, + 0x33, 0xb8, 0xad, 0xea, 0x2d, 0x31, 0x45, 0x6d, 0xb3, 0x01, 0xca, 0xc2, 0x92, 0x6e, 0xd5, 0xe9, + 0xef, 0xfa, 0x29, 0x36, 0xf5, 0x63, 0x1d, 0x6b, 0xe2, 0xe2, 0xa6, 0xb0, 0x15, 0x57, 0x16, 0x75, + 0x4b, 0x26, 0xf4, 0x47, 0x9c, 0x4c, 0x2c, 0x74, 0x4f, 0x8c, 0x0e, 0x16, 0xd3, 0xcc, 0x02, 0x1d, + 0x70, 0x0b, 0xf4, 0xf7, 0xd0, 0xc2, 0x92, 0x63, 0xe1, 0x90, 0xd0, 0x07, 0x16, 0x44, 0x98, 0x6b, + 0x18, 0xbd, 0x8e, 0x6d, 0xf6, 0x45, 0xc4, 0xb6, 0x35, 0x1f, 0x92, 0x5d, 0xd5, 0x32, 0x1a, 0x6a, + 0x4b, 0xb7, 0xfb, 0xe2, 0x79, 0x1e, 0x62, 0x3e, 0x46, 0x97, 0x21, 0xd9, 0x35, 0x2c, 0x5b, 0x6d, + 0xd5, 0x1b, 0x86, 0x86, 0xc5, 0x65, 0xca, 0x06, 0x46, 0xda, 0x35, 0x34, 0x8c, 0x56, 0x60, 0xd6, + 0xc4, 0x4d, 0xdd, 0xe8, 0x88, 0x17, 0xd8, 0x3e, 0x66, 0x23, 0x74, 0x0d, 0x52, 0x96, 0x6d, 0x62, + 0x6c, 0xd7, 0x55, 0x4d, 0x33, 0xb1, 0x65, 0x89, 0x2b, 0x94, 0xbf, 0xc0, 0xa8, 0x79, 0x46, 0xf4, + 0xec, 0xe8, 0x55, 0xdf, 0x8e, 0xbe, 0x06, 0x29, 0x13, 0x5b, 0x46, 0xcf, 0x6c, 0xe0, 0xba, 0xf1, + 0xb4, 0x83, 0x4d, 0x51, 0x64, 0x26, 0x1c, 0x6a, 0x85, 0x10, 0x89, 0x8b, 0xc3, 0x8d, 0x6f, 0x89, + 0x6b, 0x9b, 0x51, 0xe2, 0xe2, 0x60, 0xe7, 0x5b, 0xe8, 0x65, 0x58, 0x76, 0xa5, 0x79, 0x78, 0x46, + 0x64, 0xa8, 0xb5, 0x21, 0x04, 0x0e, 0x1c, 0x15, 0xe9, 0x57, 0x51, 0x48, 0x92, 0x6d, 0x7c, 0x68, + 0x1a, 0xc7, 0x7a, 0x0b, 0x07, 0x0e, 0x03, 0x0f, 0xa2, 0x23, 0x63, 0x11, 0x1d, 0x1d, 0x8b, 0xe8, + 0x98, 0x0f, 0xd1, 0x1e, 0xb8, 0xce, 0xf8, 0xe0, 0xea, 0x87, 0xfb, 0x6c, 0x10, 0xee, 0xa3, 0x11, + 0x3d, 0x37, 0x19, 0xd1, 0xf1, 0x33, 0x22, 0xda, 0x9d, 0xb7, 0x84, 0x2f, 0x6f, 0x81, 0xf3, 0x0e, + 0x9e, 0xef, 0xbc, 0x4b, 0x9e, 0xe5, 0xbc, 0x93, 0xbe, 0x1d, 0x63, 0x77, 0x1c, 0xcf, 0xdd, 0xc8, + 0xc3, 0xfc, 0xcb, 0xfc, 0x7d, 0x6e, 0xf3, 0xe7, 0xdf, 0xce, 0xf3, 0x53, 0x6f, 0xe7, 0x85, 0xd0, + 0xed, 0xfc, 0x8d, 0x08, 0x88, 0x47, 0x5d, 0xe2, 0x8b, 0x0b, 0x18, 0x0a, 0x59, 0xae, 0x65, 0xa3, + 0x1b, 0x9e, 0x74, 0x53, 0x8c, 0xdc, 0x87, 0x4f, 0xef, 0xcf, 0x99, 0x33, 0x69, 0x41, 0xfc, 0xad, + 0xe0, 0x4e, 0xfd, 0x75, 0x77, 0xea, 0x23, 0x01, 0xc9, 0x21, 0x0c, 0xae, 0xbb, 0x61, 0x10, 0x0d, + 0x0a, 0x0e, 0x20, 0x71, 0x77, 0x64, 0xbe, 0x63, 0x01, 0x8d, 0xb1, 0xb9, 0x9f, 0x39, 0x5b, 0xee, + 0xa5, 0xbf, 0x0a, 0x90, 0x20, 0x81, 0xa0, 0x37, 0x4c, 0x60, 0x6f, 0x0c, 0xee, 0xaa, 0x88, 0xfb, + 0xae, 0xda, 0x02, 0xff, 0x95, 0x44, 0xd7, 0x35, 0xe2, 0xa6, 0x72, 0x23, 0x2b, 0x36, 0x09, 0x59, + 0x33, 0xcf, 0x87, 0xac, 0xd9, 0x33, 0x9d, 0x0c, 0x7f, 0x17, 0x60, 0x61, 0xb0, 0xee, 0x91, 0xe7, + 0xc2, 0x17, 0x77, 0xed, 0xf7, 0x40, 0xa4, 0x5e, 0xf6, 0x4b, 0xfd, 0x41, 0x08, 0x9c, 0x1d, 0x70, + 0x09, 0x62, 0xf4, 0x72, 0x0f, 0x62, 0x9f, 0xd2, 0xa5, 0x7d, 0x58, 0x61, 0xba, 0x01, 0x4d, 0x7f, + 0xfc, 0x1c, 0x4b, 0x91, 0x10, 0x4b, 0xf7, 0x60, 0x65, 0xb8, 0x0f, 0x3d, 0x96, 0x36, 0x9d, 0xc8, + 0x07, 0x9d, 0x60, 0x0c, 0xe9, 0x6f, 0x1c, 0xb5, 0xb4, 0xaa, 0x19, 0x95, 0x39, 0x56, 0x1f, 0x45, + 0x26, 0xd6, 0x47, 0xd1, 0xd1, 0xf5, 0xd1, 0xe7, 0x37, 0x77, 0xff, 0xe0, 0xb8, 0x65, 0xfe, 0x86, + 0xe0, 0xf6, 0x0b, 0xbb, 0xfa, 0xbb, 0x6e, 0xcc, 0x50, 0xa7, 0x1d, 0xcc, 0x5c, 0x76, 0x56, 0xcd, + 0x30, 0x93, 0xf8, 0xf4, 0xfe, 0xac, 0x19, 0x4b, 0x0b, 0xe2, 0x32, 0x0f, 0x80, 0x74, 0xc7, 0x0d, + 0x5c, 0x8f, 0xea, 0x24, 0xc8, 0xff, 0x2e, 0xc2, 0x0a, 0x40, 0xa7, 0x4c, 0xf5, 0x07, 0xdc, 0x55, + 0x4c, 0x47, 0xc2, 0x8b, 0xe9, 0xe8, 0xf8, 0x62, 0x3a, 0x36, 0xa6, 0x98, 0x9e, 0x99, 0x50, 0x4c, + 0xcf, 0x4e, 0x2a, 0xa6, 0xe7, 0x26, 0x25, 0x31, 0xfe, 0x7c, 0x49, 0x4c, 0x9c, 0x29, 0x89, 0xbf, + 0xe7, 0x8d, 0x07, 0xee, 0xe9, 0x48, 0x10, 0x7f, 0x19, 0xd3, 0xb3, 0xc5, 0xf4, 0x4f, 0x82, 0xbb, + 0xaa, 0xe1, 0xfe, 0x3a, 0x00, 0x97, 0x86, 0xc1, 0x64, 0x18, 0x8f, 0x7f, 0x7a, 0x7f, 0xc6, 0x8c, + 0x12, 0x84, 0x0f, 0xc2, 0xfa, 0x82, 0x2b, 0xac, 0x11, 0x9f, 0xd0, 0x30, 0xc0, 0x37, 0xbc, 0x01, + 0x8e, 0xfa, 0x04, 0xdd, 0xa1, 0xde, 0x1c, 0x84, 0x3a, 0xe6, 0x93, 0x72, 0x82, 0x9e, 0x0b, 0x04, + 0x7d, 0xc6, 0x27, 0xe9, 0x0d, 0xbf, 0xb4, 0x01, 0x70, 0xc8, 0xdb, 0x09, 0xc5, 0x82, 0x1f, 0x32, + 0xd2, 0x1d, 0x58, 0x74, 0xb8, 0xce, 0xc2, 0xaf, 0x41, 0xdc, 0xe9, 0x3f, 0xf8, 0xcf, 0x85, 0x7d, + 0x65, 0xc0, 0x92, 0x5a, 0x90, 0x3a, 0xf4, 0xb4, 0x29, 0xd0, 0x4d, 0x98, 0x37, 0x5a, 0x5a, 0x3d, + 0x5c, 0x39, 0x69, 0xb4, 0x34, 0x47, 0x87, 0x48, 0x77, 0xf0, 0xd3, 0xa1, 0x74, 0x24, 0x20, 0xdd, + 0xc1, 0x4f, 0x1d, 0x69, 0x49, 0x82, 0x79, 0x7e, 0xfb, 0x1e, 0xab, 0x15, 0xbb, 0x8b, 0x90, 0xfb, + 0xf8, 0xe1, 0x47, 0x4e, 0x11, 0xe6, 0x4b, 0xbd, 0x96, 0xad, 0x3f, 0x50, 0x1b, 0xb6, 0x61, 0x5a, + 0xe8, 0x2e, 0xc4, 0xda, 0xc7, 0xaa, 0xd3, 0xf2, 0xbb, 0x16, 0x5e, 0xdd, 0xb9, 0xb4, 0x14, 0xaa, + 0x22, 0x7d, 0x00, 0x49, 0x17, 0x11, 0xbd, 0x06, 0x31, 0xbb, 0xdf, 0x65, 0xb3, 0xa5, 0x76, 0xae, + 0x8c, 0xb1, 0x74, 0xac, 0xd6, 0xfa, 0x5d, 0xac, 0x50, 0x71, 0x74, 0xc7, 0xdb, 0xf1, 0x92, 0xc6, + 0xe8, 0x3d, 0xc8, 0xbb, 0x1b, 0x5e, 0xd2, 0xc7, 0x02, 0xa4, 0xd8, 0x4a, 0x15, 0x6c, 0x75, 0x8d, + 0x8e, 0xe5, 0xe9, 0xf7, 0x09, 0x9e, 0x7e, 0x5f, 0x1a, 0xa2, 0x3d, 0xd3, 0x29, 0xb8, 0xc8, 0x4f, + 0xb2, 0x61, 0x2d, 0xdc, 0x30, 0xb1, 0xcd, 0xf7, 0x3a, 0x1f, 0x0d, 0xfd, 0x89, 0x9d, 0xd5, 0x1f, + 0x05, 0x52, 0x95, 0x62, 0x61, 0x77, 0xb7, 0xa5, 0xe3, 0x8e, 0x9d, 0xef, 0xd9, 0x27, 0xe4, 0x3b, + 0xad, 0x41, 0x47, 0x43, 0x87, 0xe2, 0x8c, 0x50, 0xd4, 0xd0, 0x55, 0x58, 0xe0, 0x4c, 0xee, 0x07, + 0x73, 0x6e, 0x9e, 0x11, 0xab, 0x94, 0x26, 0xfd, 0x5f, 0x04, 0x56, 0xc8, 0xbe, 0xdb, 0x33, 0x55, + 0x42, 0x53, 0xcd, 0xc6, 0x89, 0x03, 0xc1, 0x15, 0x98, 0x35, 0x8e, 0x8f, 0x2d, 0x6c, 0x53, 0xcb, + 0x31, 0x85, 0x8f, 0xc8, 0x2d, 0xdd, 0xd2, 0xdb, 0x3a, 0xb3, 0x17, 0x53, 0xd8, 0x00, 0xfd, 0x0f, + 0xa4, 0x2c, 0xc3, 0xb4, 0xf5, 0x4e, 0xb3, 0xde, 0x30, 0x5a, 0xbd, 0x76, 0x87, 0x37, 0x56, 0x6f, + 0x8e, 0xef, 0x30, 0xba, 0xe6, 0x7d, 0x88, 0xfb, 0x74, 0x03, 0x7d, 0x28, 0x44, 0x36, 0xcf, 0x29, + 0x0b, 0xdc, 0xda, 0x2e, 0x35, 0x46, 0xe2, 0xab, 0x5a, 0x0d, 0x1a, 0xb3, 0xb8, 0x42, 0x7e, 0xa2, + 0x7d, 0x98, 0x7b, 0xaf, 0x87, 0x4d, 0x1d, 0x93, 0xcd, 0x47, 0xb0, 0xb5, 0x3d, 0xf5, 0x4c, 0x6f, + 0xf6, 0xb0, 0xd9, 0x57, 0x1c, 0x75, 0xe9, 0x17, 0x02, 0x2c, 0x8f, 0x92, 0x40, 0xfb, 0x10, 0x7d, + 0x17, 0xf7, 0x39, 0xe0, 0x9e, 0x75, 0x21, 0xc4, 0x04, 0xfa, 0x4f, 0x98, 0x6d, 0x63, 0xfb, 0xc4, + 0xd0, 0x38, 0x0a, 0x5f, 0x0c, 0x37, 0xc6, 0x6c, 0x94, 0xa8, 0xb4, 0xc2, 0xb5, 0x48, 0xcc, 0x4f, + 0xd5, 0x56, 0xcf, 0xf9, 0x8e, 0x67, 0x03, 0xe9, 0x27, 0x02, 0xac, 0x06, 0x92, 0xc7, 0x91, 0x7a, + 0xb6, 0xec, 0x5d, 0x81, 0x79, 0xdb, 0x20, 0x87, 0xa3, 0x89, 0xad, 0x5e, 0x8b, 0x41, 0x36, 0xa6, + 0x24, 0x29, 0x4d, 0xa1, 0x24, 0xf4, 0x06, 0x39, 0x15, 0x29, 0x33, 0x46, 0xc3, 0x7d, 0x7d, 0x8a, + 0x78, 0xd0, 0xde, 0x3d, 0x57, 0x93, 0xbe, 0xce, 0xeb, 0xbf, 0x01, 0x87, 0xf8, 0x52, 0x31, 0x9b, + 0x45, 0x07, 0xba, 0x6c, 0x80, 0x36, 0x20, 0x71, 0x68, 0x1a, 0xef, 0xe0, 0x86, 0x5d, 0x74, 0x5a, + 0xf7, 0x43, 0x02, 0x59, 0xd7, 0x11, 0xdd, 0x72, 0xce, 0xb6, 0x62, 0x23, 0x62, 0x4b, 0x31, 0x5a, + 0xd8, 0xa2, 0xde, 0x25, 0x14, 0x36, 0x20, 0x97, 0x71, 0xc5, 0x6c, 0x96, 0x87, 0x6d, 0x0c, 0x67, + 0x28, 0xfd, 0x58, 0x80, 0xb5, 0x52, 0x9f, 0xdb, 0xad, 0x98, 0xcd, 0xe7, 0xc1, 0x7e, 0x10, 0x9c, + 0x0f, 0xfd, 0xe0, 0xbc, 0x3d, 0x66, 0x9b, 0x07, 0xbc, 0xf0, 0xe1, 0xf3, 0x37, 0x02, 0xac, 0x86, + 0x08, 0xa1, 0x87, 0x6e, 0x88, 0xe6, 0xce, 0x32, 0xc9, 0xbf, 0x0d, 0xa5, 0x3f, 0x12, 0x20, 0x33, + 0x2a, 0xd2, 0x9f, 0x15, 0x50, 0x5f, 0xf3, 0x01, 0xf5, 0x62, 0xf8, 0x2a, 0x2a, 0x66, 0x73, 0x00, + 0xcf, 0x1b, 0x10, 0xad, 0x98, 0xcd, 0x40, 0x39, 0x87, 0x20, 0xe6, 0x6a, 0xaf, 0xd1, 0xdf, 0xd2, + 0x6d, 0x58, 0x28, 0xf5, 0x0f, 0xb1, 0xd9, 0xd6, 0xd9, 0x83, 0x14, 0xda, 0x84, 0x64, 0x77, 0x38, + 0xa4, 0x77, 0x5d, 0x42, 0x71, 0x93, 0x24, 0x15, 0x52, 0xec, 0x82, 0x1e, 0x94, 0x36, 0x83, 0xf5, + 0x09, 0xee, 0xf5, 0x5d, 0x87, 0x45, 0xa7, 0x2e, 0xab, 0xf3, 0xb0, 0xb0, 0xf5, 0xa7, 0x1c, 0x72, + 0x85, 0x85, 0x87, 0x63, 0x2e, 0x3a, 0xc0, 0x9c, 0x64, 0xc1, 0x1c, 0x9f, 0x02, 0xdd, 0x83, 0x39, + 0x56, 0x61, 0x39, 0xf7, 0xee, 0x98, 0xae, 0x0a, 0xd3, 0x51, 0x1c, 0x05, 0x57, 0x3e, 0x22, 0xa3, + 0xf3, 0x11, 0x75, 0xf9, 0x4b, 0xaa, 0xb7, 0x59, 0x5e, 0x79, 0xf8, 0xaa, 0x40, 0xe1, 0x4c, 0xed, + 0xb2, 0x8b, 0x00, 0xf8, 0x94, 0xdc, 0x55, 0xf4, 0x8a, 0xe7, 0xbb, 0x9e, 0x52, 0xc8, 0x55, 0xee, + 0x29, 0x5f, 0xa3, 0xbe, 0xf2, 0x75, 0x1d, 0x12, 0x58, 0xd3, 0x6d, 0xc3, 0xf5, 0x0a, 0x17, 0x67, + 0x04, 0x76, 0x5c, 0xb0, 0xdf, 0x4e, 0xd9, 0xcc, 0x46, 0xe8, 0x25, 0x88, 0x69, 0xaa, 0xad, 0xf2, + 0x8f, 0xb8, 0xd5, 0x80, 0x97, 0x55, 0xfa, 0xaa, 0xaa, 0x50, 0xa1, 0xac, 0xe9, 0x79, 0xd3, 0x64, + 0x2f, 0x7f, 0x9b, 0xb0, 0x71, 0x54, 0x95, 0x95, 0xaa, 0x5c, 0xad, 0x16, 0x2b, 0xe5, 0x6a, 0x2d, + 0x5f, 0x93, 0xeb, 0x47, 0xe5, 0xea, 0xa1, 0xbc, 0x5b, 0x7c, 0x50, 0x94, 0x0b, 0xe9, 0x73, 0x68, + 0x1d, 0x56, 0x03, 0x12, 0xf9, 0xdd, 0x5a, 0xf1, 0x91, 0x9c, 0x16, 0xd0, 0x65, 0x58, 0x0f, 0x30, + 0x6b, 0xb2, 0x52, 0x2a, 0x96, 0xf3, 0x35, 0xb9, 0x90, 0x8e, 0x64, 0xdf, 0x83, 0x34, 0xb9, 0xec, + 0x9d, 0x6d, 0x42, 0xa3, 0xb0, 0x06, 0x17, 0x28, 0x4d, 0xae, 0x1e, 0x56, 0xca, 0x55, 0xb9, 0xf6, + 0xf8, 0x50, 0xae, 0xef, 0x56, 0x0a, 0x72, 0xfa, 0x1c, 0xba, 0x08, 0x6b, 0x01, 0x56, 0xb1, 0x50, + 0xaf, 0x55, 0x1e, 0xca, 0xe5, 0xb4, 0x80, 0xae, 0xc2, 0xe5, 0x50, 0x36, 0x17, 0x8a, 0x64, 0x7f, + 0xc6, 0x5b, 0x13, 0x6c, 0x81, 0x6b, 0x70, 0x81, 0x7a, 0x38, 0x62, 0x65, 0xcb, 0x90, 0x1e, 0xb2, + 0x06, 0x4b, 0x5a, 0x01, 0x34, 0xa4, 0x16, 0xcb, 0x9c, 0x1e, 0x41, 0x17, 0x60, 0x69, 0x48, 0x2f, + 0xc8, 0x07, 0x32, 0x59, 0x60, 0xd4, 0x6b, 0xe4, 0xa0, 0xb2, 0xfb, 0x50, 0x2e, 0xa4, 0x63, 0x5e, + 0xe1, 0xea, 0x51, 0xf5, 0x50, 0x2e, 0x17, 0xd2, 0x33, 0x5e, 0x72, 0xb1, 0x5c, 0xac, 0x15, 0xf3, + 0x07, 0xe9, 0xd9, 0xec, 0x7f, 0xc3, 0x2c, 0x6b, 0x0a, 0x92, 0xc9, 0xf7, 0xe4, 0x72, 0x41, 0x56, + 0x7c, 0xae, 0x2e, 0xc1, 0x02, 0xa7, 0x3f, 0x90, 0x4b, 0xf9, 0x03, 0xe2, 0xe7, 0x22, 0x24, 0x39, + 0x89, 0x12, 0x22, 0x08, 0x41, 0x8a, 0x13, 0x0a, 0xc5, 0x47, 0x24, 0x27, 0xe9, 0x68, 0xb6, 0x00, + 0x73, 0xbc, 0x8c, 0x44, 0xab, 0x70, 0xbe, 0xf4, 0x20, 0x4f, 0x43, 0xe6, 0xb5, 0xbd, 0x08, 0x49, + 0x87, 0x51, 0x2d, 0x55, 0x99, 0x65, 0x87, 0x50, 0xa9, 0x1d, 0xa6, 0x23, 0xd9, 0x63, 0x88, 0x3b, + 0x45, 0x1c, 0x12, 0x61, 0x99, 0xfc, 0x1e, 0x11, 0xce, 0x15, 0x40, 0x03, 0x4e, 0xb9, 0x52, 0xab, + 0x2b, 0x72, 0xbe, 0xf0, 0x38, 0x2d, 0x10, 0xbf, 0x06, 0x74, 0x46, 0x8b, 0x90, 0xa8, 0xb9, 0x68, + 0xa5, 0xca, 0x23, 0x12, 0xcb, 0xec, 0x29, 0xa0, 0x60, 0x0d, 0x82, 0x2e, 0x41, 0x26, 0x48, 0xad, + 0x1f, 0x95, 0x1f, 0x96, 0x2b, 0x6f, 0x95, 0x19, 0x66, 0x46, 0xf0, 0x2b, 0xca, 0x5e, 0xbd, 0x58, + 0x48, 0x0b, 0xe8, 0x0a, 0x5c, 0x1c, 0xc1, 0x3e, 0x54, 0x2a, 0xff, 0x25, 0xef, 0xd6, 0x88, 0x48, + 0x24, 0xfb, 0x04, 0x2e, 0x8c, 0xbc, 0x58, 0xd0, 0x35, 0xb8, 0x52, 0x7a, 0xcc, 0x45, 0x2b, 0xca, + 0x5e, 0x55, 0xce, 0x2b, 0xbb, 0xfb, 0x0f, 0xe5, 0xc7, 0xbe, 0x95, 0x4b, 0x70, 0x69, 0xb4, 0x18, + 0x71, 0xa2, 0x9c, 0x2f, 0xc9, 0x69, 0x21, 0xfb, 0x47, 0x01, 0xe6, 0xdd, 0xb7, 0x0d, 0xc9, 0x07, + 0x13, 0x2c, 0xc9, 0xb5, 0xfd, 0x4a, 0xa1, 0x2e, 0xbf, 0x79, 0x94, 0x3f, 0xa8, 0xa6, 0xcf, 0xa1, + 0x0d, 0x10, 0x3d, 0x8c, 0x6a, 0x2d, 0xaf, 0xd4, 0xaa, 0xf5, 0xb7, 0x8a, 0xb5, 0xfd, 0xb4, 0x40, + 0xf0, 0xec, 0xe1, 0xee, 0x56, 0xca, 0xb5, 0x7c, 0xb1, 0x5c, 0x4d, 0x47, 0xc8, 0xee, 0x18, 0x61, + 0xb1, 0x5e, 0xdc, 0x2b, 0x57, 0x14, 0xb9, 0xbe, 0x9b, 0x27, 0x88, 0x40, 0x5b, 0xf0, 0x42, 0x98, + 0x75, 0x8f, 0x64, 0x8c, 0x2c, 0x7e, 0xe4, 0x4c, 0x1e, 0xb1, 0x99, 0x9d, 0xbf, 0x6c, 0x40, 0x92, + 0x54, 0xf1, 0x55, 0x6c, 0x9e, 0xea, 0x0d, 0x4c, 0x6a, 0x86, 0x7d, 0xac, 0xb6, 0xec, 0x93, 0xf7, + 0xd1, 0x4a, 0xe0, 0x3c, 0x92, 0xdb, 0x5d, 0xbb, 0x9f, 0x09, 0xa1, 0x4b, 0xe9, 0x0f, 0xff, 0xf0, + 0xe7, 0xef, 0x44, 0x00, 0xc5, 0x73, 0x27, 0xdc, 0xc2, 0x1e, 0xcc, 0x28, 0x58, 0xd5, 0xfa, 0x67, + 0x36, 0x95, 0xa2, 0xa6, 0xe2, 0x68, 0x36, 0x67, 0x52, 0xfd, 0x32, 0xc4, 0x1f, 0xf1, 0xbf, 0x14, + 0x09, 0xb5, 0x15, 0x76, 0x7c, 0x4a, 0x4b, 0xd4, 0x58, 0x12, 0x25, 0x06, 0x7f, 0x6d, 0x82, 0xbe, + 0x22, 0xc0, 0xd2, 0x1e, 0xb6, 0x59, 0xff, 0xd6, 0xf9, 0x8b, 0x8e, 0x50, 0xcb, 0xd9, 0xa9, 0xff, + 0x44, 0xc4, 0x92, 0x5e, 0xfa, 0xf0, 0xe7, 0xe2, 0x22, 0x2c, 0x10, 0x19, 0xdc, 0xb1, 0xf5, 0x86, + 0x6a, 0x63, 0x8d, 0xce, 0x8f, 0x50, 0x3a, 0xd7, 0xc6, 0x39, 0xf2, 0xa5, 0xe6, 0xfc, 0x05, 0x0a, + 0x6a, 0x43, 0x62, 0xe0, 0x45, 0xe8, 0xec, 0xd2, 0xf8, 0xd9, 0xc9, 0xb4, 0xd2, 0x0b, 0x61, 0xb3, + 0x92, 0x55, 0xd3, 0x29, 0x73, 0x6d, 0x8c, 0xfe, 0x5f, 0x80, 0xf4, 0x60, 0x3e, 0xe7, 0x39, 0x36, + 0x6c, 0xda, 0x09, 0x7f, 0x17, 0xe3, 0x7a, 0x11, 0x94, 0x6e, 0x86, 0xcd, 0x7e, 0x1e, 0x2d, 0x0d, + 0x66, 0xcf, 0x75, 0xf9, 0x84, 0x3f, 0x14, 0xe0, 0x3c, 0x6b, 0xb5, 0x78, 0x1d, 0xd9, 0x19, 0x33, + 0x61, 0xc8, 0x7b, 0x53, 0xe6, 0xda, 0x54, 0x4e, 0x4a, 0xb9, 0x30, 0x07, 0x57, 0x32, 0x41, 0x07, + 0xef, 0x09, 0x59, 0xf4, 0xbf, 0x90, 0x1a, 0x04, 0x8a, 0xbd, 0xec, 0x84, 0x85, 0x69, 0xc2, 0x07, + 0xc8, 0xe0, 0x79, 0x44, 0xca, 0x86, 0xf9, 0xb0, 0x84, 0x16, 0x87, 0x3e, 0xb0, 0x47, 0x92, 0xef, + 0x0b, 0xb0, 0xc4, 0xea, 0x19, 0xb7, 0x0b, 0x2f, 0x4f, 0x13, 0x20, 0xf7, 0x43, 0x40, 0xe6, 0xea, + 0x14, 0xce, 0x49, 0xb7, 0xc2, 0x1c, 0x5b, 0xce, 0xf8, 0x1d, 0x23, 0xa1, 0xf9, 0x9e, 0x00, 0x4b, + 0x81, 0xd7, 0x8f, 0x71, 0xc9, 0x0b, 0x7b, 0x2a, 0x09, 0xdd, 0xfc, 0xaf, 0x85, 0x39, 0xb4, 0x21, + 0xad, 0xfa, 0x1c, 0xca, 0xb1, 0x5e, 0x7c, 0x9f, 0x38, 0xf6, 0x89, 0x00, 0x17, 0x15, 0x6c, 0xe1, + 0x8e, 0x56, 0xea, 0xbb, 0x5e, 0x92, 0x1a, 0xb4, 0x43, 0x58, 0x1a, 0x97, 0xc3, 0x30, 0x47, 0xf2, + 0x61, 0x8e, 0x6c, 0x49, 0x57, 0x03, 0x8e, 0x98, 0x74, 0xea, 0x53, 0xd7, 0x9c, 0x7e, 0x20, 0xb1, + 0xc7, 0x96, 0x67, 0x04, 0xd2, 0xe0, 0xbd, 0x62, 0x4a, 0x20, 0xb1, 0x57, 0x0b, 0x3f, 0x90, 0x98, + 0x0b, 0x53, 0x01, 0xc9, 0xdd, 0xe2, 0x9f, 0x04, 0x24, 0x2a, 0x3b, 0x25, 0x90, 0xa8, 0x63, 0x24, + 0x34, 0xdf, 0xf5, 0x01, 0x69, 0xa2, 0x6f, 0xa3, 0x9f, 0x1f, 0x9e, 0x13, 0x46, 0xd4, 0x9d, 0x30, + 0x18, 0xb9, 0x9e, 0x75, 0x58, 0x4a, 0x59, 0x13, 0xfc, 0x33, 0x81, 0x11, 0x77, 0x64, 0x34, 0x8c, + 0x3c, 0x27, 0xb7, 0xd3, 0x4d, 0x7f, 0xc6, 0x93, 0xdb, 0xf5, 0x6c, 0x30, 0xe5, 0xc9, 0xcd, 0xdb, + 0xcb, 0xe8, 0x63, 0xb7, 0x17, 0xce, 0x57, 0xde, 0xd6, 0xa4, 0x8f, 0x3a, 0xe7, 0x5b, 0x33, 0x73, + 0x65, 0xa2, 0xe4, 0x94, 0xfe, 0x38, 0x1f, 0x89, 0xfe, 0x9b, 0xc4, 0x09, 0xcc, 0x54, 0x37, 0x89, + 0xb7, 0xc7, 0x3f, 0xe9, 0x26, 0x71, 0x5a, 0xe8, 0xd3, 0xdd, 0x24, 0x3c, 0x60, 0x24, 0x73, 0xa7, + 0xfc, 0x8a, 0x2f, 0x1d, 0xab, 0xe1, 0x19, 0x7b, 0x71, 0xaa, 0x86, 0xb4, 0x25, 0xdd, 0x08, 0x9b, + 0x3d, 0x8d, 0x52, 0xc3, 0xd9, 0xdb, 0x64, 0xaa, 0x6f, 0x09, 0x90, 0x76, 0x76, 0xfe, 0xa0, 0xd1, + 0x3e, 0x26, 0x57, 0xde, 0x06, 0x7e, 0x28, 0x96, 0xef, 0x86, 0x79, 0xb0, 0x99, 0x59, 0x77, 0x61, + 0x99, 0x1b, 0xb3, 0x72, 0xfc, 0x4f, 0x1d, 0x49, 0x24, 0x3e, 0x80, 0x44, 0x5e, 0xd3, 0x4a, 0xc7, + 0x6a, 0xa5, 0x76, 0x18, 0x1a, 0x89, 0xad, 0xb1, 0x0d, 0x75, 0x57, 0x13, 0x7c, 0x4c, 0x26, 0xa4, + 0x25, 0x4f, 0x2c, 0x72, 0x86, 0xdd, 0x25, 0xf3, 0x7f, 0x24, 0xb8, 0x1f, 0x0e, 0x6a, 0x87, 0xe8, + 0xc5, 0x89, 0x77, 0x16, 0x9d, 0x31, 0x34, 0x16, 0xff, 0x11, 0xe6, 0xc1, 0xa5, 0xcc, 0x5a, 0xc0, + 0x03, 0xf7, 0x11, 0xd3, 0x82, 0x79, 0x05, 0xb7, 0x8d, 0x53, 0x3c, 0x21, 0x18, 0x61, 0x13, 0x87, + 0xef, 0x92, 0x6c, 0x70, 0xe9, 0xe8, 0xa7, 0x02, 0x2c, 0xf1, 0x4f, 0x97, 0xfe, 0xe0, 0x53, 0x6a, + 0xec, 0x1d, 0x30, 0xb2, 0x13, 0x9f, 0xb9, 0x7d, 0x06, 0x0d, 0x9e, 0xa3, 0x57, 0xc3, 0x1c, 0x5d, + 0x97, 0x56, 0xa8, 0xa3, 0x4d, 0xa2, 0x44, 0xbd, 0xad, 0x5b, 0x54, 0x95, 0x84, 0xe7, 0xd7, 0x02, + 0x9c, 0x77, 0x1c, 0x1e, 0x7e, 0xd6, 0x59, 0xe8, 0x95, 0xb3, 0x34, 0x16, 0x1d, 0xaf, 0x5f, 0x3d, + 0x9b, 0x12, 0x77, 0x3c, 0x1c, 0xe6, 0xd2, 0x7a, 0xae, 0xd9, 0x32, 0x9e, 0xa8, 0x2d, 0x52, 0x2e, + 0x12, 0x65, 0xc3, 0x6c, 0x5a, 0x6e, 0xef, 0xbf, 0x29, 0xc0, 0x2a, 0xdd, 0xf1, 0x6f, 0xb3, 0x29, + 0xdd, 0x1d, 0xba, 0x67, 0xb8, 0xfb, 0x3d, 0x2d, 0x3e, 0x69, 0x27, 0xcc, 0xaf, 0x35, 0xb4, 0x9a, + 0x73, 0x75, 0xfa, 0x72, 0xdc, 0x14, 0xa9, 0xfa, 0xbf, 0xea, 0x38, 0xc4, 0x57, 0xfb, 0x2f, 0x75, + 0x68, 0x6c, 0x31, 0xe2, 0x76, 0xa8, 0x8d, 0xef, 0xff, 0x52, 0xf8, 0x24, 0xff, 0x35, 0x01, 0xbd, + 0x0e, 0x71, 0xf2, 0xc1, 0xb9, 0x99, 0x3f, 0x2c, 0x4a, 0x59, 0xb4, 0x75, 0x62, 0xdb, 0x5d, 0xeb, + 0x5e, 0x2e, 0xd7, 0xd4, 0xed, 0x93, 0xde, 0x93, 0xed, 0x86, 0xd1, 0xce, 0x91, 0xb9, 0x07, 0x2b, + 0xe8, 0xbe, 0xdb, 0xcc, 0x11, 0xf3, 0x3b, 0xd1, 0x97, 0xb7, 0x6f, 0x67, 0x85, 0xc8, 0x4e, 0x5a, + 0xed, 0x76, 0x5b, 0xfc, 0x6e, 0xcc, 0xbd, 0x63, 0x19, 0x1d, 0x2f, 0xa5, 0x69, 0x76, 0x1b, 0xf7, + 0x02, 0x32, 0xf7, 0x02, 0x32, 0x6f, 0xdf, 0x98, 0x34, 0x23, 0xfd, 0x8f, 0x11, 0x44, 0xf4, 0xc9, + 0x2c, 0x0d, 0xcf, 0x2b, 0xff, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xb5, 0x9f, 0x74, 0x35, 0x58, 0x31, + 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // AuthServiceClient is the client API for AuthService service. // @@ -4562,6 +3171,7 @@ type AuthServiceClient interface { VerifyMyUserPhone(ctx context.Context, in *VerifyUserPhoneRequest, opts ...grpc.CallOption) (*empty.Empty, error) ResendMyPhoneVerificationCode(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) GetMyUserAddress(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserAddressView, error) + GetMyUserChanges(ctx context.Context, in *ChangesRequest, opts ...grpc.CallOption) (*Changes, error) UpdateMyUserAddress(ctx context.Context, in *UpdateUserAddressRequest, opts ...grpc.CallOption) (*UserAddress, error) GetMyMfas(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MultiFactors, error) //Password @@ -4578,10 +3188,10 @@ type AuthServiceClient interface { } type authServiceClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient { +func NewAuthServiceClient(cc *grpc.ClientConn) AuthServiceClient { return &authServiceClient{cc} } @@ -4729,6 +3339,15 @@ func (c *authServiceClient) GetMyUserAddress(ctx context.Context, in *empty.Empt return out, nil } +func (c *authServiceClient) GetMyUserChanges(ctx context.Context, in *ChangesRequest, opts ...grpc.CallOption) (*Changes, error) { + out := new(Changes) + err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/GetMyUserChanges", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *authServiceClient) UpdateMyUserAddress(ctx context.Context, in *UpdateUserAddressRequest, opts ...grpc.CallOption) (*UserAddress, error) { out := new(UserAddress) err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/UpdateMyUserAddress", in, out, opts...) @@ -4840,6 +3459,7 @@ type AuthServiceServer interface { VerifyMyUserPhone(context.Context, *VerifyUserPhoneRequest) (*empty.Empty, error) ResendMyPhoneVerificationCode(context.Context, *empty.Empty) (*empty.Empty, error) GetMyUserAddress(context.Context, *empty.Empty) (*UserAddressView, error) + GetMyUserChanges(context.Context, *ChangesRequest) (*Changes, error) UpdateMyUserAddress(context.Context, *UpdateUserAddressRequest) (*UserAddress, error) GetMyMfas(context.Context, *empty.Empty) (*MultiFactors, error) //Password @@ -4859,82 +3479,85 @@ type AuthServiceServer interface { type UnimplementedAuthServiceServer struct { } -func (*UnimplementedAuthServiceServer) Healthz(context.Context, *empty.Empty) (*empty.Empty, error) { +func (*UnimplementedAuthServiceServer) Healthz(ctx context.Context, req *empty.Empty) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method Healthz not implemented") } -func (*UnimplementedAuthServiceServer) Ready(context.Context, *empty.Empty) (*empty.Empty, error) { +func (*UnimplementedAuthServiceServer) Ready(ctx context.Context, req *empty.Empty) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method Ready not implemented") } -func (*UnimplementedAuthServiceServer) Validate(context.Context, *empty.Empty) (*_struct.Struct, error) { +func (*UnimplementedAuthServiceServer) Validate(ctx context.Context, req *empty.Empty) (*_struct.Struct, error) { return nil, status.Errorf(codes.Unimplemented, "method Validate not implemented") } -func (*UnimplementedAuthServiceServer) GetMyUserSessions(context.Context, *empty.Empty) (*UserSessionViews, error) { +func (*UnimplementedAuthServiceServer) GetMyUserSessions(ctx context.Context, req *empty.Empty) (*UserSessionViews, error) { return nil, status.Errorf(codes.Unimplemented, "method GetMyUserSessions not implemented") } -func (*UnimplementedAuthServiceServer) GetMyUser(context.Context, *empty.Empty) (*UserView, error) { +func (*UnimplementedAuthServiceServer) GetMyUser(ctx context.Context, req *empty.Empty) (*UserView, error) { return nil, status.Errorf(codes.Unimplemented, "method GetMyUser not implemented") } -func (*UnimplementedAuthServiceServer) GetMyUserProfile(context.Context, *empty.Empty) (*UserProfileView, error) { +func (*UnimplementedAuthServiceServer) GetMyUserProfile(ctx context.Context, req *empty.Empty) (*UserProfileView, error) { return nil, status.Errorf(codes.Unimplemented, "method GetMyUserProfile not implemented") } -func (*UnimplementedAuthServiceServer) UpdateMyUserProfile(context.Context, *UpdateUserProfileRequest) (*UserProfile, error) { +func (*UnimplementedAuthServiceServer) UpdateMyUserProfile(ctx context.Context, req *UpdateUserProfileRequest) (*UserProfile, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateMyUserProfile not implemented") } -func (*UnimplementedAuthServiceServer) GetMyUserEmail(context.Context, *empty.Empty) (*UserEmailView, error) { +func (*UnimplementedAuthServiceServer) GetMyUserEmail(ctx context.Context, req *empty.Empty) (*UserEmailView, error) { return nil, status.Errorf(codes.Unimplemented, "method GetMyUserEmail not implemented") } -func (*UnimplementedAuthServiceServer) ChangeMyUserEmail(context.Context, *UpdateUserEmailRequest) (*UserEmail, error) { +func (*UnimplementedAuthServiceServer) ChangeMyUserEmail(ctx context.Context, req *UpdateUserEmailRequest) (*UserEmail, error) { return nil, status.Errorf(codes.Unimplemented, "method ChangeMyUserEmail not implemented") } -func (*UnimplementedAuthServiceServer) VerifyMyUserEmail(context.Context, *VerifyMyUserEmailRequest) (*empty.Empty, error) { +func (*UnimplementedAuthServiceServer) VerifyMyUserEmail(ctx context.Context, req *VerifyMyUserEmailRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method VerifyMyUserEmail not implemented") } -func (*UnimplementedAuthServiceServer) ResendMyEmailVerificationMail(context.Context, *empty.Empty) (*empty.Empty, error) { +func (*UnimplementedAuthServiceServer) ResendMyEmailVerificationMail(ctx context.Context, req *empty.Empty) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ResendMyEmailVerificationMail not implemented") } -func (*UnimplementedAuthServiceServer) GetMyUserPhone(context.Context, *empty.Empty) (*UserPhoneView, error) { +func (*UnimplementedAuthServiceServer) GetMyUserPhone(ctx context.Context, req *empty.Empty) (*UserPhoneView, error) { return nil, status.Errorf(codes.Unimplemented, "method GetMyUserPhone not implemented") } -func (*UnimplementedAuthServiceServer) ChangeMyUserPhone(context.Context, *UpdateUserPhoneRequest) (*UserPhone, error) { +func (*UnimplementedAuthServiceServer) ChangeMyUserPhone(ctx context.Context, req *UpdateUserPhoneRequest) (*UserPhone, error) { return nil, status.Errorf(codes.Unimplemented, "method ChangeMyUserPhone not implemented") } -func (*UnimplementedAuthServiceServer) VerifyMyUserPhone(context.Context, *VerifyUserPhoneRequest) (*empty.Empty, error) { +func (*UnimplementedAuthServiceServer) VerifyMyUserPhone(ctx context.Context, req *VerifyUserPhoneRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method VerifyMyUserPhone not implemented") } -func (*UnimplementedAuthServiceServer) ResendMyPhoneVerificationCode(context.Context, *empty.Empty) (*empty.Empty, error) { +func (*UnimplementedAuthServiceServer) ResendMyPhoneVerificationCode(ctx context.Context, req *empty.Empty) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ResendMyPhoneVerificationCode not implemented") } -func (*UnimplementedAuthServiceServer) GetMyUserAddress(context.Context, *empty.Empty) (*UserAddressView, error) { +func (*UnimplementedAuthServiceServer) GetMyUserAddress(ctx context.Context, req *empty.Empty) (*UserAddressView, error) { return nil, status.Errorf(codes.Unimplemented, "method GetMyUserAddress not implemented") } -func (*UnimplementedAuthServiceServer) UpdateMyUserAddress(context.Context, *UpdateUserAddressRequest) (*UserAddress, error) { +func (*UnimplementedAuthServiceServer) GetMyUserChanges(ctx context.Context, req *ChangesRequest) (*Changes, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMyUserChanges not implemented") +} +func (*UnimplementedAuthServiceServer) UpdateMyUserAddress(ctx context.Context, req *UpdateUserAddressRequest) (*UserAddress, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateMyUserAddress not implemented") } -func (*UnimplementedAuthServiceServer) GetMyMfas(context.Context, *empty.Empty) (*MultiFactors, error) { +func (*UnimplementedAuthServiceServer) GetMyMfas(ctx context.Context, req *empty.Empty) (*MultiFactors, error) { return nil, status.Errorf(codes.Unimplemented, "method GetMyMfas not implemented") } -func (*UnimplementedAuthServiceServer) ChangeMyPassword(context.Context, *PasswordChange) (*empty.Empty, error) { +func (*UnimplementedAuthServiceServer) ChangeMyPassword(ctx context.Context, req *PasswordChange) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ChangeMyPassword not implemented") } -func (*UnimplementedAuthServiceServer) AddMfaOTP(context.Context, *empty.Empty) (*MfaOtpResponse, error) { +func (*UnimplementedAuthServiceServer) AddMfaOTP(ctx context.Context, req *empty.Empty) (*MfaOtpResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddMfaOTP not implemented") } -func (*UnimplementedAuthServiceServer) VerifyMfaOTP(context.Context, *VerifyMfaOtp) (*empty.Empty, error) { +func (*UnimplementedAuthServiceServer) VerifyMfaOTP(ctx context.Context, req *VerifyMfaOtp) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method VerifyMfaOTP not implemented") } -func (*UnimplementedAuthServiceServer) RemoveMfaOTP(context.Context, *empty.Empty) (*empty.Empty, error) { +func (*UnimplementedAuthServiceServer) RemoveMfaOTP(ctx context.Context, req *empty.Empty) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveMfaOTP not implemented") } -func (*UnimplementedAuthServiceServer) SearchMyUserGrant(context.Context, *UserGrantSearchRequest) (*UserGrantSearchResponse, error) { +func (*UnimplementedAuthServiceServer) SearchMyUserGrant(ctx context.Context, req *UserGrantSearchRequest) (*UserGrantSearchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchMyUserGrant not implemented") } -func (*UnimplementedAuthServiceServer) SearchMyProjectOrgs(context.Context, *MyProjectOrgSearchRequest) (*MyProjectOrgSearchResponse, error) { +func (*UnimplementedAuthServiceServer) SearchMyProjectOrgs(ctx context.Context, req *MyProjectOrgSearchRequest) (*MyProjectOrgSearchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchMyProjectOrgs not implemented") } -func (*UnimplementedAuthServiceServer) GetMyZitadelPermissions(context.Context, *empty.Empty) (*MyPermissions, error) { +func (*UnimplementedAuthServiceServer) GetMyZitadelPermissions(ctx context.Context, req *empty.Empty) (*MyPermissions, error) { return nil, status.Errorf(codes.Unimplemented, "method GetMyZitadelPermissions not implemented") } -func (*UnimplementedAuthServiceServer) GetMyProjectPermissions(context.Context, *empty.Empty) (*MyPermissions, error) { +func (*UnimplementedAuthServiceServer) GetMyProjectPermissions(ctx context.Context, req *empty.Empty) (*MyPermissions, error) { return nil, status.Errorf(codes.Unimplemented, "method GetMyProjectPermissions not implemented") } @@ -5230,6 +3853,24 @@ func _AuthService_GetMyUserAddress_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _AuthService_GetMyUserChanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ChangesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).GetMyUserChanges(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/caos.zitadel.auth.api.v1.AuthService/GetMyUserChanges", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).GetMyUserChanges(ctx, req.(*ChangesRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _AuthService_UpdateMyUserAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateUserAddressRequest) if err := dec(in); err != nil { @@ -5478,6 +4119,10 @@ var _AuthService_serviceDesc = grpc.ServiceDesc{ MethodName: "GetMyUserAddress", Handler: _AuthService_GetMyUserAddress_Handler, }, + { + MethodName: "GetMyUserChanges", + Handler: _AuthService_GetMyUserChanges_Handler, + }, { MethodName: "UpdateMyUserAddress", Handler: _AuthService_UpdateMyUserAddress_Handler, diff --git a/pkg/auth/api/grpc/auth.pb.gw.go b/pkg/auth/api/grpc/auth.pb.gw.go index fa0452048e..4aba80e76d 100644 --- a/pkg/auth/api/grpc/auth.pb.gw.go +++ b/pkg/auth/api/grpc/auth.pb.gw.go @@ -13,6 +13,7 @@ import ( "io" "net/http" + "github.com/golang/protobuf/descriptor" "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/runtime" @@ -23,11 +24,13 @@ import ( "google.golang.org/grpc/status" ) +// Suppress "imported and not used" errors var _ codes.Code var _ io.Reader var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage func request_AuthService_Healthz_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty @@ -38,6 +41,15 @@ func request_AuthService_Healthz_0(ctx context.Context, marshaler runtime.Marsha } +func local_request_AuthService_Healthz_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.Healthz(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_Ready_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -47,6 +59,15 @@ func request_AuthService_Ready_0(ctx context.Context, marshaler runtime.Marshale } +func local_request_AuthService_Ready_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.Ready(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_Validate_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -56,6 +77,15 @@ func request_AuthService_Validate_0(ctx context.Context, marshaler runtime.Marsh } +func local_request_AuthService_Validate_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.Validate(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_GetMyUserSessions_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -65,6 +95,15 @@ func request_AuthService_GetMyUserSessions_0(ctx context.Context, marshaler runt } +func local_request_AuthService_GetMyUserSessions_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetMyUserSessions(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_GetMyUser_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -74,6 +113,15 @@ func request_AuthService_GetMyUser_0(ctx context.Context, marshaler runtime.Mars } +func local_request_AuthService_GetMyUser_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetMyUser(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_GetMyUserProfile_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -83,6 +131,15 @@ func request_AuthService_GetMyUserProfile_0(ctx context.Context, marshaler runti } +func local_request_AuthService_GetMyUserProfile_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetMyUserProfile(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_UpdateMyUserProfile_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UpdateUserProfileRequest var metadata runtime.ServerMetadata @@ -100,6 +157,23 @@ func request_AuthService_UpdateMyUserProfile_0(ctx context.Context, marshaler ru } +func local_request_AuthService_UpdateMyUserProfile_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UpdateUserProfileRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.UpdateMyUserProfile(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_GetMyUserEmail_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -109,6 +183,15 @@ func request_AuthService_GetMyUserEmail_0(ctx context.Context, marshaler runtime } +func local_request_AuthService_GetMyUserEmail_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetMyUserEmail(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_ChangeMyUserEmail_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UpdateUserEmailRequest var metadata runtime.ServerMetadata @@ -126,6 +209,23 @@ func request_AuthService_ChangeMyUserEmail_0(ctx context.Context, marshaler runt } +func local_request_AuthService_ChangeMyUserEmail_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UpdateUserEmailRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ChangeMyUserEmail(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_VerifyMyUserEmail_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq VerifyMyUserEmailRequest var metadata runtime.ServerMetadata @@ -143,6 +243,23 @@ func request_AuthService_VerifyMyUserEmail_0(ctx context.Context, marshaler runt } +func local_request_AuthService_VerifyMyUserEmail_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq VerifyMyUserEmailRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.VerifyMyUserEmail(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_ResendMyEmailVerificationMail_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -160,6 +277,23 @@ func request_AuthService_ResendMyEmailVerificationMail_0(ctx context.Context, ma } +func local_request_AuthService_ResendMyEmailVerificationMail_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ResendMyEmailVerificationMail(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_GetMyUserPhone_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -169,6 +303,15 @@ func request_AuthService_GetMyUserPhone_0(ctx context.Context, marshaler runtime } +func local_request_AuthService_GetMyUserPhone_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetMyUserPhone(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_ChangeMyUserPhone_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UpdateUserPhoneRequest var metadata runtime.ServerMetadata @@ -186,6 +329,23 @@ func request_AuthService_ChangeMyUserPhone_0(ctx context.Context, marshaler runt } +func local_request_AuthService_ChangeMyUserPhone_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UpdateUserPhoneRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ChangeMyUserPhone(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_VerifyMyUserPhone_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq VerifyUserPhoneRequest var metadata runtime.ServerMetadata @@ -203,6 +363,23 @@ func request_AuthService_VerifyMyUserPhone_0(ctx context.Context, marshaler runt } +func local_request_AuthService_VerifyMyUserPhone_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq VerifyUserPhoneRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.VerifyMyUserPhone(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_ResendMyPhoneVerificationCode_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -220,6 +397,23 @@ func request_AuthService_ResendMyPhoneVerificationCode_0(ctx context.Context, ma } +func local_request_AuthService_ResendMyPhoneVerificationCode_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ResendMyPhoneVerificationCode(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_GetMyUserAddress_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -229,6 +423,48 @@ func request_AuthService_GetMyUserAddress_0(ctx context.Context, marshaler runti } +func local_request_AuthService_GetMyUserAddress_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetMyUserAddress(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AuthService_GetMyUserChanges_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_AuthService_GetMyUserChanges_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ChangesRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuthService_GetMyUserChanges_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetMyUserChanges(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AuthService_GetMyUserChanges_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ChangesRequest + var metadata runtime.ServerMetadata + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_AuthService_GetMyUserChanges_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetMyUserChanges(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_UpdateMyUserAddress_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UpdateUserAddressRequest var metadata runtime.ServerMetadata @@ -246,6 +482,23 @@ func request_AuthService_UpdateMyUserAddress_0(ctx context.Context, marshaler ru } +func local_request_AuthService_UpdateMyUserAddress_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UpdateUserAddressRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.UpdateMyUserAddress(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_GetMyMfas_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -255,6 +508,15 @@ func request_AuthService_GetMyMfas_0(ctx context.Context, marshaler runtime.Mars } +func local_request_AuthService_GetMyMfas_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetMyMfas(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_ChangeMyPassword_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq PasswordChange var metadata runtime.ServerMetadata @@ -272,6 +534,23 @@ func request_AuthService_ChangeMyPassword_0(ctx context.Context, marshaler runti } +func local_request_AuthService_ChangeMyPassword_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PasswordChange + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ChangeMyPassword(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_AddMfaOTP_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -289,6 +568,23 @@ func request_AuthService_AddMfaOTP_0(ctx context.Context, marshaler runtime.Mars } +func local_request_AuthService_AddMfaOTP_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.AddMfaOTP(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_VerifyMfaOTP_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq VerifyMfaOtp var metadata runtime.ServerMetadata @@ -306,6 +602,23 @@ func request_AuthService_VerifyMfaOTP_0(ctx context.Context, marshaler runtime.M } +func local_request_AuthService_VerifyMfaOTP_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq VerifyMfaOtp + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.VerifyMfaOTP(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_RemoveMfaOTP_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -315,6 +628,15 @@ func request_AuthService_RemoveMfaOTP_0(ctx context.Context, marshaler runtime.M } +func local_request_AuthService_RemoveMfaOTP_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.RemoveMfaOTP(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_SearchMyUserGrant_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UserGrantSearchRequest var metadata runtime.ServerMetadata @@ -332,6 +654,23 @@ func request_AuthService_SearchMyUserGrant_0(ctx context.Context, marshaler runt } +func local_request_AuthService_SearchMyUserGrant_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UserGrantSearchRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.SearchMyUserGrant(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_SearchMyProjectOrgs_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq MyProjectOrgSearchRequest var metadata runtime.ServerMetadata @@ -349,6 +688,23 @@ func request_AuthService_SearchMyProjectOrgs_0(ctx context.Context, marshaler ru } +func local_request_AuthService_SearchMyProjectOrgs_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq MyProjectOrgSearchRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.SearchMyProjectOrgs(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_GetMyZitadelPermissions_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -358,6 +714,15 @@ func request_AuthService_GetMyZitadelPermissions_0(ctx context.Context, marshale } +func local_request_AuthService_GetMyZitadelPermissions_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetMyZitadelPermissions(ctx, &protoReq) + return msg, metadata, err + +} + func request_AuthService_GetMyProjectPermissions_0(ctx context.Context, marshaler runtime.Marshaler, client AuthServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var metadata runtime.ServerMetadata @@ -367,6 +732,563 @@ func request_AuthService_GetMyProjectPermissions_0(ctx context.Context, marshale } +func local_request_AuthService_GetMyProjectPermissions_0(ctx context.Context, marshaler runtime.Marshaler, server AuthServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetMyProjectPermissions(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterAuthServiceHandlerServer registers the http handlers for service AuthService to "mux". +// UnaryRPC :call AuthServiceServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error { + + mux.Handle("GET", pattern_AuthService_Healthz_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_Healthz_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_Healthz_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthService_Ready_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_Ready_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_Ready_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthService_Validate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_Validate_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_Validate_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthService_GetMyUserSessions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_GetMyUserSessions_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_GetMyUserSessions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthService_GetMyUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_GetMyUser_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_GetMyUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthService_GetMyUserProfile_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_GetMyUserProfile_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_GetMyUserProfile_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AuthService_UpdateMyUserProfile_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_UpdateMyUserProfile_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_UpdateMyUserProfile_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthService_GetMyUserEmail_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_GetMyUserEmail_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_GetMyUserEmail_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AuthService_ChangeMyUserEmail_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_ChangeMyUserEmail_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_ChangeMyUserEmail_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AuthService_VerifyMyUserEmail_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_VerifyMyUserEmail_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_VerifyMyUserEmail_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AuthService_ResendMyEmailVerificationMail_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_ResendMyEmailVerificationMail_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_ResendMyEmailVerificationMail_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthService_GetMyUserPhone_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_GetMyUserPhone_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_GetMyUserPhone_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AuthService_ChangeMyUserPhone_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_ChangeMyUserPhone_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_ChangeMyUserPhone_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AuthService_VerifyMyUserPhone_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_VerifyMyUserPhone_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_VerifyMyUserPhone_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AuthService_ResendMyPhoneVerificationCode_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_ResendMyPhoneVerificationCode_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_ResendMyPhoneVerificationCode_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthService_GetMyUserAddress_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_GetMyUserAddress_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_GetMyUserAddress_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthService_GetMyUserChanges_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_GetMyUserChanges_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_GetMyUserChanges_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AuthService_UpdateMyUserAddress_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_UpdateMyUserAddress_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_UpdateMyUserAddress_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthService_GetMyMfas_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_GetMyMfas_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_GetMyMfas_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AuthService_ChangeMyPassword_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_ChangeMyPassword_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_ChangeMyPassword_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AuthService_AddMfaOTP_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_AddMfaOTP_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_AddMfaOTP_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AuthService_VerifyMfaOTP_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_VerifyMfaOTP_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_VerifyMfaOTP_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AuthService_RemoveMfaOTP_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_RemoveMfaOTP_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_RemoveMfaOTP_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AuthService_SearchMyUserGrant_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_SearchMyUserGrant_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_SearchMyUserGrant_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AuthService_SearchMyProjectOrgs_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_SearchMyProjectOrgs_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_SearchMyProjectOrgs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthService_GetMyZitadelPermissions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_GetMyZitadelPermissions_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_GetMyZitadelPermissions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthService_GetMyProjectPermissions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthService_GetMyProjectPermissions_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_GetMyProjectPermissions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + // RegisterAuthServiceHandlerFromEndpoint is same as RegisterAuthServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { @@ -725,6 +1647,26 @@ func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux }) + mux.Handle("GET", pattern_AuthService_GetMyUserChanges_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AuthService_GetMyUserChanges_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthService_GetMyUserChanges_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("PUT", pattern_AuthService_UpdateMyUserAddress_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -929,57 +1871,59 @@ func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux } var ( - pattern_AuthService_Healthz_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0}, []string{"healthz"}, "")) + pattern_AuthService_Healthz_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0}, []string{"healthz"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_Ready_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0}, []string{"ready"}, "")) + pattern_AuthService_Ready_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0}, []string{"ready"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_Validate_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0}, []string{"validate"}, "")) + pattern_AuthService_Validate_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0}, []string{"validate"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_GetMyUserSessions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"me", "usersessions"}, "")) + pattern_AuthService_GetMyUserSessions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"me", "usersessions"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_GetMyUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"users", "me"}, "")) + pattern_AuthService_GetMyUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"users", "me"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_GetMyUserProfile_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "profile"}, "")) + pattern_AuthService_GetMyUserProfile_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "profile"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_UpdateMyUserProfile_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "profile"}, "")) + pattern_AuthService_UpdateMyUserProfile_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "profile"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_GetMyUserEmail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "email"}, "")) + pattern_AuthService_GetMyUserEmail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "email"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_ChangeMyUserEmail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "email"}, "")) + pattern_AuthService_ChangeMyUserEmail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "email"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_VerifyMyUserEmail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "email", "_verify"}, "")) + pattern_AuthService_VerifyMyUserEmail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "email", "_verify"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_ResendMyEmailVerificationMail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "email", "_resendverification"}, "")) + pattern_AuthService_ResendMyEmailVerificationMail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "email", "_resendverification"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_GetMyUserPhone_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "phone"}, "")) + pattern_AuthService_GetMyUserPhone_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "phone"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_ChangeMyUserPhone_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "phone"}, "")) + pattern_AuthService_ChangeMyUserPhone_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "phone"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_VerifyMyUserPhone_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "phone", "_verify"}, "")) + pattern_AuthService_VerifyMyUserPhone_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "phone", "_verify"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_ResendMyPhoneVerificationCode_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "phone", "_resendverification"}, "")) + pattern_AuthService_ResendMyPhoneVerificationCode_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "phone", "_resendverification"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_GetMyUserAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "address"}, "")) + pattern_AuthService_GetMyUserAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "address"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_UpdateMyUserAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "address"}, "")) + pattern_AuthService_GetMyUserChanges_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "changes"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_GetMyMfas_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "mfas"}, "")) + pattern_AuthService_UpdateMyUserAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "address"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_ChangeMyPassword_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "passwords", "_change"}, "")) + pattern_AuthService_GetMyMfas_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"users", "me", "mfas"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_AddMfaOTP_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "mfa", "otp"}, "")) + pattern_AuthService_ChangeMyPassword_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "passwords", "_change"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_VerifyMfaOTP_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"users", "me", "mfa", "otp", "_verify"}, "")) + pattern_AuthService_AddMfaOTP_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "mfa", "otp"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_RemoveMfaOTP_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "mfa", "otp"}, "")) + pattern_AuthService_VerifyMfaOTP_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"users", "me", "mfa", "otp", "_verify"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_SearchMyUserGrant_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"usergrants", "me", "_search"}, "")) + pattern_AuthService_RemoveMfaOTP_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"users", "me", "mfa", "otp"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_SearchMyProjectOrgs_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"global", "projectorgs", "_search"}, "")) + pattern_AuthService_SearchMyUserGrant_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"usergrants", "me", "_search"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_GetMyZitadelPermissions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"permissions", "zitadel", "me"}, "")) + pattern_AuthService_SearchMyProjectOrgs_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"global", "projectorgs", "_search"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_AuthService_GetMyProjectPermissions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"permissions", "me"}, "")) + pattern_AuthService_GetMyZitadelPermissions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"permissions", "zitadel", "me"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_AuthService_GetMyProjectPermissions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"permissions", "me"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( @@ -1015,6 +1959,8 @@ var ( forward_AuthService_GetMyUserAddress_0 = runtime.ForwardResponseMessage + forward_AuthService_GetMyUserChanges_0 = runtime.ForwardResponseMessage + forward_AuthService_UpdateMyUserAddress_0 = runtime.ForwardResponseMessage forward_AuthService_GetMyMfas_0 = runtime.ForwardResponseMessage diff --git a/pkg/auth/api/grpc/auth.swagger.json b/pkg/auth/api/grpc/auth.swagger.json index c765be497d..edec34c01a 100644 --- a/pkg/auth/api/grpc/auth.swagger.json +++ b/pkg/auth/api/grpc/auth.swagger.json @@ -211,6 +211,45 @@ ] } }, + "/users/me/changes": { + "get": { + "operationId": "GetMyUserChanges", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Changes" + } + } + }, + "parameters": [ + { + "name": "limit", + "in": "query", + "required": false, + "type": "string", + "format": "uint64" + }, + { + "name": "sequence_offset", + "in": "query", + "required": false, + "type": "string", + "format": "uint64" + }, + { + "name": "asc", + "in": "query", + "required": false, + "type": "boolean", + "format": "boolean" + } + ], + "tags": [ + "AuthService" + ] + } + }, "/users/me/email": { "get": { "operationId": "GetMyUserEmail", @@ -552,7 +591,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/protobufStruct" + "type": "object" } } }, @@ -563,19 +602,6 @@ } }, "definitions": { - "protobufListValue": { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Repeated field of dynamically typed values." - } - }, - "description": "`ListValue` is a wrapper around a repeated field of values.\n\nThe JSON representation for `ListValue` is JSON array." - }, "protobufNullValue": { "type": "string", "enum": [ @@ -584,50 +610,49 @@ "default": "NULL_VALUE", "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." }, - "protobufStruct": { + "v1Change": { "type": "object", "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Unordered map of dynamically typed values." - } - }, - "description": "`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\nThe JSON representation for `Struct` is JSON object." - }, - "protobufValue": { - "type": "object", - "properties": { - "null_value": { - "$ref": "#/definitions/protobufNullValue", - "description": "Represents a null value." - }, - "number_value": { - "type": "number", - "format": "double", - "description": "Represents a double value." - }, - "string_value": { + "change_date": { "type": "string", - "description": "Represents a string value." + "format": "date-time" }, - "bool_value": { - "type": "boolean", - "format": "boolean", - "description": "Represents a boolean value." + "event_type": { + "type": "string" }, - "struct_value": { - "$ref": "#/definitions/protobufStruct", - "description": "Represents a structured value." + "sequence": { + "type": "string", + "format": "uint64" }, - "list_value": { - "$ref": "#/definitions/protobufListValue", - "description": "Represents a repeated `Value`." + "editor_id": { + "type": "string" + }, + "editor": { + "type": "string" + }, + "data": { + "type": "object" } - }, - "description": "`Value` represents a dynamically typed value which can be either\nnull, a number, a string, a boolean, a recursive struct value, or a\nlist of values. A producer of value is expected to set one of that\nvariants, absence of any variant indicates an error.\n\nThe JSON representation for `Value` is JSON value." + } + }, + "v1Changes": { + "type": "object", + "properties": { + "changes": { + "type": "array", + "items": { + "$ref": "#/definitions/v1Change" + } + }, + "offset": { + "type": "string", + "format": "uint64" + }, + "limit": { + "type": "string", + "format": "uint64" + } + } }, "v1Gender": { "type": "string", diff --git a/pkg/auth/api/grpc/user.go b/pkg/auth/api/grpc/user.go index 434d463d5b..16519fd126 100644 --- a/pkg/auth/api/grpc/user.go +++ b/pkg/auth/api/grpc/user.go @@ -128,3 +128,11 @@ func (s *Server) RemoveMfaOTP(ctx context.Context, _ *empty.Empty) (_ *empty.Emp s.repo.RemoveMyMfaOTP(ctx) return &empty.Empty{}, err } + +func (s *Server) GetMyUserChanges(ctx context.Context, request *ChangesRequest) (*Changes, error) { + changes, err := s.repo.MyUserChanges(ctx, request.SequenceOffset, request.Limit, request.Asc) + if err != nil { + return nil, err + } + return userChangesToResponse(changes, request.GetSequenceOffset(), request.GetLimit()), nil +} diff --git a/pkg/auth/api/grpc/user_converter.go b/pkg/auth/api/grpc/user_converter.go index 394e74e150..7e064e409a 100644 --- a/pkg/auth/api/grpc/user_converter.go +++ b/pkg/auth/api/grpc/user_converter.go @@ -2,6 +2,7 @@ package grpc import ( "context" + "encoding/json" "github.com/caos/logging" "github.com/caos/zitadel/internal/api/auth" @@ -9,6 +10,8 @@ import ( usr_model "github.com/caos/zitadel/internal/user/model" "github.com/golang/protobuf/ptypes" "golang.org/x/text/language" + "google.golang.org/protobuf/encoding/protojson" + "google.golang.org/protobuf/types/known/structpb" ) func userViewFromModel(user *usr_model.UserView) *UserView { @@ -335,3 +338,36 @@ func mfaTypeFromModel(mfatype usr_model.MfaType) MfaType { return MfaType_MFATYPE_UNSPECIFIED } } + +func userChangesToResponse(response *usr_model.UserChanges, offset uint64, limit uint64) (_ *Changes) { + return &Changes{ + Limit: limit, + Offset: offset, + Changes: userChangesToMgtAPI(response), + } +} + +func userChangesToMgtAPI(changes *usr_model.UserChanges) (_ []*Change) { + result := make([]*Change, len(changes.Changes)) + + for i, change := range changes.Changes { + var data *structpb.Struct + changedData, err := json.Marshal(change.Data) + if err == nil { + data = new(structpb.Struct) + err = protojson.Unmarshal(changedData, data) + logging.Log("GRPC-0kRsY").OnError(err).Debug("unable to marshal changed data to struct") + } + + result[i] = &Change{ + ChangeDate: change.ChangeDate, + EventType: change.EventType, + Sequence: change.Sequence, + Data: data, + EditorId: change.ModifierId, + Editor: change.ModifierName, + } + } + + return result +} diff --git a/pkg/auth/api/proto/auth.proto b/pkg/auth/api/proto/auth.proto index 04d045c0fd..bccde3418a 100644 --- a/pkg/auth/api/proto/auth.proto +++ b/pkg/auth/api/proto/auth.proto @@ -189,6 +189,16 @@ service AuthService { }; } + rpc GetMyUserChanges(ChangesRequest) returns (Changes) { + option (google.api.http) = { + get: "/users/me/changes" + }; + + option (caos.zitadel.utils.v1.auth_option) = { + permission: "authenticated" + }; + } + rpc UpdateMyUserAddress(UpdateUserAddressRequest) returns (UserAddress) { option (google.api.http) = { put: "/users/me/address" @@ -623,3 +633,24 @@ enum SearchMethod { SEARCHMETHOD_STARTS_WITH_IGNORE_CASE = 4; SEARCHMETHOD_CONTAINS_IGNORE_CASE = 5; } + +message ChangesRequest { + uint64 limit= 1; + uint64 sequence_offset = 2; + bool asc = 3; +} + +message Changes { + repeated Change changes = 1; + uint64 offset = 2; + uint64 limit = 3; +} + +message Change { + google.protobuf.Timestamp change_date = 1; + string event_type = 2; + uint64 sequence = 3; + string editor_id = 4; + string editor = 5; + google.protobuf.Struct data = 6; +} \ No newline at end of file diff --git a/pkg/management/api/grpc/user_converter.go b/pkg/management/api/grpc/user_converter.go index b0712cc960..e5843ae806 100644 --- a/pkg/management/api/grpc/user_converter.go +++ b/pkg/management/api/grpc/user_converter.go @@ -494,11 +494,14 @@ func userChangesToMgtAPI(changes *usr_model.UserChanges) (_ []*Change) { result := make([]*Change, len(changes.Changes)) for i, change := range changes.Changes { - b, err := json.Marshal(change.Data) - data := &structpb.Struct{} - err = protojson.Unmarshal(b, data) - if err != nil { + var data *structpb.Struct + changedData, err := json.Marshal(change.Data) + if err == nil { + data = new(structpb.Struct) + err = protojson.Unmarshal(changedData, data) + logging.Log("GRPC-a7F54").OnError(err).Debug("unable to marshal changed data to struct") } + result[i] = &Change{ ChangeDate: change.ChangeDate, EventType: change.EventType,