2026-05-29 19:56:14 +08:00

4511 lines
150 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.35.0
// source: proto/user/v1/host.proto
package userv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
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)
)
// HostProfile 是用户长期主播身份,不等同于 room-service 的房间 host_user_id。
type HostProfile struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
RegionId int64 `protobuf:"varint,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
CurrentAgencyId int64 `protobuf:"varint,4,opt,name=current_agency_id,json=currentAgencyId,proto3" json:"current_agency_id,omitempty"`
CurrentMembershipId int64 `protobuf:"varint,5,opt,name=current_membership_id,json=currentMembershipId,proto3" json:"current_membership_id,omitempty"`
Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
FirstBecameHostAtMs int64 `protobuf:"varint,7,opt,name=first_became_host_at_ms,json=firstBecameHostAtMs,proto3" json:"first_became_host_at_ms,omitempty"`
CreatedAtMs int64 `protobuf:"varint,8,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,9,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
// current_agency_owner_user_id 是当前 Agency 的收款用户快照wallet-service 入账时固化该值,避免月底按新归属错发代理工资。
CurrentAgencyOwnerUserId int64 `protobuf:"varint,10,opt,name=current_agency_owner_user_id,json=currentAgencyOwnerUserId,proto3" json:"current_agency_owner_user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *HostProfile) Reset() {
*x = HostProfile{}
mi := &file_proto_user_v1_host_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *HostProfile) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HostProfile) ProtoMessage() {}
func (x *HostProfile) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use HostProfile.ProtoReflect.Descriptor instead.
func (*HostProfile) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{0}
}
func (x *HostProfile) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *HostProfile) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *HostProfile) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *HostProfile) GetCurrentAgencyId() int64 {
if x != nil {
return x.CurrentAgencyId
}
return 0
}
func (x *HostProfile) GetCurrentMembershipId() int64 {
if x != nil {
return x.CurrentMembershipId
}
return 0
}
func (x *HostProfile) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
func (x *HostProfile) GetFirstBecameHostAtMs() int64 {
if x != nil {
return x.FirstBecameHostAtMs
}
return 0
}
func (x *HostProfile) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *HostProfile) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
func (x *HostProfile) GetCurrentAgencyOwnerUserId() int64 {
if x != nil {
return x.CurrentAgencyOwnerUserId
}
return 0
}
// Agency 是主播组织owner 自动拥有 host 身份和 owner membership。
type Agency struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgencyId int64 `protobuf:"varint,1,opt,name=agency_id,json=agencyId,proto3" json:"agency_id,omitempty"`
OwnerUserId int64 `protobuf:"varint,2,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"`
RegionId int64 `protobuf:"varint,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
ParentBdUserId int64 `protobuf:"varint,4,opt,name=parent_bd_user_id,json=parentBdUserId,proto3" json:"parent_bd_user_id,omitempty"`
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
JoinEnabled bool `protobuf:"varint,7,opt,name=join_enabled,json=joinEnabled,proto3" json:"join_enabled,omitempty"`
MaxHosts int32 `protobuf:"varint,8,opt,name=max_hosts,json=maxHosts,proto3" json:"max_hosts,omitempty"`
CreatedByUserId int64 `protobuf:"varint,9,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"`
CreatedAtMs int64 `protobuf:"varint,10,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,11,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
Avatar string `protobuf:"bytes,12,opt,name=avatar,proto3" json:"avatar,omitempty"`
HostCount int32 `protobuf:"varint,13,opt,name=host_count,json=hostCount,proto3" json:"host_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Agency) Reset() {
*x = Agency{}
mi := &file_proto_user_v1_host_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Agency) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Agency) ProtoMessage() {}
func (x *Agency) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Agency.ProtoReflect.Descriptor instead.
func (*Agency) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{1}
}
func (x *Agency) GetAgencyId() int64 {
if x != nil {
return x.AgencyId
}
return 0
}
func (x *Agency) GetOwnerUserId() int64 {
if x != nil {
return x.OwnerUserId
}
return 0
}
func (x *Agency) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *Agency) GetParentBdUserId() int64 {
if x != nil {
return x.ParentBdUserId
}
return 0
}
func (x *Agency) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Agency) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *Agency) GetJoinEnabled() bool {
if x != nil {
return x.JoinEnabled
}
return false
}
func (x *Agency) GetMaxHosts() int32 {
if x != nil {
return x.MaxHosts
}
return 0
}
func (x *Agency) GetCreatedByUserId() int64 {
if x != nil {
return x.CreatedByUserId
}
return 0
}
func (x *Agency) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *Agency) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
func (x *Agency) GetAvatar() string {
if x != nil {
return x.Avatar
}
return ""
}
func (x *Agency) GetHostCount() int32 {
if x != nil {
return x.HostCount
}
return 0
}
// BDProfile 表达 BD 或 BD Leader 拓展角色。BD 默认不是 host。
type BDProfile struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
RegionId int64 `protobuf:"varint,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
ParentLeaderUserId int64 `protobuf:"varint,4,opt,name=parent_leader_user_id,json=parentLeaderUserId,proto3" json:"parent_leader_user_id,omitempty"`
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
CreatedByUserId int64 `protobuf:"varint,6,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"`
CreatedAtMs int64 `protobuf:"varint,7,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,8,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BDProfile) Reset() {
*x = BDProfile{}
mi := &file_proto_user_v1_host_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BDProfile) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BDProfile) ProtoMessage() {}
func (x *BDProfile) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BDProfile.ProtoReflect.Descriptor instead.
func (*BDProfile) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{2}
}
func (x *BDProfile) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *BDProfile) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
func (x *BDProfile) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *BDProfile) GetParentLeaderUserId() int64 {
if x != nil {
return x.ParentLeaderUserId
}
return 0
}
func (x *BDProfile) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *BDProfile) GetCreatedByUserId() int64 {
if x != nil {
return x.CreatedByUserId
}
return 0
}
func (x *BDProfile) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *BDProfile) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// CoinSellerProfile 表达币商身份;余额在 wallet-service不在 user-service。
type CoinSellerProfile struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
MerchantAssetType string `protobuf:"bytes,3,opt,name=merchant_asset_type,json=merchantAssetType,proto3" json:"merchant_asset_type,omitempty"`
CreatedByUserId int64 `protobuf:"varint,4,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"`
CreatedAtMs int64 `protobuf:"varint,5,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,6,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CoinSellerProfile) Reset() {
*x = CoinSellerProfile{}
mi := &file_proto_user_v1_host_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CoinSellerProfile) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CoinSellerProfile) ProtoMessage() {}
func (x *CoinSellerProfile) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CoinSellerProfile.ProtoReflect.Descriptor instead.
func (*CoinSellerProfile) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{3}
}
func (x *CoinSellerProfile) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *CoinSellerProfile) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *CoinSellerProfile) GetMerchantAssetType() string {
if x != nil {
return x.MerchantAssetType
}
return ""
}
func (x *CoinSellerProfile) GetCreatedByUserId() int64 {
if x != nil {
return x.CreatedByUserId
}
return 0
}
func (x *CoinSellerProfile) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *CoinSellerProfile) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// CoinSellerListItem 是 App 充值页展示的同区域启用币商投影。
type CoinSellerListItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
DisplayUserId string `protobuf:"bytes,2,opt,name=display_user_id,json=displayUserId,proto3" json:"display_user_id,omitempty"`
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
CountryId int64 `protobuf:"varint,5,opt,name=country_id,json=countryId,proto3" json:"country_id,omitempty"`
CountryCode string `protobuf:"bytes,6,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
CountryName string `protobuf:"bytes,7,opt,name=country_name,json=countryName,proto3" json:"country_name,omitempty"`
CountryDisplayName string `protobuf:"bytes,8,opt,name=country_display_name,json=countryDisplayName,proto3" json:"country_display_name,omitempty"`
RegionId int64 `protobuf:"varint,9,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
RegionCode string `protobuf:"bytes,10,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
RegionName string `protobuf:"bytes,11,opt,name=region_name,json=regionName,proto3" json:"region_name,omitempty"`
Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
MerchantAssetType string `protobuf:"bytes,13,opt,name=merchant_asset_type,json=merchantAssetType,proto3" json:"merchant_asset_type,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,14,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CoinSellerListItem) Reset() {
*x = CoinSellerListItem{}
mi := &file_proto_user_v1_host_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CoinSellerListItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CoinSellerListItem) ProtoMessage() {}
func (x *CoinSellerListItem) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CoinSellerListItem.ProtoReflect.Descriptor instead.
func (*CoinSellerListItem) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{4}
}
func (x *CoinSellerListItem) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *CoinSellerListItem) GetDisplayUserId() string {
if x != nil {
return x.DisplayUserId
}
return ""
}
func (x *CoinSellerListItem) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *CoinSellerListItem) GetAvatar() string {
if x != nil {
return x.Avatar
}
return ""
}
func (x *CoinSellerListItem) GetCountryId() int64 {
if x != nil {
return x.CountryId
}
return 0
}
func (x *CoinSellerListItem) GetCountryCode() string {
if x != nil {
return x.CountryCode
}
return ""
}
func (x *CoinSellerListItem) GetCountryName() string {
if x != nil {
return x.CountryName
}
return ""
}
func (x *CoinSellerListItem) GetCountryDisplayName() string {
if x != nil {
return x.CountryDisplayName
}
return ""
}
func (x *CoinSellerListItem) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *CoinSellerListItem) GetRegionCode() string {
if x != nil {
return x.RegionCode
}
return ""
}
func (x *CoinSellerListItem) GetRegionName() string {
if x != nil {
return x.RegionName
}
return ""
}
func (x *CoinSellerListItem) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *CoinSellerListItem) GetMerchantAssetType() string {
if x != nil {
return x.MerchantAssetType
}
return ""
}
func (x *CoinSellerListItem) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// UserRoleSummary 是 App 我的页和入口显隐使用的轻量角色摘要。
// 它把 host、Agency、manager、BD 和币商身份收敛到一次 user-service RPC避免 gateway 随角色扩张继续 fanout。
type UserRoleSummary struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
IsHost bool `protobuf:"varint,2,opt,name=is_host,json=isHost,proto3" json:"is_host,omitempty"`
IsAgency bool `protobuf:"varint,3,opt,name=is_agency,json=isAgency,proto3" json:"is_agency,omitempty"`
IsBd bool `protobuf:"varint,4,opt,name=is_bd,json=isBd,proto3" json:"is_bd,omitempty"`
IsBdLeader bool `protobuf:"varint,5,opt,name=is_bd_leader,json=isBdLeader,proto3" json:"is_bd_leader,omitempty"`
IsCoinSeller bool `protobuf:"varint,6,opt,name=is_coin_seller,json=isCoinSeller,proto3" json:"is_coin_seller,omitempty"`
HostStatus string `protobuf:"bytes,7,opt,name=host_status,json=hostStatus,proto3" json:"host_status,omitempty"`
AgencyId int64 `protobuf:"varint,8,opt,name=agency_id,json=agencyId,proto3" json:"agency_id,omitempty"`
BdId int64 `protobuf:"varint,9,opt,name=bd_id,json=bdId,proto3" json:"bd_id,omitempty"`
BdStatus string `protobuf:"bytes,10,opt,name=bd_status,json=bdStatus,proto3" json:"bd_status,omitempty"`
CoinSellerStatus string `protobuf:"bytes,11,opt,name=coin_seller_status,json=coinSellerStatus,proto3" json:"coin_seller_status,omitempty"`
PendingRoleInvitations int64 `protobuf:"varint,12,opt,name=pending_role_invitations,json=pendingRoleInvitations,proto3" json:"pending_role_invitations,omitempty"`
IsManager bool `protobuf:"varint,13,opt,name=is_manager,json=isManager,proto3" json:"is_manager,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserRoleSummary) Reset() {
*x = UserRoleSummary{}
mi := &file_proto_user_v1_host_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserRoleSummary) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserRoleSummary) ProtoMessage() {}
func (x *UserRoleSummary) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserRoleSummary.ProtoReflect.Descriptor instead.
func (*UserRoleSummary) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{5}
}
func (x *UserRoleSummary) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *UserRoleSummary) GetIsHost() bool {
if x != nil {
return x.IsHost
}
return false
}
func (x *UserRoleSummary) GetIsAgency() bool {
if x != nil {
return x.IsAgency
}
return false
}
func (x *UserRoleSummary) GetIsBd() bool {
if x != nil {
return x.IsBd
}
return false
}
func (x *UserRoleSummary) GetIsBdLeader() bool {
if x != nil {
return x.IsBdLeader
}
return false
}
func (x *UserRoleSummary) GetIsCoinSeller() bool {
if x != nil {
return x.IsCoinSeller
}
return false
}
func (x *UserRoleSummary) GetHostStatus() string {
if x != nil {
return x.HostStatus
}
return ""
}
func (x *UserRoleSummary) GetAgencyId() int64 {
if x != nil {
return x.AgencyId
}
return 0
}
func (x *UserRoleSummary) GetBdId() int64 {
if x != nil {
return x.BdId
}
return 0
}
func (x *UserRoleSummary) GetBdStatus() string {
if x != nil {
return x.BdStatus
}
return ""
}
func (x *UserRoleSummary) GetCoinSellerStatus() string {
if x != nil {
return x.CoinSellerStatus
}
return ""
}
func (x *UserRoleSummary) GetPendingRoleInvitations() int64 {
if x != nil {
return x.PendingRoleInvitations
}
return 0
}
func (x *UserRoleSummary) GetIsManager() bool {
if x != nil {
return x.IsManager
}
return false
}
// AgencyMembership 是 host 与 Agency 的有时效关系事实。
type AgencyMembership struct {
state protoimpl.MessageState `protogen:"open.v1"`
MembershipId int64 `protobuf:"varint,1,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"`
AgencyId int64 `protobuf:"varint,2,opt,name=agency_id,json=agencyId,proto3" json:"agency_id,omitempty"`
HostUserId int64 `protobuf:"varint,3,opt,name=host_user_id,json=hostUserId,proto3" json:"host_user_id,omitempty"`
RegionId int64 `protobuf:"varint,4,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
MembershipType string `protobuf:"bytes,5,opt,name=membership_type,json=membershipType,proto3" json:"membership_type,omitempty"`
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
JoinedAtMs int64 `protobuf:"varint,7,opt,name=joined_at_ms,json=joinedAtMs,proto3" json:"joined_at_ms,omitempty"`
EndedAtMs int64 `protobuf:"varint,8,opt,name=ended_at_ms,json=endedAtMs,proto3" json:"ended_at_ms,omitempty"`
EndedByUserId int64 `protobuf:"varint,9,opt,name=ended_by_user_id,json=endedByUserId,proto3" json:"ended_by_user_id,omitempty"`
EndedReason string `protobuf:"bytes,10,opt,name=ended_reason,json=endedReason,proto3" json:"ended_reason,omitempty"`
CreatedAtMs int64 `protobuf:"varint,11,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,12,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AgencyMembership) Reset() {
*x = AgencyMembership{}
mi := &file_proto_user_v1_host_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AgencyMembership) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AgencyMembership) ProtoMessage() {}
func (x *AgencyMembership) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AgencyMembership.ProtoReflect.Descriptor instead.
func (*AgencyMembership) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{6}
}
func (x *AgencyMembership) GetMembershipId() int64 {
if x != nil {
return x.MembershipId
}
return 0
}
func (x *AgencyMembership) GetAgencyId() int64 {
if x != nil {
return x.AgencyId
}
return 0
}
func (x *AgencyMembership) GetHostUserId() int64 {
if x != nil {
return x.HostUserId
}
return 0
}
func (x *AgencyMembership) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *AgencyMembership) GetMembershipType() string {
if x != nil {
return x.MembershipType
}
return ""
}
func (x *AgencyMembership) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *AgencyMembership) GetJoinedAtMs() int64 {
if x != nil {
return x.JoinedAtMs
}
return 0
}
func (x *AgencyMembership) GetEndedAtMs() int64 {
if x != nil {
return x.EndedAtMs
}
return 0
}
func (x *AgencyMembership) GetEndedByUserId() int64 {
if x != nil {
return x.EndedByUserId
}
return 0
}
func (x *AgencyMembership) GetEndedReason() string {
if x != nil {
return x.EndedReason
}
return ""
}
func (x *AgencyMembership) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *AgencyMembership) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// AgencyApplication 是用户主动申请加入 Agency 的 App 事实。
type AgencyApplication struct {
state protoimpl.MessageState `protogen:"open.v1"`
ApplicationId int64 `protobuf:"varint,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
ApplicantUserId int64 `protobuf:"varint,3,opt,name=applicant_user_id,json=applicantUserId,proto3" json:"applicant_user_id,omitempty"`
AgencyId int64 `protobuf:"varint,4,opt,name=agency_id,json=agencyId,proto3" json:"agency_id,omitempty"`
RegionId int64 `protobuf:"varint,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
ReviewedByUserId int64 `protobuf:"varint,7,opt,name=reviewed_by_user_id,json=reviewedByUserId,proto3" json:"reviewed_by_user_id,omitempty"`
ReviewReason string `protobuf:"bytes,8,opt,name=review_reason,json=reviewReason,proto3" json:"review_reason,omitempty"`
ReviewedAtMs int64 `protobuf:"varint,9,opt,name=reviewed_at_ms,json=reviewedAtMs,proto3" json:"reviewed_at_ms,omitempty"`
CreatedAtMs int64 `protobuf:"varint,10,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,11,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AgencyApplication) Reset() {
*x = AgencyApplication{}
mi := &file_proto_user_v1_host_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AgencyApplication) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AgencyApplication) ProtoMessage() {}
func (x *AgencyApplication) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AgencyApplication.ProtoReflect.Descriptor instead.
func (*AgencyApplication) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{7}
}
func (x *AgencyApplication) GetApplicationId() int64 {
if x != nil {
return x.ApplicationId
}
return 0
}
func (x *AgencyApplication) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *AgencyApplication) GetApplicantUserId() int64 {
if x != nil {
return x.ApplicantUserId
}
return 0
}
func (x *AgencyApplication) GetAgencyId() int64 {
if x != nil {
return x.AgencyId
}
return 0
}
func (x *AgencyApplication) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *AgencyApplication) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *AgencyApplication) GetReviewedByUserId() int64 {
if x != nil {
return x.ReviewedByUserId
}
return 0
}
func (x *AgencyApplication) GetReviewReason() string {
if x != nil {
return x.ReviewReason
}
return ""
}
func (x *AgencyApplication) GetReviewedAtMs() int64 {
if x != nil {
return x.ReviewedAtMs
}
return 0
}
func (x *AgencyApplication) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *AgencyApplication) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// RoleInvitation 是 BD/BD Leader 邀请用户成为 Agency 或 BD 的 App 事实。
type RoleInvitation struct {
state protoimpl.MessageState `protogen:"open.v1"`
InvitationId int64 `protobuf:"varint,1,opt,name=invitation_id,json=invitationId,proto3" json:"invitation_id,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
InvitationType string `protobuf:"bytes,3,opt,name=invitation_type,json=invitationType,proto3" json:"invitation_type,omitempty"`
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
InviterUserId int64 `protobuf:"varint,5,opt,name=inviter_user_id,json=inviterUserId,proto3" json:"inviter_user_id,omitempty"`
InviterBdUserId int64 `protobuf:"varint,6,opt,name=inviter_bd_user_id,json=inviterBdUserId,proto3" json:"inviter_bd_user_id,omitempty"`
TargetUserId int64 `protobuf:"varint,7,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
RegionId int64 `protobuf:"varint,8,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
AgencyName string `protobuf:"bytes,9,opt,name=agency_name,json=agencyName,proto3" json:"agency_name,omitempty"`
ParentBdUserId int64 `protobuf:"varint,10,opt,name=parent_bd_user_id,json=parentBdUserId,proto3" json:"parent_bd_user_id,omitempty"`
ParentLeaderUserId int64 `protobuf:"varint,11,opt,name=parent_leader_user_id,json=parentLeaderUserId,proto3" json:"parent_leader_user_id,omitempty"`
ProcessedByUserId int64 `protobuf:"varint,12,opt,name=processed_by_user_id,json=processedByUserId,proto3" json:"processed_by_user_id,omitempty"`
ProcessReason string `protobuf:"bytes,13,opt,name=process_reason,json=processReason,proto3" json:"process_reason,omitempty"`
ProcessedAtMs int64 `protobuf:"varint,14,opt,name=processed_at_ms,json=processedAtMs,proto3" json:"processed_at_ms,omitempty"`
CreatedAtMs int64 `protobuf:"varint,15,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,16,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RoleInvitation) Reset() {
*x = RoleInvitation{}
mi := &file_proto_user_v1_host_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RoleInvitation) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoleInvitation) ProtoMessage() {}
func (x *RoleInvitation) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RoleInvitation.ProtoReflect.Descriptor instead.
func (*RoleInvitation) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{8}
}
func (x *RoleInvitation) GetInvitationId() int64 {
if x != nil {
return x.InvitationId
}
return 0
}
func (x *RoleInvitation) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *RoleInvitation) GetInvitationType() string {
if x != nil {
return x.InvitationType
}
return ""
}
func (x *RoleInvitation) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *RoleInvitation) GetInviterUserId() int64 {
if x != nil {
return x.InviterUserId
}
return 0
}
func (x *RoleInvitation) GetInviterBdUserId() int64 {
if x != nil {
return x.InviterBdUserId
}
return 0
}
func (x *RoleInvitation) GetTargetUserId() int64 {
if x != nil {
return x.TargetUserId
}
return 0
}
func (x *RoleInvitation) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *RoleInvitation) GetAgencyName() string {
if x != nil {
return x.AgencyName
}
return ""
}
func (x *RoleInvitation) GetParentBdUserId() int64 {
if x != nil {
return x.ParentBdUserId
}
return 0
}
func (x *RoleInvitation) GetParentLeaderUserId() int64 {
if x != nil {
return x.ParentLeaderUserId
}
return 0
}
func (x *RoleInvitation) GetProcessedByUserId() int64 {
if x != nil {
return x.ProcessedByUserId
}
return 0
}
func (x *RoleInvitation) GetProcessReason() string {
if x != nil {
return x.ProcessReason
}
return ""
}
func (x *RoleInvitation) GetProcessedAtMs() int64 {
if x != nil {
return x.ProcessedAtMs
}
return 0
}
func (x *RoleInvitation) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *RoleInvitation) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
type SearchAgenciesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SearchAgenciesRequest) Reset() {
*x = SearchAgenciesRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SearchAgenciesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SearchAgenciesRequest) ProtoMessage() {}
func (x *SearchAgenciesRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SearchAgenciesRequest.ProtoReflect.Descriptor instead.
func (*SearchAgenciesRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{9}
}
func (x *SearchAgenciesRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *SearchAgenciesRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *SearchAgenciesRequest) GetKeyword() string {
if x != nil {
return x.Keyword
}
return ""
}
func (x *SearchAgenciesRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
type SearchAgenciesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Agencies []*Agency `protobuf:"bytes,1,rep,name=agencies,proto3" json:"agencies,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SearchAgenciesResponse) Reset() {
*x = SearchAgenciesResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SearchAgenciesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SearchAgenciesResponse) ProtoMessage() {}
func (x *SearchAgenciesResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SearchAgenciesResponse.ProtoReflect.Descriptor instead.
func (*SearchAgenciesResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{10}
}
func (x *SearchAgenciesResponse) GetAgencies() []*Agency {
if x != nil {
return x.Agencies
}
return nil
}
type ApplyToAgencyRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
AgencyId int64 `protobuf:"varint,4,opt,name=agency_id,json=agencyId,proto3" json:"agency_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApplyToAgencyRequest) Reset() {
*x = ApplyToAgencyRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApplyToAgencyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApplyToAgencyRequest) ProtoMessage() {}
func (x *ApplyToAgencyRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ApplyToAgencyRequest.ProtoReflect.Descriptor instead.
func (*ApplyToAgencyRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{11}
}
func (x *ApplyToAgencyRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ApplyToAgencyRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *ApplyToAgencyRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ApplyToAgencyRequest) GetAgencyId() int64 {
if x != nil {
return x.AgencyId
}
return 0
}
type ApplyToAgencyResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Application *AgencyApplication `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApplyToAgencyResponse) Reset() {
*x = ApplyToAgencyResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApplyToAgencyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApplyToAgencyResponse) ProtoMessage() {}
func (x *ApplyToAgencyResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ApplyToAgencyResponse.ProtoReflect.Descriptor instead.
func (*ApplyToAgencyResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{12}
}
func (x *ApplyToAgencyResponse) GetApplication() *AgencyApplication {
if x != nil {
return x.Application
}
return nil
}
type ReviewAgencyApplicationRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
ReviewerUserId int64 `protobuf:"varint,3,opt,name=reviewer_user_id,json=reviewerUserId,proto3" json:"reviewer_user_id,omitempty"`
ApplicationId int64 `protobuf:"varint,4,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
Decision string `protobuf:"bytes,5,opt,name=decision,proto3" json:"decision,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReviewAgencyApplicationRequest) Reset() {
*x = ReviewAgencyApplicationRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReviewAgencyApplicationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReviewAgencyApplicationRequest) ProtoMessage() {}
func (x *ReviewAgencyApplicationRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReviewAgencyApplicationRequest.ProtoReflect.Descriptor instead.
func (*ReviewAgencyApplicationRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{13}
}
func (x *ReviewAgencyApplicationRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ReviewAgencyApplicationRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *ReviewAgencyApplicationRequest) GetReviewerUserId() int64 {
if x != nil {
return x.ReviewerUserId
}
return 0
}
func (x *ReviewAgencyApplicationRequest) GetApplicationId() int64 {
if x != nil {
return x.ApplicationId
}
return 0
}
func (x *ReviewAgencyApplicationRequest) GetDecision() string {
if x != nil {
return x.Decision
}
return ""
}
func (x *ReviewAgencyApplicationRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type ReviewAgencyApplicationResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Application *AgencyApplication `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
HostProfile *HostProfile `protobuf:"bytes,2,opt,name=host_profile,json=hostProfile,proto3" json:"host_profile,omitempty"`
Membership *AgencyMembership `protobuf:"bytes,3,opt,name=membership,proto3" json:"membership,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReviewAgencyApplicationResponse) Reset() {
*x = ReviewAgencyApplicationResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReviewAgencyApplicationResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReviewAgencyApplicationResponse) ProtoMessage() {}
func (x *ReviewAgencyApplicationResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReviewAgencyApplicationResponse.ProtoReflect.Descriptor instead.
func (*ReviewAgencyApplicationResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{14}
}
func (x *ReviewAgencyApplicationResponse) GetApplication() *AgencyApplication {
if x != nil {
return x.Application
}
return nil
}
func (x *ReviewAgencyApplicationResponse) GetHostProfile() *HostProfile {
if x != nil {
return x.HostProfile
}
return nil
}
func (x *ReviewAgencyApplicationResponse) GetMembership() *AgencyMembership {
if x != nil {
return x.Membership
}
return nil
}
type KickAgencyHostRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
OperatorUserId int64 `protobuf:"varint,3,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
AgencyId int64 `protobuf:"varint,4,opt,name=agency_id,json=agencyId,proto3" json:"agency_id,omitempty"`
HostUserId int64 `protobuf:"varint,5,opt,name=host_user_id,json=hostUserId,proto3" json:"host_user_id,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *KickAgencyHostRequest) Reset() {
*x = KickAgencyHostRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *KickAgencyHostRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KickAgencyHostRequest) ProtoMessage() {}
func (x *KickAgencyHostRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use KickAgencyHostRequest.ProtoReflect.Descriptor instead.
func (*KickAgencyHostRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{15}
}
func (x *KickAgencyHostRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *KickAgencyHostRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *KickAgencyHostRequest) GetOperatorUserId() int64 {
if x != nil {
return x.OperatorUserId
}
return 0
}
func (x *KickAgencyHostRequest) GetAgencyId() int64 {
if x != nil {
return x.AgencyId
}
return 0
}
func (x *KickAgencyHostRequest) GetHostUserId() int64 {
if x != nil {
return x.HostUserId
}
return 0
}
func (x *KickAgencyHostRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type KickAgencyHostResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Membership *AgencyMembership `protobuf:"bytes,1,opt,name=membership,proto3" json:"membership,omitempty"`
HostProfile *HostProfile `protobuf:"bytes,2,opt,name=host_profile,json=hostProfile,proto3" json:"host_profile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *KickAgencyHostResponse) Reset() {
*x = KickAgencyHostResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *KickAgencyHostResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KickAgencyHostResponse) ProtoMessage() {}
func (x *KickAgencyHostResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use KickAgencyHostResponse.ProtoReflect.Descriptor instead.
func (*KickAgencyHostResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{16}
}
func (x *KickAgencyHostResponse) GetMembership() *AgencyMembership {
if x != nil {
return x.Membership
}
return nil
}
func (x *KickAgencyHostResponse) GetHostProfile() *HostProfile {
if x != nil {
return x.HostProfile
}
return nil
}
type InviteAgencyRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
InviterUserId int64 `protobuf:"varint,3,opt,name=inviter_user_id,json=inviterUserId,proto3" json:"inviter_user_id,omitempty"`
TargetUserId int64 `protobuf:"varint,4,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
AgencyName string `protobuf:"bytes,5,opt,name=agency_name,json=agencyName,proto3" json:"agency_name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InviteAgencyRequest) Reset() {
*x = InviteAgencyRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InviteAgencyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InviteAgencyRequest) ProtoMessage() {}
func (x *InviteAgencyRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InviteAgencyRequest.ProtoReflect.Descriptor instead.
func (*InviteAgencyRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{17}
}
func (x *InviteAgencyRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *InviteAgencyRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *InviteAgencyRequest) GetInviterUserId() int64 {
if x != nil {
return x.InviterUserId
}
return 0
}
func (x *InviteAgencyRequest) GetTargetUserId() int64 {
if x != nil {
return x.TargetUserId
}
return 0
}
func (x *InviteAgencyRequest) GetAgencyName() string {
if x != nil {
return x.AgencyName
}
return ""
}
type InviteAgencyResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Invitation *RoleInvitation `protobuf:"bytes,1,opt,name=invitation,proto3" json:"invitation,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InviteAgencyResponse) Reset() {
*x = InviteAgencyResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InviteAgencyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InviteAgencyResponse) ProtoMessage() {}
func (x *InviteAgencyResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InviteAgencyResponse.ProtoReflect.Descriptor instead.
func (*InviteAgencyResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{18}
}
func (x *InviteAgencyResponse) GetInvitation() *RoleInvitation {
if x != nil {
return x.Invitation
}
return nil
}
type InviteBDRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
InviterUserId int64 `protobuf:"varint,3,opt,name=inviter_user_id,json=inviterUserId,proto3" json:"inviter_user_id,omitempty"`
TargetUserId int64 `protobuf:"varint,4,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InviteBDRequest) Reset() {
*x = InviteBDRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InviteBDRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InviteBDRequest) ProtoMessage() {}
func (x *InviteBDRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InviteBDRequest.ProtoReflect.Descriptor instead.
func (*InviteBDRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{19}
}
func (x *InviteBDRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *InviteBDRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *InviteBDRequest) GetInviterUserId() int64 {
if x != nil {
return x.InviterUserId
}
return 0
}
func (x *InviteBDRequest) GetTargetUserId() int64 {
if x != nil {
return x.TargetUserId
}
return 0
}
type InviteBDResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Invitation *RoleInvitation `protobuf:"bytes,1,opt,name=invitation,proto3" json:"invitation,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InviteBDResponse) Reset() {
*x = InviteBDResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InviteBDResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InviteBDResponse) ProtoMessage() {}
func (x *InviteBDResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InviteBDResponse.ProtoReflect.Descriptor instead.
func (*InviteBDResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{20}
}
func (x *InviteBDResponse) GetInvitation() *RoleInvitation {
if x != nil {
return x.Invitation
}
return nil
}
type ProcessRoleInvitationRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
ActorUserId int64 `protobuf:"varint,3,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"`
InvitationId int64 `protobuf:"varint,4,opt,name=invitation_id,json=invitationId,proto3" json:"invitation_id,omitempty"`
Action string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ProcessRoleInvitationRequest) Reset() {
*x = ProcessRoleInvitationRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ProcessRoleInvitationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProcessRoleInvitationRequest) ProtoMessage() {}
func (x *ProcessRoleInvitationRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ProcessRoleInvitationRequest.ProtoReflect.Descriptor instead.
func (*ProcessRoleInvitationRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{21}
}
func (x *ProcessRoleInvitationRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ProcessRoleInvitationRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *ProcessRoleInvitationRequest) GetActorUserId() int64 {
if x != nil {
return x.ActorUserId
}
return 0
}
func (x *ProcessRoleInvitationRequest) GetInvitationId() int64 {
if x != nil {
return x.InvitationId
}
return 0
}
func (x *ProcessRoleInvitationRequest) GetAction() string {
if x != nil {
return x.Action
}
return ""
}
func (x *ProcessRoleInvitationRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type ProcessRoleInvitationResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Invitation *RoleInvitation `protobuf:"bytes,1,opt,name=invitation,proto3" json:"invitation,omitempty"`
HostProfile *HostProfile `protobuf:"bytes,2,opt,name=host_profile,json=hostProfile,proto3" json:"host_profile,omitempty"`
Agency *Agency `protobuf:"bytes,3,opt,name=agency,proto3" json:"agency,omitempty"`
Membership *AgencyMembership `protobuf:"bytes,4,opt,name=membership,proto3" json:"membership,omitempty"`
BdProfile *BDProfile `protobuf:"bytes,5,opt,name=bd_profile,json=bdProfile,proto3" json:"bd_profile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ProcessRoleInvitationResponse) Reset() {
*x = ProcessRoleInvitationResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ProcessRoleInvitationResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProcessRoleInvitationResponse) ProtoMessage() {}
func (x *ProcessRoleInvitationResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ProcessRoleInvitationResponse.ProtoReflect.Descriptor instead.
func (*ProcessRoleInvitationResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{22}
}
func (x *ProcessRoleInvitationResponse) GetInvitation() *RoleInvitation {
if x != nil {
return x.Invitation
}
return nil
}
func (x *ProcessRoleInvitationResponse) GetHostProfile() *HostProfile {
if x != nil {
return x.HostProfile
}
return nil
}
func (x *ProcessRoleInvitationResponse) GetAgency() *Agency {
if x != nil {
return x.Agency
}
return nil
}
func (x *ProcessRoleInvitationResponse) GetMembership() *AgencyMembership {
if x != nil {
return x.Membership
}
return nil
}
func (x *ProcessRoleInvitationResponse) GetBdProfile() *BDProfile {
if x != nil {
return x.BdProfile
}
return nil
}
type GetHostProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetHostProfileRequest) Reset() {
*x = GetHostProfileRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetHostProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetHostProfileRequest) ProtoMessage() {}
func (x *GetHostProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetHostProfileRequest.ProtoReflect.Descriptor instead.
func (*GetHostProfileRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{23}
}
func (x *GetHostProfileRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetHostProfileRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type GetHostProfileResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
HostProfile *HostProfile `protobuf:"bytes,1,opt,name=host_profile,json=hostProfile,proto3" json:"host_profile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetHostProfileResponse) Reset() {
*x = GetHostProfileResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetHostProfileResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetHostProfileResponse) ProtoMessage() {}
func (x *GetHostProfileResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetHostProfileResponse.ProtoReflect.Descriptor instead.
func (*GetHostProfileResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{24}
}
func (x *GetHostProfileResponse) GetHostProfile() *HostProfile {
if x != nil {
return x.HostProfile
}
return nil
}
type GetBDProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBDProfileRequest) Reset() {
*x = GetBDProfileRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetBDProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBDProfileRequest) ProtoMessage() {}
func (x *GetBDProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetBDProfileRequest.ProtoReflect.Descriptor instead.
func (*GetBDProfileRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{25}
}
func (x *GetBDProfileRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetBDProfileRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type GetBDProfileResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
BdProfile *BDProfile `protobuf:"bytes,1,opt,name=bd_profile,json=bdProfile,proto3" json:"bd_profile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBDProfileResponse) Reset() {
*x = GetBDProfileResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetBDProfileResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBDProfileResponse) ProtoMessage() {}
func (x *GetBDProfileResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetBDProfileResponse.ProtoReflect.Descriptor instead.
func (*GetBDProfileResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{26}
}
func (x *GetBDProfileResponse) GetBdProfile() *BDProfile {
if x != nil {
return x.BdProfile
}
return nil
}
type GetCoinSellerProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetCoinSellerProfileRequest) Reset() {
*x = GetCoinSellerProfileRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCoinSellerProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetCoinSellerProfileRequest) ProtoMessage() {}
func (x *GetCoinSellerProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetCoinSellerProfileRequest.ProtoReflect.Descriptor instead.
func (*GetCoinSellerProfileRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{27}
}
func (x *GetCoinSellerProfileRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetCoinSellerProfileRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type GetCoinSellerProfileResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
CoinSellerProfile *CoinSellerProfile `protobuf:"bytes,1,opt,name=coin_seller_profile,json=coinSellerProfile,proto3" json:"coin_seller_profile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetCoinSellerProfileResponse) Reset() {
*x = GetCoinSellerProfileResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCoinSellerProfileResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetCoinSellerProfileResponse) ProtoMessage() {}
func (x *GetCoinSellerProfileResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetCoinSellerProfileResponse.ProtoReflect.Descriptor instead.
func (*GetCoinSellerProfileResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{28}
}
func (x *GetCoinSellerProfileResponse) GetCoinSellerProfile() *CoinSellerProfile {
if x != nil {
return x.CoinSellerProfile
}
return nil
}
type ListActiveCoinSellersInMyRegionRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListActiveCoinSellersInMyRegionRequest) Reset() {
*x = ListActiveCoinSellersInMyRegionRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListActiveCoinSellersInMyRegionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListActiveCoinSellersInMyRegionRequest) ProtoMessage() {}
func (x *ListActiveCoinSellersInMyRegionRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListActiveCoinSellersInMyRegionRequest.ProtoReflect.Descriptor instead.
func (*ListActiveCoinSellersInMyRegionRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{29}
}
func (x *ListActiveCoinSellersInMyRegionRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListActiveCoinSellersInMyRegionRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type ListActiveCoinSellersInMyRegionResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
CoinSellers []*CoinSellerListItem `protobuf:"bytes,1,rep,name=coin_sellers,json=coinSellers,proto3" json:"coin_sellers,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListActiveCoinSellersInMyRegionResponse) Reset() {
*x = ListActiveCoinSellersInMyRegionResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListActiveCoinSellersInMyRegionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListActiveCoinSellersInMyRegionResponse) ProtoMessage() {}
func (x *ListActiveCoinSellersInMyRegionResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListActiveCoinSellersInMyRegionResponse.ProtoReflect.Descriptor instead.
func (*ListActiveCoinSellersInMyRegionResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{30}
}
func (x *ListActiveCoinSellersInMyRegionResponse) GetCoinSellers() []*CoinSellerListItem {
if x != nil {
return x.CoinSellers
}
return nil
}
type GetUserRoleSummaryRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetUserRoleSummaryRequest) Reset() {
*x = GetUserRoleSummaryRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetUserRoleSummaryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetUserRoleSummaryRequest) ProtoMessage() {}
func (x *GetUserRoleSummaryRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetUserRoleSummaryRequest.ProtoReflect.Descriptor instead.
func (*GetUserRoleSummaryRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{31}
}
func (x *GetUserRoleSummaryRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetUserRoleSummaryRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type GetUserRoleSummaryResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Summary *UserRoleSummary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetUserRoleSummaryResponse) Reset() {
*x = GetUserRoleSummaryResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetUserRoleSummaryResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetUserRoleSummaryResponse) ProtoMessage() {}
func (x *GetUserRoleSummaryResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetUserRoleSummaryResponse.ProtoReflect.Descriptor instead.
func (*GetUserRoleSummaryResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{32}
}
func (x *GetUserRoleSummaryResponse) GetSummary() *UserRoleSummary {
if x != nil {
return x.Summary
}
return nil
}
type CheckBusinessCapabilityRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
ActorUserId int64 `protobuf:"varint,2,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"`
Capability string `protobuf:"bytes,3,opt,name=capability,proto3" json:"capability,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CheckBusinessCapabilityRequest) Reset() {
*x = CheckBusinessCapabilityRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CheckBusinessCapabilityRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CheckBusinessCapabilityRequest) ProtoMessage() {}
func (x *CheckBusinessCapabilityRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CheckBusinessCapabilityRequest.ProtoReflect.Descriptor instead.
func (*CheckBusinessCapabilityRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{33}
}
func (x *CheckBusinessCapabilityRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CheckBusinessCapabilityRequest) GetActorUserId() int64 {
if x != nil {
return x.ActorUserId
}
return 0
}
func (x *CheckBusinessCapabilityRequest) GetCapability() string {
if x != nil {
return x.Capability
}
return ""
}
type CheckBusinessCapabilityResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Allowed bool `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"`
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CheckBusinessCapabilityResponse) Reset() {
*x = CheckBusinessCapabilityResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CheckBusinessCapabilityResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CheckBusinessCapabilityResponse) ProtoMessage() {}
func (x *CheckBusinessCapabilityResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CheckBusinessCapabilityResponse.ProtoReflect.Descriptor instead.
func (*CheckBusinessCapabilityResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{34}
}
func (x *CheckBusinessCapabilityResponse) GetAllowed() bool {
if x != nil {
return x.Allowed
}
return false
}
func (x *CheckBusinessCapabilityResponse) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type GetAgencyMembersRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
AgencyId int64 `protobuf:"varint,2,opt,name=agency_id,json=agencyId,proto3" json:"agency_id,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAgencyMembersRequest) Reset() {
*x = GetAgencyMembersRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAgencyMembersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAgencyMembersRequest) ProtoMessage() {}
func (x *GetAgencyMembersRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAgencyMembersRequest.ProtoReflect.Descriptor instead.
func (*GetAgencyMembersRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{35}
}
func (x *GetAgencyMembersRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetAgencyMembersRequest) GetAgencyId() int64 {
if x != nil {
return x.AgencyId
}
return 0
}
func (x *GetAgencyMembersRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
type GetAgencyMembersResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Memberships []*AgencyMembership `protobuf:"bytes,1,rep,name=memberships,proto3" json:"memberships,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAgencyMembersResponse) Reset() {
*x = GetAgencyMembersResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAgencyMembersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAgencyMembersResponse) ProtoMessage() {}
func (x *GetAgencyMembersResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAgencyMembersResponse.ProtoReflect.Descriptor instead.
func (*GetAgencyMembersResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{36}
}
func (x *GetAgencyMembersResponse) GetMemberships() []*AgencyMembership {
if x != nil {
return x.Memberships
}
return nil
}
type GetAgencyApplicationsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
AgencyId int64 `protobuf:"varint,2,opt,name=agency_id,json=agencyId,proto3" json:"agency_id,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAgencyApplicationsRequest) Reset() {
*x = GetAgencyApplicationsRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAgencyApplicationsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAgencyApplicationsRequest) ProtoMessage() {}
func (x *GetAgencyApplicationsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[37]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAgencyApplicationsRequest.ProtoReflect.Descriptor instead.
func (*GetAgencyApplicationsRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{37}
}
func (x *GetAgencyApplicationsRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetAgencyApplicationsRequest) GetAgencyId() int64 {
if x != nil {
return x.AgencyId
}
return 0
}
func (x *GetAgencyApplicationsRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
type GetAgencyApplicationsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Applications []*AgencyApplication `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAgencyApplicationsResponse) Reset() {
*x = GetAgencyApplicationsResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAgencyApplicationsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAgencyApplicationsResponse) ProtoMessage() {}
func (x *GetAgencyApplicationsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAgencyApplicationsResponse.ProtoReflect.Descriptor instead.
func (*GetAgencyApplicationsResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{38}
}
func (x *GetAgencyApplicationsResponse) GetApplications() []*AgencyApplication {
if x != nil {
return x.Applications
}
return nil
}
type CreateBDLeaderRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
AdminUserId int64 `protobuf:"varint,3,opt,name=admin_user_id,json=adminUserId,proto3" json:"admin_user_id,omitempty"`
TargetUserId int64 `protobuf:"varint,4,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
RegionId int64 `protobuf:"varint,6,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateBDLeaderRequest) Reset() {
*x = CreateBDLeaderRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateBDLeaderRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateBDLeaderRequest) ProtoMessage() {}
func (x *CreateBDLeaderRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateBDLeaderRequest.ProtoReflect.Descriptor instead.
func (*CreateBDLeaderRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{39}
}
func (x *CreateBDLeaderRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CreateBDLeaderRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *CreateBDLeaderRequest) GetAdminUserId() int64 {
if x != nil {
return x.AdminUserId
}
return 0
}
func (x *CreateBDLeaderRequest) GetTargetUserId() int64 {
if x != nil {
return x.TargetUserId
}
return 0
}
func (x *CreateBDLeaderRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
func (x *CreateBDLeaderRequest) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
type CreateBDLeaderResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
BdProfile *BDProfile `protobuf:"bytes,1,opt,name=bd_profile,json=bdProfile,proto3" json:"bd_profile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateBDLeaderResponse) Reset() {
*x = CreateBDLeaderResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateBDLeaderResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateBDLeaderResponse) ProtoMessage() {}
func (x *CreateBDLeaderResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateBDLeaderResponse.ProtoReflect.Descriptor instead.
func (*CreateBDLeaderResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{40}
}
func (x *CreateBDLeaderResponse) GetBdProfile() *BDProfile {
if x != nil {
return x.BdProfile
}
return nil
}
type CreateBDRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
AdminUserId int64 `protobuf:"varint,3,opt,name=admin_user_id,json=adminUserId,proto3" json:"admin_user_id,omitempty"`
TargetUserId int64 `protobuf:"varint,4,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
ParentLeaderUserId int64 `protobuf:"varint,5,opt,name=parent_leader_user_id,json=parentLeaderUserId,proto3" json:"parent_leader_user_id,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateBDRequest) Reset() {
*x = CreateBDRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateBDRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateBDRequest) ProtoMessage() {}
func (x *CreateBDRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateBDRequest.ProtoReflect.Descriptor instead.
func (*CreateBDRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{41}
}
func (x *CreateBDRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CreateBDRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *CreateBDRequest) GetAdminUserId() int64 {
if x != nil {
return x.AdminUserId
}
return 0
}
func (x *CreateBDRequest) GetTargetUserId() int64 {
if x != nil {
return x.TargetUserId
}
return 0
}
func (x *CreateBDRequest) GetParentLeaderUserId() int64 {
if x != nil {
return x.ParentLeaderUserId
}
return 0
}
func (x *CreateBDRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type CreateBDResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
BdProfile *BDProfile `protobuf:"bytes,1,opt,name=bd_profile,json=bdProfile,proto3" json:"bd_profile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateBDResponse) Reset() {
*x = CreateBDResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateBDResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateBDResponse) ProtoMessage() {}
func (x *CreateBDResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[42]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateBDResponse.ProtoReflect.Descriptor instead.
func (*CreateBDResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{42}
}
func (x *CreateBDResponse) GetBdProfile() *BDProfile {
if x != nil {
return x.BdProfile
}
return nil
}
type SetBDStatusRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
AdminUserId int64 `protobuf:"varint,3,opt,name=admin_user_id,json=adminUserId,proto3" json:"admin_user_id,omitempty"`
TargetUserId int64 `protobuf:"varint,4,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetBDStatusRequest) Reset() {
*x = SetBDStatusRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetBDStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetBDStatusRequest) ProtoMessage() {}
func (x *SetBDStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[43]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetBDStatusRequest.ProtoReflect.Descriptor instead.
func (*SetBDStatusRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{43}
}
func (x *SetBDStatusRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *SetBDStatusRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *SetBDStatusRequest) GetAdminUserId() int64 {
if x != nil {
return x.AdminUserId
}
return 0
}
func (x *SetBDStatusRequest) GetTargetUserId() int64 {
if x != nil {
return x.TargetUserId
}
return 0
}
func (x *SetBDStatusRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *SetBDStatusRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type SetBDStatusResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
BdProfile *BDProfile `protobuf:"bytes,1,opt,name=bd_profile,json=bdProfile,proto3" json:"bd_profile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetBDStatusResponse) Reset() {
*x = SetBDStatusResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetBDStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetBDStatusResponse) ProtoMessage() {}
func (x *SetBDStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[44]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetBDStatusResponse.ProtoReflect.Descriptor instead.
func (*SetBDStatusResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{44}
}
func (x *SetBDStatusResponse) GetBdProfile() *BDProfile {
if x != nil {
return x.BdProfile
}
return nil
}
type CreateCoinSellerRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
AdminUserId int64 `protobuf:"varint,3,opt,name=admin_user_id,json=adminUserId,proto3" json:"admin_user_id,omitempty"`
TargetUserId int64 `protobuf:"varint,4,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateCoinSellerRequest) Reset() {
*x = CreateCoinSellerRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateCoinSellerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateCoinSellerRequest) ProtoMessage() {}
func (x *CreateCoinSellerRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[45]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateCoinSellerRequest.ProtoReflect.Descriptor instead.
func (*CreateCoinSellerRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{45}
}
func (x *CreateCoinSellerRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CreateCoinSellerRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *CreateCoinSellerRequest) GetAdminUserId() int64 {
if x != nil {
return x.AdminUserId
}
return 0
}
func (x *CreateCoinSellerRequest) GetTargetUserId() int64 {
if x != nil {
return x.TargetUserId
}
return 0
}
func (x *CreateCoinSellerRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type CreateCoinSellerResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
CoinSellerProfile *CoinSellerProfile `protobuf:"bytes,1,opt,name=coin_seller_profile,json=coinSellerProfile,proto3" json:"coin_seller_profile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateCoinSellerResponse) Reset() {
*x = CreateCoinSellerResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateCoinSellerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateCoinSellerResponse) ProtoMessage() {}
func (x *CreateCoinSellerResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[46]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateCoinSellerResponse.ProtoReflect.Descriptor instead.
func (*CreateCoinSellerResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{46}
}
func (x *CreateCoinSellerResponse) GetCoinSellerProfile() *CoinSellerProfile {
if x != nil {
return x.CoinSellerProfile
}
return nil
}
type SetCoinSellerStatusRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
AdminUserId int64 `protobuf:"varint,3,opt,name=admin_user_id,json=adminUserId,proto3" json:"admin_user_id,omitempty"`
TargetUserId int64 `protobuf:"varint,4,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetCoinSellerStatusRequest) Reset() {
*x = SetCoinSellerStatusRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetCoinSellerStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetCoinSellerStatusRequest) ProtoMessage() {}
func (x *SetCoinSellerStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[47]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetCoinSellerStatusRequest.ProtoReflect.Descriptor instead.
func (*SetCoinSellerStatusRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{47}
}
func (x *SetCoinSellerStatusRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *SetCoinSellerStatusRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *SetCoinSellerStatusRequest) GetAdminUserId() int64 {
if x != nil {
return x.AdminUserId
}
return 0
}
func (x *SetCoinSellerStatusRequest) GetTargetUserId() int64 {
if x != nil {
return x.TargetUserId
}
return 0
}
func (x *SetCoinSellerStatusRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *SetCoinSellerStatusRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type SetCoinSellerStatusResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
CoinSellerProfile *CoinSellerProfile `protobuf:"bytes,1,opt,name=coin_seller_profile,json=coinSellerProfile,proto3" json:"coin_seller_profile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetCoinSellerStatusResponse) Reset() {
*x = SetCoinSellerStatusResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetCoinSellerStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetCoinSellerStatusResponse) ProtoMessage() {}
func (x *SetCoinSellerStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[48]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetCoinSellerStatusResponse.ProtoReflect.Descriptor instead.
func (*SetCoinSellerStatusResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{48}
}
func (x *SetCoinSellerStatusResponse) GetCoinSellerProfile() *CoinSellerProfile {
if x != nil {
return x.CoinSellerProfile
}
return nil
}
type CreateAgencyRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
AdminUserId int64 `protobuf:"varint,3,opt,name=admin_user_id,json=adminUserId,proto3" json:"admin_user_id,omitempty"`
OwnerUserId int64 `protobuf:"varint,4,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"`
ParentBdUserId int64 `protobuf:"varint,5,opt,name=parent_bd_user_id,json=parentBdUserId,proto3" json:"parent_bd_user_id,omitempty"`
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
JoinEnabled bool `protobuf:"varint,7,opt,name=join_enabled,json=joinEnabled,proto3" json:"join_enabled,omitempty"`
MaxHosts int32 `protobuf:"varint,8,opt,name=max_hosts,json=maxHosts,proto3" json:"max_hosts,omitempty"`
Reason string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAgencyRequest) Reset() {
*x = CreateAgencyRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAgencyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAgencyRequest) ProtoMessage() {}
func (x *CreateAgencyRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[49]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAgencyRequest.ProtoReflect.Descriptor instead.
func (*CreateAgencyRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{49}
}
func (x *CreateAgencyRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CreateAgencyRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *CreateAgencyRequest) GetAdminUserId() int64 {
if x != nil {
return x.AdminUserId
}
return 0
}
func (x *CreateAgencyRequest) GetOwnerUserId() int64 {
if x != nil {
return x.OwnerUserId
}
return 0
}
func (x *CreateAgencyRequest) GetParentBdUserId() int64 {
if x != nil {
return x.ParentBdUserId
}
return 0
}
func (x *CreateAgencyRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateAgencyRequest) GetJoinEnabled() bool {
if x != nil {
return x.JoinEnabled
}
return false
}
func (x *CreateAgencyRequest) GetMaxHosts() int32 {
if x != nil {
return x.MaxHosts
}
return 0
}
func (x *CreateAgencyRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type CreateAgencyResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Agency *Agency `protobuf:"bytes,1,opt,name=agency,proto3" json:"agency,omitempty"`
HostProfile *HostProfile `protobuf:"bytes,2,opt,name=host_profile,json=hostProfile,proto3" json:"host_profile,omitempty"`
Membership *AgencyMembership `protobuf:"bytes,3,opt,name=membership,proto3" json:"membership,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAgencyResponse) Reset() {
*x = CreateAgencyResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAgencyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAgencyResponse) ProtoMessage() {}
func (x *CreateAgencyResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[50]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAgencyResponse.ProtoReflect.Descriptor instead.
func (*CreateAgencyResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{50}
}
func (x *CreateAgencyResponse) GetAgency() *Agency {
if x != nil {
return x.Agency
}
return nil
}
func (x *CreateAgencyResponse) GetHostProfile() *HostProfile {
if x != nil {
return x.HostProfile
}
return nil
}
func (x *CreateAgencyResponse) GetMembership() *AgencyMembership {
if x != nil {
return x.Membership
}
return nil
}
type CloseAgencyRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
AdminUserId int64 `protobuf:"varint,3,opt,name=admin_user_id,json=adminUserId,proto3" json:"admin_user_id,omitempty"`
AgencyId int64 `protobuf:"varint,4,opt,name=agency_id,json=agencyId,proto3" json:"agency_id,omitempty"`
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CloseAgencyRequest) Reset() {
*x = CloseAgencyRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CloseAgencyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CloseAgencyRequest) ProtoMessage() {}
func (x *CloseAgencyRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[51]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CloseAgencyRequest.ProtoReflect.Descriptor instead.
func (*CloseAgencyRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{51}
}
func (x *CloseAgencyRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CloseAgencyRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *CloseAgencyRequest) GetAdminUserId() int64 {
if x != nil {
return x.AdminUserId
}
return 0
}
func (x *CloseAgencyRequest) GetAgencyId() int64 {
if x != nil {
return x.AgencyId
}
return 0
}
func (x *CloseAgencyRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type CloseAgencyResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Agency *Agency `protobuf:"bytes,1,opt,name=agency,proto3" json:"agency,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CloseAgencyResponse) Reset() {
*x = CloseAgencyResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CloseAgencyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CloseAgencyResponse) ProtoMessage() {}
func (x *CloseAgencyResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[52]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CloseAgencyResponse.ProtoReflect.Descriptor instead.
func (*CloseAgencyResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{52}
}
func (x *CloseAgencyResponse) GetAgency() *Agency {
if x != nil {
return x.Agency
}
return nil
}
type SetAgencyJoinEnabledRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
AdminUserId int64 `protobuf:"varint,3,opt,name=admin_user_id,json=adminUserId,proto3" json:"admin_user_id,omitempty"`
AgencyId int64 `protobuf:"varint,4,opt,name=agency_id,json=agencyId,proto3" json:"agency_id,omitempty"`
JoinEnabled bool `protobuf:"varint,5,opt,name=join_enabled,json=joinEnabled,proto3" json:"join_enabled,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetAgencyJoinEnabledRequest) Reset() {
*x = SetAgencyJoinEnabledRequest{}
mi := &file_proto_user_v1_host_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetAgencyJoinEnabledRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetAgencyJoinEnabledRequest) ProtoMessage() {}
func (x *SetAgencyJoinEnabledRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[53]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetAgencyJoinEnabledRequest.ProtoReflect.Descriptor instead.
func (*SetAgencyJoinEnabledRequest) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{53}
}
func (x *SetAgencyJoinEnabledRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *SetAgencyJoinEnabledRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *SetAgencyJoinEnabledRequest) GetAdminUserId() int64 {
if x != nil {
return x.AdminUserId
}
return 0
}
func (x *SetAgencyJoinEnabledRequest) GetAgencyId() int64 {
if x != nil {
return x.AgencyId
}
return 0
}
func (x *SetAgencyJoinEnabledRequest) GetJoinEnabled() bool {
if x != nil {
return x.JoinEnabled
}
return false
}
func (x *SetAgencyJoinEnabledRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type SetAgencyJoinEnabledResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Agency *Agency `protobuf:"bytes,1,opt,name=agency,proto3" json:"agency,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetAgencyJoinEnabledResponse) Reset() {
*x = SetAgencyJoinEnabledResponse{}
mi := &file_proto_user_v1_host_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetAgencyJoinEnabledResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetAgencyJoinEnabledResponse) ProtoMessage() {}
func (x *SetAgencyJoinEnabledResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_user_v1_host_proto_msgTypes[54]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetAgencyJoinEnabledResponse.ProtoReflect.Descriptor instead.
func (*SetAgencyJoinEnabledResponse) Descriptor() ([]byte, []int) {
return file_proto_user_v1_host_proto_rawDescGZIP(), []int{54}
}
func (x *SetAgencyJoinEnabledResponse) GetAgency() *Agency {
if x != nil {
return x.Agency
}
return nil
}
var File_proto_user_v1_host_proto protoreflect.FileDescriptor
const file_proto_user_v1_host_proto_rawDesc = "" +
"\n" +
"\x18proto/user/v1/host.proto\x12\rhyapp.user.v1\x1a\x18proto/user/v1/user.proto\"\x91\x03\n" +
"\vHostProfile\x12\x17\n" +
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\x12\x1b\n" +
"\tregion_id\x18\x03 \x01(\x03R\bregionId\x12*\n" +
"\x11current_agency_id\x18\x04 \x01(\x03R\x0fcurrentAgencyId\x122\n" +
"\x15current_membership_id\x18\x05 \x01(\x03R\x13currentMembershipId\x12\x16\n" +
"\x06source\x18\x06 \x01(\tR\x06source\x124\n" +
"\x17first_became_host_at_ms\x18\a \x01(\x03R\x13firstBecameHostAtMs\x12\"\n" +
"\rcreated_at_ms\x18\b \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\t \x01(\x03R\vupdatedAtMs\x12>\n" +
"\x1ccurrent_agency_owner_user_id\x18\n" +
" \x01(\x03R\x18currentAgencyOwnerUserId\"\xa9\x03\n" +
"\x06Agency\x12\x1b\n" +
"\tagency_id\x18\x01 \x01(\x03R\bagencyId\x12\"\n" +
"\rowner_user_id\x18\x02 \x01(\x03R\vownerUserId\x12\x1b\n" +
"\tregion_id\x18\x03 \x01(\x03R\bregionId\x12)\n" +
"\x11parent_bd_user_id\x18\x04 \x01(\x03R\x0eparentBdUserId\x12\x12\n" +
"\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n" +
"\x06status\x18\x06 \x01(\tR\x06status\x12!\n" +
"\fjoin_enabled\x18\a \x01(\bR\vjoinEnabled\x12\x1b\n" +
"\tmax_hosts\x18\b \x01(\x05R\bmaxHosts\x12+\n" +
"\x12created_by_user_id\x18\t \x01(\x03R\x0fcreatedByUserId\x12\"\n" +
"\rcreated_at_ms\x18\n" +
" \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\v \x01(\x03R\vupdatedAtMs\x12\x16\n" +
"\x06avatar\x18\f \x01(\tR\x06avatar\x12\x1d\n" +
"\n" +
"host_count\x18\r \x01(\x05R\thostCount\"\x95\x02\n" +
"\tBDProfile\x12\x17\n" +
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x12\n" +
"\x04role\x18\x02 \x01(\tR\x04role\x12\x1b\n" +
"\tregion_id\x18\x03 \x01(\x03R\bregionId\x121\n" +
"\x15parent_leader_user_id\x18\x04 \x01(\x03R\x12parentLeaderUserId\x12\x16\n" +
"\x06status\x18\x05 \x01(\tR\x06status\x12+\n" +
"\x12created_by_user_id\x18\x06 \x01(\x03R\x0fcreatedByUserId\x12\"\n" +
"\rcreated_at_ms\x18\a \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\b \x01(\x03R\vupdatedAtMs\"\xe9\x01\n" +
"\x11CoinSellerProfile\x12\x17\n" +
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\x12.\n" +
"\x13merchant_asset_type\x18\x03 \x01(\tR\x11merchantAssetType\x12+\n" +
"\x12created_by_user_id\x18\x04 \x01(\x03R\x0fcreatedByUserId\x12\"\n" +
"\rcreated_at_ms\x18\x05 \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\x06 \x01(\x03R\vupdatedAtMs\"\xeb\x03\n" +
"\x12CoinSellerListItem\x12\x17\n" +
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12&\n" +
"\x0fdisplay_user_id\x18\x02 \x01(\tR\rdisplayUserId\x12\x1a\n" +
"\busername\x18\x03 \x01(\tR\busername\x12\x16\n" +
"\x06avatar\x18\x04 \x01(\tR\x06avatar\x12\x1d\n" +
"\n" +
"country_id\x18\x05 \x01(\x03R\tcountryId\x12!\n" +
"\fcountry_code\x18\x06 \x01(\tR\vcountryCode\x12!\n" +
"\fcountry_name\x18\a \x01(\tR\vcountryName\x120\n" +
"\x14country_display_name\x18\b \x01(\tR\x12countryDisplayName\x12\x1b\n" +
"\tregion_id\x18\t \x01(\x03R\bregionId\x12\x1f\n" +
"\vregion_code\x18\n" +
" \x01(\tR\n" +
"regionCode\x12\x1f\n" +
"\vregion_name\x18\v \x01(\tR\n" +
"regionName\x12\x16\n" +
"\x06status\x18\f \x01(\tR\x06status\x12.\n" +
"\x13merchant_asset_type\x18\r \x01(\tR\x11merchantAssetType\x12\"\n" +
"\rupdated_at_ms\x18\x0e \x01(\x03R\vupdatedAtMs\"\xb4\x03\n" +
"\x0fUserRoleSummary\x12\x17\n" +
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x17\n" +
"\ais_host\x18\x02 \x01(\bR\x06isHost\x12\x1b\n" +
"\tis_agency\x18\x03 \x01(\bR\bisAgency\x12\x13\n" +
"\x05is_bd\x18\x04 \x01(\bR\x04isBd\x12 \n" +
"\fis_bd_leader\x18\x05 \x01(\bR\n" +
"isBdLeader\x12$\n" +
"\x0eis_coin_seller\x18\x06 \x01(\bR\fisCoinSeller\x12\x1f\n" +
"\vhost_status\x18\a \x01(\tR\n" +
"hostStatus\x12\x1b\n" +
"\tagency_id\x18\b \x01(\x03R\bagencyId\x12\x13\n" +
"\x05bd_id\x18\t \x01(\x03R\x04bdId\x12\x1b\n" +
"\tbd_status\x18\n" +
" \x01(\tR\bbdStatus\x12,\n" +
"\x12coin_seller_status\x18\v \x01(\tR\x10coinSellerStatus\x128\n" +
"\x18pending_role_invitations\x18\f \x01(\x03R\x16pendingRoleInvitations\x12\x1d\n" +
"\n" +
"is_manager\x18\r \x01(\bR\tisManager\"\xaa\x03\n" +
"\x10AgencyMembership\x12#\n" +
"\rmembership_id\x18\x01 \x01(\x03R\fmembershipId\x12\x1b\n" +
"\tagency_id\x18\x02 \x01(\x03R\bagencyId\x12 \n" +
"\fhost_user_id\x18\x03 \x01(\x03R\n" +
"hostUserId\x12\x1b\n" +
"\tregion_id\x18\x04 \x01(\x03R\bregionId\x12'\n" +
"\x0fmembership_type\x18\x05 \x01(\tR\x0emembershipType\x12\x16\n" +
"\x06status\x18\x06 \x01(\tR\x06status\x12 \n" +
"\fjoined_at_ms\x18\a \x01(\x03R\n" +
"joinedAtMs\x12\x1e\n" +
"\vended_at_ms\x18\b \x01(\x03R\tendedAtMs\x12'\n" +
"\x10ended_by_user_id\x18\t \x01(\x03R\rendedByUserId\x12!\n" +
"\fended_reason\x18\n" +
" \x01(\tR\vendedReason\x12\"\n" +
"\rcreated_at_ms\x18\v \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\f \x01(\x03R\vupdatedAtMs\"\x99\x03\n" +
"\x11AgencyApplication\x12%\n" +
"\x0eapplication_id\x18\x01 \x01(\x03R\rapplicationId\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12*\n" +
"\x11applicant_user_id\x18\x03 \x01(\x03R\x0fapplicantUserId\x12\x1b\n" +
"\tagency_id\x18\x04 \x01(\x03R\bagencyId\x12\x1b\n" +
"\tregion_id\x18\x05 \x01(\x03R\bregionId\x12\x16\n" +
"\x06status\x18\x06 \x01(\tR\x06status\x12-\n" +
"\x13reviewed_by_user_id\x18\a \x01(\x03R\x10reviewedByUserId\x12#\n" +
"\rreview_reason\x18\b \x01(\tR\freviewReason\x12$\n" +
"\x0ereviewed_at_ms\x18\t \x01(\x03R\freviewedAtMs\x12\"\n" +
"\rcreated_at_ms\x18\n" +
" \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\v \x01(\x03R\vupdatedAtMs\"\xf4\x04\n" +
"\x0eRoleInvitation\x12#\n" +
"\rinvitation_id\x18\x01 \x01(\x03R\finvitationId\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12'\n" +
"\x0finvitation_type\x18\x03 \x01(\tR\x0einvitationType\x12\x16\n" +
"\x06status\x18\x04 \x01(\tR\x06status\x12&\n" +
"\x0finviter_user_id\x18\x05 \x01(\x03R\rinviterUserId\x12+\n" +
"\x12inviter_bd_user_id\x18\x06 \x01(\x03R\x0finviterBdUserId\x12$\n" +
"\x0etarget_user_id\x18\a \x01(\x03R\ftargetUserId\x12\x1b\n" +
"\tregion_id\x18\b \x01(\x03R\bregionId\x12\x1f\n" +
"\vagency_name\x18\t \x01(\tR\n" +
"agencyName\x12)\n" +
"\x11parent_bd_user_id\x18\n" +
" \x01(\x03R\x0eparentBdUserId\x121\n" +
"\x15parent_leader_user_id\x18\v \x01(\x03R\x12parentLeaderUserId\x12/\n" +
"\x14processed_by_user_id\x18\f \x01(\x03R\x11processedByUserId\x12%\n" +
"\x0eprocess_reason\x18\r \x01(\tR\rprocessReason\x12&\n" +
"\x0fprocessed_at_ms\x18\x0e \x01(\x03R\rprocessedAtMs\x12\"\n" +
"\rcreated_at_ms\x18\x0f \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\x10 \x01(\x03R\vupdatedAtMs\"\x97\x01\n" +
"\x15SearchAgenciesRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x18\n" +
"\akeyword\x18\x03 \x01(\tR\akeyword\x12\x1b\n" +
"\tpage_size\x18\x04 \x01(\x05R\bpageSize\"K\n" +
"\x16SearchAgenciesResponse\x121\n" +
"\bagencies\x18\x01 \x03(\v2\x15.hyapp.user.v1.AgencyR\bagencies\"\x9b\x01\n" +
"\x14ApplyToAgencyRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12\x17\n" +
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x1b\n" +
"\tagency_id\x18\x04 \x01(\x03R\bagencyId\"[\n" +
"\x15ApplyToAgencyResponse\x12B\n" +
"\vapplication\x18\x01 \x01(\v2 .hyapp.user.v1.AgencyApplicationR\vapplication\"\xf4\x01\n" +
"\x1eReviewAgencyApplicationRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12(\n" +
"\x10reviewer_user_id\x18\x03 \x01(\x03R\x0ereviewerUserId\x12%\n" +
"\x0eapplication_id\x18\x04 \x01(\x03R\rapplicationId\x12\x1a\n" +
"\bdecision\x18\x05 \x01(\tR\bdecision\x12\x16\n" +
"\x06reason\x18\x06 \x01(\tR\x06reason\"\xe5\x01\n" +
"\x1fReviewAgencyApplicationResponse\x12B\n" +
"\vapplication\x18\x01 \x01(\v2 .hyapp.user.v1.AgencyApplicationR\vapplication\x12=\n" +
"\fhost_profile\x18\x02 \x01(\v2\x1a.hyapp.user.v1.HostProfileR\vhostProfile\x12?\n" +
"\n" +
"membership\x18\x03 \x01(\v2\x1f.hyapp.user.v1.AgencyMembershipR\n" +
"membership\"\xe7\x01\n" +
"\x15KickAgencyHostRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12(\n" +
"\x10operator_user_id\x18\x03 \x01(\x03R\x0eoperatorUserId\x12\x1b\n" +
"\tagency_id\x18\x04 \x01(\x03R\bagencyId\x12 \n" +
"\fhost_user_id\x18\x05 \x01(\x03R\n" +
"hostUserId\x12\x16\n" +
"\x06reason\x18\x06 \x01(\tR\x06reason\"\x98\x01\n" +
"\x16KickAgencyHostResponse\x12?\n" +
"\n" +
"membership\x18\x01 \x01(\v2\x1f.hyapp.user.v1.AgencyMembershipR\n" +
"membership\x12=\n" +
"\fhost_profile\x18\x02 \x01(\v2\x1a.hyapp.user.v1.HostProfileR\vhostProfile\"\xd3\x01\n" +
"\x13InviteAgencyRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12&\n" +
"\x0finviter_user_id\x18\x03 \x01(\x03R\rinviterUserId\x12$\n" +
"\x0etarget_user_id\x18\x04 \x01(\x03R\ftargetUserId\x12\x1f\n" +
"\vagency_name\x18\x05 \x01(\tR\n" +
"agencyName\"U\n" +
"\x14InviteAgencyResponse\x12=\n" +
"\n" +
"invitation\x18\x01 \x01(\v2\x1d.hyapp.user.v1.RoleInvitationR\n" +
"invitation\"\xae\x01\n" +
"\x0fInviteBDRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12&\n" +
"\x0finviter_user_id\x18\x03 \x01(\x03R\rinviterUserId\x12$\n" +
"\x0etarget_user_id\x18\x04 \x01(\x03R\ftargetUserId\"Q\n" +
"\x10InviteBDResponse\x12=\n" +
"\n" +
"invitation\x18\x01 \x01(\v2\x1d.hyapp.user.v1.RoleInvitationR\n" +
"invitation\"\xe6\x01\n" +
"\x1cProcessRoleInvitationRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12\"\n" +
"\ractor_user_id\x18\x03 \x01(\x03R\vactorUserId\x12#\n" +
"\rinvitation_id\x18\x04 \x01(\x03R\finvitationId\x12\x16\n" +
"\x06action\x18\x05 \x01(\tR\x06action\x12\x16\n" +
"\x06reason\x18\x06 \x01(\tR\x06reason\"\xc6\x02\n" +
"\x1dProcessRoleInvitationResponse\x12=\n" +
"\n" +
"invitation\x18\x01 \x01(\v2\x1d.hyapp.user.v1.RoleInvitationR\n" +
"invitation\x12=\n" +
"\fhost_profile\x18\x02 \x01(\v2\x1a.hyapp.user.v1.HostProfileR\vhostProfile\x12-\n" +
"\x06agency\x18\x03 \x01(\v2\x15.hyapp.user.v1.AgencyR\x06agency\x12?\n" +
"\n" +
"membership\x18\x04 \x01(\v2\x1f.hyapp.user.v1.AgencyMembershipR\n" +
"membership\x127\n" +
"\n" +
"bd_profile\x18\x05 \x01(\v2\x18.hyapp.user.v1.BDProfileR\tbdProfile\"`\n" +
"\x15GetHostProfileRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\"W\n" +
"\x16GetHostProfileResponse\x12=\n" +
"\fhost_profile\x18\x01 \x01(\v2\x1a.hyapp.user.v1.HostProfileR\vhostProfile\"^\n" +
"\x13GetBDProfileRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\"O\n" +
"\x14GetBDProfileResponse\x127\n" +
"\n" +
"bd_profile\x18\x01 \x01(\v2\x18.hyapp.user.v1.BDProfileR\tbdProfile\"f\n" +
"\x1bGetCoinSellerProfileRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\"p\n" +
"\x1cGetCoinSellerProfileResponse\x12P\n" +
"\x13coin_seller_profile\x18\x01 \x01(\v2 .hyapp.user.v1.CoinSellerProfileR\x11coinSellerProfile\"q\n" +
"&ListActiveCoinSellersInMyRegionRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\"o\n" +
"'ListActiveCoinSellersInMyRegionResponse\x12D\n" +
"\fcoin_sellers\x18\x01 \x03(\v2!.hyapp.user.v1.CoinSellerListItemR\vcoinSellers\"d\n" +
"\x19GetUserRoleSummaryRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\"V\n" +
"\x1aGetUserRoleSummaryResponse\x128\n" +
"\asummary\x18\x01 \x01(\v2\x1e.hyapp.user.v1.UserRoleSummaryR\asummary\"\x94\x01\n" +
"\x1eCheckBusinessCapabilityRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\"\n" +
"\ractor_user_id\x18\x02 \x01(\x03R\vactorUserId\x12\x1e\n" +
"\n" +
"capability\x18\x03 \x01(\tR\n" +
"capability\"S\n" +
"\x1fCheckBusinessCapabilityResponse\x12\x18\n" +
"\aallowed\x18\x01 \x01(\bR\aallowed\x12\x16\n" +
"\x06reason\x18\x02 \x01(\tR\x06reason\"~\n" +
"\x17GetAgencyMembersRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1b\n" +
"\tagency_id\x18\x02 \x01(\x03R\bagencyId\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\"]\n" +
"\x18GetAgencyMembersResponse\x12A\n" +
"\vmemberships\x18\x01 \x03(\v2\x1f.hyapp.user.v1.AgencyMembershipR\vmemberships\"\x83\x01\n" +
"\x1cGetAgencyApplicationsRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1b\n" +
"\tagency_id\x18\x02 \x01(\x03R\bagencyId\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\"e\n" +
"\x1dGetAgencyApplicationsResponse\x12D\n" +
"\fapplications\x18\x01 \x03(\v2 .hyapp.user.v1.AgencyApplicationR\fapplications\"\xe5\x01\n" +
"\x15CreateBDLeaderRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12\"\n" +
"\radmin_user_id\x18\x03 \x01(\x03R\vadminUserId\x12$\n" +
"\x0etarget_user_id\x18\x04 \x01(\x03R\ftargetUserId\x12\x16\n" +
"\x06reason\x18\x05 \x01(\tR\x06reason\x12\x1b\n" +
"\tregion_id\x18\x06 \x01(\x03R\bregionId\"Q\n" +
"\x16CreateBDLeaderResponse\x127\n" +
"\n" +
"bd_profile\x18\x01 \x01(\v2\x18.hyapp.user.v1.BDProfileR\tbdProfile\"\xf5\x01\n" +
"\x0fCreateBDRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12\"\n" +
"\radmin_user_id\x18\x03 \x01(\x03R\vadminUserId\x12$\n" +
"\x0etarget_user_id\x18\x04 \x01(\x03R\ftargetUserId\x121\n" +
"\x15parent_leader_user_id\x18\x05 \x01(\x03R\x12parentLeaderUserId\x12\x16\n" +
"\x06reason\x18\x06 \x01(\tR\x06reason\"K\n" +
"\x10CreateBDResponse\x127\n" +
"\n" +
"bd_profile\x18\x01 \x01(\v2\x18.hyapp.user.v1.BDProfileR\tbdProfile\"\xdd\x01\n" +
"\x12SetBDStatusRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12\"\n" +
"\radmin_user_id\x18\x03 \x01(\x03R\vadminUserId\x12$\n" +
"\x0etarget_user_id\x18\x04 \x01(\x03R\ftargetUserId\x12\x16\n" +
"\x06status\x18\x05 \x01(\tR\x06status\x12\x16\n" +
"\x06reason\x18\x06 \x01(\tR\x06reason\"N\n" +
"\x13SetBDStatusResponse\x127\n" +
"\n" +
"bd_profile\x18\x01 \x01(\v2\x18.hyapp.user.v1.BDProfileR\tbdProfile\"\xca\x01\n" +
"\x17CreateCoinSellerRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12\"\n" +
"\radmin_user_id\x18\x03 \x01(\x03R\vadminUserId\x12$\n" +
"\x0etarget_user_id\x18\x04 \x01(\x03R\ftargetUserId\x12\x16\n" +
"\x06reason\x18\x05 \x01(\tR\x06reason\"l\n" +
"\x18CreateCoinSellerResponse\x12P\n" +
"\x13coin_seller_profile\x18\x01 \x01(\v2 .hyapp.user.v1.CoinSellerProfileR\x11coinSellerProfile\"\xe5\x01\n" +
"\x1aSetCoinSellerStatusRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12\"\n" +
"\radmin_user_id\x18\x03 \x01(\x03R\vadminUserId\x12$\n" +
"\x0etarget_user_id\x18\x04 \x01(\x03R\ftargetUserId\x12\x16\n" +
"\x06status\x18\x05 \x01(\tR\x06status\x12\x16\n" +
"\x06reason\x18\x06 \x01(\tR\x06reason\"o\n" +
"\x1bSetCoinSellerStatusResponse\x12P\n" +
"\x13coin_seller_profile\x18\x01 \x01(\v2 .hyapp.user.v1.CoinSellerProfileR\x11coinSellerProfile\"\xc3\x02\n" +
"\x13CreateAgencyRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12\"\n" +
"\radmin_user_id\x18\x03 \x01(\x03R\vadminUserId\x12\"\n" +
"\rowner_user_id\x18\x04 \x01(\x03R\vownerUserId\x12)\n" +
"\x11parent_bd_user_id\x18\x05 \x01(\x03R\x0eparentBdUserId\x12\x12\n" +
"\x04name\x18\x06 \x01(\tR\x04name\x12!\n" +
"\fjoin_enabled\x18\a \x01(\bR\vjoinEnabled\x12\x1b\n" +
"\tmax_hosts\x18\b \x01(\x05R\bmaxHosts\x12\x16\n" +
"\x06reason\x18\t \x01(\tR\x06reason\"\xc5\x01\n" +
"\x14CreateAgencyResponse\x12-\n" +
"\x06agency\x18\x01 \x01(\v2\x15.hyapp.user.v1.AgencyR\x06agency\x12=\n" +
"\fhost_profile\x18\x02 \x01(\v2\x1a.hyapp.user.v1.HostProfileR\vhostProfile\x12?\n" +
"\n" +
"membership\x18\x03 \x01(\v2\x1f.hyapp.user.v1.AgencyMembershipR\n" +
"membership\"\xbc\x01\n" +
"\x12CloseAgencyRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12\"\n" +
"\radmin_user_id\x18\x03 \x01(\x03R\vadminUserId\x12\x1b\n" +
"\tagency_id\x18\x04 \x01(\x03R\bagencyId\x12\x16\n" +
"\x06reason\x18\x05 \x01(\tR\x06reason\"D\n" +
"\x13CloseAgencyResponse\x12-\n" +
"\x06agency\x18\x01 \x01(\v2\x15.hyapp.user.v1.AgencyR\x06agency\"\xe8\x01\n" +
"\x1bSetAgencyJoinEnabledRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12\"\n" +
"\radmin_user_id\x18\x03 \x01(\x03R\vadminUserId\x12\x1b\n" +
"\tagency_id\x18\x04 \x01(\x03R\bagencyId\x12!\n" +
"\fjoin_enabled\x18\x05 \x01(\bR\vjoinEnabled\x12\x16\n" +
"\x06reason\x18\x06 \x01(\tR\x06reason\"M\n" +
"\x1cSetAgencyJoinEnabledResponse\x12-\n" +
"\x06agency\x18\x01 \x01(\v2\x15.hyapp.user.v1.AgencyR\x06agency2\xb9\f\n" +
"\x0fUserHostService\x12]\n" +
"\x0eSearchAgencies\x12$.hyapp.user.v1.SearchAgenciesRequest\x1a%.hyapp.user.v1.SearchAgenciesResponse\x12Z\n" +
"\rApplyToAgency\x12#.hyapp.user.v1.ApplyToAgencyRequest\x1a$.hyapp.user.v1.ApplyToAgencyResponse\x12x\n" +
"\x17ReviewAgencyApplication\x12-.hyapp.user.v1.ReviewAgencyApplicationRequest\x1a..hyapp.user.v1.ReviewAgencyApplicationResponse\x12]\n" +
"\x0eKickAgencyHost\x12$.hyapp.user.v1.KickAgencyHostRequest\x1a%.hyapp.user.v1.KickAgencyHostResponse\x12W\n" +
"\fInviteAgency\x12\".hyapp.user.v1.InviteAgencyRequest\x1a#.hyapp.user.v1.InviteAgencyResponse\x12K\n" +
"\bInviteBD\x12\x1e.hyapp.user.v1.InviteBDRequest\x1a\x1f.hyapp.user.v1.InviteBDResponse\x12r\n" +
"\x15ProcessRoleInvitation\x12+.hyapp.user.v1.ProcessRoleInvitationRequest\x1a,.hyapp.user.v1.ProcessRoleInvitationResponse\x12]\n" +
"\x0eGetHostProfile\x12$.hyapp.user.v1.GetHostProfileRequest\x1a%.hyapp.user.v1.GetHostProfileResponse\x12W\n" +
"\fGetBDProfile\x12\".hyapp.user.v1.GetBDProfileRequest\x1a#.hyapp.user.v1.GetBDProfileResponse\x12o\n" +
"\x14GetCoinSellerProfile\x12*.hyapp.user.v1.GetCoinSellerProfileRequest\x1a+.hyapp.user.v1.GetCoinSellerProfileResponse\x12\x90\x01\n" +
"\x1fListActiveCoinSellersInMyRegion\x125.hyapp.user.v1.ListActiveCoinSellersInMyRegionRequest\x1a6.hyapp.user.v1.ListActiveCoinSellersInMyRegionResponse\x12i\n" +
"\x12GetUserRoleSummary\x12(.hyapp.user.v1.GetUserRoleSummaryRequest\x1a).hyapp.user.v1.GetUserRoleSummaryResponse\x12x\n" +
"\x17CheckBusinessCapability\x12-.hyapp.user.v1.CheckBusinessCapabilityRequest\x1a..hyapp.user.v1.CheckBusinessCapabilityResponse\x12c\n" +
"\x10GetAgencyMembers\x12&.hyapp.user.v1.GetAgencyMembersRequest\x1a'.hyapp.user.v1.GetAgencyMembersResponse\x12r\n" +
"\x15GetAgencyApplications\x12+.hyapp.user.v1.GetAgencyApplicationsRequest\x1a,.hyapp.user.v1.GetAgencyApplicationsResponse2\x8b\x06\n" +
"\x14UserHostAdminService\x12]\n" +
"\x0eCreateBDLeader\x12$.hyapp.user.v1.CreateBDLeaderRequest\x1a%.hyapp.user.v1.CreateBDLeaderResponse\x12K\n" +
"\bCreateBD\x12\x1e.hyapp.user.v1.CreateBDRequest\x1a\x1f.hyapp.user.v1.CreateBDResponse\x12T\n" +
"\vSetBDStatus\x12!.hyapp.user.v1.SetBDStatusRequest\x1a\".hyapp.user.v1.SetBDStatusResponse\x12c\n" +
"\x10CreateCoinSeller\x12&.hyapp.user.v1.CreateCoinSellerRequest\x1a'.hyapp.user.v1.CreateCoinSellerResponse\x12l\n" +
"\x13SetCoinSellerStatus\x12).hyapp.user.v1.SetCoinSellerStatusRequest\x1a*.hyapp.user.v1.SetCoinSellerStatusResponse\x12W\n" +
"\fCreateAgency\x12\".hyapp.user.v1.CreateAgencyRequest\x1a#.hyapp.user.v1.CreateAgencyResponse\x12T\n" +
"\vCloseAgency\x12!.hyapp.user.v1.CloseAgencyRequest\x1a\".hyapp.user.v1.CloseAgencyResponse\x12o\n" +
"\x14SetAgencyJoinEnabled\x12*.hyapp.user.v1.SetAgencyJoinEnabledRequest\x1a+.hyapp.user.v1.SetAgencyJoinEnabledResponseB&Z$hyapp.local/api/proto/user/v1;userv1b\x06proto3"
var (
file_proto_user_v1_host_proto_rawDescOnce sync.Once
file_proto_user_v1_host_proto_rawDescData []byte
)
func file_proto_user_v1_host_proto_rawDescGZIP() []byte {
file_proto_user_v1_host_proto_rawDescOnce.Do(func() {
file_proto_user_v1_host_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_user_v1_host_proto_rawDesc), len(file_proto_user_v1_host_proto_rawDesc)))
})
return file_proto_user_v1_host_proto_rawDescData
}
var file_proto_user_v1_host_proto_msgTypes = make([]protoimpl.MessageInfo, 55)
var file_proto_user_v1_host_proto_goTypes = []any{
(*HostProfile)(nil), // 0: hyapp.user.v1.HostProfile
(*Agency)(nil), // 1: hyapp.user.v1.Agency
(*BDProfile)(nil), // 2: hyapp.user.v1.BDProfile
(*CoinSellerProfile)(nil), // 3: hyapp.user.v1.CoinSellerProfile
(*CoinSellerListItem)(nil), // 4: hyapp.user.v1.CoinSellerListItem
(*UserRoleSummary)(nil), // 5: hyapp.user.v1.UserRoleSummary
(*AgencyMembership)(nil), // 6: hyapp.user.v1.AgencyMembership
(*AgencyApplication)(nil), // 7: hyapp.user.v1.AgencyApplication
(*RoleInvitation)(nil), // 8: hyapp.user.v1.RoleInvitation
(*SearchAgenciesRequest)(nil), // 9: hyapp.user.v1.SearchAgenciesRequest
(*SearchAgenciesResponse)(nil), // 10: hyapp.user.v1.SearchAgenciesResponse
(*ApplyToAgencyRequest)(nil), // 11: hyapp.user.v1.ApplyToAgencyRequest
(*ApplyToAgencyResponse)(nil), // 12: hyapp.user.v1.ApplyToAgencyResponse
(*ReviewAgencyApplicationRequest)(nil), // 13: hyapp.user.v1.ReviewAgencyApplicationRequest
(*ReviewAgencyApplicationResponse)(nil), // 14: hyapp.user.v1.ReviewAgencyApplicationResponse
(*KickAgencyHostRequest)(nil), // 15: hyapp.user.v1.KickAgencyHostRequest
(*KickAgencyHostResponse)(nil), // 16: hyapp.user.v1.KickAgencyHostResponse
(*InviteAgencyRequest)(nil), // 17: hyapp.user.v1.InviteAgencyRequest
(*InviteAgencyResponse)(nil), // 18: hyapp.user.v1.InviteAgencyResponse
(*InviteBDRequest)(nil), // 19: hyapp.user.v1.InviteBDRequest
(*InviteBDResponse)(nil), // 20: hyapp.user.v1.InviteBDResponse
(*ProcessRoleInvitationRequest)(nil), // 21: hyapp.user.v1.ProcessRoleInvitationRequest
(*ProcessRoleInvitationResponse)(nil), // 22: hyapp.user.v1.ProcessRoleInvitationResponse
(*GetHostProfileRequest)(nil), // 23: hyapp.user.v1.GetHostProfileRequest
(*GetHostProfileResponse)(nil), // 24: hyapp.user.v1.GetHostProfileResponse
(*GetBDProfileRequest)(nil), // 25: hyapp.user.v1.GetBDProfileRequest
(*GetBDProfileResponse)(nil), // 26: hyapp.user.v1.GetBDProfileResponse
(*GetCoinSellerProfileRequest)(nil), // 27: hyapp.user.v1.GetCoinSellerProfileRequest
(*GetCoinSellerProfileResponse)(nil), // 28: hyapp.user.v1.GetCoinSellerProfileResponse
(*ListActiveCoinSellersInMyRegionRequest)(nil), // 29: hyapp.user.v1.ListActiveCoinSellersInMyRegionRequest
(*ListActiveCoinSellersInMyRegionResponse)(nil), // 30: hyapp.user.v1.ListActiveCoinSellersInMyRegionResponse
(*GetUserRoleSummaryRequest)(nil), // 31: hyapp.user.v1.GetUserRoleSummaryRequest
(*GetUserRoleSummaryResponse)(nil), // 32: hyapp.user.v1.GetUserRoleSummaryResponse
(*CheckBusinessCapabilityRequest)(nil), // 33: hyapp.user.v1.CheckBusinessCapabilityRequest
(*CheckBusinessCapabilityResponse)(nil), // 34: hyapp.user.v1.CheckBusinessCapabilityResponse
(*GetAgencyMembersRequest)(nil), // 35: hyapp.user.v1.GetAgencyMembersRequest
(*GetAgencyMembersResponse)(nil), // 36: hyapp.user.v1.GetAgencyMembersResponse
(*GetAgencyApplicationsRequest)(nil), // 37: hyapp.user.v1.GetAgencyApplicationsRequest
(*GetAgencyApplicationsResponse)(nil), // 38: hyapp.user.v1.GetAgencyApplicationsResponse
(*CreateBDLeaderRequest)(nil), // 39: hyapp.user.v1.CreateBDLeaderRequest
(*CreateBDLeaderResponse)(nil), // 40: hyapp.user.v1.CreateBDLeaderResponse
(*CreateBDRequest)(nil), // 41: hyapp.user.v1.CreateBDRequest
(*CreateBDResponse)(nil), // 42: hyapp.user.v1.CreateBDResponse
(*SetBDStatusRequest)(nil), // 43: hyapp.user.v1.SetBDStatusRequest
(*SetBDStatusResponse)(nil), // 44: hyapp.user.v1.SetBDStatusResponse
(*CreateCoinSellerRequest)(nil), // 45: hyapp.user.v1.CreateCoinSellerRequest
(*CreateCoinSellerResponse)(nil), // 46: hyapp.user.v1.CreateCoinSellerResponse
(*SetCoinSellerStatusRequest)(nil), // 47: hyapp.user.v1.SetCoinSellerStatusRequest
(*SetCoinSellerStatusResponse)(nil), // 48: hyapp.user.v1.SetCoinSellerStatusResponse
(*CreateAgencyRequest)(nil), // 49: hyapp.user.v1.CreateAgencyRequest
(*CreateAgencyResponse)(nil), // 50: hyapp.user.v1.CreateAgencyResponse
(*CloseAgencyRequest)(nil), // 51: hyapp.user.v1.CloseAgencyRequest
(*CloseAgencyResponse)(nil), // 52: hyapp.user.v1.CloseAgencyResponse
(*SetAgencyJoinEnabledRequest)(nil), // 53: hyapp.user.v1.SetAgencyJoinEnabledRequest
(*SetAgencyJoinEnabledResponse)(nil), // 54: hyapp.user.v1.SetAgencyJoinEnabledResponse
(*RequestMeta)(nil), // 55: hyapp.user.v1.RequestMeta
}
var file_proto_user_v1_host_proto_depIdxs = []int32{
55, // 0: hyapp.user.v1.SearchAgenciesRequest.meta:type_name -> hyapp.user.v1.RequestMeta
1, // 1: hyapp.user.v1.SearchAgenciesResponse.agencies:type_name -> hyapp.user.v1.Agency
55, // 2: hyapp.user.v1.ApplyToAgencyRequest.meta:type_name -> hyapp.user.v1.RequestMeta
7, // 3: hyapp.user.v1.ApplyToAgencyResponse.application:type_name -> hyapp.user.v1.AgencyApplication
55, // 4: hyapp.user.v1.ReviewAgencyApplicationRequest.meta:type_name -> hyapp.user.v1.RequestMeta
7, // 5: hyapp.user.v1.ReviewAgencyApplicationResponse.application:type_name -> hyapp.user.v1.AgencyApplication
0, // 6: hyapp.user.v1.ReviewAgencyApplicationResponse.host_profile:type_name -> hyapp.user.v1.HostProfile
6, // 7: hyapp.user.v1.ReviewAgencyApplicationResponse.membership:type_name -> hyapp.user.v1.AgencyMembership
55, // 8: hyapp.user.v1.KickAgencyHostRequest.meta:type_name -> hyapp.user.v1.RequestMeta
6, // 9: hyapp.user.v1.KickAgencyHostResponse.membership:type_name -> hyapp.user.v1.AgencyMembership
0, // 10: hyapp.user.v1.KickAgencyHostResponse.host_profile:type_name -> hyapp.user.v1.HostProfile
55, // 11: hyapp.user.v1.InviteAgencyRequest.meta:type_name -> hyapp.user.v1.RequestMeta
8, // 12: hyapp.user.v1.InviteAgencyResponse.invitation:type_name -> hyapp.user.v1.RoleInvitation
55, // 13: hyapp.user.v1.InviteBDRequest.meta:type_name -> hyapp.user.v1.RequestMeta
8, // 14: hyapp.user.v1.InviteBDResponse.invitation:type_name -> hyapp.user.v1.RoleInvitation
55, // 15: hyapp.user.v1.ProcessRoleInvitationRequest.meta:type_name -> hyapp.user.v1.RequestMeta
8, // 16: hyapp.user.v1.ProcessRoleInvitationResponse.invitation:type_name -> hyapp.user.v1.RoleInvitation
0, // 17: hyapp.user.v1.ProcessRoleInvitationResponse.host_profile:type_name -> hyapp.user.v1.HostProfile
1, // 18: hyapp.user.v1.ProcessRoleInvitationResponse.agency:type_name -> hyapp.user.v1.Agency
6, // 19: hyapp.user.v1.ProcessRoleInvitationResponse.membership:type_name -> hyapp.user.v1.AgencyMembership
2, // 20: hyapp.user.v1.ProcessRoleInvitationResponse.bd_profile:type_name -> hyapp.user.v1.BDProfile
55, // 21: hyapp.user.v1.GetHostProfileRequest.meta:type_name -> hyapp.user.v1.RequestMeta
0, // 22: hyapp.user.v1.GetHostProfileResponse.host_profile:type_name -> hyapp.user.v1.HostProfile
55, // 23: hyapp.user.v1.GetBDProfileRequest.meta:type_name -> hyapp.user.v1.RequestMeta
2, // 24: hyapp.user.v1.GetBDProfileResponse.bd_profile:type_name -> hyapp.user.v1.BDProfile
55, // 25: hyapp.user.v1.GetCoinSellerProfileRequest.meta:type_name -> hyapp.user.v1.RequestMeta
3, // 26: hyapp.user.v1.GetCoinSellerProfileResponse.coin_seller_profile:type_name -> hyapp.user.v1.CoinSellerProfile
55, // 27: hyapp.user.v1.ListActiveCoinSellersInMyRegionRequest.meta:type_name -> hyapp.user.v1.RequestMeta
4, // 28: hyapp.user.v1.ListActiveCoinSellersInMyRegionResponse.coin_sellers:type_name -> hyapp.user.v1.CoinSellerListItem
55, // 29: hyapp.user.v1.GetUserRoleSummaryRequest.meta:type_name -> hyapp.user.v1.RequestMeta
5, // 30: hyapp.user.v1.GetUserRoleSummaryResponse.summary:type_name -> hyapp.user.v1.UserRoleSummary
55, // 31: hyapp.user.v1.CheckBusinessCapabilityRequest.meta:type_name -> hyapp.user.v1.RequestMeta
55, // 32: hyapp.user.v1.GetAgencyMembersRequest.meta:type_name -> hyapp.user.v1.RequestMeta
6, // 33: hyapp.user.v1.GetAgencyMembersResponse.memberships:type_name -> hyapp.user.v1.AgencyMembership
55, // 34: hyapp.user.v1.GetAgencyApplicationsRequest.meta:type_name -> hyapp.user.v1.RequestMeta
7, // 35: hyapp.user.v1.GetAgencyApplicationsResponse.applications:type_name -> hyapp.user.v1.AgencyApplication
55, // 36: hyapp.user.v1.CreateBDLeaderRequest.meta:type_name -> hyapp.user.v1.RequestMeta
2, // 37: hyapp.user.v1.CreateBDLeaderResponse.bd_profile:type_name -> hyapp.user.v1.BDProfile
55, // 38: hyapp.user.v1.CreateBDRequest.meta:type_name -> hyapp.user.v1.RequestMeta
2, // 39: hyapp.user.v1.CreateBDResponse.bd_profile:type_name -> hyapp.user.v1.BDProfile
55, // 40: hyapp.user.v1.SetBDStatusRequest.meta:type_name -> hyapp.user.v1.RequestMeta
2, // 41: hyapp.user.v1.SetBDStatusResponse.bd_profile:type_name -> hyapp.user.v1.BDProfile
55, // 42: hyapp.user.v1.CreateCoinSellerRequest.meta:type_name -> hyapp.user.v1.RequestMeta
3, // 43: hyapp.user.v1.CreateCoinSellerResponse.coin_seller_profile:type_name -> hyapp.user.v1.CoinSellerProfile
55, // 44: hyapp.user.v1.SetCoinSellerStatusRequest.meta:type_name -> hyapp.user.v1.RequestMeta
3, // 45: hyapp.user.v1.SetCoinSellerStatusResponse.coin_seller_profile:type_name -> hyapp.user.v1.CoinSellerProfile
55, // 46: hyapp.user.v1.CreateAgencyRequest.meta:type_name -> hyapp.user.v1.RequestMeta
1, // 47: hyapp.user.v1.CreateAgencyResponse.agency:type_name -> hyapp.user.v1.Agency
0, // 48: hyapp.user.v1.CreateAgencyResponse.host_profile:type_name -> hyapp.user.v1.HostProfile
6, // 49: hyapp.user.v1.CreateAgencyResponse.membership:type_name -> hyapp.user.v1.AgencyMembership
55, // 50: hyapp.user.v1.CloseAgencyRequest.meta:type_name -> hyapp.user.v1.RequestMeta
1, // 51: hyapp.user.v1.CloseAgencyResponse.agency:type_name -> hyapp.user.v1.Agency
55, // 52: hyapp.user.v1.SetAgencyJoinEnabledRequest.meta:type_name -> hyapp.user.v1.RequestMeta
1, // 53: hyapp.user.v1.SetAgencyJoinEnabledResponse.agency:type_name -> hyapp.user.v1.Agency
9, // 54: hyapp.user.v1.UserHostService.SearchAgencies:input_type -> hyapp.user.v1.SearchAgenciesRequest
11, // 55: hyapp.user.v1.UserHostService.ApplyToAgency:input_type -> hyapp.user.v1.ApplyToAgencyRequest
13, // 56: hyapp.user.v1.UserHostService.ReviewAgencyApplication:input_type -> hyapp.user.v1.ReviewAgencyApplicationRequest
15, // 57: hyapp.user.v1.UserHostService.KickAgencyHost:input_type -> hyapp.user.v1.KickAgencyHostRequest
17, // 58: hyapp.user.v1.UserHostService.InviteAgency:input_type -> hyapp.user.v1.InviteAgencyRequest
19, // 59: hyapp.user.v1.UserHostService.InviteBD:input_type -> hyapp.user.v1.InviteBDRequest
21, // 60: hyapp.user.v1.UserHostService.ProcessRoleInvitation:input_type -> hyapp.user.v1.ProcessRoleInvitationRequest
23, // 61: hyapp.user.v1.UserHostService.GetHostProfile:input_type -> hyapp.user.v1.GetHostProfileRequest
25, // 62: hyapp.user.v1.UserHostService.GetBDProfile:input_type -> hyapp.user.v1.GetBDProfileRequest
27, // 63: hyapp.user.v1.UserHostService.GetCoinSellerProfile:input_type -> hyapp.user.v1.GetCoinSellerProfileRequest
29, // 64: hyapp.user.v1.UserHostService.ListActiveCoinSellersInMyRegion:input_type -> hyapp.user.v1.ListActiveCoinSellersInMyRegionRequest
31, // 65: hyapp.user.v1.UserHostService.GetUserRoleSummary:input_type -> hyapp.user.v1.GetUserRoleSummaryRequest
33, // 66: hyapp.user.v1.UserHostService.CheckBusinessCapability:input_type -> hyapp.user.v1.CheckBusinessCapabilityRequest
35, // 67: hyapp.user.v1.UserHostService.GetAgencyMembers:input_type -> hyapp.user.v1.GetAgencyMembersRequest
37, // 68: hyapp.user.v1.UserHostService.GetAgencyApplications:input_type -> hyapp.user.v1.GetAgencyApplicationsRequest
39, // 69: hyapp.user.v1.UserHostAdminService.CreateBDLeader:input_type -> hyapp.user.v1.CreateBDLeaderRequest
41, // 70: hyapp.user.v1.UserHostAdminService.CreateBD:input_type -> hyapp.user.v1.CreateBDRequest
43, // 71: hyapp.user.v1.UserHostAdminService.SetBDStatus:input_type -> hyapp.user.v1.SetBDStatusRequest
45, // 72: hyapp.user.v1.UserHostAdminService.CreateCoinSeller:input_type -> hyapp.user.v1.CreateCoinSellerRequest
47, // 73: hyapp.user.v1.UserHostAdminService.SetCoinSellerStatus:input_type -> hyapp.user.v1.SetCoinSellerStatusRequest
49, // 74: hyapp.user.v1.UserHostAdminService.CreateAgency:input_type -> hyapp.user.v1.CreateAgencyRequest
51, // 75: hyapp.user.v1.UserHostAdminService.CloseAgency:input_type -> hyapp.user.v1.CloseAgencyRequest
53, // 76: hyapp.user.v1.UserHostAdminService.SetAgencyJoinEnabled:input_type -> hyapp.user.v1.SetAgencyJoinEnabledRequest
10, // 77: hyapp.user.v1.UserHostService.SearchAgencies:output_type -> hyapp.user.v1.SearchAgenciesResponse
12, // 78: hyapp.user.v1.UserHostService.ApplyToAgency:output_type -> hyapp.user.v1.ApplyToAgencyResponse
14, // 79: hyapp.user.v1.UserHostService.ReviewAgencyApplication:output_type -> hyapp.user.v1.ReviewAgencyApplicationResponse
16, // 80: hyapp.user.v1.UserHostService.KickAgencyHost:output_type -> hyapp.user.v1.KickAgencyHostResponse
18, // 81: hyapp.user.v1.UserHostService.InviteAgency:output_type -> hyapp.user.v1.InviteAgencyResponse
20, // 82: hyapp.user.v1.UserHostService.InviteBD:output_type -> hyapp.user.v1.InviteBDResponse
22, // 83: hyapp.user.v1.UserHostService.ProcessRoleInvitation:output_type -> hyapp.user.v1.ProcessRoleInvitationResponse
24, // 84: hyapp.user.v1.UserHostService.GetHostProfile:output_type -> hyapp.user.v1.GetHostProfileResponse
26, // 85: hyapp.user.v1.UserHostService.GetBDProfile:output_type -> hyapp.user.v1.GetBDProfileResponse
28, // 86: hyapp.user.v1.UserHostService.GetCoinSellerProfile:output_type -> hyapp.user.v1.GetCoinSellerProfileResponse
30, // 87: hyapp.user.v1.UserHostService.ListActiveCoinSellersInMyRegion:output_type -> hyapp.user.v1.ListActiveCoinSellersInMyRegionResponse
32, // 88: hyapp.user.v1.UserHostService.GetUserRoleSummary:output_type -> hyapp.user.v1.GetUserRoleSummaryResponse
34, // 89: hyapp.user.v1.UserHostService.CheckBusinessCapability:output_type -> hyapp.user.v1.CheckBusinessCapabilityResponse
36, // 90: hyapp.user.v1.UserHostService.GetAgencyMembers:output_type -> hyapp.user.v1.GetAgencyMembersResponse
38, // 91: hyapp.user.v1.UserHostService.GetAgencyApplications:output_type -> hyapp.user.v1.GetAgencyApplicationsResponse
40, // 92: hyapp.user.v1.UserHostAdminService.CreateBDLeader:output_type -> hyapp.user.v1.CreateBDLeaderResponse
42, // 93: hyapp.user.v1.UserHostAdminService.CreateBD:output_type -> hyapp.user.v1.CreateBDResponse
44, // 94: hyapp.user.v1.UserHostAdminService.SetBDStatus:output_type -> hyapp.user.v1.SetBDStatusResponse
46, // 95: hyapp.user.v1.UserHostAdminService.CreateCoinSeller:output_type -> hyapp.user.v1.CreateCoinSellerResponse
48, // 96: hyapp.user.v1.UserHostAdminService.SetCoinSellerStatus:output_type -> hyapp.user.v1.SetCoinSellerStatusResponse
50, // 97: hyapp.user.v1.UserHostAdminService.CreateAgency:output_type -> hyapp.user.v1.CreateAgencyResponse
52, // 98: hyapp.user.v1.UserHostAdminService.CloseAgency:output_type -> hyapp.user.v1.CloseAgencyResponse
54, // 99: hyapp.user.v1.UserHostAdminService.SetAgencyJoinEnabled:output_type -> hyapp.user.v1.SetAgencyJoinEnabledResponse
77, // [77:100] is the sub-list for method output_type
54, // [54:77] is the sub-list for method input_type
54, // [54:54] is the sub-list for extension type_name
54, // [54:54] is the sub-list for extension extendee
0, // [0:54] is the sub-list for field type_name
}
func init() { file_proto_user_v1_host_proto_init() }
func file_proto_user_v1_host_proto_init() {
if File_proto_user_v1_host_proto != nil {
return
}
file_proto_user_v1_user_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_user_v1_host_proto_rawDesc), len(file_proto_user_v1_host_proto_rawDesc)),
NumEnums: 0,
NumMessages: 55,
NumExtensions: 0,
NumServices: 2,
},
GoTypes: file_proto_user_v1_host_proto_goTypes,
DependencyIndexes: file_proto_user_v1_host_proto_depIdxs,
MessageInfos: file_proto_user_v1_host_proto_msgTypes,
}.Build()
File_proto_user_v1_host_proto = out.File
file_proto_user_v1_host_proto_goTypes = nil
file_proto_user_v1_host_proto_depIdxs = nil
}