7354 lines
245 KiB
Go
7354 lines
245 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v7.35.0
|
||
// source: proto/user/v1/user.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)
|
||
)
|
||
|
||
// UserStatus 表达用户主状态,业务服务只消费稳定枚举。
|
||
type UserStatus int32
|
||
|
||
const (
|
||
UserStatus_USER_STATUS_UNSPECIFIED UserStatus = 0
|
||
UserStatus_USER_STATUS_ACTIVE UserStatus = 1
|
||
UserStatus_USER_STATUS_DISABLED UserStatus = 2
|
||
UserStatus_USER_STATUS_BANNED UserStatus = 3
|
||
)
|
||
|
||
// Enum value maps for UserStatus.
|
||
var (
|
||
UserStatus_name = map[int32]string{
|
||
0: "USER_STATUS_UNSPECIFIED",
|
||
1: "USER_STATUS_ACTIVE",
|
||
2: "USER_STATUS_DISABLED",
|
||
3: "USER_STATUS_BANNED",
|
||
}
|
||
UserStatus_value = map[string]int32{
|
||
"USER_STATUS_UNSPECIFIED": 0,
|
||
"USER_STATUS_ACTIVE": 1,
|
||
"USER_STATUS_DISABLED": 2,
|
||
"USER_STATUS_BANNED": 3,
|
||
}
|
||
)
|
||
|
||
func (x UserStatus) Enum() *UserStatus {
|
||
p := new(UserStatus)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x UserStatus) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (UserStatus) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_proto_user_v1_user_proto_enumTypes[0].Descriptor()
|
||
}
|
||
|
||
func (UserStatus) Type() protoreflect.EnumType {
|
||
return &file_proto_user_v1_user_proto_enumTypes[0]
|
||
}
|
||
|
||
func (x UserStatus) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use UserStatus.Descriptor instead.
|
||
func (UserStatus) EnumDescriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
// RequestMeta 是 user-service 所有内部 RPC 的最小追踪元信息。
|
||
type RequestMeta struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
Caller string `protobuf:"bytes,2,opt,name=caller,proto3" json:"caller,omitempty"`
|
||
GatewayNodeId string `protobuf:"bytes,3,opt,name=gateway_node_id,json=gatewayNodeId,proto3" json:"gateway_node_id,omitempty"`
|
||
SentAtMs int64 `protobuf:"varint,4,opt,name=sent_at_ms,json=sentAtMs,proto3" json:"sent_at_ms,omitempty"`
|
||
DeviceId string `protobuf:"bytes,5,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
|
||
ClientIp string `protobuf:"bytes,6,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
|
||
UserAgent string `protobuf:"bytes,7,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
|
||
CountryByIp string `protobuf:"bytes,8,opt,name=country_by_ip,json=countryByIp,proto3" json:"country_by_ip,omitempty"`
|
||
SessionId string `protobuf:"bytes,9,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,10,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
Platform string `protobuf:"bytes,11,opt,name=platform,proto3" json:"platform,omitempty"`
|
||
Language string `protobuf:"bytes,12,opt,name=language,proto3" json:"language,omitempty"`
|
||
Timezone string `protobuf:"bytes,13,opt,name=timezone,proto3" json:"timezone,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RequestMeta) Reset() {
|
||
*x = RequestMeta{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RequestMeta) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RequestMeta) ProtoMessage() {}
|
||
|
||
func (x *RequestMeta) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 RequestMeta.ProtoReflect.Descriptor instead.
|
||
func (*RequestMeta) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *RequestMeta) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RequestMeta) GetCaller() string {
|
||
if x != nil {
|
||
return x.Caller
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RequestMeta) GetGatewayNodeId() string {
|
||
if x != nil {
|
||
return x.GatewayNodeId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RequestMeta) GetSentAtMs() int64 {
|
||
if x != nil {
|
||
return x.SentAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RequestMeta) GetDeviceId() string {
|
||
if x != nil {
|
||
return x.DeviceId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RequestMeta) GetClientIp() string {
|
||
if x != nil {
|
||
return x.ClientIp
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RequestMeta) GetUserAgent() string {
|
||
if x != nil {
|
||
return x.UserAgent
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RequestMeta) GetCountryByIp() string {
|
||
if x != nil {
|
||
return x.CountryByIp
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RequestMeta) GetSessionId() string {
|
||
if x != nil {
|
||
return x.SessionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RequestMeta) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RequestMeta) GetPlatform() string {
|
||
if x != nil {
|
||
return x.Platform
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RequestMeta) GetLanguage() string {
|
||
if x != nil {
|
||
return x.Language
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RequestMeta) GetTimezone() string {
|
||
if x != nil {
|
||
return x.Timezone
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// App 是 user-service 维护的 App 注册表投影,用于把客户端包名映射到内部租户键。
|
||
type App struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AppId int64 `protobuf:"varint,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
AppName string `protobuf:"bytes,3,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
|
||
PackageName string `protobuf:"bytes,4,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
|
||
Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"`
|
||
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,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 *App) Reset() {
|
||
*x = App{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *App) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*App) ProtoMessage() {}
|
||
|
||
func (x *App) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 App.ProtoReflect.Descriptor instead.
|
||
func (*App) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *App) GetAppId() int64 {
|
||
if x != nil {
|
||
return x.AppId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *App) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *App) GetAppName() string {
|
||
if x != nil {
|
||
return x.AppName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *App) GetPackageName() string {
|
||
if x != nil {
|
||
return x.PackageName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *App) GetPlatform() string {
|
||
if x != nil {
|
||
return x.Platform
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *App) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *App) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *App) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// ResolveAppRequest 允许 gateway 按包名/平台解析 app_code,也允许后台显式校验 app_code。
|
||
type ResolveAppRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
|
||
Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
|
||
AppCode string `protobuf:"bytes,4,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResolveAppRequest) Reset() {
|
||
*x = ResolveAppRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResolveAppRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResolveAppRequest) ProtoMessage() {}
|
||
|
||
func (x *ResolveAppRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ResolveAppRequest.ProtoReflect.Descriptor instead.
|
||
func (*ResolveAppRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *ResolveAppRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ResolveAppRequest) GetPackageName() string {
|
||
if x != nil {
|
||
return x.PackageName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResolveAppRequest) GetPlatform() string {
|
||
if x != nil {
|
||
return x.Platform
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResolveAppRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type ResolveAppResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
App *App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResolveAppResponse) Reset() {
|
||
*x = ResolveAppResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResolveAppResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResolveAppResponse) ProtoMessage() {}
|
||
|
||
func (x *ResolveAppResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ResolveAppResponse.ProtoReflect.Descriptor instead.
|
||
func (*ResolveAppResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *ResolveAppResponse) GetApp() *App {
|
||
if x != nil {
|
||
return x.App
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// User 是用户主数据投影,包含稳定身份、当前短号和基础资料。
|
||
type User struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
Status UserStatus `protobuf:"varint,2,opt,name=status,proto3,enum=hyapp.user.v1.UserStatus" json:"status,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,3,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,4,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
DisplayUserId string `protobuf:"bytes,5,opt,name=display_user_id,json=displayUserId,proto3" json:"display_user_id,omitempty"`
|
||
DefaultDisplayUserId string `protobuf:"bytes,6,opt,name=default_display_user_id,json=defaultDisplayUserId,proto3" json:"default_display_user_id,omitempty"`
|
||
DisplayUserIdKind string `protobuf:"bytes,7,opt,name=display_user_id_kind,json=displayUserIdKind,proto3" json:"display_user_id_kind,omitempty"`
|
||
DisplayUserIdExpiresAtMs int64 `protobuf:"varint,8,opt,name=display_user_id_expires_at_ms,json=displayUserIdExpiresAtMs,proto3" json:"display_user_id_expires_at_ms,omitempty"`
|
||
Username string `protobuf:"bytes,9,opt,name=username,proto3" json:"username,omitempty"`
|
||
Gender string `protobuf:"bytes,10,opt,name=gender,proto3" json:"gender,omitempty"`
|
||
Country string `protobuf:"bytes,11,opt,name=country,proto3" json:"country,omitempty"`
|
||
Avatar string `protobuf:"bytes,12,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
||
Birth string `protobuf:"bytes,13,opt,name=birth,proto3" json:"birth,omitempty"`
|
||
Language string `protobuf:"bytes,14,opt,name=language,proto3" json:"language,omitempty"`
|
||
CountryId int64 `protobuf:"varint,15,opt,name=country_id,json=countryId,proto3" json:"country_id,omitempty"`
|
||
CountryName string `protobuf:"bytes,16,opt,name=country_name,json=countryName,proto3" json:"country_name,omitempty"`
|
||
CountryDisplayName string `protobuf:"bytes,17,opt,name=country_display_name,json=countryDisplayName,proto3" json:"country_display_name,omitempty"`
|
||
RegionId int64 `protobuf:"varint,18,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||
RegionCode string `protobuf:"bytes,19,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
|
||
RegionName string `protobuf:"bytes,20,opt,name=region_name,json=regionName,proto3" json:"region_name,omitempty"`
|
||
ProfileCompleted bool `protobuf:"varint,21,opt,name=profile_completed,json=profileCompleted,proto3" json:"profile_completed,omitempty"`
|
||
ProfileCompletedAtMs int64 `protobuf:"varint,22,opt,name=profile_completed_at_ms,json=profileCompletedAtMs,proto3" json:"profile_completed_at_ms,omitempty"`
|
||
OnboardingStatus string `protobuf:"bytes,23,opt,name=onboarding_status,json=onboardingStatus,proto3" json:"onboarding_status,omitempty"`
|
||
IsoNumeric string `protobuf:"bytes,24,opt,name=iso_numeric,json=isoNumeric,proto3" json:"iso_numeric,omitempty"`
|
||
PhoneCountryCode string `protobuf:"bytes,25,opt,name=phone_country_code,json=phoneCountryCode,proto3" json:"phone_country_code,omitempty"`
|
||
CountryEnabled bool `protobuf:"varint,26,opt,name=country_enabled,json=countryEnabled,proto3" json:"country_enabled,omitempty"`
|
||
AppCode string `protobuf:"bytes,27,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
Invite *InviteOverview `protobuf:"bytes,28,opt,name=invite,proto3" json:"invite,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *User) Reset() {
|
||
*x = User{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *User) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*User) ProtoMessage() {}
|
||
|
||
func (x *User) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 User.ProtoReflect.Descriptor instead.
|
||
func (*User) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *User) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *User) GetStatus() UserStatus {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return UserStatus_USER_STATUS_UNSPECIFIED
|
||
}
|
||
|
||
func (x *User) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *User) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *User) GetDisplayUserId() string {
|
||
if x != nil {
|
||
return x.DisplayUserId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetDefaultDisplayUserId() string {
|
||
if x != nil {
|
||
return x.DefaultDisplayUserId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetDisplayUserIdKind() string {
|
||
if x != nil {
|
||
return x.DisplayUserIdKind
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetDisplayUserIdExpiresAtMs() int64 {
|
||
if x != nil {
|
||
return x.DisplayUserIdExpiresAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *User) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetGender() string {
|
||
if x != nil {
|
||
return x.Gender
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetCountry() string {
|
||
if x != nil {
|
||
return x.Country
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetAvatar() string {
|
||
if x != nil {
|
||
return x.Avatar
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetBirth() string {
|
||
if x != nil {
|
||
return x.Birth
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetLanguage() string {
|
||
if x != nil {
|
||
return x.Language
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetCountryId() int64 {
|
||
if x != nil {
|
||
return x.CountryId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *User) GetCountryName() string {
|
||
if x != nil {
|
||
return x.CountryName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetCountryDisplayName() string {
|
||
if x != nil {
|
||
return x.CountryDisplayName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetRegionId() int64 {
|
||
if x != nil {
|
||
return x.RegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *User) GetRegionCode() string {
|
||
if x != nil {
|
||
return x.RegionCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetRegionName() string {
|
||
if x != nil {
|
||
return x.RegionName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetProfileCompleted() bool {
|
||
if x != nil {
|
||
return x.ProfileCompleted
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *User) GetProfileCompletedAtMs() int64 {
|
||
if x != nil {
|
||
return x.ProfileCompletedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *User) GetOnboardingStatus() string {
|
||
if x != nil {
|
||
return x.OnboardingStatus
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetIsoNumeric() string {
|
||
if x != nil {
|
||
return x.IsoNumeric
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetPhoneCountryCode() string {
|
||
if x != nil {
|
||
return x.PhoneCountryCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetCountryEnabled() bool {
|
||
if x != nil {
|
||
return x.CountryEnabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *User) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *User) GetInvite() *InviteOverview {
|
||
if x != nil {
|
||
return x.Invite
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// InviteOverview 是我的页可直接展示的邀请码和邀请计数 read model。
|
||
type InviteOverview struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
MyInviteCode string `protobuf:"bytes,1,opt,name=my_invite_code,json=myInviteCode,proto3" json:"my_invite_code,omitempty"`
|
||
InviteEnabled bool `protobuf:"varint,2,opt,name=invite_enabled,json=inviteEnabled,proto3" json:"invite_enabled,omitempty"`
|
||
InviteCount int64 `protobuf:"varint,3,opt,name=invite_count,json=inviteCount,proto3" json:"invite_count,omitempty"`
|
||
ValidInviteCount int64 `protobuf:"varint,4,opt,name=valid_invite_count,json=validInviteCount,proto3" json:"valid_invite_count,omitempty"`
|
||
ValidInviteThresholdCoin int64 `protobuf:"varint,5,opt,name=valid_invite_threshold_coin,json=validInviteThresholdCoin,proto3" json:"valid_invite_threshold_coin,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *InviteOverview) Reset() {
|
||
*x = InviteOverview{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *InviteOverview) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*InviteOverview) ProtoMessage() {}
|
||
|
||
func (x *InviteOverview) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 InviteOverview.ProtoReflect.Descriptor instead.
|
||
func (*InviteOverview) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *InviteOverview) GetMyInviteCode() string {
|
||
if x != nil {
|
||
return x.MyInviteCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *InviteOverview) GetInviteEnabled() bool {
|
||
if x != nil {
|
||
return x.InviteEnabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *InviteOverview) GetInviteCount() int64 {
|
||
if x != nil {
|
||
return x.InviteCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *InviteOverview) GetValidInviteCount() int64 {
|
||
if x != nil {
|
||
return x.ValidInviteCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *InviteOverview) GetValidInviteThresholdCoin() int64 {
|
||
if x != nil {
|
||
return x.ValidInviteThresholdCoin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// InviteBinding 表示注册完成请求本次是否新绑定邀请关系。
|
||
type InviteBinding struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Bound bool `protobuf:"varint,1,opt,name=bound,proto3" json:"bound,omitempty"`
|
||
InviteCode string `protobuf:"bytes,2,opt,name=invite_code,json=inviteCode,proto3" json:"invite_code,omitempty"`
|
||
InviterUserId int64 `protobuf:"varint,3,opt,name=inviter_user_id,json=inviterUserId,proto3" json:"inviter_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *InviteBinding) Reset() {
|
||
*x = InviteBinding{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *InviteBinding) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*InviteBinding) ProtoMessage() {}
|
||
|
||
func (x *InviteBinding) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 InviteBinding.ProtoReflect.Descriptor instead.
|
||
func (*InviteBinding) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *InviteBinding) GetBound() bool {
|
||
if x != nil {
|
||
return x.Bound
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *InviteBinding) GetInviteCode() string {
|
||
if x != nil {
|
||
return x.InviteCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *InviteBinding) GetInviterUserId() int64 {
|
||
if x != nil {
|
||
return x.InviterUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// UserMicLifetimeStats 是用户维度的麦上累计基础指标,不区分主播/公会身份。
|
||
type UserMicLifetimeStats struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
SeatOccupiedMs int64 `protobuf:"varint,2,opt,name=seat_occupied_ms,json=seatOccupiedMs,proto3" json:"seat_occupied_ms,omitempty"`
|
||
MicOnlineMs int64 `protobuf:"varint,3,opt,name=mic_online_ms,json=micOnlineMs,proto3" json:"mic_online_ms,omitempty"`
|
||
SessionCount int64 `protobuf:"varint,4,opt,name=session_count,json=sessionCount,proto3" json:"session_count,omitempty"`
|
||
FirstMicAtMs int64 `protobuf:"varint,5,opt,name=first_mic_at_ms,json=firstMicAtMs,proto3" json:"first_mic_at_ms,omitempty"`
|
||
LastMicAtMs int64 `protobuf:"varint,6,opt,name=last_mic_at_ms,json=lastMicAtMs,proto3" json:"last_mic_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,7,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
AppCode string `protobuf:"bytes,8,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UserMicLifetimeStats) Reset() {
|
||
*x = UserMicLifetimeStats{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UserMicLifetimeStats) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UserMicLifetimeStats) ProtoMessage() {}
|
||
|
||
func (x *UserMicLifetimeStats) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 UserMicLifetimeStats.ProtoReflect.Descriptor instead.
|
||
func (*UserMicLifetimeStats) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *UserMicLifetimeStats) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserMicLifetimeStats) GetSeatOccupiedMs() int64 {
|
||
if x != nil {
|
||
return x.SeatOccupiedMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserMicLifetimeStats) GetMicOnlineMs() int64 {
|
||
if x != nil {
|
||
return x.MicOnlineMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserMicLifetimeStats) GetSessionCount() int64 {
|
||
if x != nil {
|
||
return x.SessionCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserMicLifetimeStats) GetFirstMicAtMs() int64 {
|
||
if x != nil {
|
||
return x.FirstMicAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserMicLifetimeStats) GetLastMicAtMs() int64 {
|
||
if x != nil {
|
||
return x.LastMicAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserMicLifetimeStats) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserMicLifetimeStats) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// GetUserMicLifetimeStatsRequest 查询单个用户全部历史麦位时长。
|
||
type GetUserMicLifetimeStatsRequest 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 *GetUserMicLifetimeStatsRequest) Reset() {
|
||
*x = GetUserMicLifetimeStatsRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetUserMicLifetimeStatsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetUserMicLifetimeStatsRequest) ProtoMessage() {}
|
||
|
||
func (x *GetUserMicLifetimeStatsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 GetUserMicLifetimeStatsRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetUserMicLifetimeStatsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *GetUserMicLifetimeStatsRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetUserMicLifetimeStatsRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetUserMicLifetimeStatsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Stats *UserMicLifetimeStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetUserMicLifetimeStatsResponse) Reset() {
|
||
*x = GetUserMicLifetimeStatsResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetUserMicLifetimeStatsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetUserMicLifetimeStatsResponse) ProtoMessage() {}
|
||
|
||
func (x *GetUserMicLifetimeStatsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 GetUserMicLifetimeStatsResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetUserMicLifetimeStatsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *GetUserMicLifetimeStatsResponse) GetStats() *UserMicLifetimeStats {
|
||
if x != nil {
|
||
return x.Stats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// CronBatchRequest 是 cron-service 触发 user-service 后台批处理的统一请求。
|
||
type CronBatchRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
||
WorkerId string `protobuf:"bytes,3,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"`
|
||
BatchSize int32 `protobuf:"varint,4,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
|
||
LockTtlMs int64 `protobuf:"varint,5,opt,name=lock_ttl_ms,json=lockTtlMs,proto3" json:"lock_ttl_ms,omitempty"`
|
||
PendingPublishMaxAgeMs int64 `protobuf:"varint,6,opt,name=pending_publish_max_age_ms,json=pendingPublishMaxAgeMs,proto3" json:"pending_publish_max_age_ms,omitempty"`
|
||
PublishingSessionMaxAgeMs int64 `protobuf:"varint,7,opt,name=publishing_session_max_age_ms,json=publishingSessionMaxAgeMs,proto3" json:"publishing_session_max_age_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CronBatchRequest) Reset() {
|
||
*x = CronBatchRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CronBatchRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CronBatchRequest) ProtoMessage() {}
|
||
|
||
func (x *CronBatchRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 CronBatchRequest.ProtoReflect.Descriptor instead.
|
||
func (*CronBatchRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *CronBatchRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CronBatchRequest) GetRunId() string {
|
||
if x != nil {
|
||
return x.RunId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CronBatchRequest) GetWorkerId() string {
|
||
if x != nil {
|
||
return x.WorkerId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CronBatchRequest) GetBatchSize() int32 {
|
||
if x != nil {
|
||
return x.BatchSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CronBatchRequest) GetLockTtlMs() int64 {
|
||
if x != nil {
|
||
return x.LockTtlMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CronBatchRequest) GetPendingPublishMaxAgeMs() int64 {
|
||
if x != nil {
|
||
return x.PendingPublishMaxAgeMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CronBatchRequest) GetPublishingSessionMaxAgeMs() int64 {
|
||
if x != nil {
|
||
return x.PublishingSessionMaxAgeMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// CronBatchResponse 返回一个批处理 run 的执行摘要。
|
||
type CronBatchResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ClaimedCount int32 `protobuf:"varint,1,opt,name=claimed_count,json=claimedCount,proto3" json:"claimed_count,omitempty"`
|
||
ProcessedCount int32 `protobuf:"varint,2,opt,name=processed_count,json=processedCount,proto3" json:"processed_count,omitempty"`
|
||
SuccessCount int32 `protobuf:"varint,3,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
|
||
FailureCount int32 `protobuf:"varint,4,opt,name=failure_count,json=failureCount,proto3" json:"failure_count,omitempty"`
|
||
HasMore bool `protobuf:"varint,5,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CronBatchResponse) Reset() {
|
||
*x = CronBatchResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CronBatchResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CronBatchResponse) ProtoMessage() {}
|
||
|
||
func (x *CronBatchResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 CronBatchResponse.ProtoReflect.Descriptor instead.
|
||
func (*CronBatchResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *CronBatchResponse) GetClaimedCount() int32 {
|
||
if x != nil {
|
||
return x.ClaimedCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CronBatchResponse) GetProcessedCount() int32 {
|
||
if x != nil {
|
||
return x.ProcessedCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CronBatchResponse) GetSuccessCount() int32 {
|
||
if x != nil {
|
||
return x.SuccessCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CronBatchResponse) GetFailureCount() int32 {
|
||
if x != nil {
|
||
return x.FailureCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CronBatchResponse) GetHasMore() bool {
|
||
if x != nil {
|
||
return x.HasMore
|
||
}
|
||
return false
|
||
}
|
||
|
||
// AuthToken 是登录、刷新和注册完成后返回给 gateway 的访问令牌投影。
|
||
type AuthToken struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||
AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
||
RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
|
||
ExpiresInSec int64 `protobuf:"varint,5,opt,name=expires_in_sec,json=expiresInSec,proto3" json:"expires_in_sec,omitempty"`
|
||
TokenType string `protobuf:"bytes,6,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
|
||
DisplayUserId string `protobuf:"bytes,7,opt,name=display_user_id,json=displayUserId,proto3" json:"display_user_id,omitempty"`
|
||
DefaultDisplayUserId string `protobuf:"bytes,8,opt,name=default_display_user_id,json=defaultDisplayUserId,proto3" json:"default_display_user_id,omitempty"`
|
||
DisplayUserIdKind string `protobuf:"bytes,9,opt,name=display_user_id_kind,json=displayUserIdKind,proto3" json:"display_user_id_kind,omitempty"`
|
||
DisplayUserIdExpiresAtMs int64 `protobuf:"varint,10,opt,name=display_user_id_expires_at_ms,json=displayUserIdExpiresAtMs,proto3" json:"display_user_id_expires_at_ms,omitempty"`
|
||
ProfileCompleted bool `protobuf:"varint,11,opt,name=profile_completed,json=profileCompleted,proto3" json:"profile_completed,omitempty"`
|
||
OnboardingStatus string `protobuf:"bytes,12,opt,name=onboarding_status,json=onboardingStatus,proto3" json:"onboarding_status,omitempty"`
|
||
AppCode string `protobuf:"bytes,13,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AuthToken) Reset() {
|
||
*x = AuthToken{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AuthToken) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AuthToken) ProtoMessage() {}
|
||
|
||
func (x *AuthToken) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 AuthToken.ProtoReflect.Descriptor instead.
|
||
func (*AuthToken) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *AuthToken) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AuthToken) GetSessionId() string {
|
||
if x != nil {
|
||
return x.SessionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AuthToken) GetAccessToken() string {
|
||
if x != nil {
|
||
return x.AccessToken
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AuthToken) GetRefreshToken() string {
|
||
if x != nil {
|
||
return x.RefreshToken
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AuthToken) GetExpiresInSec() int64 {
|
||
if x != nil {
|
||
return x.ExpiresInSec
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AuthToken) GetTokenType() string {
|
||
if x != nil {
|
||
return x.TokenType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AuthToken) GetDisplayUserId() string {
|
||
if x != nil {
|
||
return x.DisplayUserId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AuthToken) GetDefaultDisplayUserId() string {
|
||
if x != nil {
|
||
return x.DefaultDisplayUserId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AuthToken) GetDisplayUserIdKind() string {
|
||
if x != nil {
|
||
return x.DisplayUserIdKind
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AuthToken) GetDisplayUserIdExpiresAtMs() int64 {
|
||
if x != nil {
|
||
return x.DisplayUserIdExpiresAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AuthToken) GetProfileCompleted() bool {
|
||
if x != nil {
|
||
return x.ProfileCompleted
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *AuthToken) GetOnboardingStatus() string {
|
||
if x != nil {
|
||
return x.OnboardingStatus
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AuthToken) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// GetUserRequest 查询单个用户主状态。
|
||
type GetUserRequest 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 *GetUserRequest) Reset() {
|
||
*x = GetUserRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetUserRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetUserRequest) ProtoMessage() {}
|
||
|
||
func (x *GetUserRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 GetUserRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetUserRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *GetUserRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetUserRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// GetUserResponse 返回单个用户主状态。
|
||
type GetUserResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetUserResponse) Reset() {
|
||
*x = GetUserResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetUserResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetUserResponse) ProtoMessage() {}
|
||
|
||
func (x *GetUserResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 GetUserResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetUserResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *GetUserResponse) GetUser() *User {
|
||
if x != nil {
|
||
return x.User
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type BusinessUserLookupRequest 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"`
|
||
Scene string `protobuf:"bytes,3,opt,name=scene,proto3" json:"scene,omitempty"`
|
||
Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *BusinessUserLookupRequest) Reset() {
|
||
*x = BusinessUserLookupRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *BusinessUserLookupRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BusinessUserLookupRequest) ProtoMessage() {}
|
||
|
||
func (x *BusinessUserLookupRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 BusinessUserLookupRequest.ProtoReflect.Descriptor instead.
|
||
func (*BusinessUserLookupRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *BusinessUserLookupRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *BusinessUserLookupRequest) GetActorUserId() int64 {
|
||
if x != nil {
|
||
return x.ActorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *BusinessUserLookupRequest) GetScene() string {
|
||
if x != nil {
|
||
return x.Scene
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BusinessUserLookupRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BusinessUserLookupRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type BusinessUserLookupItem 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"`
|
||
Status UserStatus `protobuf:"varint,5,opt,name=status,proto3,enum=hyapp.user.v1.UserStatus" json:"status,omitempty"`
|
||
RegionId int64 `protobuf:"varint,6,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||
RegionCode string `protobuf:"bytes,7,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
|
||
RegionName string `protobuf:"bytes,8,opt,name=region_name,json=regionName,proto3" json:"region_name,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *BusinessUserLookupItem) Reset() {
|
||
*x = BusinessUserLookupItem{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[16]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *BusinessUserLookupItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BusinessUserLookupItem) ProtoMessage() {}
|
||
|
||
func (x *BusinessUserLookupItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 BusinessUserLookupItem.ProtoReflect.Descriptor instead.
|
||
func (*BusinessUserLookupItem) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{16}
|
||
}
|
||
|
||
func (x *BusinessUserLookupItem) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *BusinessUserLookupItem) GetDisplayUserId() string {
|
||
if x != nil {
|
||
return x.DisplayUserId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BusinessUserLookupItem) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BusinessUserLookupItem) GetAvatar() string {
|
||
if x != nil {
|
||
return x.Avatar
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BusinessUserLookupItem) GetStatus() UserStatus {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return UserStatus_USER_STATUS_UNSPECIFIED
|
||
}
|
||
|
||
func (x *BusinessUserLookupItem) GetRegionId() int64 {
|
||
if x != nil {
|
||
return x.RegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *BusinessUserLookupItem) GetRegionCode() string {
|
||
if x != nil {
|
||
return x.RegionCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BusinessUserLookupItem) GetRegionName() string {
|
||
if x != nil {
|
||
return x.RegionName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type BusinessUserLookupResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Users []*BusinessUserLookupItem `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *BusinessUserLookupResponse) Reset() {
|
||
*x = BusinessUserLookupResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[17]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *BusinessUserLookupResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BusinessUserLookupResponse) ProtoMessage() {}
|
||
|
||
func (x *BusinessUserLookupResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 BusinessUserLookupResponse.ProtoReflect.Descriptor instead.
|
||
func (*BusinessUserLookupResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{17}
|
||
}
|
||
|
||
func (x *BusinessUserLookupResponse) GetUsers() []*BusinessUserLookupItem {
|
||
if x != nil {
|
||
return x.Users
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// UserProfileStats 是我的页顶部统计 read model;不得在查询时实时扫描关系链或礼物流水。
|
||
type UserProfileStats struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
VisitorsCount int64 `protobuf:"varint,2,opt,name=visitors_count,json=visitorsCount,proto3" json:"visitors_count,omitempty"`
|
||
FollowingCount int64 `protobuf:"varint,3,opt,name=following_count,json=followingCount,proto3" json:"following_count,omitempty"`
|
||
FriendsCount int64 `protobuf:"varint,4,opt,name=friends_count,json=friendsCount,proto3" json:"friends_count,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,5,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
AppCode string `protobuf:"bytes,6,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UserProfileStats) Reset() {
|
||
*x = UserProfileStats{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[18]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UserProfileStats) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UserProfileStats) ProtoMessage() {}
|
||
|
||
func (x *UserProfileStats) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 UserProfileStats.ProtoReflect.Descriptor instead.
|
||
func (*UserProfileStats) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{18}
|
||
}
|
||
|
||
func (x *UserProfileStats) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserProfileStats) GetVisitorsCount() int64 {
|
||
if x != nil {
|
||
return x.VisitorsCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserProfileStats) GetFollowingCount() int64 {
|
||
if x != nil {
|
||
return x.FollowingCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserProfileStats) GetFriendsCount() int64 {
|
||
if x != nil {
|
||
return x.FriendsCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserProfileStats) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserProfileStats) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// GetMyProfileStatsRequest 查询我的页顶部统计计数。
|
||
type GetMyProfileStatsRequest 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 *GetMyProfileStatsRequest) Reset() {
|
||
*x = GetMyProfileStatsRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[19]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetMyProfileStatsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetMyProfileStatsRequest) ProtoMessage() {}
|
||
|
||
func (x *GetMyProfileStatsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 GetMyProfileStatsRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetMyProfileStatsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{19}
|
||
}
|
||
|
||
func (x *GetMyProfileStatsRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetMyProfileStatsRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetMyProfileStatsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Stats *UserProfileStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetMyProfileStatsResponse) Reset() {
|
||
*x = GetMyProfileStatsResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[20]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetMyProfileStatsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetMyProfileStatsResponse) ProtoMessage() {}
|
||
|
||
func (x *GetMyProfileStatsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 GetMyProfileStatsResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetMyProfileStatsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{20}
|
||
}
|
||
|
||
func (x *GetMyProfileStatsResponse) GetStats() *UserProfileStats {
|
||
if x != nil {
|
||
return x.Stats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type RecordProfileVisitRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
VisitorUserId int64 `protobuf:"varint,2,opt,name=visitor_user_id,json=visitorUserId,proto3" json:"visitor_user_id,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,3,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RecordProfileVisitRequest) Reset() {
|
||
*x = RecordProfileVisitRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[21]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RecordProfileVisitRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RecordProfileVisitRequest) ProtoMessage() {}
|
||
|
||
func (x *RecordProfileVisitRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 RecordProfileVisitRequest.ProtoReflect.Descriptor instead.
|
||
func (*RecordProfileVisitRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{21}
|
||
}
|
||
|
||
func (x *RecordProfileVisitRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RecordProfileVisitRequest) GetVisitorUserId() int64 {
|
||
if x != nil {
|
||
return x.VisitorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RecordProfileVisitRequest) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type RecordProfileVisitResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Recorded bool `protobuf:"varint,1,opt,name=recorded,proto3" json:"recorded,omitempty"`
|
||
TargetStats *UserProfileStats `protobuf:"bytes,2,opt,name=target_stats,json=targetStats,proto3" json:"target_stats,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RecordProfileVisitResponse) Reset() {
|
||
*x = RecordProfileVisitResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[22]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RecordProfileVisitResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RecordProfileVisitResponse) ProtoMessage() {}
|
||
|
||
func (x *RecordProfileVisitResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 RecordProfileVisitResponse.ProtoReflect.Descriptor instead.
|
||
func (*RecordProfileVisitResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{22}
|
||
}
|
||
|
||
func (x *RecordProfileVisitResponse) GetRecorded() bool {
|
||
if x != nil {
|
||
return x.Recorded
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *RecordProfileVisitResponse) GetTargetStats() *UserProfileStats {
|
||
if x != nil {
|
||
return x.TargetStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ProfileVisitRecord struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
VisitorUserId int64 `protobuf:"varint,1,opt,name=visitor_user_id,json=visitorUserId,proto3" json:"visitor_user_id,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
VisitCount int64 `protobuf:"varint,3,opt,name=visit_count,json=visitCount,proto3" json:"visit_count,omitempty"`
|
||
LastVisitedAtMs int64 `protobuf:"varint,4,opt,name=last_visited_at_ms,json=lastVisitedAtMs,proto3" json:"last_visited_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ProfileVisitRecord) Reset() {
|
||
*x = ProfileVisitRecord{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[23]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ProfileVisitRecord) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ProfileVisitRecord) ProtoMessage() {}
|
||
|
||
func (x *ProfileVisitRecord) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ProfileVisitRecord.ProtoReflect.Descriptor instead.
|
||
func (*ProfileVisitRecord) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{23}
|
||
}
|
||
|
||
func (x *ProfileVisitRecord) GetVisitorUserId() int64 {
|
||
if x != nil {
|
||
return x.VisitorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ProfileVisitRecord) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ProfileVisitRecord) GetVisitCount() int64 {
|
||
if x != nil {
|
||
return x.VisitCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ProfileVisitRecord) GetLastVisitedAtMs() int64 {
|
||
if x != nil {
|
||
return x.LastVisitedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListProfileVisitorsRequest 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"`
|
||
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,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 *ListProfileVisitorsRequest) Reset() {
|
||
*x = ListProfileVisitorsRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[24]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListProfileVisitorsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListProfileVisitorsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListProfileVisitorsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ListProfileVisitorsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListProfileVisitorsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{24}
|
||
}
|
||
|
||
func (x *ListProfileVisitorsRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListProfileVisitorsRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListProfileVisitorsRequest) GetPage() int32 {
|
||
if x != nil {
|
||
return x.Page
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListProfileVisitorsRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListProfileVisitorsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Records []*ProfileVisitRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
|
||
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListProfileVisitorsResponse) Reset() {
|
||
*x = ListProfileVisitorsResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[25]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListProfileVisitorsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListProfileVisitorsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListProfileVisitorsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ListProfileVisitorsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListProfileVisitorsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{25}
|
||
}
|
||
|
||
func (x *ListProfileVisitorsResponse) GetRecords() []*ProfileVisitRecord {
|
||
if x != nil {
|
||
return x.Records
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListProfileVisitorsResponse) GetTotal() int64 {
|
||
if x != nil {
|
||
return x.Total
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FollowUserRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
FollowerUserId int64 `protobuf:"varint,2,opt,name=follower_user_id,json=followerUserId,proto3" json:"follower_user_id,omitempty"`
|
||
FolloweeUserId int64 `protobuf:"varint,3,opt,name=followee_user_id,json=followeeUserId,proto3" json:"followee_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FollowUserRequest) Reset() {
|
||
*x = FollowUserRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[26]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FollowUserRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FollowUserRequest) ProtoMessage() {}
|
||
|
||
func (x *FollowUserRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 FollowUserRequest.ProtoReflect.Descriptor instead.
|
||
func (*FollowUserRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{26}
|
||
}
|
||
|
||
func (x *FollowUserRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *FollowUserRequest) GetFollowerUserId() int64 {
|
||
if x != nil {
|
||
return x.FollowerUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FollowUserRequest) GetFolloweeUserId() int64 {
|
||
if x != nil {
|
||
return x.FolloweeUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FollowUserResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Following bool `protobuf:"varint,1,opt,name=following,proto3" json:"following,omitempty"`
|
||
FollowerStats *UserProfileStats `protobuf:"bytes,2,opt,name=follower_stats,json=followerStats,proto3" json:"follower_stats,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FollowUserResponse) Reset() {
|
||
*x = FollowUserResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[27]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FollowUserResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FollowUserResponse) ProtoMessage() {}
|
||
|
||
func (x *FollowUserResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 FollowUserResponse.ProtoReflect.Descriptor instead.
|
||
func (*FollowUserResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{27}
|
||
}
|
||
|
||
func (x *FollowUserResponse) GetFollowing() bool {
|
||
if x != nil {
|
||
return x.Following
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *FollowUserResponse) GetFollowerStats() *UserProfileStats {
|
||
if x != nil {
|
||
return x.FollowerStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type UnfollowUserRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
FollowerUserId int64 `protobuf:"varint,2,opt,name=follower_user_id,json=followerUserId,proto3" json:"follower_user_id,omitempty"`
|
||
FolloweeUserId int64 `protobuf:"varint,3,opt,name=followee_user_id,json=followeeUserId,proto3" json:"followee_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UnfollowUserRequest) Reset() {
|
||
*x = UnfollowUserRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[28]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UnfollowUserRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UnfollowUserRequest) ProtoMessage() {}
|
||
|
||
func (x *UnfollowUserRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 UnfollowUserRequest.ProtoReflect.Descriptor instead.
|
||
func (*UnfollowUserRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{28}
|
||
}
|
||
|
||
func (x *UnfollowUserRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UnfollowUserRequest) GetFollowerUserId() int64 {
|
||
if x != nil {
|
||
return x.FollowerUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UnfollowUserRequest) GetFolloweeUserId() int64 {
|
||
if x != nil {
|
||
return x.FolloweeUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type UnfollowUserResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Following bool `protobuf:"varint,1,opt,name=following,proto3" json:"following,omitempty"`
|
||
FollowerStats *UserProfileStats `protobuf:"bytes,2,opt,name=follower_stats,json=followerStats,proto3" json:"follower_stats,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UnfollowUserResponse) Reset() {
|
||
*x = UnfollowUserResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[29]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UnfollowUserResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UnfollowUserResponse) ProtoMessage() {}
|
||
|
||
func (x *UnfollowUserResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 UnfollowUserResponse.ProtoReflect.Descriptor instead.
|
||
func (*UnfollowUserResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{29}
|
||
}
|
||
|
||
func (x *UnfollowUserResponse) GetFollowing() bool {
|
||
if x != nil {
|
||
return x.Following
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *UnfollowUserResponse) GetFollowerStats() *UserProfileStats {
|
||
if x != nil {
|
||
return x.FollowerStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type FollowRecord struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
FollowerUserId int64 `protobuf:"varint,1,opt,name=follower_user_id,json=followerUserId,proto3" json:"follower_user_id,omitempty"`
|
||
FolloweeUserId int64 `protobuf:"varint,2,opt,name=followee_user_id,json=followeeUserId,proto3" json:"followee_user_id,omitempty"`
|
||
FollowedAtMs int64 `protobuf:"varint,3,opt,name=followed_at_ms,json=followedAtMs,proto3" json:"followed_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FollowRecord) Reset() {
|
||
*x = FollowRecord{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[30]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FollowRecord) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FollowRecord) ProtoMessage() {}
|
||
|
||
func (x *FollowRecord) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 FollowRecord.ProtoReflect.Descriptor instead.
|
||
func (*FollowRecord) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{30}
|
||
}
|
||
|
||
func (x *FollowRecord) GetFollowerUserId() int64 {
|
||
if x != nil {
|
||
return x.FollowerUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FollowRecord) GetFolloweeUserId() int64 {
|
||
if x != nil {
|
||
return x.FolloweeUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FollowRecord) GetFollowedAtMs() int64 {
|
||
if x != nil {
|
||
return x.FollowedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListFollowingRequest 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"`
|
||
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
|
||
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
// cursor_updated_at_ms/cursor_user_id 用于内部关系流按时间游标扫描;公开 HTTP 列表仍可继续使用 page/page_size。
|
||
CursorUpdatedAtMs int64 `protobuf:"varint,5,opt,name=cursor_updated_at_ms,json=cursorUpdatedAtMs,proto3" json:"cursor_updated_at_ms,omitempty"`
|
||
CursorUserId int64 `protobuf:"varint,6,opt,name=cursor_user_id,json=cursorUserId,proto3" json:"cursor_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListFollowingRequest) Reset() {
|
||
*x = ListFollowingRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[31]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListFollowingRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListFollowingRequest) ProtoMessage() {}
|
||
|
||
func (x *ListFollowingRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ListFollowingRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListFollowingRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{31}
|
||
}
|
||
|
||
func (x *ListFollowingRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListFollowingRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListFollowingRequest) GetPage() int32 {
|
||
if x != nil {
|
||
return x.Page
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListFollowingRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListFollowingRequest) GetCursorUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CursorUpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListFollowingRequest) GetCursorUserId() int64 {
|
||
if x != nil {
|
||
return x.CursorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListFollowingResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Records []*FollowRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
|
||
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListFollowingResponse) Reset() {
|
||
*x = ListFollowingResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[32]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListFollowingResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListFollowingResponse) ProtoMessage() {}
|
||
|
||
func (x *ListFollowingResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ListFollowingResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListFollowingResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{32}
|
||
}
|
||
|
||
func (x *ListFollowingResponse) GetRecords() []*FollowRecord {
|
||
if x != nil {
|
||
return x.Records
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListFollowingResponse) GetTotal() int64 {
|
||
if x != nil {
|
||
return x.Total
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ApplyFriendRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
RequesterUserId int64 `protobuf:"varint,2,opt,name=requester_user_id,json=requesterUserId,proto3" json:"requester_user_id,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,3,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ApplyFriendRequest) Reset() {
|
||
*x = ApplyFriendRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[33]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ApplyFriendRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ApplyFriendRequest) ProtoMessage() {}
|
||
|
||
func (x *ApplyFriendRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ApplyFriendRequest.ProtoReflect.Descriptor instead.
|
||
func (*ApplyFriendRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{33}
|
||
}
|
||
|
||
func (x *ApplyFriendRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ApplyFriendRequest) GetRequesterUserId() int64 {
|
||
if x != nil {
|
||
return x.RequesterUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ApplyFriendRequest) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ApplyFriendResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Application *FriendApplication `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
|
||
AlreadyFriends bool `protobuf:"varint,2,opt,name=already_friends,json=alreadyFriends,proto3" json:"already_friends,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ApplyFriendResponse) Reset() {
|
||
*x = ApplyFriendResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[34]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ApplyFriendResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ApplyFriendResponse) ProtoMessage() {}
|
||
|
||
func (x *ApplyFriendResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ApplyFriendResponse.ProtoReflect.Descriptor instead.
|
||
func (*ApplyFriendResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{34}
|
||
}
|
||
|
||
func (x *ApplyFriendResponse) GetApplication() *FriendApplication {
|
||
if x != nil {
|
||
return x.Application
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ApplyFriendResponse) GetAlreadyFriends() bool {
|
||
if x != nil {
|
||
return x.AlreadyFriends
|
||
}
|
||
return false
|
||
}
|
||
|
||
type AcceptFriendApplicationRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
AccepterUserId int64 `protobuf:"varint,2,opt,name=accepter_user_id,json=accepterUserId,proto3" json:"accepter_user_id,omitempty"`
|
||
RequesterUserId int64 `protobuf:"varint,3,opt,name=requester_user_id,json=requesterUserId,proto3" json:"requester_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AcceptFriendApplicationRequest) Reset() {
|
||
*x = AcceptFriendApplicationRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[35]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AcceptFriendApplicationRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AcceptFriendApplicationRequest) ProtoMessage() {}
|
||
|
||
func (x *AcceptFriendApplicationRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 AcceptFriendApplicationRequest.ProtoReflect.Descriptor instead.
|
||
func (*AcceptFriendApplicationRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{35}
|
||
}
|
||
|
||
func (x *AcceptFriendApplicationRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *AcceptFriendApplicationRequest) GetAccepterUserId() int64 {
|
||
if x != nil {
|
||
return x.AccepterUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AcceptFriendApplicationRequest) GetRequesterUserId() int64 {
|
||
if x != nil {
|
||
return x.RequesterUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type AcceptFriendApplicationResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Friend *FriendRecord `protobuf:"bytes,1,opt,name=friend,proto3" json:"friend,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AcceptFriendApplicationResponse) Reset() {
|
||
*x = AcceptFriendApplicationResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[36]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AcceptFriendApplicationResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AcceptFriendApplicationResponse) ProtoMessage() {}
|
||
|
||
func (x *AcceptFriendApplicationResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 AcceptFriendApplicationResponse.ProtoReflect.Descriptor instead.
|
||
func (*AcceptFriendApplicationResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{36}
|
||
}
|
||
|
||
func (x *AcceptFriendApplicationResponse) GetFriend() *FriendRecord {
|
||
if x != nil {
|
||
return x.Friend
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type DeleteFriendRequest 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"`
|
||
FriendUserId int64 `protobuf:"varint,3,opt,name=friend_user_id,json=friendUserId,proto3" json:"friend_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeleteFriendRequest) Reset() {
|
||
*x = DeleteFriendRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[37]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DeleteFriendRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DeleteFriendRequest) ProtoMessage() {}
|
||
|
||
func (x *DeleteFriendRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 DeleteFriendRequest.ProtoReflect.Descriptor instead.
|
||
func (*DeleteFriendRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{37}
|
||
}
|
||
|
||
func (x *DeleteFriendRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DeleteFriendRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DeleteFriendRequest) GetFriendUserId() int64 {
|
||
if x != nil {
|
||
return x.FriendUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type DeleteFriendResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeleteFriendResponse) Reset() {
|
||
*x = DeleteFriendResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[38]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DeleteFriendResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DeleteFriendResponse) ProtoMessage() {}
|
||
|
||
func (x *DeleteFriendResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 DeleteFriendResponse.ProtoReflect.Descriptor instead.
|
||
func (*DeleteFriendResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{38}
|
||
}
|
||
|
||
func (x *DeleteFriendResponse) GetDeleted() bool {
|
||
if x != nil {
|
||
return x.Deleted
|
||
}
|
||
return false
|
||
}
|
||
|
||
type FriendRecord struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
FriendUserId int64 `protobuf:"varint,2,opt,name=friend_user_id,json=friendUserId,proto3" json:"friend_user_id,omitempty"`
|
||
FriendedAtMs int64 `protobuf:"varint,3,opt,name=friended_at_ms,json=friendedAtMs,proto3" json:"friended_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FriendRecord) Reset() {
|
||
*x = FriendRecord{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[39]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FriendRecord) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FriendRecord) ProtoMessage() {}
|
||
|
||
func (x *FriendRecord) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 FriendRecord.ProtoReflect.Descriptor instead.
|
||
func (*FriendRecord) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{39}
|
||
}
|
||
|
||
func (x *FriendRecord) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FriendRecord) GetFriendUserId() int64 {
|
||
if x != nil {
|
||
return x.FriendUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FriendRecord) GetFriendedAtMs() int64 {
|
||
if x != nil {
|
||
return x.FriendedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListFriendsRequest 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"`
|
||
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
|
||
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
// cursor_updated_at_ms/cursor_user_id 用于内部关系流按时间游标扫描;公开 HTTP 列表仍可继续使用 page/page_size。
|
||
CursorUpdatedAtMs int64 `protobuf:"varint,5,opt,name=cursor_updated_at_ms,json=cursorUpdatedAtMs,proto3" json:"cursor_updated_at_ms,omitempty"`
|
||
CursorUserId int64 `protobuf:"varint,6,opt,name=cursor_user_id,json=cursorUserId,proto3" json:"cursor_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListFriendsRequest) Reset() {
|
||
*x = ListFriendsRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[40]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListFriendsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListFriendsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListFriendsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ListFriendsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListFriendsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{40}
|
||
}
|
||
|
||
func (x *ListFriendsRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListFriendsRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListFriendsRequest) GetPage() int32 {
|
||
if x != nil {
|
||
return x.Page
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListFriendsRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListFriendsRequest) GetCursorUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CursorUpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListFriendsRequest) GetCursorUserId() int64 {
|
||
if x != nil {
|
||
return x.CursorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListFriendsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Records []*FriendRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
|
||
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListFriendsResponse) Reset() {
|
||
*x = ListFriendsResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[41]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListFriendsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListFriendsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListFriendsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ListFriendsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListFriendsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{41}
|
||
}
|
||
|
||
func (x *ListFriendsResponse) GetRecords() []*FriendRecord {
|
||
if x != nil {
|
||
return x.Records
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListFriendsResponse) GetTotal() int64 {
|
||
if x != nil {
|
||
return x.Total
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FriendApplication struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequesterUserId int64 `protobuf:"varint,1,opt,name=requester_user_id,json=requesterUserId,proto3" json:"requester_user_id,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,4,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,5,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FriendApplication) Reset() {
|
||
*x = FriendApplication{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[42]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FriendApplication) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FriendApplication) ProtoMessage() {}
|
||
|
||
func (x *FriendApplication) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 FriendApplication.ProtoReflect.Descriptor instead.
|
||
func (*FriendApplication) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{42}
|
||
}
|
||
|
||
func (x *FriendApplication) GetRequesterUserId() int64 {
|
||
if x != nil {
|
||
return x.RequesterUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FriendApplication) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FriendApplication) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *FriendApplication) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FriendApplication) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListFriendApplicationsRequest 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"`
|
||
Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
|
||
Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
|
||
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListFriendApplicationsRequest) Reset() {
|
||
*x = ListFriendApplicationsRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[43]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListFriendApplicationsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListFriendApplicationsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListFriendApplicationsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ListFriendApplicationsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListFriendApplicationsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{43}
|
||
}
|
||
|
||
func (x *ListFriendApplicationsRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListFriendApplicationsRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListFriendApplicationsRequest) GetDirection() string {
|
||
if x != nil {
|
||
return x.Direction
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListFriendApplicationsRequest) GetPage() int32 {
|
||
if x != nil {
|
||
return x.Page
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListFriendApplicationsRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListFriendApplicationsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Applications []*FriendApplication `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"`
|
||
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListFriendApplicationsResponse) Reset() {
|
||
*x = ListFriendApplicationsResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[44]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListFriendApplicationsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListFriendApplicationsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListFriendApplicationsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ListFriendApplicationsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListFriendApplicationsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{44}
|
||
}
|
||
|
||
func (x *ListFriendApplicationsResponse) GetApplications() []*FriendApplication {
|
||
if x != nil {
|
||
return x.Applications
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListFriendApplicationsResponse) GetTotal() int64 {
|
||
if x != nil {
|
||
return x.Total
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// UserReport 是 App 用户提交的治理举报单。
|
||
type UserReport struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ReportId string `protobuf:"bytes,1,opt,name=report_id,json=reportId,proto3" json:"report_id,omitempty"`
|
||
ReporterUserId int64 `protobuf:"varint,2,opt,name=reporter_user_id,json=reporterUserId,proto3" json:"reporter_user_id,omitempty"`
|
||
TargetType string `protobuf:"bytes,3,opt,name=target_type,json=targetType,proto3" json:"target_type,omitempty"`
|
||
UserId int64 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
RoomId string `protobuf:"bytes,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
|
||
ReportType string `protobuf:"bytes,6,opt,name=report_type,json=reportType,proto3" json:"report_type,omitempty"`
|
||
Reason string `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
ImageUrls []string `protobuf:"bytes,8,rep,name=image_urls,json=imageUrls,proto3" json:"image_urls,omitempty"`
|
||
Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,10,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UserReport) Reset() {
|
||
*x = UserReport{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[45]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UserReport) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UserReport) ProtoMessage() {}
|
||
|
||
func (x *UserReport) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 UserReport.ProtoReflect.Descriptor instead.
|
||
func (*UserReport) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{45}
|
||
}
|
||
|
||
func (x *UserReport) GetReportId() string {
|
||
if x != nil {
|
||
return x.ReportId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserReport) GetReporterUserId() int64 {
|
||
if x != nil {
|
||
return x.ReporterUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserReport) GetTargetType() string {
|
||
if x != nil {
|
||
return x.TargetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserReport) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserReport) GetRoomId() string {
|
||
if x != nil {
|
||
return x.RoomId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserReport) GetReportType() string {
|
||
if x != nil {
|
||
return x.ReportType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserReport) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserReport) GetImageUrls() []string {
|
||
if x != nil {
|
||
return x.ImageUrls
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UserReport) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserReport) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// SubmitReportRequest 提交用户或房间举报;user_id 和 room_id 必须二选一。
|
||
type SubmitReportRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
ReporterUserId int64 `protobuf:"varint,2,opt,name=reporter_user_id,json=reporterUserId,proto3" json:"reporter_user_id,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
|
||
ReportType string `protobuf:"bytes,5,opt,name=report_type,json=reportType,proto3" json:"report_type,omitempty"`
|
||
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
ImageUrls []string `protobuf:"bytes,7,rep,name=image_urls,json=imageUrls,proto3" json:"image_urls,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *SubmitReportRequest) Reset() {
|
||
*x = SubmitReportRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[46]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *SubmitReportRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SubmitReportRequest) ProtoMessage() {}
|
||
|
||
func (x *SubmitReportRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 SubmitReportRequest.ProtoReflect.Descriptor instead.
|
||
func (*SubmitReportRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{46}
|
||
}
|
||
|
||
func (x *SubmitReportRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SubmitReportRequest) GetReporterUserId() int64 {
|
||
if x != nil {
|
||
return x.ReporterUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SubmitReportRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SubmitReportRequest) GetRoomId() string {
|
||
if x != nil {
|
||
return x.RoomId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SubmitReportRequest) GetReportType() string {
|
||
if x != nil {
|
||
return x.ReportType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SubmitReportRequest) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SubmitReportRequest) GetImageUrls() []string {
|
||
if x != nil {
|
||
return x.ImageUrls
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type SubmitReportResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Report *UserReport `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *SubmitReportResponse) Reset() {
|
||
*x = SubmitReportResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[47]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *SubmitReportResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SubmitReportResponse) ProtoMessage() {}
|
||
|
||
func (x *SubmitReportResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 SubmitReportResponse.ProtoReflect.Descriptor instead.
|
||
func (*SubmitReportResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{47}
|
||
}
|
||
|
||
func (x *SubmitReportResponse) GetReport() *UserReport {
|
||
if x != nil {
|
||
return x.Report
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// BatchGetUsersRequest 批量查询用户主状态。
|
||
type BatchGetUsersRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
UserIds []int64 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *BatchGetUsersRequest) Reset() {
|
||
*x = BatchGetUsersRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[48]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *BatchGetUsersRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BatchGetUsersRequest) ProtoMessage() {}
|
||
|
||
func (x *BatchGetUsersRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 BatchGetUsersRequest.ProtoReflect.Descriptor instead.
|
||
func (*BatchGetUsersRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{48}
|
||
}
|
||
|
||
func (x *BatchGetUsersRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *BatchGetUsersRequest) GetUserIds() []int64 {
|
||
if x != nil {
|
||
return x.UserIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// BatchGetUsersResponse 返回按 user_id 索引的用户主状态。
|
||
type BatchGetUsersResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Users map[int64]*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *BatchGetUsersResponse) Reset() {
|
||
*x = BatchGetUsersResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[49]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *BatchGetUsersResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BatchGetUsersResponse) ProtoMessage() {}
|
||
|
||
func (x *BatchGetUsersResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 BatchGetUsersResponse.ProtoReflect.Descriptor instead.
|
||
func (*BatchGetUsersResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{49}
|
||
}
|
||
|
||
func (x *BatchGetUsersResponse) GetUsers() map[int64]*User {
|
||
if x != nil {
|
||
return x.Users
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ListUserIDsRequest 给低频后台 fanout/重算任务按 user_id 游标读取目标用户。
|
||
type ListUserIDsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
TargetScope string `protobuf:"bytes,2,opt,name=target_scope,json=targetScope,proto3" json:"target_scope,omitempty"`
|
||
CursorUserId int64 `protobuf:"varint,3,opt,name=cursor_user_id,json=cursorUserId,proto3" json:"cursor_user_id,omitempty"`
|
||
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
RegionId int64 `protobuf:"varint,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||
Country string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListUserIDsRequest) Reset() {
|
||
*x = ListUserIDsRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[50]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListUserIDsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListUserIDsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListUserIDsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ListUserIDsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListUserIDsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{50}
|
||
}
|
||
|
||
func (x *ListUserIDsRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListUserIDsRequest) GetTargetScope() string {
|
||
if x != nil {
|
||
return x.TargetScope
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListUserIDsRequest) GetCursorUserId() int64 {
|
||
if x != nil {
|
||
return x.CursorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListUserIDsRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListUserIDsRequest) GetRegionId() int64 {
|
||
if x != nil {
|
||
return x.RegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListUserIDsRequest) GetCountry() string {
|
||
if x != nil {
|
||
return x.Country
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// ListUserIDsResponse 返回一页递增 user_id,调用方必须用 next_cursor_user_id 继续。
|
||
type ListUserIDsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserIds []int64 `protobuf:"varint,1,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
|
||
NextCursorUserId int64 `protobuf:"varint,2,opt,name=next_cursor_user_id,json=nextCursorUserId,proto3" json:"next_cursor_user_id,omitempty"`
|
||
Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListUserIDsResponse) Reset() {
|
||
*x = ListUserIDsResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[51]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListUserIDsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListUserIDsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListUserIDsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ListUserIDsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListUserIDsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{51}
|
||
}
|
||
|
||
func (x *ListUserIDsResponse) GetUserIds() []int64 {
|
||
if x != nil {
|
||
return x.UserIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListUserIDsResponse) GetNextCursorUserId() int64 {
|
||
if x != nil {
|
||
return x.NextCursorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListUserIDsResponse) GetDone() bool {
|
||
if x != nil {
|
||
return x.Done
|
||
}
|
||
return false
|
||
}
|
||
|
||
// UpdateUserProfileRequest 修改用户可自助维护的基础资料。
|
||
type UpdateUserProfileRequest 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"`
|
||
Username *string `protobuf:"bytes,3,opt,name=username,proto3,oneof" json:"username,omitempty"`
|
||
Avatar *string `protobuf:"bytes,4,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
|
||
Birth *string `protobuf:"bytes,5,opt,name=birth,proto3,oneof" json:"birth,omitempty"`
|
||
Gender *string `protobuf:"bytes,6,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateUserProfileRequest) Reset() {
|
||
*x = UpdateUserProfileRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[52]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpdateUserProfileRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpdateUserProfileRequest) ProtoMessage() {}
|
||
|
||
func (x *UpdateUserProfileRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 UpdateUserProfileRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpdateUserProfileRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{52}
|
||
}
|
||
|
||
func (x *UpdateUserProfileRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateUserProfileRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateUserProfileRequest) GetUsername() string {
|
||
if x != nil && x.Username != nil {
|
||
return *x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateUserProfileRequest) GetAvatar() string {
|
||
if x != nil && x.Avatar != nil {
|
||
return *x.Avatar
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateUserProfileRequest) GetBirth() string {
|
||
if x != nil && x.Birth != nil {
|
||
return *x.Birth
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateUserProfileRequest) GetGender() string {
|
||
if x != nil && x.Gender != nil {
|
||
return *x.Gender
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// UpdateUserProfileResponse 返回更新后的用户资料投影。
|
||
type UpdateUserProfileResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateUserProfileResponse) Reset() {
|
||
*x = UpdateUserProfileResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[53]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpdateUserProfileResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpdateUserProfileResponse) ProtoMessage() {}
|
||
|
||
func (x *UpdateUserProfileResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 UpdateUserProfileResponse.ProtoReflect.Descriptor instead.
|
||
func (*UpdateUserProfileResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{53}
|
||
}
|
||
|
||
func (x *UpdateUserProfileResponse) GetUser() *User {
|
||
if x != nil {
|
||
return x.User
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ChangeUserCountryRequest 单独修改用户国家;该字段有冷却期和变更日志。
|
||
type ChangeUserCountryRequest 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"`
|
||
Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ChangeUserCountryRequest) Reset() {
|
||
*x = ChangeUserCountryRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[54]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ChangeUserCountryRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ChangeUserCountryRequest) ProtoMessage() {}
|
||
|
||
func (x *ChangeUserCountryRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_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 ChangeUserCountryRequest.ProtoReflect.Descriptor instead.
|
||
func (*ChangeUserCountryRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{54}
|
||
}
|
||
|
||
func (x *ChangeUserCountryRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ChangeUserCountryRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ChangeUserCountryRequest) GetCountry() string {
|
||
if x != nil {
|
||
return x.Country
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// ChangeUserCountryResponse 返回更新后的用户资料和下一次可修改时间。
|
||
type ChangeUserCountryResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
||
NextChangeAllowedAtMs int64 `protobuf:"varint,2,opt,name=next_change_allowed_at_ms,json=nextChangeAllowedAtMs,proto3" json:"next_change_allowed_at_ms,omitempty"`
|
||
OldRegionId int64 `protobuf:"varint,3,opt,name=old_region_id,json=oldRegionId,proto3" json:"old_region_id,omitempty"`
|
||
NewRegionId int64 `protobuf:"varint,4,opt,name=new_region_id,json=newRegionId,proto3" json:"new_region_id,omitempty"`
|
||
RegionChanged bool `protobuf:"varint,5,opt,name=region_changed,json=regionChanged,proto3" json:"region_changed,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ChangeUserCountryResponse) Reset() {
|
||
*x = ChangeUserCountryResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[55]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ChangeUserCountryResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ChangeUserCountryResponse) ProtoMessage() {}
|
||
|
||
func (x *ChangeUserCountryResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[55]
|
||
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 ChangeUserCountryResponse.ProtoReflect.Descriptor instead.
|
||
func (*ChangeUserCountryResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{55}
|
||
}
|
||
|
||
func (x *ChangeUserCountryResponse) GetUser() *User {
|
||
if x != nil {
|
||
return x.User
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ChangeUserCountryResponse) GetNextChangeAllowedAtMs() int64 {
|
||
if x != nil {
|
||
return x.NextChangeAllowedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ChangeUserCountryResponse) GetOldRegionId() int64 {
|
||
if x != nil {
|
||
return x.OldRegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ChangeUserCountryResponse) GetNewRegionId() int64 {
|
||
if x != nil {
|
||
return x.NewRegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ChangeUserCountryResponse) GetRegionChanged() bool {
|
||
if x != nil {
|
||
return x.RegionChanged
|
||
}
|
||
return false
|
||
}
|
||
|
||
// SetUserStatusRequest 是封禁、停用和恢复用户的通用内部入口。
|
||
// 非 active 状态会同步吊销 refresh session,并把仍在有效期内的 access session 写入 gateway denylist。
|
||
type SetUserStatusRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
Status UserStatus `protobuf:"varint,3,opt,name=status,proto3,enum=hyapp.user.v1.UserStatus" json:"status,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,4,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
// operator_type 区分 admin、app_user、system,避免不同身份体系共用一个整数 ID 后无法追溯。
|
||
OperatorType string `protobuf:"bytes,6,opt,name=operator_type,json=operatorType,proto3" json:"operator_type,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *SetUserStatusRequest) Reset() {
|
||
*x = SetUserStatusRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[56]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *SetUserStatusRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SetUserStatusRequest) ProtoMessage() {}
|
||
|
||
func (x *SetUserStatusRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[56]
|
||
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 SetUserStatusRequest.ProtoReflect.Descriptor instead.
|
||
func (*SetUserStatusRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{56}
|
||
}
|
||
|
||
func (x *SetUserStatusRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SetUserStatusRequest) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SetUserStatusRequest) GetStatus() UserStatus {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return UserStatus_USER_STATUS_UNSPECIFIED
|
||
}
|
||
|
||
func (x *SetUserStatusRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SetUserStatusRequest) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetUserStatusRequest) GetOperatorType() string {
|
||
if x != nil {
|
||
return x.OperatorType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// SetUserStatusResponse 返回用户当前状态和封禁相关副作用结果。
|
||
// 外部副作用字段用于后台或 App 管理入口判断是否需要重试补偿。
|
||
type SetUserStatusResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
||
RevokedSessionCount int64 `protobuf:"varint,2,opt,name=revoked_session_count,json=revokedSessionCount,proto3" json:"revoked_session_count,omitempty"`
|
||
ImKicked bool `protobuf:"varint,3,opt,name=im_kicked,json=imKicked,proto3" json:"im_kicked,omitempty"`
|
||
ImKickError string `protobuf:"bytes,4,opt,name=im_kick_error,json=imKickError,proto3" json:"im_kick_error,omitempty"`
|
||
RoomEvicted bool `protobuf:"varint,5,opt,name=room_evicted,json=roomEvicted,proto3" json:"room_evicted,omitempty"`
|
||
RoomId string `protobuf:"bytes,6,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
|
||
RtcKicked bool `protobuf:"varint,7,opt,name=rtc_kicked,json=rtcKicked,proto3" json:"rtc_kicked,omitempty"`
|
||
RoomEvictError string `protobuf:"bytes,8,opt,name=room_evict_error,json=roomEvictError,proto3" json:"room_evict_error,omitempty"`
|
||
RtcKickError string `protobuf:"bytes,9,opt,name=rtc_kick_error,json=rtcKickError,proto3" json:"rtc_kick_error,omitempty"`
|
||
AccessTokenRevoked bool `protobuf:"varint,10,opt,name=access_token_revoked,json=accessTokenRevoked,proto3" json:"access_token_revoked,omitempty"`
|
||
AccessTokenRevokeError string `protobuf:"bytes,11,opt,name=access_token_revoke_error,json=accessTokenRevokeError,proto3" json:"access_token_revoke_error,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) Reset() {
|
||
*x = SetUserStatusResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[57]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SetUserStatusResponse) ProtoMessage() {}
|
||
|
||
func (x *SetUserStatusResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[57]
|
||
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 SetUserStatusResponse.ProtoReflect.Descriptor instead.
|
||
func (*SetUserStatusResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{57}
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) GetUser() *User {
|
||
if x != nil {
|
||
return x.User
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) GetRevokedSessionCount() int64 {
|
||
if x != nil {
|
||
return x.RevokedSessionCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) GetImKicked() bool {
|
||
if x != nil {
|
||
return x.ImKicked
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) GetImKickError() string {
|
||
if x != nil {
|
||
return x.ImKickError
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) GetRoomEvicted() bool {
|
||
if x != nil {
|
||
return x.RoomEvicted
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) GetRoomId() string {
|
||
if x != nil {
|
||
return x.RoomId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) GetRtcKicked() bool {
|
||
if x != nil {
|
||
return x.RtcKicked
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) GetRoomEvictError() string {
|
||
if x != nil {
|
||
return x.RoomEvictError
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) GetRtcKickError() string {
|
||
if x != nil {
|
||
return x.RtcKickError
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) GetAccessTokenRevoked() bool {
|
||
if x != nil {
|
||
return x.AccessTokenRevoked
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *SetUserStatusResponse) GetAccessTokenRevokeError() string {
|
||
if x != nil {
|
||
return x.AccessTokenRevokeError
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// CompleteOnboardingRequest 是注册页唯一资料提交入口。
|
||
type CompleteOnboardingRequest 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"`
|
||
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
|
||
Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
||
Country string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"`
|
||
Gender string `protobuf:"bytes,6,opt,name=gender,proto3" json:"gender,omitempty"`
|
||
InviteCode string `protobuf:"bytes,7,opt,name=invite_code,json=inviteCode,proto3" json:"invite_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CompleteOnboardingRequest) Reset() {
|
||
*x = CompleteOnboardingRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[58]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CompleteOnboardingRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CompleteOnboardingRequest) ProtoMessage() {}
|
||
|
||
func (x *CompleteOnboardingRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[58]
|
||
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 CompleteOnboardingRequest.ProtoReflect.Descriptor instead.
|
||
func (*CompleteOnboardingRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{58}
|
||
}
|
||
|
||
func (x *CompleteOnboardingRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CompleteOnboardingRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CompleteOnboardingRequest) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CompleteOnboardingRequest) GetAvatar() string {
|
||
if x != nil {
|
||
return x.Avatar
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CompleteOnboardingRequest) GetCountry() string {
|
||
if x != nil {
|
||
return x.Country
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CompleteOnboardingRequest) GetGender() string {
|
||
if x != nil {
|
||
return x.Gender
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CompleteOnboardingRequest) GetInviteCode() string {
|
||
if x != nil {
|
||
return x.InviteCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// CompleteOnboardingResponse 返回固化后的最小注册状态。
|
||
type CompleteOnboardingResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
||
ProfileCompleted bool `protobuf:"varint,2,opt,name=profile_completed,json=profileCompleted,proto3" json:"profile_completed,omitempty"`
|
||
ProfileCompletedAtMs int64 `protobuf:"varint,3,opt,name=profile_completed_at_ms,json=profileCompletedAtMs,proto3" json:"profile_completed_at_ms,omitempty"`
|
||
OnboardingStatus string `protobuf:"bytes,4,opt,name=onboarding_status,json=onboardingStatus,proto3" json:"onboarding_status,omitempty"`
|
||
Token *AuthToken `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
|
||
Invite *InviteBinding `protobuf:"bytes,6,opt,name=invite,proto3" json:"invite,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CompleteOnboardingResponse) Reset() {
|
||
*x = CompleteOnboardingResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[59]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CompleteOnboardingResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CompleteOnboardingResponse) ProtoMessage() {}
|
||
|
||
func (x *CompleteOnboardingResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[59]
|
||
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 CompleteOnboardingResponse.ProtoReflect.Descriptor instead.
|
||
func (*CompleteOnboardingResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{59}
|
||
}
|
||
|
||
func (x *CompleteOnboardingResponse) GetUser() *User {
|
||
if x != nil {
|
||
return x.User
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CompleteOnboardingResponse) GetProfileCompleted() bool {
|
||
if x != nil {
|
||
return x.ProfileCompleted
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CompleteOnboardingResponse) GetProfileCompletedAtMs() int64 {
|
||
if x != nil {
|
||
return x.ProfileCompletedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CompleteOnboardingResponse) GetOnboardingStatus() string {
|
||
if x != nil {
|
||
return x.OnboardingStatus
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CompleteOnboardingResponse) GetToken() *AuthToken {
|
||
if x != nil {
|
||
return x.Token
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CompleteOnboardingResponse) GetInvite() *InviteBinding {
|
||
if x != nil {
|
||
return x.Invite
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// BindPushTokenRequest 绑定当前登录用户的系统推送 token。
|
||
// push token 只服务离线触达,不作为登录凭证或设备身份凭证。
|
||
type BindPushTokenRequest 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"`
|
||
DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
|
||
PushToken string `protobuf:"bytes,4,opt,name=push_token,json=pushToken,proto3" json:"push_token,omitempty"`
|
||
Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
|
||
Platform string `protobuf:"bytes,6,opt,name=platform,proto3" json:"platform,omitempty"`
|
||
AppVersion string `protobuf:"bytes,7,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
|
||
Language string `protobuf:"bytes,8,opt,name=language,proto3" json:"language,omitempty"`
|
||
Timezone string `protobuf:"bytes,9,opt,name=timezone,proto3" json:"timezone,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *BindPushTokenRequest) Reset() {
|
||
*x = BindPushTokenRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[60]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *BindPushTokenRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BindPushTokenRequest) ProtoMessage() {}
|
||
|
||
func (x *BindPushTokenRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[60]
|
||
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 BindPushTokenRequest.ProtoReflect.Descriptor instead.
|
||
func (*BindPushTokenRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{60}
|
||
}
|
||
|
||
func (x *BindPushTokenRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *BindPushTokenRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *BindPushTokenRequest) GetDeviceId() string {
|
||
if x != nil {
|
||
return x.DeviceId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BindPushTokenRequest) GetPushToken() string {
|
||
if x != nil {
|
||
return x.PushToken
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BindPushTokenRequest) GetProvider() string {
|
||
if x != nil {
|
||
return x.Provider
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BindPushTokenRequest) GetPlatform() string {
|
||
if x != nil {
|
||
return x.Platform
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BindPushTokenRequest) GetAppVersion() string {
|
||
if x != nil {
|
||
return x.AppVersion
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BindPushTokenRequest) GetLanguage() string {
|
||
if x != nil {
|
||
return x.Language
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BindPushTokenRequest) GetTimezone() string {
|
||
if x != nil {
|
||
return x.Timezone
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type BindPushTokenResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Bound bool `protobuf:"varint,1,opt,name=bound,proto3" json:"bound,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,2,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *BindPushTokenResponse) Reset() {
|
||
*x = BindPushTokenResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[61]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *BindPushTokenResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BindPushTokenResponse) ProtoMessage() {}
|
||
|
||
func (x *BindPushTokenResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[61]
|
||
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 BindPushTokenResponse.ProtoReflect.Descriptor instead.
|
||
func (*BindPushTokenResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{61}
|
||
}
|
||
|
||
func (x *BindPushTokenResponse) GetBound() bool {
|
||
if x != nil {
|
||
return x.Bound
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *BindPushTokenResponse) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// DeletePushTokenRequest 删除或失效当前登录用户的系统推送 token。
|
||
// push_token 可为空;为空时按 user_id + device_id 失效该设备的 active token。
|
||
type DeletePushTokenRequest 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"`
|
||
DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
|
||
PushToken string `protobuf:"bytes,4,opt,name=push_token,json=pushToken,proto3" json:"push_token,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeletePushTokenRequest) Reset() {
|
||
*x = DeletePushTokenRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[62]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DeletePushTokenRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DeletePushTokenRequest) ProtoMessage() {}
|
||
|
||
func (x *DeletePushTokenRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[62]
|
||
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 DeletePushTokenRequest.ProtoReflect.Descriptor instead.
|
||
func (*DeletePushTokenRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{62}
|
||
}
|
||
|
||
func (x *DeletePushTokenRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DeletePushTokenRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DeletePushTokenRequest) GetDeviceId() string {
|
||
if x != nil {
|
||
return x.DeviceId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DeletePushTokenRequest) GetPushToken() string {
|
||
if x != nil {
|
||
return x.PushToken
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type DeletePushTokenResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,2,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeletePushTokenResponse) Reset() {
|
||
*x = DeletePushTokenResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[63]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DeletePushTokenResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DeletePushTokenResponse) ProtoMessage() {}
|
||
|
||
func (x *DeletePushTokenResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[63]
|
||
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 DeletePushTokenResponse.ProtoReflect.Descriptor instead.
|
||
func (*DeletePushTokenResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{63}
|
||
}
|
||
|
||
func (x *DeletePushTokenResponse) GetDeleted() bool {
|
||
if x != nil {
|
||
return x.Deleted
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *DeletePushTokenResponse) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// Country 是国家主数据投影,客户端和普通用户流程只提交 country_code。
|
||
type Country struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CountryId int64 `protobuf:"varint,1,opt,name=country_id,json=countryId,proto3" json:"country_id,omitempty"`
|
||
CountryName string `protobuf:"bytes,2,opt,name=country_name,json=countryName,proto3" json:"country_name,omitempty"`
|
||
CountryCode string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
|
||
CountryDisplayName string `protobuf:"bytes,4,opt,name=country_display_name,json=countryDisplayName,proto3" json:"country_display_name,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,6,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,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"`
|
||
IsoAlpha3 string `protobuf:"bytes,9,opt,name=iso_alpha3,json=isoAlpha3,proto3" json:"iso_alpha3,omitempty"`
|
||
IsoNumeric string `protobuf:"bytes,10,opt,name=iso_numeric,json=isoNumeric,proto3" json:"iso_numeric,omitempty"`
|
||
PhoneCountryCode string `protobuf:"bytes,11,opt,name=phone_country_code,json=phoneCountryCode,proto3" json:"phone_country_code,omitempty"`
|
||
Enabled bool `protobuf:"varint,12,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
||
Flag string `protobuf:"bytes,13,opt,name=flag,proto3" json:"flag,omitempty"`
|
||
AppCode string `protobuf:"bytes,14,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *Country) Reset() {
|
||
*x = Country{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[64]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *Country) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Country) ProtoMessage() {}
|
||
|
||
func (x *Country) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[64]
|
||
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 Country.ProtoReflect.Descriptor instead.
|
||
func (*Country) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{64}
|
||
}
|
||
|
||
func (x *Country) GetCountryId() int64 {
|
||
if x != nil {
|
||
return x.CountryId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Country) GetCountryName() string {
|
||
if x != nil {
|
||
return x.CountryName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Country) GetCountryCode() string {
|
||
if x != nil {
|
||
return x.CountryCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Country) GetCountryDisplayName() string {
|
||
if x != nil {
|
||
return x.CountryDisplayName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Country) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Country) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Country) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Country) GetIsoAlpha3() string {
|
||
if x != nil {
|
||
return x.IsoAlpha3
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Country) GetIsoNumeric() string {
|
||
if x != nil {
|
||
return x.IsoNumeric
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Country) GetPhoneCountryCode() string {
|
||
if x != nil {
|
||
return x.PhoneCountryCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Country) GetEnabled() bool {
|
||
if x != nil {
|
||
return x.Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *Country) GetFlag() string {
|
||
if x != nil {
|
||
return x.Flag
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Country) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// Region 是区域主数据投影,countries 只包含当前 active 国家码。
|
||
type Region struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RegionId int64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||
RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
|
||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
||
Countries []string `protobuf:"bytes,5,rep,name=countries,proto3" json:"countries,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,6,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,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"`
|
||
AppCode string `protobuf:"bytes,9,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *Region) Reset() {
|
||
*x = Region{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[65]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *Region) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Region) ProtoMessage() {}
|
||
|
||
func (x *Region) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[65]
|
||
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 Region.ProtoReflect.Descriptor instead.
|
||
func (*Region) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{65}
|
||
}
|
||
|
||
func (x *Region) GetRegionId() int64 {
|
||
if x != nil {
|
||
return x.RegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Region) GetRegionCode() string {
|
||
if x != nil {
|
||
return x.RegionCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Region) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Region) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Region) GetCountries() []string {
|
||
if x != nil {
|
||
return x.Countries
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Region) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Region) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Region) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Region) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type ListCountriesRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
Enabled *bool `protobuf:"varint,3,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListCountriesRequest) Reset() {
|
||
*x = ListCountriesRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[66]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListCountriesRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListCountriesRequest) ProtoMessage() {}
|
||
|
||
func (x *ListCountriesRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[66]
|
||
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 ListCountriesRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListCountriesRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{66}
|
||
}
|
||
|
||
func (x *ListCountriesRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListCountriesRequest) GetEnabled() bool {
|
||
if x != nil && x.Enabled != nil {
|
||
return *x.Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
type ListCountriesResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Countries []*Country `protobuf:"bytes,1,rep,name=countries,proto3" json:"countries,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListCountriesResponse) Reset() {
|
||
*x = ListCountriesResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[67]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListCountriesResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListCountriesResponse) ProtoMessage() {}
|
||
|
||
func (x *ListCountriesResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[67]
|
||
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 ListCountriesResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListCountriesResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{67}
|
||
}
|
||
|
||
func (x *ListCountriesResponse) GetCountries() []*Country {
|
||
if x != nil {
|
||
return x.Countries
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// UpdateCountryRequest 只修改国家展示字段,不修改 country_code。
|
||
type UpdateCountryRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
CountryId int64 `protobuf:"varint,2,opt,name=country_id,json=countryId,proto3" json:"country_id,omitempty"`
|
||
CountryName string `protobuf:"bytes,3,opt,name=country_name,json=countryName,proto3" json:"country_name,omitempty"`
|
||
CountryDisplayName string `protobuf:"bytes,4,opt,name=country_display_name,json=countryDisplayName,proto3" json:"country_display_name,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,6,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
IsoAlpha3 string `protobuf:"bytes,7,opt,name=iso_alpha3,json=isoAlpha3,proto3" json:"iso_alpha3,omitempty"`
|
||
IsoNumeric string `protobuf:"bytes,8,opt,name=iso_numeric,json=isoNumeric,proto3" json:"iso_numeric,omitempty"`
|
||
PhoneCountryCode string `protobuf:"bytes,9,opt,name=phone_country_code,json=phoneCountryCode,proto3" json:"phone_country_code,omitempty"`
|
||
Flag string `protobuf:"bytes,10,opt,name=flag,proto3" json:"flag,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateCountryRequest) Reset() {
|
||
*x = UpdateCountryRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[68]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpdateCountryRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpdateCountryRequest) ProtoMessage() {}
|
||
|
||
func (x *UpdateCountryRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[68]
|
||
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 UpdateCountryRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpdateCountryRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{68}
|
||
}
|
||
|
||
func (x *UpdateCountryRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateCountryRequest) GetCountryId() int64 {
|
||
if x != nil {
|
||
return x.CountryId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateCountryRequest) GetCountryName() string {
|
||
if x != nil {
|
||
return x.CountryName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateCountryRequest) GetCountryDisplayName() string {
|
||
if x != nil {
|
||
return x.CountryDisplayName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateCountryRequest) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateCountryRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateCountryRequest) GetIsoAlpha3() string {
|
||
if x != nil {
|
||
return x.IsoAlpha3
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateCountryRequest) GetIsoNumeric() string {
|
||
if x != nil {
|
||
return x.IsoNumeric
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateCountryRequest) GetPhoneCountryCode() string {
|
||
if x != nil {
|
||
return x.PhoneCountryCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateCountryRequest) GetFlag() string {
|
||
if x != nil {
|
||
return x.Flag
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type CountryResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Country *Country `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CountryResponse) Reset() {
|
||
*x = CountryResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[69]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CountryResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CountryResponse) ProtoMessage() {}
|
||
|
||
func (x *CountryResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[69]
|
||
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 CountryResponse.ProtoReflect.Descriptor instead.
|
||
func (*CountryResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{69}
|
||
}
|
||
|
||
func (x *CountryResponse) GetCountry() *Country {
|
||
if x != nil {
|
||
return x.Country
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ListRegistrationCountriesRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListRegistrationCountriesRequest) Reset() {
|
||
*x = ListRegistrationCountriesRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[70]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListRegistrationCountriesRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListRegistrationCountriesRequest) ProtoMessage() {}
|
||
|
||
func (x *ListRegistrationCountriesRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[70]
|
||
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 ListRegistrationCountriesRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListRegistrationCountriesRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{70}
|
||
}
|
||
|
||
func (x *ListRegistrationCountriesRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ListRegistrationCountriesResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Countries []*Country `protobuf:"bytes,1,rep,name=countries,proto3" json:"countries,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListRegistrationCountriesResponse) Reset() {
|
||
*x = ListRegistrationCountriesResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[71]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListRegistrationCountriesResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListRegistrationCountriesResponse) ProtoMessage() {}
|
||
|
||
func (x *ListRegistrationCountriesResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[71]
|
||
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 ListRegistrationCountriesResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListRegistrationCountriesResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{71}
|
||
}
|
||
|
||
func (x *ListRegistrationCountriesResponse) GetCountries() []*Country {
|
||
if x != nil {
|
||
return x.Countries
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type LoginRiskBlockedCountry struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
|
||
Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,3,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *LoginRiskBlockedCountry) Reset() {
|
||
*x = LoginRiskBlockedCountry{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[72]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *LoginRiskBlockedCountry) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*LoginRiskBlockedCountry) ProtoMessage() {}
|
||
|
||
func (x *LoginRiskBlockedCountry) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[72]
|
||
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 LoginRiskBlockedCountry.ProtoReflect.Descriptor instead.
|
||
func (*LoginRiskBlockedCountry) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{72}
|
||
}
|
||
|
||
func (x *LoginRiskBlockedCountry) GetCountryCode() string {
|
||
if x != nil {
|
||
return x.CountryCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *LoginRiskBlockedCountry) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *LoginRiskBlockedCountry) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListLoginRiskBlockedCountriesRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListLoginRiskBlockedCountriesRequest) Reset() {
|
||
*x = ListLoginRiskBlockedCountriesRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[73]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListLoginRiskBlockedCountriesRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListLoginRiskBlockedCountriesRequest) ProtoMessage() {}
|
||
|
||
func (x *ListLoginRiskBlockedCountriesRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[73]
|
||
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 ListLoginRiskBlockedCountriesRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListLoginRiskBlockedCountriesRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{73}
|
||
}
|
||
|
||
func (x *ListLoginRiskBlockedCountriesRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ListLoginRiskBlockedCountriesResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Countries []*LoginRiskBlockedCountry `protobuf:"bytes,1,rep,name=countries,proto3" json:"countries,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,2,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListLoginRiskBlockedCountriesResponse) Reset() {
|
||
*x = ListLoginRiskBlockedCountriesResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[74]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListLoginRiskBlockedCountriesResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListLoginRiskBlockedCountriesResponse) ProtoMessage() {}
|
||
|
||
func (x *ListLoginRiskBlockedCountriesResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[74]
|
||
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 ListLoginRiskBlockedCountriesResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListLoginRiskBlockedCountriesResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{74}
|
||
}
|
||
|
||
func (x *ListLoginRiskBlockedCountriesResponse) GetCountries() []*LoginRiskBlockedCountry {
|
||
if x != nil {
|
||
return x.Countries
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListLoginRiskBlockedCountriesResponse) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListRegionsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListRegionsRequest) Reset() {
|
||
*x = ListRegionsRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[75]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListRegionsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListRegionsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListRegionsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[75]
|
||
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 ListRegionsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListRegionsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{75}
|
||
}
|
||
|
||
func (x *ListRegionsRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListRegionsRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type ListRegionsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Regions []*Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListRegionsResponse) Reset() {
|
||
*x = ListRegionsResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[76]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListRegionsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListRegionsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListRegionsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[76]
|
||
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 ListRegionsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListRegionsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{76}
|
||
}
|
||
|
||
func (x *ListRegionsResponse) GetRegions() []*Region {
|
||
if x != nil {
|
||
return x.Regions
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type GetRegionRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
RegionId int64 `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetRegionRequest) Reset() {
|
||
*x = GetRegionRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[77]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetRegionRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetRegionRequest) ProtoMessage() {}
|
||
|
||
func (x *GetRegionRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[77]
|
||
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 GetRegionRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetRegionRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{77}
|
||
}
|
||
|
||
func (x *GetRegionRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetRegionRequest) GetRegionId() int64 {
|
||
if x != nil {
|
||
return x.RegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// UpdateRegionRequest 只修改区域展示字段,不修改 countries。
|
||
type UpdateRegionRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
RegionId int64 `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||
RegionCode string `protobuf:"bytes,3,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
|
||
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,6,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateRegionRequest) Reset() {
|
||
*x = UpdateRegionRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[78]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpdateRegionRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpdateRegionRequest) ProtoMessage() {}
|
||
|
||
func (x *UpdateRegionRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[78]
|
||
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 UpdateRegionRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpdateRegionRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{78}
|
||
}
|
||
|
||
func (x *UpdateRegionRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateRegionRequest) GetRegionId() int64 {
|
||
if x != nil {
|
||
return x.RegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateRegionRequest) GetRegionCode() string {
|
||
if x != nil {
|
||
return x.RegionCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateRegionRequest) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateRegionRequest) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateRegionRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ReplaceRegionCountriesRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
RegionId int64 `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||
Countries []string `protobuf:"bytes,3,rep,name=countries,proto3" json:"countries,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,4,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ReplaceRegionCountriesRequest) Reset() {
|
||
*x = ReplaceRegionCountriesRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[79]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ReplaceRegionCountriesRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ReplaceRegionCountriesRequest) ProtoMessage() {}
|
||
|
||
func (x *ReplaceRegionCountriesRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[79]
|
||
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 ReplaceRegionCountriesRequest.ProtoReflect.Descriptor instead.
|
||
func (*ReplaceRegionCountriesRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{79}
|
||
}
|
||
|
||
func (x *ReplaceRegionCountriesRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ReplaceRegionCountriesRequest) GetRegionId() int64 {
|
||
if x != nil {
|
||
return x.RegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ReplaceRegionCountriesRequest) GetCountries() []string {
|
||
if x != nil {
|
||
return x.Countries
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ReplaceRegionCountriesRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type RegionResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Region *Region `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RegionResponse) Reset() {
|
||
*x = RegionResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[80]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RegionResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RegionResponse) ProtoMessage() {}
|
||
|
||
func (x *RegionResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[80]
|
||
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 RegionResponse.ProtoReflect.Descriptor instead.
|
||
func (*RegionResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{80}
|
||
}
|
||
|
||
func (x *RegionResponse) GetRegion() *Region {
|
||
if x != nil {
|
||
return x.Region
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// UserIdentity 是 user_id 和当前 active display_user_id 的绑定投影。
|
||
type UserIdentity 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"`
|
||
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
||
DefaultDisplayUserId string `protobuf:"bytes,4,opt,name=default_display_user_id,json=defaultDisplayUserId,proto3" json:"default_display_user_id,omitempty"`
|
||
DisplayUserIdKind string `protobuf:"bytes,5,opt,name=display_user_id_kind,json=displayUserIdKind,proto3" json:"display_user_id_kind,omitempty"`
|
||
DisplayUserIdExpiresAtMs int64 `protobuf:"varint,6,opt,name=display_user_id_expires_at_ms,json=displayUserIdExpiresAtMs,proto3" json:"display_user_id_expires_at_ms,omitempty"`
|
||
AppCode string `protobuf:"bytes,7,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UserIdentity) Reset() {
|
||
*x = UserIdentity{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[81]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UserIdentity) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UserIdentity) ProtoMessage() {}
|
||
|
||
func (x *UserIdentity) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[81]
|
||
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 UserIdentity.ProtoReflect.Descriptor instead.
|
||
func (*UserIdentity) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{81}
|
||
}
|
||
|
||
func (x *UserIdentity) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserIdentity) GetDisplayUserId() string {
|
||
if x != nil {
|
||
return x.DisplayUserId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserIdentity) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserIdentity) GetDefaultDisplayUserId() string {
|
||
if x != nil {
|
||
return x.DefaultDisplayUserId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserIdentity) GetDisplayUserIdKind() string {
|
||
if x != nil {
|
||
return x.DisplayUserIdKind
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserIdentity) GetDisplayUserIdExpiresAtMs() int64 {
|
||
if x != nil {
|
||
return x.DisplayUserIdExpiresAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserIdentity) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// GetUserIdentityRequest 按 user_id 查询当前短号。
|
||
type GetUserIdentityRequest 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 *GetUserIdentityRequest) Reset() {
|
||
*x = GetUserIdentityRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[82]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetUserIdentityRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetUserIdentityRequest) ProtoMessage() {}
|
||
|
||
func (x *GetUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[82]
|
||
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 GetUserIdentityRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetUserIdentityRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{82}
|
||
}
|
||
|
||
func (x *GetUserIdentityRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetUserIdentityRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// GetUserIdentityResponse 返回当前短号绑定。
|
||
type GetUserIdentityResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Identity *UserIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetUserIdentityResponse) Reset() {
|
||
*x = GetUserIdentityResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[83]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetUserIdentityResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetUserIdentityResponse) ProtoMessage() {}
|
||
|
||
func (x *GetUserIdentityResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[83]
|
||
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 GetUserIdentityResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetUserIdentityResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{83}
|
||
}
|
||
|
||
func (x *GetUserIdentityResponse) GetIdentity() *UserIdentity {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ResolveDisplayUserIDRequest 把客户端展示短号解析成系统 user_id。
|
||
type ResolveDisplayUserIDRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
DisplayUserId string `protobuf:"bytes,2,opt,name=display_user_id,json=displayUserId,proto3" json:"display_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResolveDisplayUserIDRequest) Reset() {
|
||
*x = ResolveDisplayUserIDRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[84]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResolveDisplayUserIDRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResolveDisplayUserIDRequest) ProtoMessage() {}
|
||
|
||
func (x *ResolveDisplayUserIDRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[84]
|
||
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 ResolveDisplayUserIDRequest.ProtoReflect.Descriptor instead.
|
||
func (*ResolveDisplayUserIDRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{84}
|
||
}
|
||
|
||
func (x *ResolveDisplayUserIDRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ResolveDisplayUserIDRequest) GetDisplayUserId() string {
|
||
if x != nil {
|
||
return x.DisplayUserId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// ResolveDisplayUserIDResponse 返回 active 短号归属。
|
||
type ResolveDisplayUserIDResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Identity *UserIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResolveDisplayUserIDResponse) Reset() {
|
||
*x = ResolveDisplayUserIDResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[85]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResolveDisplayUserIDResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResolveDisplayUserIDResponse) ProtoMessage() {}
|
||
|
||
func (x *ResolveDisplayUserIDResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[85]
|
||
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 ResolveDisplayUserIDResponse.ProtoReflect.Descriptor instead.
|
||
func (*ResolveDisplayUserIDResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{85}
|
||
}
|
||
|
||
func (x *ResolveDisplayUserIDResponse) GetIdentity() *UserIdentity {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ChangeDisplayUserIDRequest 修改用户短号,必须由 user-service 保证事务一致。
|
||
type ChangeDisplayUserIDRequest 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"`
|
||
NewDisplayUserId string `protobuf:"bytes,3,opt,name=new_display_user_id,json=newDisplayUserId,proto3" json:"new_display_user_id,omitempty"`
|
||
Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,5,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ChangeDisplayUserIDRequest) Reset() {
|
||
*x = ChangeDisplayUserIDRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[86]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ChangeDisplayUserIDRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ChangeDisplayUserIDRequest) ProtoMessage() {}
|
||
|
||
func (x *ChangeDisplayUserIDRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[86]
|
||
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 ChangeDisplayUserIDRequest.ProtoReflect.Descriptor instead.
|
||
func (*ChangeDisplayUserIDRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{86}
|
||
}
|
||
|
||
func (x *ChangeDisplayUserIDRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ChangeDisplayUserIDRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ChangeDisplayUserIDRequest) GetNewDisplayUserId() string {
|
||
if x != nil {
|
||
return x.NewDisplayUserId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ChangeDisplayUserIDRequest) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ChangeDisplayUserIDRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// ChangeDisplayUserIDResponse 返回修改后的 active 绑定。
|
||
type ChangeDisplayUserIDResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Identity *UserIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ChangeDisplayUserIDResponse) Reset() {
|
||
*x = ChangeDisplayUserIDResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[87]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ChangeDisplayUserIDResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ChangeDisplayUserIDResponse) ProtoMessage() {}
|
||
|
||
func (x *ChangeDisplayUserIDResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[87]
|
||
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 ChangeDisplayUserIDResponse.ProtoReflect.Descriptor instead.
|
||
func (*ChangeDisplayUserIDResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{87}
|
||
}
|
||
|
||
func (x *ChangeDisplayUserIDResponse) GetIdentity() *UserIdentity {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ApplyPrettyDisplayUserIDRequest 申请临时靓号并覆盖当前展示号。
|
||
type ApplyPrettyDisplayUserIDRequest 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"`
|
||
PrettyDisplayUserId string `protobuf:"bytes,3,opt,name=pretty_display_user_id,json=prettyDisplayUserId,proto3" json:"pretty_display_user_id,omitempty"`
|
||
LeaseDurationMs int64 `protobuf:"varint,4,opt,name=lease_duration_ms,json=leaseDurationMs,proto3" json:"lease_duration_ms,omitempty"`
|
||
PaymentReceiptId string `protobuf:"bytes,5,opt,name=payment_receipt_id,json=paymentReceiptId,proto3" json:"payment_receipt_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDRequest) Reset() {
|
||
*x = ApplyPrettyDisplayUserIDRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[88]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ApplyPrettyDisplayUserIDRequest) ProtoMessage() {}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[88]
|
||
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 ApplyPrettyDisplayUserIDRequest.ProtoReflect.Descriptor instead.
|
||
func (*ApplyPrettyDisplayUserIDRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{88}
|
||
}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDRequest) GetPrettyDisplayUserId() string {
|
||
if x != nil {
|
||
return x.PrettyDisplayUserId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDRequest) GetLeaseDurationMs() int64 {
|
||
if x != nil {
|
||
return x.LeaseDurationMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDRequest) GetPaymentReceiptId() string {
|
||
if x != nil {
|
||
return x.PaymentReceiptId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// ApplyPrettyDisplayUserIDResponse 返回申请成功后的当前展示号和租约。
|
||
type ApplyPrettyDisplayUserIDResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Identity *UserIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
||
LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDResponse) Reset() {
|
||
*x = ApplyPrettyDisplayUserIDResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[89]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ApplyPrettyDisplayUserIDResponse) ProtoMessage() {}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[89]
|
||
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 ApplyPrettyDisplayUserIDResponse.ProtoReflect.Descriptor instead.
|
||
func (*ApplyPrettyDisplayUserIDResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{89}
|
||
}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDResponse) GetIdentity() *UserIdentity {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ApplyPrettyDisplayUserIDResponse) GetLeaseId() string {
|
||
if x != nil {
|
||
return x.LeaseId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// ExpirePrettyDisplayUserIDRequest 主动触发靓号过期恢复。
|
||
type ExpirePrettyDisplayUserIDRequest 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"`
|
||
LeaseId string `protobuf:"bytes,3,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ExpirePrettyDisplayUserIDRequest) Reset() {
|
||
*x = ExpirePrettyDisplayUserIDRequest{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[90]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ExpirePrettyDisplayUserIDRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ExpirePrettyDisplayUserIDRequest) ProtoMessage() {}
|
||
|
||
func (x *ExpirePrettyDisplayUserIDRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[90]
|
||
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 ExpirePrettyDisplayUserIDRequest.ProtoReflect.Descriptor instead.
|
||
func (*ExpirePrettyDisplayUserIDRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{90}
|
||
}
|
||
|
||
func (x *ExpirePrettyDisplayUserIDRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ExpirePrettyDisplayUserIDRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ExpirePrettyDisplayUserIDRequest) GetLeaseId() string {
|
||
if x != nil {
|
||
return x.LeaseId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// ExpirePrettyDisplayUserIDResponse 返回恢复后的默认短号身份。
|
||
type ExpirePrettyDisplayUserIDResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Identity *UserIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ExpirePrettyDisplayUserIDResponse) Reset() {
|
||
*x = ExpirePrettyDisplayUserIDResponse{}
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[91]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ExpirePrettyDisplayUserIDResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ExpirePrettyDisplayUserIDResponse) ProtoMessage() {}
|
||
|
||
func (x *ExpirePrettyDisplayUserIDResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_user_v1_user_proto_msgTypes[91]
|
||
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 ExpirePrettyDisplayUserIDResponse.ProtoReflect.Descriptor instead.
|
||
func (*ExpirePrettyDisplayUserIDResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_user_v1_user_proto_rawDescGZIP(), []int{91}
|
||
}
|
||
|
||
func (x *ExpirePrettyDisplayUserIDResponse) GetIdentity() *UserIdentity {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_proto_user_v1_user_proto protoreflect.FileDescriptor
|
||
|
||
const file_proto_user_v1_user_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\x18proto/user/v1/user.proto\x12\rhyapp.user.v1\"\x95\x03\n" +
|
||
"\vRequestMeta\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x16\n" +
|
||
"\x06caller\x18\x02 \x01(\tR\x06caller\x12&\n" +
|
||
"\x0fgateway_node_id\x18\x03 \x01(\tR\rgatewayNodeId\x12\x1c\n" +
|
||
"\n" +
|
||
"sent_at_ms\x18\x04 \x01(\x03R\bsentAtMs\x12\x1b\n" +
|
||
"\tdevice_id\x18\x05 \x01(\tR\bdeviceId\x12\x1b\n" +
|
||
"\tclient_ip\x18\x06 \x01(\tR\bclientIp\x12\x1d\n" +
|
||
"\n" +
|
||
"user_agent\x18\a \x01(\tR\tuserAgent\x12\"\n" +
|
||
"\rcountry_by_ip\x18\b \x01(\tR\vcountryByIp\x12\x1d\n" +
|
||
"\n" +
|
||
"session_id\x18\t \x01(\tR\tsessionId\x12\x19\n" +
|
||
"\bapp_code\x18\n" +
|
||
" \x01(\tR\aappCode\x12\x1a\n" +
|
||
"\bplatform\x18\v \x01(\tR\bplatform\x12\x1a\n" +
|
||
"\blanguage\x18\f \x01(\tR\blanguage\x12\x1a\n" +
|
||
"\btimezone\x18\r \x01(\tR\btimezone\"\xf1\x01\n" +
|
||
"\x03App\x12\x15\n" +
|
||
"\x06app_id\x18\x01 \x01(\x03R\x05appId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x19\n" +
|
||
"\bapp_name\x18\x03 \x01(\tR\aappName\x12!\n" +
|
||
"\fpackage_name\x18\x04 \x01(\tR\vpackageName\x12\x1a\n" +
|
||
"\bplatform\x18\x05 \x01(\tR\bplatform\x12\x16\n" +
|
||
"\x06status\x18\x06 \x01(\tR\x06status\x12\"\n" +
|
||
"\rcreated_at_ms\x18\a \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\b \x01(\x03R\vupdatedAtMs\"\x9d\x01\n" +
|
||
"\x11ResolveAppRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12!\n" +
|
||
"\fpackage_name\x18\x02 \x01(\tR\vpackageName\x12\x1a\n" +
|
||
"\bplatform\x18\x03 \x01(\tR\bplatform\x12\x19\n" +
|
||
"\bapp_code\x18\x04 \x01(\tR\aappCode\":\n" +
|
||
"\x12ResolveAppResponse\x12$\n" +
|
||
"\x03app\x18\x01 \x01(\v2\x12.hyapp.user.v1.AppR\x03app\"\xb1\b\n" +
|
||
"\x04User\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x121\n" +
|
||
"\x06status\x18\x02 \x01(\x0e2\x19.hyapp.user.v1.UserStatusR\x06status\x12\"\n" +
|
||
"\rcreated_at_ms\x18\x03 \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\x04 \x01(\x03R\vupdatedAtMs\x12&\n" +
|
||
"\x0fdisplay_user_id\x18\x05 \x01(\tR\rdisplayUserId\x125\n" +
|
||
"\x17default_display_user_id\x18\x06 \x01(\tR\x14defaultDisplayUserId\x12/\n" +
|
||
"\x14display_user_id_kind\x18\a \x01(\tR\x11displayUserIdKind\x12?\n" +
|
||
"\x1ddisplay_user_id_expires_at_ms\x18\b \x01(\x03R\x18displayUserIdExpiresAtMs\x12\x1a\n" +
|
||
"\busername\x18\t \x01(\tR\busername\x12\x16\n" +
|
||
"\x06gender\x18\n" +
|
||
" \x01(\tR\x06gender\x12\x18\n" +
|
||
"\acountry\x18\v \x01(\tR\acountry\x12\x16\n" +
|
||
"\x06avatar\x18\f \x01(\tR\x06avatar\x12\x14\n" +
|
||
"\x05birth\x18\r \x01(\tR\x05birth\x12\x1a\n" +
|
||
"\blanguage\x18\x0e \x01(\tR\blanguage\x12\x1d\n" +
|
||
"\n" +
|
||
"country_id\x18\x0f \x01(\x03R\tcountryId\x12!\n" +
|
||
"\fcountry_name\x18\x10 \x01(\tR\vcountryName\x120\n" +
|
||
"\x14country_display_name\x18\x11 \x01(\tR\x12countryDisplayName\x12\x1b\n" +
|
||
"\tregion_id\x18\x12 \x01(\x03R\bregionId\x12\x1f\n" +
|
||
"\vregion_code\x18\x13 \x01(\tR\n" +
|
||
"regionCode\x12\x1f\n" +
|
||
"\vregion_name\x18\x14 \x01(\tR\n" +
|
||
"regionName\x12+\n" +
|
||
"\x11profile_completed\x18\x15 \x01(\bR\x10profileCompleted\x125\n" +
|
||
"\x17profile_completed_at_ms\x18\x16 \x01(\x03R\x14profileCompletedAtMs\x12+\n" +
|
||
"\x11onboarding_status\x18\x17 \x01(\tR\x10onboardingStatus\x12\x1f\n" +
|
||
"\viso_numeric\x18\x18 \x01(\tR\n" +
|
||
"isoNumeric\x12,\n" +
|
||
"\x12phone_country_code\x18\x19 \x01(\tR\x10phoneCountryCode\x12'\n" +
|
||
"\x0fcountry_enabled\x18\x1a \x01(\bR\x0ecountryEnabled\x12\x19\n" +
|
||
"\bapp_code\x18\x1b \x01(\tR\aappCode\x125\n" +
|
||
"\x06invite\x18\x1c \x01(\v2\x1d.hyapp.user.v1.InviteOverviewR\x06invite\"\xed\x01\n" +
|
||
"\x0eInviteOverview\x12$\n" +
|
||
"\x0emy_invite_code\x18\x01 \x01(\tR\fmyInviteCode\x12%\n" +
|
||
"\x0einvite_enabled\x18\x02 \x01(\bR\rinviteEnabled\x12!\n" +
|
||
"\finvite_count\x18\x03 \x01(\x03R\vinviteCount\x12,\n" +
|
||
"\x12valid_invite_count\x18\x04 \x01(\x03R\x10validInviteCount\x12=\n" +
|
||
"\x1bvalid_invite_threshold_coin\x18\x05 \x01(\x03R\x18validInviteThresholdCoin\"n\n" +
|
||
"\rInviteBinding\x12\x14\n" +
|
||
"\x05bound\x18\x01 \x01(\bR\x05bound\x12\x1f\n" +
|
||
"\vinvite_code\x18\x02 \x01(\tR\n" +
|
||
"inviteCode\x12&\n" +
|
||
"\x0finviter_user_id\x18\x03 \x01(\x03R\rinviterUserId\"\xad\x02\n" +
|
||
"\x14UserMicLifetimeStats\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12(\n" +
|
||
"\x10seat_occupied_ms\x18\x02 \x01(\x03R\x0eseatOccupiedMs\x12\"\n" +
|
||
"\rmic_online_ms\x18\x03 \x01(\x03R\vmicOnlineMs\x12#\n" +
|
||
"\rsession_count\x18\x04 \x01(\x03R\fsessionCount\x12%\n" +
|
||
"\x0ffirst_mic_at_ms\x18\x05 \x01(\x03R\ffirstMicAtMs\x12#\n" +
|
||
"\x0elast_mic_at_ms\x18\x06 \x01(\x03R\vlastMicAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\a \x01(\x03R\vupdatedAtMs\x12\x19\n" +
|
||
"\bapp_code\x18\b \x01(\tR\aappCode\"i\n" +
|
||
"\x1eGetUserMicLifetimeStatsRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\"\\\n" +
|
||
"\x1fGetUserMicLifetimeStatsResponse\x129\n" +
|
||
"\x05stats\x18\x01 \x01(\v2#.hyapp.user.v1.UserMicLifetimeStatsR\x05stats\"\xb3\x02\n" +
|
||
"\x10CronBatchRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x15\n" +
|
||
"\x06run_id\x18\x02 \x01(\tR\x05runId\x12\x1b\n" +
|
||
"\tworker_id\x18\x03 \x01(\tR\bworkerId\x12\x1d\n" +
|
||
"\n" +
|
||
"batch_size\x18\x04 \x01(\x05R\tbatchSize\x12\x1e\n" +
|
||
"\vlock_ttl_ms\x18\x05 \x01(\x03R\tlockTtlMs\x12:\n" +
|
||
"\x1apending_publish_max_age_ms\x18\x06 \x01(\x03R\x16pendingPublishMaxAgeMs\x12@\n" +
|
||
"\x1dpublishing_session_max_age_ms\x18\a \x01(\x03R\x19publishingSessionMaxAgeMs\"\xc6\x01\n" +
|
||
"\x11CronBatchResponse\x12#\n" +
|
||
"\rclaimed_count\x18\x01 \x01(\x05R\fclaimedCount\x12'\n" +
|
||
"\x0fprocessed_count\x18\x02 \x01(\x05R\x0eprocessedCount\x12#\n" +
|
||
"\rsuccess_count\x18\x03 \x01(\x05R\fsuccessCount\x12#\n" +
|
||
"\rfailure_count\x18\x04 \x01(\x05R\ffailureCount\x12\x19\n" +
|
||
"\bhas_more\x18\x05 \x01(\bR\ahasMore\"\x96\x04\n" +
|
||
"\tAuthToken\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x1d\n" +
|
||
"\n" +
|
||
"session_id\x18\x02 \x01(\tR\tsessionId\x12!\n" +
|
||
"\faccess_token\x18\x03 \x01(\tR\vaccessToken\x12#\n" +
|
||
"\rrefresh_token\x18\x04 \x01(\tR\frefreshToken\x12$\n" +
|
||
"\x0eexpires_in_sec\x18\x05 \x01(\x03R\fexpiresInSec\x12\x1d\n" +
|
||
"\n" +
|
||
"token_type\x18\x06 \x01(\tR\ttokenType\x12&\n" +
|
||
"\x0fdisplay_user_id\x18\a \x01(\tR\rdisplayUserId\x125\n" +
|
||
"\x17default_display_user_id\x18\b \x01(\tR\x14defaultDisplayUserId\x12/\n" +
|
||
"\x14display_user_id_kind\x18\t \x01(\tR\x11displayUserIdKind\x12?\n" +
|
||
"\x1ddisplay_user_id_expires_at_ms\x18\n" +
|
||
" \x01(\x03R\x18displayUserIdExpiresAtMs\x12+\n" +
|
||
"\x11profile_completed\x18\v \x01(\bR\x10profileCompleted\x12+\n" +
|
||
"\x11onboarding_status\x18\f \x01(\tR\x10onboardingStatus\x12\x19\n" +
|
||
"\bapp_code\x18\r \x01(\tR\aappCode\"Y\n" +
|
||
"\x0eGetUserRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\":\n" +
|
||
"\x0fGetUserResponse\x12'\n" +
|
||
"\x04user\x18\x01 \x01(\v2\x13.hyapp.user.v1.UserR\x04user\"\xbc\x01\n" +
|
||
"\x19BusinessUserLookupRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\"\n" +
|
||
"\ractor_user_id\x18\x02 \x01(\x03R\vactorUserId\x12\x14\n" +
|
||
"\x05scene\x18\x03 \x01(\tR\x05scene\x12\x18\n" +
|
||
"\akeyword\x18\x04 \x01(\tR\akeyword\x12\x1b\n" +
|
||
"\tpage_size\x18\x05 \x01(\x05R\bpageSize\"\x9f\x02\n" +
|
||
"\x16BusinessUserLookupItem\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\x121\n" +
|
||
"\x06status\x18\x05 \x01(\x0e2\x19.hyapp.user.v1.UserStatusR\x06status\x12\x1b\n" +
|
||
"\tregion_id\x18\x06 \x01(\x03R\bregionId\x12\x1f\n" +
|
||
"\vregion_code\x18\a \x01(\tR\n" +
|
||
"regionCode\x12\x1f\n" +
|
||
"\vregion_name\x18\b \x01(\tR\n" +
|
||
"regionName\"Y\n" +
|
||
"\x1aBusinessUserLookupResponse\x12;\n" +
|
||
"\x05users\x18\x01 \x03(\v2%.hyapp.user.v1.BusinessUserLookupItemR\x05users\"\xdf\x01\n" +
|
||
"\x10UserProfileStats\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12%\n" +
|
||
"\x0evisitors_count\x18\x02 \x01(\x03R\rvisitorsCount\x12'\n" +
|
||
"\x0ffollowing_count\x18\x03 \x01(\x03R\x0efollowingCount\x12#\n" +
|
||
"\rfriends_count\x18\x04 \x01(\x03R\ffriendsCount\x12\"\n" +
|
||
"\rupdated_at_ms\x18\x05 \x01(\x03R\vupdatedAtMs\x12\x19\n" +
|
||
"\bapp_code\x18\x06 \x01(\tR\aappCode\"c\n" +
|
||
"\x18GetMyProfileStatsRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\"R\n" +
|
||
"\x19GetMyProfileStatsResponse\x125\n" +
|
||
"\x05stats\x18\x01 \x01(\v2\x1f.hyapp.user.v1.UserProfileStatsR\x05stats\"\x99\x01\n" +
|
||
"\x19RecordProfileVisitRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12&\n" +
|
||
"\x0fvisitor_user_id\x18\x02 \x01(\x03R\rvisitorUserId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x03 \x01(\x03R\ftargetUserId\"|\n" +
|
||
"\x1aRecordProfileVisitResponse\x12\x1a\n" +
|
||
"\brecorded\x18\x01 \x01(\bR\brecorded\x12B\n" +
|
||
"\ftarget_stats\x18\x02 \x01(\v2\x1f.hyapp.user.v1.UserProfileStatsR\vtargetStats\"\xb0\x01\n" +
|
||
"\x12ProfileVisitRecord\x12&\n" +
|
||
"\x0fvisitor_user_id\x18\x01 \x01(\x03R\rvisitorUserId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x1f\n" +
|
||
"\vvisit_count\x18\x03 \x01(\x03R\n" +
|
||
"visitCount\x12+\n" +
|
||
"\x12last_visited_at_ms\x18\x04 \x01(\x03R\x0flastVisitedAtMs\"\x96\x01\n" +
|
||
"\x1aListProfileVisitorsRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x12\n" +
|
||
"\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n" +
|
||
"\tpage_size\x18\x04 \x01(\x05R\bpageSize\"p\n" +
|
||
"\x1bListProfileVisitorsResponse\x12;\n" +
|
||
"\arecords\x18\x01 \x03(\v2!.hyapp.user.v1.ProfileVisitRecordR\arecords\x12\x14\n" +
|
||
"\x05total\x18\x02 \x01(\x03R\x05total\"\x97\x01\n" +
|
||
"\x11FollowUserRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12(\n" +
|
||
"\x10follower_user_id\x18\x02 \x01(\x03R\x0efollowerUserId\x12(\n" +
|
||
"\x10followee_user_id\x18\x03 \x01(\x03R\x0efolloweeUserId\"z\n" +
|
||
"\x12FollowUserResponse\x12\x1c\n" +
|
||
"\tfollowing\x18\x01 \x01(\bR\tfollowing\x12F\n" +
|
||
"\x0efollower_stats\x18\x02 \x01(\v2\x1f.hyapp.user.v1.UserProfileStatsR\rfollowerStats\"\x99\x01\n" +
|
||
"\x13UnfollowUserRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12(\n" +
|
||
"\x10follower_user_id\x18\x02 \x01(\x03R\x0efollowerUserId\x12(\n" +
|
||
"\x10followee_user_id\x18\x03 \x01(\x03R\x0efolloweeUserId\"|\n" +
|
||
"\x14UnfollowUserResponse\x12\x1c\n" +
|
||
"\tfollowing\x18\x01 \x01(\bR\tfollowing\x12F\n" +
|
||
"\x0efollower_stats\x18\x02 \x01(\v2\x1f.hyapp.user.v1.UserProfileStatsR\rfollowerStats\"\x88\x01\n" +
|
||
"\fFollowRecord\x12(\n" +
|
||
"\x10follower_user_id\x18\x01 \x01(\x03R\x0efollowerUserId\x12(\n" +
|
||
"\x10followee_user_id\x18\x02 \x01(\x03R\x0efolloweeUserId\x12$\n" +
|
||
"\x0efollowed_at_ms\x18\x03 \x01(\x03R\ffollowedAtMs\"\xe7\x01\n" +
|
||
"\x14ListFollowingRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x12\n" +
|
||
"\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n" +
|
||
"\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12/\n" +
|
||
"\x14cursor_updated_at_ms\x18\x05 \x01(\x03R\x11cursorUpdatedAtMs\x12$\n" +
|
||
"\x0ecursor_user_id\x18\x06 \x01(\x03R\fcursorUserId\"d\n" +
|
||
"\x15ListFollowingResponse\x125\n" +
|
||
"\arecords\x18\x01 \x03(\v2\x1b.hyapp.user.v1.FollowRecordR\arecords\x12\x14\n" +
|
||
"\x05total\x18\x02 \x01(\x03R\x05total\"\x96\x01\n" +
|
||
"\x12ApplyFriendRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12*\n" +
|
||
"\x11requester_user_id\x18\x02 \x01(\x03R\x0frequesterUserId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x03 \x01(\x03R\ftargetUserId\"\x82\x01\n" +
|
||
"\x13ApplyFriendResponse\x12B\n" +
|
||
"\vapplication\x18\x01 \x01(\v2 .hyapp.user.v1.FriendApplicationR\vapplication\x12'\n" +
|
||
"\x0falready_friends\x18\x02 \x01(\bR\x0ealreadyFriends\"\xa6\x01\n" +
|
||
"\x1eAcceptFriendApplicationRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12(\n" +
|
||
"\x10accepter_user_id\x18\x02 \x01(\x03R\x0eaccepterUserId\x12*\n" +
|
||
"\x11requester_user_id\x18\x03 \x01(\x03R\x0frequesterUserId\"V\n" +
|
||
"\x1fAcceptFriendApplicationResponse\x123\n" +
|
||
"\x06friend\x18\x01 \x01(\v2\x1b.hyapp.user.v1.FriendRecordR\x06friend\"\x84\x01\n" +
|
||
"\x13DeleteFriendRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12$\n" +
|
||
"\x0efriend_user_id\x18\x03 \x01(\x03R\ffriendUserId\"0\n" +
|
||
"\x14DeleteFriendResponse\x12\x18\n" +
|
||
"\adeleted\x18\x01 \x01(\bR\adeleted\"s\n" +
|
||
"\fFriendRecord\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12$\n" +
|
||
"\x0efriend_user_id\x18\x02 \x01(\x03R\ffriendUserId\x12$\n" +
|
||
"\x0efriended_at_ms\x18\x03 \x01(\x03R\ffriendedAtMs\"\xe5\x01\n" +
|
||
"\x12ListFriendsRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x12\n" +
|
||
"\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n" +
|
||
"\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12/\n" +
|
||
"\x14cursor_updated_at_ms\x18\x05 \x01(\x03R\x11cursorUpdatedAtMs\x12$\n" +
|
||
"\x0ecursor_user_id\x18\x06 \x01(\x03R\fcursorUserId\"b\n" +
|
||
"\x13ListFriendsResponse\x125\n" +
|
||
"\arecords\x18\x01 \x03(\v2\x1b.hyapp.user.v1.FriendRecordR\arecords\x12\x14\n" +
|
||
"\x05total\x18\x02 \x01(\x03R\x05total\"\xc5\x01\n" +
|
||
"\x11FriendApplication\x12*\n" +
|
||
"\x11requester_user_id\x18\x01 \x01(\x03R\x0frequesterUserId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x16\n" +
|
||
"\x06status\x18\x03 \x01(\tR\x06status\x12\"\n" +
|
||
"\rcreated_at_ms\x18\x04 \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\x05 \x01(\x03R\vupdatedAtMs\"\xb7\x01\n" +
|
||
"\x1dListFriendApplicationsRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1c\n" +
|
||
"\tdirection\x18\x03 \x01(\tR\tdirection\x12\x12\n" +
|
||
"\x04page\x18\x04 \x01(\x05R\x04page\x12\x1b\n" +
|
||
"\tpage_size\x18\x05 \x01(\x05R\bpageSize\"|\n" +
|
||
"\x1eListFriendApplicationsResponse\x12D\n" +
|
||
"\fapplications\x18\x01 \x03(\v2 .hyapp.user.v1.FriendApplicationR\fapplications\x12\x14\n" +
|
||
"\x05total\x18\x02 \x01(\x03R\x05total\"\xba\x02\n" +
|
||
"\n" +
|
||
"UserReport\x12\x1b\n" +
|
||
"\treport_id\x18\x01 \x01(\tR\breportId\x12(\n" +
|
||
"\x10reporter_user_id\x18\x02 \x01(\x03R\x0ereporterUserId\x12\x1f\n" +
|
||
"\vtarget_type\x18\x03 \x01(\tR\n" +
|
||
"targetType\x12\x17\n" +
|
||
"\auser_id\x18\x04 \x01(\x03R\x06userId\x12\x17\n" +
|
||
"\aroom_id\x18\x05 \x01(\tR\x06roomId\x12\x1f\n" +
|
||
"\vreport_type\x18\x06 \x01(\tR\n" +
|
||
"reportType\x12\x16\n" +
|
||
"\x06reason\x18\a \x01(\tR\x06reason\x12\x1d\n" +
|
||
"\n" +
|
||
"image_urls\x18\b \x03(\tR\timageUrls\x12\x16\n" +
|
||
"\x06status\x18\t \x01(\tR\x06status\x12\"\n" +
|
||
"\rcreated_at_ms\x18\n" +
|
||
" \x01(\x03R\vcreatedAtMs\"\xf9\x01\n" +
|
||
"\x13SubmitReportRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12(\n" +
|
||
"\x10reporter_user_id\x18\x02 \x01(\x03R\x0ereporterUserId\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x17\n" +
|
||
"\aroom_id\x18\x04 \x01(\tR\x06roomId\x12\x1f\n" +
|
||
"\vreport_type\x18\x05 \x01(\tR\n" +
|
||
"reportType\x12\x16\n" +
|
||
"\x06reason\x18\x06 \x01(\tR\x06reason\x12\x1d\n" +
|
||
"\n" +
|
||
"image_urls\x18\a \x03(\tR\timageUrls\"I\n" +
|
||
"\x14SubmitReportResponse\x121\n" +
|
||
"\x06report\x18\x01 \x01(\v2\x19.hyapp.user.v1.UserReportR\x06report\"a\n" +
|
||
"\x14BatchGetUsersRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x19\n" +
|
||
"\buser_ids\x18\x02 \x03(\x03R\auserIds\"\xad\x01\n" +
|
||
"\x15BatchGetUsersResponse\x12E\n" +
|
||
"\x05users\x18\x01 \x03(\v2/.hyapp.user.v1.BatchGetUsersResponse.UsersEntryR\x05users\x1aM\n" +
|
||
"\n" +
|
||
"UsersEntry\x12\x10\n" +
|
||
"\x03key\x18\x01 \x01(\x03R\x03key\x12)\n" +
|
||
"\x05value\x18\x02 \x01(\v2\x13.hyapp.user.v1.UserR\x05value:\x028\x01\"\xe1\x01\n" +
|
||
"\x12ListUserIDsRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12!\n" +
|
||
"\ftarget_scope\x18\x02 \x01(\tR\vtargetScope\x12$\n" +
|
||
"\x0ecursor_user_id\x18\x03 \x01(\x03R\fcursorUserId\x12\x1b\n" +
|
||
"\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12\x1b\n" +
|
||
"\tregion_id\x18\x05 \x01(\x03R\bregionId\x12\x18\n" +
|
||
"\acountry\x18\x06 \x01(\tR\acountry\"s\n" +
|
||
"\x13ListUserIDsResponse\x12\x19\n" +
|
||
"\buser_ids\x18\x01 \x03(\x03R\auserIds\x12-\n" +
|
||
"\x13next_cursor_user_id\x18\x02 \x01(\x03R\x10nextCursorUserId\x12\x12\n" +
|
||
"\x04done\x18\x03 \x01(\bR\x04done\"\x86\x02\n" +
|
||
"\x18UpdateUserProfileRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1f\n" +
|
||
"\busername\x18\x03 \x01(\tH\x00R\busername\x88\x01\x01\x12\x1b\n" +
|
||
"\x06avatar\x18\x04 \x01(\tH\x01R\x06avatar\x88\x01\x01\x12\x19\n" +
|
||
"\x05birth\x18\x05 \x01(\tH\x02R\x05birth\x88\x01\x01\x12\x1b\n" +
|
||
"\x06gender\x18\x06 \x01(\tH\x03R\x06gender\x88\x01\x01B\v\n" +
|
||
"\t_usernameB\t\n" +
|
||
"\a_avatarB\b\n" +
|
||
"\x06_birthB\t\n" +
|
||
"\a_gender\"D\n" +
|
||
"\x19UpdateUserProfileResponse\x12'\n" +
|
||
"\x04user\x18\x01 \x01(\v2\x13.hyapp.user.v1.UserR\x04user\"}\n" +
|
||
"\x18ChangeUserCountryRequest\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" +
|
||
"\acountry\x18\x03 \x01(\tR\acountry\"\xed\x01\n" +
|
||
"\x19ChangeUserCountryResponse\x12'\n" +
|
||
"\x04user\x18\x01 \x01(\v2\x13.hyapp.user.v1.UserR\x04user\x128\n" +
|
||
"\x19next_change_allowed_at_ms\x18\x02 \x01(\x03R\x15nextChangeAllowedAtMs\x12\"\n" +
|
||
"\rold_region_id\x18\x03 \x01(\x03R\voldRegionId\x12\"\n" +
|
||
"\rnew_region_id\x18\x04 \x01(\x03R\vnewRegionId\x12%\n" +
|
||
"\x0eregion_changed\x18\x05 \x01(\bR\rregionChanged\"\x86\x02\n" +
|
||
"\x14SetUserStatusRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12$\n" +
|
||
"\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x121\n" +
|
||
"\x06status\x18\x03 \x01(\x0e2\x19.hyapp.user.v1.UserStatusR\x06status\x12(\n" +
|
||
"\x10operator_user_id\x18\x04 \x01(\x03R\x0eoperatorUserId\x12\x16\n" +
|
||
"\x06reason\x18\x05 \x01(\tR\x06reason\x12#\n" +
|
||
"\roperator_type\x18\x06 \x01(\tR\foperatorType\"\xcd\x03\n" +
|
||
"\x15SetUserStatusResponse\x12'\n" +
|
||
"\x04user\x18\x01 \x01(\v2\x13.hyapp.user.v1.UserR\x04user\x122\n" +
|
||
"\x15revoked_session_count\x18\x02 \x01(\x03R\x13revokedSessionCount\x12\x1b\n" +
|
||
"\tim_kicked\x18\x03 \x01(\bR\bimKicked\x12\"\n" +
|
||
"\rim_kick_error\x18\x04 \x01(\tR\vimKickError\x12!\n" +
|
||
"\froom_evicted\x18\x05 \x01(\bR\vroomEvicted\x12\x17\n" +
|
||
"\aroom_id\x18\x06 \x01(\tR\x06roomId\x12\x1d\n" +
|
||
"\n" +
|
||
"rtc_kicked\x18\a \x01(\bR\trtcKicked\x12(\n" +
|
||
"\x10room_evict_error\x18\b \x01(\tR\x0eroomEvictError\x12$\n" +
|
||
"\x0ertc_kick_error\x18\t \x01(\tR\frtcKickError\x120\n" +
|
||
"\x14access_token_revoked\x18\n" +
|
||
" \x01(\bR\x12accessTokenRevoked\x129\n" +
|
||
"\x19access_token_revoke_error\x18\v \x01(\tR\x16accessTokenRevokeError\"\xeb\x01\n" +
|
||
"\x19CompleteOnboardingRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1a\n" +
|
||
"\busername\x18\x03 \x01(\tR\busername\x12\x16\n" +
|
||
"\x06avatar\x18\x04 \x01(\tR\x06avatar\x12\x18\n" +
|
||
"\acountry\x18\x05 \x01(\tR\acountry\x12\x16\n" +
|
||
"\x06gender\x18\x06 \x01(\tR\x06gender\x12\x1f\n" +
|
||
"\vinvite_code\x18\a \x01(\tR\n" +
|
||
"inviteCode\"\xbc\x02\n" +
|
||
"\x1aCompleteOnboardingResponse\x12'\n" +
|
||
"\x04user\x18\x01 \x01(\v2\x13.hyapp.user.v1.UserR\x04user\x12+\n" +
|
||
"\x11profile_completed\x18\x02 \x01(\bR\x10profileCompleted\x125\n" +
|
||
"\x17profile_completed_at_ms\x18\x03 \x01(\x03R\x14profileCompletedAtMs\x12+\n" +
|
||
"\x11onboarding_status\x18\x04 \x01(\tR\x10onboardingStatus\x12.\n" +
|
||
"\x05token\x18\x05 \x01(\v2\x18.hyapp.user.v1.AuthTokenR\x05token\x124\n" +
|
||
"\x06invite\x18\x06 \x01(\v2\x1c.hyapp.user.v1.InviteBindingR\x06invite\"\xac\x02\n" +
|
||
"\x14BindPushTokenRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1b\n" +
|
||
"\tdevice_id\x18\x03 \x01(\tR\bdeviceId\x12\x1d\n" +
|
||
"\n" +
|
||
"push_token\x18\x04 \x01(\tR\tpushToken\x12\x1a\n" +
|
||
"\bprovider\x18\x05 \x01(\tR\bprovider\x12\x1a\n" +
|
||
"\bplatform\x18\x06 \x01(\tR\bplatform\x12\x1f\n" +
|
||
"\vapp_version\x18\a \x01(\tR\n" +
|
||
"appVersion\x12\x1a\n" +
|
||
"\blanguage\x18\b \x01(\tR\blanguage\x12\x1a\n" +
|
||
"\btimezone\x18\t \x01(\tR\btimezone\"Q\n" +
|
||
"\x15BindPushTokenResponse\x12\x14\n" +
|
||
"\x05bound\x18\x01 \x01(\bR\x05bound\x12\"\n" +
|
||
"\rupdated_at_ms\x18\x02 \x01(\x03R\vupdatedAtMs\"\x9d\x01\n" +
|
||
"\x16DeletePushTokenRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1b\n" +
|
||
"\tdevice_id\x18\x03 \x01(\tR\bdeviceId\x12\x1d\n" +
|
||
"\n" +
|
||
"push_token\x18\x04 \x01(\tR\tpushToken\"W\n" +
|
||
"\x17DeletePushTokenResponse\x12\x18\n" +
|
||
"\adeleted\x18\x01 \x01(\bR\adeleted\x12\"\n" +
|
||
"\rupdated_at_ms\x18\x02 \x01(\x03R\vupdatedAtMs\"\xbe\x03\n" +
|
||
"\aCountry\x12\x1d\n" +
|
||
"\n" +
|
||
"country_id\x18\x01 \x01(\x03R\tcountryId\x12!\n" +
|
||
"\fcountry_name\x18\x02 \x01(\tR\vcountryName\x12!\n" +
|
||
"\fcountry_code\x18\x03 \x01(\tR\vcountryCode\x120\n" +
|
||
"\x14country_display_name\x18\x04 \x01(\tR\x12countryDisplayName\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\x06 \x01(\x05R\tsortOrder\x12\"\n" +
|
||
"\rcreated_at_ms\x18\a \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\b \x01(\x03R\vupdatedAtMs\x12\x1d\n" +
|
||
"\n" +
|
||
"iso_alpha3\x18\t \x01(\tR\tisoAlpha3\x12\x1f\n" +
|
||
"\viso_numeric\x18\n" +
|
||
" \x01(\tR\n" +
|
||
"isoNumeric\x12,\n" +
|
||
"\x12phone_country_code\x18\v \x01(\tR\x10phoneCountryCode\x12\x18\n" +
|
||
"\aenabled\x18\f \x01(\bR\aenabled\x12\x12\n" +
|
||
"\x04flag\x18\r \x01(\tR\x04flag\x12\x19\n" +
|
||
"\bapp_code\x18\x0e \x01(\tR\aappCode\"\x92\x02\n" +
|
||
"\x06Region\x12\x1b\n" +
|
||
"\tregion_id\x18\x01 \x01(\x03R\bregionId\x12\x1f\n" +
|
||
"\vregion_code\x18\x02 \x01(\tR\n" +
|
||
"regionCode\x12\x12\n" +
|
||
"\x04name\x18\x03 \x01(\tR\x04name\x12\x16\n" +
|
||
"\x06status\x18\x04 \x01(\tR\x06status\x12\x1c\n" +
|
||
"\tcountries\x18\x05 \x03(\tR\tcountries\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\x06 \x01(\x05R\tsortOrder\x12\"\n" +
|
||
"\rcreated_at_ms\x18\a \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\b \x01(\x03R\vupdatedAtMs\x12\x19\n" +
|
||
"\bapp_code\x18\t \x01(\tR\aappCode\"q\n" +
|
||
"\x14ListCountriesRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
|
||
"\aenabled\x18\x03 \x01(\bH\x00R\aenabled\x88\x01\x01B\n" +
|
||
"\n" +
|
||
"\b_enabled\"M\n" +
|
||
"\x15ListCountriesResponse\x124\n" +
|
||
"\tcountries\x18\x01 \x03(\v2\x16.hyapp.user.v1.CountryR\tcountries\"\x85\x03\n" +
|
||
"\x14UpdateCountryRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1d\n" +
|
||
"\n" +
|
||
"country_id\x18\x02 \x01(\x03R\tcountryId\x12!\n" +
|
||
"\fcountry_name\x18\x03 \x01(\tR\vcountryName\x120\n" +
|
||
"\x14country_display_name\x18\x04 \x01(\tR\x12countryDisplayName\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\x05 \x01(\x05R\tsortOrder\x12(\n" +
|
||
"\x10operator_user_id\x18\x06 \x01(\x03R\x0eoperatorUserId\x12\x1d\n" +
|
||
"\n" +
|
||
"iso_alpha3\x18\a \x01(\tR\tisoAlpha3\x12\x1f\n" +
|
||
"\viso_numeric\x18\b \x01(\tR\n" +
|
||
"isoNumeric\x12,\n" +
|
||
"\x12phone_country_code\x18\t \x01(\tR\x10phoneCountryCode\x12\x12\n" +
|
||
"\x04flag\x18\n" +
|
||
" \x01(\tR\x04flag\"C\n" +
|
||
"\x0fCountryResponse\x120\n" +
|
||
"\acountry\x18\x01 \x01(\v2\x16.hyapp.user.v1.CountryR\acountry\"R\n" +
|
||
" ListRegistrationCountriesRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\"Y\n" +
|
||
"!ListRegistrationCountriesResponse\x124\n" +
|
||
"\tcountries\x18\x01 \x03(\v2\x16.hyapp.user.v1.CountryR\tcountries\"z\n" +
|
||
"\x17LoginRiskBlockedCountry\x12!\n" +
|
||
"\fcountry_code\x18\x01 \x01(\tR\vcountryCode\x12\x18\n" +
|
||
"\akeyword\x18\x02 \x01(\tR\akeyword\x12\"\n" +
|
||
"\rupdated_at_ms\x18\x03 \x01(\x03R\vupdatedAtMs\"V\n" +
|
||
"$ListLoginRiskBlockedCountriesRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\"\x91\x01\n" +
|
||
"%ListLoginRiskBlockedCountriesResponse\x12D\n" +
|
||
"\tcountries\x18\x01 \x03(\v2&.hyapp.user.v1.LoginRiskBlockedCountryR\tcountries\x12\"\n" +
|
||
"\rupdated_at_ms\x18\x02 \x01(\x03R\vupdatedAtMs\"\\\n" +
|
||
"\x12ListRegionsRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x16\n" +
|
||
"\x06status\x18\x02 \x01(\tR\x06status\"F\n" +
|
||
"\x13ListRegionsResponse\x12/\n" +
|
||
"\aregions\x18\x01 \x03(\v2\x15.hyapp.user.v1.RegionR\aregions\"_\n" +
|
||
"\x10GetRegionRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1b\n" +
|
||
"\tregion_id\x18\x02 \x01(\x03R\bregionId\"\xe0\x01\n" +
|
||
"\x13UpdateRegionRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1b\n" +
|
||
"\tregion_id\x18\x02 \x01(\x03R\bregionId\x12\x1f\n" +
|
||
"\vregion_code\x18\x03 \x01(\tR\n" +
|
||
"regionCode\x12\x12\n" +
|
||
"\x04name\x18\x04 \x01(\tR\x04name\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\x05 \x01(\x05R\tsortOrder\x12(\n" +
|
||
"\x10operator_user_id\x18\x06 \x01(\x03R\x0eoperatorUserId\"\xb4\x01\n" +
|
||
"\x1dReplaceRegionCountriesRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x1b\n" +
|
||
"\tregion_id\x18\x02 \x01(\x03R\bregionId\x12\x1c\n" +
|
||
"\tcountries\x18\x03 \x03(\tR\tcountries\x12(\n" +
|
||
"\x10operator_user_id\x18\x04 \x01(\x03R\x0eoperatorUserId\"?\n" +
|
||
"\x0eRegionResponse\x12-\n" +
|
||
"\x06region\x18\x01 \x01(\v2\x15.hyapp.user.v1.RegionR\x06region\"\xab\x02\n" +
|
||
"\fUserIdentity\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12&\n" +
|
||
"\x0fdisplay_user_id\x18\x02 \x01(\tR\rdisplayUserId\x12\x16\n" +
|
||
"\x06status\x18\x03 \x01(\tR\x06status\x125\n" +
|
||
"\x17default_display_user_id\x18\x04 \x01(\tR\x14defaultDisplayUserId\x12/\n" +
|
||
"\x14display_user_id_kind\x18\x05 \x01(\tR\x11displayUserIdKind\x12?\n" +
|
||
"\x1ddisplay_user_id_expires_at_ms\x18\x06 \x01(\x03R\x18displayUserIdExpiresAtMs\x12\x19\n" +
|
||
"\bapp_code\x18\a \x01(\tR\aappCode\"a\n" +
|
||
"\x16GetUserIdentityRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\"R\n" +
|
||
"\x17GetUserIdentityResponse\x127\n" +
|
||
"\bidentity\x18\x01 \x01(\v2\x1b.hyapp.user.v1.UserIdentityR\bidentity\"u\n" +
|
||
"\x1bResolveDisplayUserIDRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12&\n" +
|
||
"\x0fdisplay_user_id\x18\x02 \x01(\tR\rdisplayUserId\"W\n" +
|
||
"\x1cResolveDisplayUserIDResponse\x127\n" +
|
||
"\bidentity\x18\x01 \x01(\v2\x1b.hyapp.user.v1.UserIdentityR\bidentity\"\xd6\x01\n" +
|
||
"\x1aChangeDisplayUserIDRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12-\n" +
|
||
"\x13new_display_user_id\x18\x03 \x01(\tR\x10newDisplayUserId\x12\x16\n" +
|
||
"\x06reason\x18\x04 \x01(\tR\x06reason\x12(\n" +
|
||
"\x10operator_user_id\x18\x05 \x01(\x03R\x0eoperatorUserId\"V\n" +
|
||
"\x1bChangeDisplayUserIDResponse\x127\n" +
|
||
"\bidentity\x18\x01 \x01(\v2\x1b.hyapp.user.v1.UserIdentityR\bidentity\"\xf9\x01\n" +
|
||
"\x1fApplyPrettyDisplayUserIDRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x123\n" +
|
||
"\x16pretty_display_user_id\x18\x03 \x01(\tR\x13prettyDisplayUserId\x12*\n" +
|
||
"\x11lease_duration_ms\x18\x04 \x01(\x03R\x0fleaseDurationMs\x12,\n" +
|
||
"\x12payment_receipt_id\x18\x05 \x01(\tR\x10paymentReceiptId\"v\n" +
|
||
" ApplyPrettyDisplayUserIDResponse\x127\n" +
|
||
"\bidentity\x18\x01 \x01(\v2\x1b.hyapp.user.v1.UserIdentityR\bidentity\x12\x19\n" +
|
||
"\blease_id\x18\x02 \x01(\tR\aleaseId\"\x86\x01\n" +
|
||
" ExpirePrettyDisplayUserIDRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.user.v1.RequestMetaR\x04meta\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x19\n" +
|
||
"\blease_id\x18\x03 \x01(\tR\aleaseId\"\\\n" +
|
||
"!ExpirePrettyDisplayUserIDResponse\x127\n" +
|
||
"\bidentity\x18\x01 \x01(\v2\x1b.hyapp.user.v1.UserIdentityR\bidentity*s\n" +
|
||
"\n" +
|
||
"UserStatus\x12\x1b\n" +
|
||
"\x17USER_STATUS_UNSPECIFIED\x10\x00\x12\x16\n" +
|
||
"\x12USER_STATUS_ACTIVE\x10\x01\x12\x18\n" +
|
||
"\x14USER_STATUS_DISABLED\x10\x02\x12\x16\n" +
|
||
"\x12USER_STATUS_BANNED\x10\x032\xed\a\n" +
|
||
"\vUserService\x12H\n" +
|
||
"\aGetUser\x12\x1d.hyapp.user.v1.GetUserRequest\x1a\x1e.hyapp.user.v1.GetUserResponse\x12i\n" +
|
||
"\x12BusinessUserLookup\x12(.hyapp.user.v1.BusinessUserLookupRequest\x1a).hyapp.user.v1.BusinessUserLookupResponse\x12f\n" +
|
||
"\x11GetMyProfileStats\x12'.hyapp.user.v1.GetMyProfileStatsRequest\x1a(.hyapp.user.v1.GetMyProfileStatsResponse\x12Z\n" +
|
||
"\rBatchGetUsers\x12#.hyapp.user.v1.BatchGetUsersRequest\x1a$.hyapp.user.v1.BatchGetUsersResponse\x12T\n" +
|
||
"\vListUserIDs\x12!.hyapp.user.v1.ListUserIDsRequest\x1a\".hyapp.user.v1.ListUserIDsResponse\x12x\n" +
|
||
"\x17GetUserMicLifetimeStats\x12-.hyapp.user.v1.GetUserMicLifetimeStatsRequest\x1a..hyapp.user.v1.GetUserMicLifetimeStatsResponse\x12f\n" +
|
||
"\x11UpdateUserProfile\x12'.hyapp.user.v1.UpdateUserProfileRequest\x1a(.hyapp.user.v1.UpdateUserProfileResponse\x12f\n" +
|
||
"\x11ChangeUserCountry\x12'.hyapp.user.v1.ChangeUserCountryRequest\x1a(.hyapp.user.v1.ChangeUserCountryResponse\x12Z\n" +
|
||
"\rSetUserStatus\x12#.hyapp.user.v1.SetUserStatusRequest\x1a$.hyapp.user.v1.SetUserStatusResponse\x12i\n" +
|
||
"\x12CompleteOnboarding\x12(.hyapp.user.v1.CompleteOnboardingRequest\x1a).hyapp.user.v1.CompleteOnboardingResponse2\xc3\b\n" +
|
||
"\x11UserSocialService\x12i\n" +
|
||
"\x12RecordProfileVisit\x12(.hyapp.user.v1.RecordProfileVisitRequest\x1a).hyapp.user.v1.RecordProfileVisitResponse\x12l\n" +
|
||
"\x13ListProfileVisitors\x12).hyapp.user.v1.ListProfileVisitorsRequest\x1a*.hyapp.user.v1.ListProfileVisitorsResponse\x12Q\n" +
|
||
"\n" +
|
||
"FollowUser\x12 .hyapp.user.v1.FollowUserRequest\x1a!.hyapp.user.v1.FollowUserResponse\x12W\n" +
|
||
"\fUnfollowUser\x12\".hyapp.user.v1.UnfollowUserRequest\x1a#.hyapp.user.v1.UnfollowUserResponse\x12Z\n" +
|
||
"\rListFollowing\x12#.hyapp.user.v1.ListFollowingRequest\x1a$.hyapp.user.v1.ListFollowingResponse\x12T\n" +
|
||
"\vApplyFriend\x12!.hyapp.user.v1.ApplyFriendRequest\x1a\".hyapp.user.v1.ApplyFriendResponse\x12x\n" +
|
||
"\x17AcceptFriendApplication\x12-.hyapp.user.v1.AcceptFriendApplicationRequest\x1a..hyapp.user.v1.AcceptFriendApplicationResponse\x12W\n" +
|
||
"\fDeleteFriend\x12\".hyapp.user.v1.DeleteFriendRequest\x1a#.hyapp.user.v1.DeleteFriendResponse\x12T\n" +
|
||
"\vListFriends\x12!.hyapp.user.v1.ListFriendsRequest\x1a\".hyapp.user.v1.ListFriendsResponse\x12u\n" +
|
||
"\x16ListFriendApplications\x12,.hyapp.user.v1.ListFriendApplicationsRequest\x1a-.hyapp.user.v1.ListFriendApplicationsResponse\x12W\n" +
|
||
"\fSubmitReport\x12\".hyapp.user.v1.SubmitReportRequest\x1a#.hyapp.user.v1.SubmitReportResponse2\xaf\x02\n" +
|
||
"\x0fUserCronService\x12\\\n" +
|
||
"\x17ProcessLoginIPRiskBatch\x12\x1f.hyapp.user.v1.CronBatchRequest\x1a .hyapp.user.v1.CronBatchResponse\x12^\n" +
|
||
"\x19ProcessRegionRebuildBatch\x12\x1f.hyapp.user.v1.CronBatchRequest\x1a .hyapp.user.v1.CronBatchResponse\x12^\n" +
|
||
"\x19CompensateMicOpenSessions\x12\x1f.hyapp.user.v1.CronBatchRequest\x1a .hyapp.user.v1.CronBatchResponse2\xd1\x01\n" +
|
||
"\x11UserDeviceService\x12Z\n" +
|
||
"\rBindPushToken\x12#.hyapp.user.v1.BindPushTokenRequest\x1a$.hyapp.user.v1.BindPushTokenResponse\x12`\n" +
|
||
"\x0fDeletePushToken\x12%.hyapp.user.v1.DeletePushTokenRequest\x1a&.hyapp.user.v1.DeletePushTokenResponse2g\n" +
|
||
"\x12AppRegistryService\x12Q\n" +
|
||
"\n" +
|
||
"ResolveApp\x12 .hyapp.user.v1.ResolveAppRequest\x1a!.hyapp.user.v1.ResolveAppResponse2\xc7\x01\n" +
|
||
"\x13CountryAdminService\x12Z\n" +
|
||
"\rListCountries\x12#.hyapp.user.v1.ListCountriesRequest\x1a$.hyapp.user.v1.ListCountriesResponse\x12T\n" +
|
||
"\rUpdateCountry\x12#.hyapp.user.v1.UpdateCountryRequest\x1a\x1e.hyapp.user.v1.CountryResponse2\xa2\x02\n" +
|
||
"\x13CountryQueryService\x12~\n" +
|
||
"\x19ListRegistrationCountries\x12/.hyapp.user.v1.ListRegistrationCountriesRequest\x1a0.hyapp.user.v1.ListRegistrationCountriesResponse\x12\x8a\x01\n" +
|
||
"\x1dListLoginRiskBlockedCountries\x123.hyapp.user.v1.ListLoginRiskBlockedCountriesRequest\x1a4.hyapp.user.v1.ListLoginRiskBlockedCountriesResponse2\xf1\x02\n" +
|
||
"\x12RegionAdminService\x12T\n" +
|
||
"\vListRegions\x12!.hyapp.user.v1.ListRegionsRequest\x1a\".hyapp.user.v1.ListRegionsResponse\x12K\n" +
|
||
"\tGetRegion\x12\x1f.hyapp.user.v1.GetRegionRequest\x1a\x1d.hyapp.user.v1.RegionResponse\x12Q\n" +
|
||
"\fUpdateRegion\x12\".hyapp.user.v1.UpdateRegionRequest\x1a\x1d.hyapp.user.v1.RegionResponse\x12e\n" +
|
||
"\x16ReplaceRegionCountries\x12,.hyapp.user.v1.ReplaceRegionCountriesRequest\x1a\x1d.hyapp.user.v1.RegionResponse2\xd3\x04\n" +
|
||
"\x13UserIdentityService\x12`\n" +
|
||
"\x0fGetUserIdentity\x12%.hyapp.user.v1.GetUserIdentityRequest\x1a&.hyapp.user.v1.GetUserIdentityResponse\x12o\n" +
|
||
"\x14ResolveDisplayUserID\x12*.hyapp.user.v1.ResolveDisplayUserIDRequest\x1a+.hyapp.user.v1.ResolveDisplayUserIDResponse\x12l\n" +
|
||
"\x13ChangeDisplayUserID\x12).hyapp.user.v1.ChangeDisplayUserIDRequest\x1a*.hyapp.user.v1.ChangeDisplayUserIDResponse\x12{\n" +
|
||
"\x18ApplyPrettyDisplayUserID\x12..hyapp.user.v1.ApplyPrettyDisplayUserIDRequest\x1a/.hyapp.user.v1.ApplyPrettyDisplayUserIDResponse\x12~\n" +
|
||
"\x19ExpirePrettyDisplayUserID\x12/.hyapp.user.v1.ExpirePrettyDisplayUserIDRequest\x1a0.hyapp.user.v1.ExpirePrettyDisplayUserIDResponseB&Z$hyapp.local/api/proto/user/v1;userv1b\x06proto3"
|
||
|
||
var (
|
||
file_proto_user_v1_user_proto_rawDescOnce sync.Once
|
||
file_proto_user_v1_user_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_proto_user_v1_user_proto_rawDescGZIP() []byte {
|
||
file_proto_user_v1_user_proto_rawDescOnce.Do(func() {
|
||
file_proto_user_v1_user_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_user_v1_user_proto_rawDesc), len(file_proto_user_v1_user_proto_rawDesc)))
|
||
})
|
||
return file_proto_user_v1_user_proto_rawDescData
|
||
}
|
||
|
||
var file_proto_user_v1_user_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
var file_proto_user_v1_user_proto_msgTypes = make([]protoimpl.MessageInfo, 93)
|
||
var file_proto_user_v1_user_proto_goTypes = []any{
|
||
(UserStatus)(0), // 0: hyapp.user.v1.UserStatus
|
||
(*RequestMeta)(nil), // 1: hyapp.user.v1.RequestMeta
|
||
(*App)(nil), // 2: hyapp.user.v1.App
|
||
(*ResolveAppRequest)(nil), // 3: hyapp.user.v1.ResolveAppRequest
|
||
(*ResolveAppResponse)(nil), // 4: hyapp.user.v1.ResolveAppResponse
|
||
(*User)(nil), // 5: hyapp.user.v1.User
|
||
(*InviteOverview)(nil), // 6: hyapp.user.v1.InviteOverview
|
||
(*InviteBinding)(nil), // 7: hyapp.user.v1.InviteBinding
|
||
(*UserMicLifetimeStats)(nil), // 8: hyapp.user.v1.UserMicLifetimeStats
|
||
(*GetUserMicLifetimeStatsRequest)(nil), // 9: hyapp.user.v1.GetUserMicLifetimeStatsRequest
|
||
(*GetUserMicLifetimeStatsResponse)(nil), // 10: hyapp.user.v1.GetUserMicLifetimeStatsResponse
|
||
(*CronBatchRequest)(nil), // 11: hyapp.user.v1.CronBatchRequest
|
||
(*CronBatchResponse)(nil), // 12: hyapp.user.v1.CronBatchResponse
|
||
(*AuthToken)(nil), // 13: hyapp.user.v1.AuthToken
|
||
(*GetUserRequest)(nil), // 14: hyapp.user.v1.GetUserRequest
|
||
(*GetUserResponse)(nil), // 15: hyapp.user.v1.GetUserResponse
|
||
(*BusinessUserLookupRequest)(nil), // 16: hyapp.user.v1.BusinessUserLookupRequest
|
||
(*BusinessUserLookupItem)(nil), // 17: hyapp.user.v1.BusinessUserLookupItem
|
||
(*BusinessUserLookupResponse)(nil), // 18: hyapp.user.v1.BusinessUserLookupResponse
|
||
(*UserProfileStats)(nil), // 19: hyapp.user.v1.UserProfileStats
|
||
(*GetMyProfileStatsRequest)(nil), // 20: hyapp.user.v1.GetMyProfileStatsRequest
|
||
(*GetMyProfileStatsResponse)(nil), // 21: hyapp.user.v1.GetMyProfileStatsResponse
|
||
(*RecordProfileVisitRequest)(nil), // 22: hyapp.user.v1.RecordProfileVisitRequest
|
||
(*RecordProfileVisitResponse)(nil), // 23: hyapp.user.v1.RecordProfileVisitResponse
|
||
(*ProfileVisitRecord)(nil), // 24: hyapp.user.v1.ProfileVisitRecord
|
||
(*ListProfileVisitorsRequest)(nil), // 25: hyapp.user.v1.ListProfileVisitorsRequest
|
||
(*ListProfileVisitorsResponse)(nil), // 26: hyapp.user.v1.ListProfileVisitorsResponse
|
||
(*FollowUserRequest)(nil), // 27: hyapp.user.v1.FollowUserRequest
|
||
(*FollowUserResponse)(nil), // 28: hyapp.user.v1.FollowUserResponse
|
||
(*UnfollowUserRequest)(nil), // 29: hyapp.user.v1.UnfollowUserRequest
|
||
(*UnfollowUserResponse)(nil), // 30: hyapp.user.v1.UnfollowUserResponse
|
||
(*FollowRecord)(nil), // 31: hyapp.user.v1.FollowRecord
|
||
(*ListFollowingRequest)(nil), // 32: hyapp.user.v1.ListFollowingRequest
|
||
(*ListFollowingResponse)(nil), // 33: hyapp.user.v1.ListFollowingResponse
|
||
(*ApplyFriendRequest)(nil), // 34: hyapp.user.v1.ApplyFriendRequest
|
||
(*ApplyFriendResponse)(nil), // 35: hyapp.user.v1.ApplyFriendResponse
|
||
(*AcceptFriendApplicationRequest)(nil), // 36: hyapp.user.v1.AcceptFriendApplicationRequest
|
||
(*AcceptFriendApplicationResponse)(nil), // 37: hyapp.user.v1.AcceptFriendApplicationResponse
|
||
(*DeleteFriendRequest)(nil), // 38: hyapp.user.v1.DeleteFriendRequest
|
||
(*DeleteFriendResponse)(nil), // 39: hyapp.user.v1.DeleteFriendResponse
|
||
(*FriendRecord)(nil), // 40: hyapp.user.v1.FriendRecord
|
||
(*ListFriendsRequest)(nil), // 41: hyapp.user.v1.ListFriendsRequest
|
||
(*ListFriendsResponse)(nil), // 42: hyapp.user.v1.ListFriendsResponse
|
||
(*FriendApplication)(nil), // 43: hyapp.user.v1.FriendApplication
|
||
(*ListFriendApplicationsRequest)(nil), // 44: hyapp.user.v1.ListFriendApplicationsRequest
|
||
(*ListFriendApplicationsResponse)(nil), // 45: hyapp.user.v1.ListFriendApplicationsResponse
|
||
(*UserReport)(nil), // 46: hyapp.user.v1.UserReport
|
||
(*SubmitReportRequest)(nil), // 47: hyapp.user.v1.SubmitReportRequest
|
||
(*SubmitReportResponse)(nil), // 48: hyapp.user.v1.SubmitReportResponse
|
||
(*BatchGetUsersRequest)(nil), // 49: hyapp.user.v1.BatchGetUsersRequest
|
||
(*BatchGetUsersResponse)(nil), // 50: hyapp.user.v1.BatchGetUsersResponse
|
||
(*ListUserIDsRequest)(nil), // 51: hyapp.user.v1.ListUserIDsRequest
|
||
(*ListUserIDsResponse)(nil), // 52: hyapp.user.v1.ListUserIDsResponse
|
||
(*UpdateUserProfileRequest)(nil), // 53: hyapp.user.v1.UpdateUserProfileRequest
|
||
(*UpdateUserProfileResponse)(nil), // 54: hyapp.user.v1.UpdateUserProfileResponse
|
||
(*ChangeUserCountryRequest)(nil), // 55: hyapp.user.v1.ChangeUserCountryRequest
|
||
(*ChangeUserCountryResponse)(nil), // 56: hyapp.user.v1.ChangeUserCountryResponse
|
||
(*SetUserStatusRequest)(nil), // 57: hyapp.user.v1.SetUserStatusRequest
|
||
(*SetUserStatusResponse)(nil), // 58: hyapp.user.v1.SetUserStatusResponse
|
||
(*CompleteOnboardingRequest)(nil), // 59: hyapp.user.v1.CompleteOnboardingRequest
|
||
(*CompleteOnboardingResponse)(nil), // 60: hyapp.user.v1.CompleteOnboardingResponse
|
||
(*BindPushTokenRequest)(nil), // 61: hyapp.user.v1.BindPushTokenRequest
|
||
(*BindPushTokenResponse)(nil), // 62: hyapp.user.v1.BindPushTokenResponse
|
||
(*DeletePushTokenRequest)(nil), // 63: hyapp.user.v1.DeletePushTokenRequest
|
||
(*DeletePushTokenResponse)(nil), // 64: hyapp.user.v1.DeletePushTokenResponse
|
||
(*Country)(nil), // 65: hyapp.user.v1.Country
|
||
(*Region)(nil), // 66: hyapp.user.v1.Region
|
||
(*ListCountriesRequest)(nil), // 67: hyapp.user.v1.ListCountriesRequest
|
||
(*ListCountriesResponse)(nil), // 68: hyapp.user.v1.ListCountriesResponse
|
||
(*UpdateCountryRequest)(nil), // 69: hyapp.user.v1.UpdateCountryRequest
|
||
(*CountryResponse)(nil), // 70: hyapp.user.v1.CountryResponse
|
||
(*ListRegistrationCountriesRequest)(nil), // 71: hyapp.user.v1.ListRegistrationCountriesRequest
|
||
(*ListRegistrationCountriesResponse)(nil), // 72: hyapp.user.v1.ListRegistrationCountriesResponse
|
||
(*LoginRiskBlockedCountry)(nil), // 73: hyapp.user.v1.LoginRiskBlockedCountry
|
||
(*ListLoginRiskBlockedCountriesRequest)(nil), // 74: hyapp.user.v1.ListLoginRiskBlockedCountriesRequest
|
||
(*ListLoginRiskBlockedCountriesResponse)(nil), // 75: hyapp.user.v1.ListLoginRiskBlockedCountriesResponse
|
||
(*ListRegionsRequest)(nil), // 76: hyapp.user.v1.ListRegionsRequest
|
||
(*ListRegionsResponse)(nil), // 77: hyapp.user.v1.ListRegionsResponse
|
||
(*GetRegionRequest)(nil), // 78: hyapp.user.v1.GetRegionRequest
|
||
(*UpdateRegionRequest)(nil), // 79: hyapp.user.v1.UpdateRegionRequest
|
||
(*ReplaceRegionCountriesRequest)(nil), // 80: hyapp.user.v1.ReplaceRegionCountriesRequest
|
||
(*RegionResponse)(nil), // 81: hyapp.user.v1.RegionResponse
|
||
(*UserIdentity)(nil), // 82: hyapp.user.v1.UserIdentity
|
||
(*GetUserIdentityRequest)(nil), // 83: hyapp.user.v1.GetUserIdentityRequest
|
||
(*GetUserIdentityResponse)(nil), // 84: hyapp.user.v1.GetUserIdentityResponse
|
||
(*ResolveDisplayUserIDRequest)(nil), // 85: hyapp.user.v1.ResolveDisplayUserIDRequest
|
||
(*ResolveDisplayUserIDResponse)(nil), // 86: hyapp.user.v1.ResolveDisplayUserIDResponse
|
||
(*ChangeDisplayUserIDRequest)(nil), // 87: hyapp.user.v1.ChangeDisplayUserIDRequest
|
||
(*ChangeDisplayUserIDResponse)(nil), // 88: hyapp.user.v1.ChangeDisplayUserIDResponse
|
||
(*ApplyPrettyDisplayUserIDRequest)(nil), // 89: hyapp.user.v1.ApplyPrettyDisplayUserIDRequest
|
||
(*ApplyPrettyDisplayUserIDResponse)(nil), // 90: hyapp.user.v1.ApplyPrettyDisplayUserIDResponse
|
||
(*ExpirePrettyDisplayUserIDRequest)(nil), // 91: hyapp.user.v1.ExpirePrettyDisplayUserIDRequest
|
||
(*ExpirePrettyDisplayUserIDResponse)(nil), // 92: hyapp.user.v1.ExpirePrettyDisplayUserIDResponse
|
||
nil, // 93: hyapp.user.v1.BatchGetUsersResponse.UsersEntry
|
||
}
|
||
var file_proto_user_v1_user_proto_depIdxs = []int32{
|
||
1, // 0: hyapp.user.v1.ResolveAppRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
2, // 1: hyapp.user.v1.ResolveAppResponse.app:type_name -> hyapp.user.v1.App
|
||
0, // 2: hyapp.user.v1.User.status:type_name -> hyapp.user.v1.UserStatus
|
||
6, // 3: hyapp.user.v1.User.invite:type_name -> hyapp.user.v1.InviteOverview
|
||
1, // 4: hyapp.user.v1.GetUserMicLifetimeStatsRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
8, // 5: hyapp.user.v1.GetUserMicLifetimeStatsResponse.stats:type_name -> hyapp.user.v1.UserMicLifetimeStats
|
||
1, // 6: hyapp.user.v1.CronBatchRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
1, // 7: hyapp.user.v1.GetUserRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
5, // 8: hyapp.user.v1.GetUserResponse.user:type_name -> hyapp.user.v1.User
|
||
1, // 9: hyapp.user.v1.BusinessUserLookupRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
0, // 10: hyapp.user.v1.BusinessUserLookupItem.status:type_name -> hyapp.user.v1.UserStatus
|
||
17, // 11: hyapp.user.v1.BusinessUserLookupResponse.users:type_name -> hyapp.user.v1.BusinessUserLookupItem
|
||
1, // 12: hyapp.user.v1.GetMyProfileStatsRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
19, // 13: hyapp.user.v1.GetMyProfileStatsResponse.stats:type_name -> hyapp.user.v1.UserProfileStats
|
||
1, // 14: hyapp.user.v1.RecordProfileVisitRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
19, // 15: hyapp.user.v1.RecordProfileVisitResponse.target_stats:type_name -> hyapp.user.v1.UserProfileStats
|
||
1, // 16: hyapp.user.v1.ListProfileVisitorsRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
24, // 17: hyapp.user.v1.ListProfileVisitorsResponse.records:type_name -> hyapp.user.v1.ProfileVisitRecord
|
||
1, // 18: hyapp.user.v1.FollowUserRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
19, // 19: hyapp.user.v1.FollowUserResponse.follower_stats:type_name -> hyapp.user.v1.UserProfileStats
|
||
1, // 20: hyapp.user.v1.UnfollowUserRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
19, // 21: hyapp.user.v1.UnfollowUserResponse.follower_stats:type_name -> hyapp.user.v1.UserProfileStats
|
||
1, // 22: hyapp.user.v1.ListFollowingRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
31, // 23: hyapp.user.v1.ListFollowingResponse.records:type_name -> hyapp.user.v1.FollowRecord
|
||
1, // 24: hyapp.user.v1.ApplyFriendRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
43, // 25: hyapp.user.v1.ApplyFriendResponse.application:type_name -> hyapp.user.v1.FriendApplication
|
||
1, // 26: hyapp.user.v1.AcceptFriendApplicationRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
40, // 27: hyapp.user.v1.AcceptFriendApplicationResponse.friend:type_name -> hyapp.user.v1.FriendRecord
|
||
1, // 28: hyapp.user.v1.DeleteFriendRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
1, // 29: hyapp.user.v1.ListFriendsRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
40, // 30: hyapp.user.v1.ListFriendsResponse.records:type_name -> hyapp.user.v1.FriendRecord
|
||
1, // 31: hyapp.user.v1.ListFriendApplicationsRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
43, // 32: hyapp.user.v1.ListFriendApplicationsResponse.applications:type_name -> hyapp.user.v1.FriendApplication
|
||
1, // 33: hyapp.user.v1.SubmitReportRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
46, // 34: hyapp.user.v1.SubmitReportResponse.report:type_name -> hyapp.user.v1.UserReport
|
||
1, // 35: hyapp.user.v1.BatchGetUsersRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
93, // 36: hyapp.user.v1.BatchGetUsersResponse.users:type_name -> hyapp.user.v1.BatchGetUsersResponse.UsersEntry
|
||
1, // 37: hyapp.user.v1.ListUserIDsRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
1, // 38: hyapp.user.v1.UpdateUserProfileRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
5, // 39: hyapp.user.v1.UpdateUserProfileResponse.user:type_name -> hyapp.user.v1.User
|
||
1, // 40: hyapp.user.v1.ChangeUserCountryRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
5, // 41: hyapp.user.v1.ChangeUserCountryResponse.user:type_name -> hyapp.user.v1.User
|
||
1, // 42: hyapp.user.v1.SetUserStatusRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
0, // 43: hyapp.user.v1.SetUserStatusRequest.status:type_name -> hyapp.user.v1.UserStatus
|
||
5, // 44: hyapp.user.v1.SetUserStatusResponse.user:type_name -> hyapp.user.v1.User
|
||
1, // 45: hyapp.user.v1.CompleteOnboardingRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
5, // 46: hyapp.user.v1.CompleteOnboardingResponse.user:type_name -> hyapp.user.v1.User
|
||
13, // 47: hyapp.user.v1.CompleteOnboardingResponse.token:type_name -> hyapp.user.v1.AuthToken
|
||
7, // 48: hyapp.user.v1.CompleteOnboardingResponse.invite:type_name -> hyapp.user.v1.InviteBinding
|
||
1, // 49: hyapp.user.v1.BindPushTokenRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
1, // 50: hyapp.user.v1.DeletePushTokenRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
1, // 51: hyapp.user.v1.ListCountriesRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
65, // 52: hyapp.user.v1.ListCountriesResponse.countries:type_name -> hyapp.user.v1.Country
|
||
1, // 53: hyapp.user.v1.UpdateCountryRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
65, // 54: hyapp.user.v1.CountryResponse.country:type_name -> hyapp.user.v1.Country
|
||
1, // 55: hyapp.user.v1.ListRegistrationCountriesRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
65, // 56: hyapp.user.v1.ListRegistrationCountriesResponse.countries:type_name -> hyapp.user.v1.Country
|
||
1, // 57: hyapp.user.v1.ListLoginRiskBlockedCountriesRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
73, // 58: hyapp.user.v1.ListLoginRiskBlockedCountriesResponse.countries:type_name -> hyapp.user.v1.LoginRiskBlockedCountry
|
||
1, // 59: hyapp.user.v1.ListRegionsRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
66, // 60: hyapp.user.v1.ListRegionsResponse.regions:type_name -> hyapp.user.v1.Region
|
||
1, // 61: hyapp.user.v1.GetRegionRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
1, // 62: hyapp.user.v1.UpdateRegionRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
1, // 63: hyapp.user.v1.ReplaceRegionCountriesRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
66, // 64: hyapp.user.v1.RegionResponse.region:type_name -> hyapp.user.v1.Region
|
||
1, // 65: hyapp.user.v1.GetUserIdentityRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
82, // 66: hyapp.user.v1.GetUserIdentityResponse.identity:type_name -> hyapp.user.v1.UserIdentity
|
||
1, // 67: hyapp.user.v1.ResolveDisplayUserIDRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
82, // 68: hyapp.user.v1.ResolveDisplayUserIDResponse.identity:type_name -> hyapp.user.v1.UserIdentity
|
||
1, // 69: hyapp.user.v1.ChangeDisplayUserIDRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
82, // 70: hyapp.user.v1.ChangeDisplayUserIDResponse.identity:type_name -> hyapp.user.v1.UserIdentity
|
||
1, // 71: hyapp.user.v1.ApplyPrettyDisplayUserIDRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
82, // 72: hyapp.user.v1.ApplyPrettyDisplayUserIDResponse.identity:type_name -> hyapp.user.v1.UserIdentity
|
||
1, // 73: hyapp.user.v1.ExpirePrettyDisplayUserIDRequest.meta:type_name -> hyapp.user.v1.RequestMeta
|
||
82, // 74: hyapp.user.v1.ExpirePrettyDisplayUserIDResponse.identity:type_name -> hyapp.user.v1.UserIdentity
|
||
5, // 75: hyapp.user.v1.BatchGetUsersResponse.UsersEntry.value:type_name -> hyapp.user.v1.User
|
||
14, // 76: hyapp.user.v1.UserService.GetUser:input_type -> hyapp.user.v1.GetUserRequest
|
||
16, // 77: hyapp.user.v1.UserService.BusinessUserLookup:input_type -> hyapp.user.v1.BusinessUserLookupRequest
|
||
20, // 78: hyapp.user.v1.UserService.GetMyProfileStats:input_type -> hyapp.user.v1.GetMyProfileStatsRequest
|
||
49, // 79: hyapp.user.v1.UserService.BatchGetUsers:input_type -> hyapp.user.v1.BatchGetUsersRequest
|
||
51, // 80: hyapp.user.v1.UserService.ListUserIDs:input_type -> hyapp.user.v1.ListUserIDsRequest
|
||
9, // 81: hyapp.user.v1.UserService.GetUserMicLifetimeStats:input_type -> hyapp.user.v1.GetUserMicLifetimeStatsRequest
|
||
53, // 82: hyapp.user.v1.UserService.UpdateUserProfile:input_type -> hyapp.user.v1.UpdateUserProfileRequest
|
||
55, // 83: hyapp.user.v1.UserService.ChangeUserCountry:input_type -> hyapp.user.v1.ChangeUserCountryRequest
|
||
57, // 84: hyapp.user.v1.UserService.SetUserStatus:input_type -> hyapp.user.v1.SetUserStatusRequest
|
||
59, // 85: hyapp.user.v1.UserService.CompleteOnboarding:input_type -> hyapp.user.v1.CompleteOnboardingRequest
|
||
22, // 86: hyapp.user.v1.UserSocialService.RecordProfileVisit:input_type -> hyapp.user.v1.RecordProfileVisitRequest
|
||
25, // 87: hyapp.user.v1.UserSocialService.ListProfileVisitors:input_type -> hyapp.user.v1.ListProfileVisitorsRequest
|
||
27, // 88: hyapp.user.v1.UserSocialService.FollowUser:input_type -> hyapp.user.v1.FollowUserRequest
|
||
29, // 89: hyapp.user.v1.UserSocialService.UnfollowUser:input_type -> hyapp.user.v1.UnfollowUserRequest
|
||
32, // 90: hyapp.user.v1.UserSocialService.ListFollowing:input_type -> hyapp.user.v1.ListFollowingRequest
|
||
34, // 91: hyapp.user.v1.UserSocialService.ApplyFriend:input_type -> hyapp.user.v1.ApplyFriendRequest
|
||
36, // 92: hyapp.user.v1.UserSocialService.AcceptFriendApplication:input_type -> hyapp.user.v1.AcceptFriendApplicationRequest
|
||
38, // 93: hyapp.user.v1.UserSocialService.DeleteFriend:input_type -> hyapp.user.v1.DeleteFriendRequest
|
||
41, // 94: hyapp.user.v1.UserSocialService.ListFriends:input_type -> hyapp.user.v1.ListFriendsRequest
|
||
44, // 95: hyapp.user.v1.UserSocialService.ListFriendApplications:input_type -> hyapp.user.v1.ListFriendApplicationsRequest
|
||
47, // 96: hyapp.user.v1.UserSocialService.SubmitReport:input_type -> hyapp.user.v1.SubmitReportRequest
|
||
11, // 97: hyapp.user.v1.UserCronService.ProcessLoginIPRiskBatch:input_type -> hyapp.user.v1.CronBatchRequest
|
||
11, // 98: hyapp.user.v1.UserCronService.ProcessRegionRebuildBatch:input_type -> hyapp.user.v1.CronBatchRequest
|
||
11, // 99: hyapp.user.v1.UserCronService.CompensateMicOpenSessions:input_type -> hyapp.user.v1.CronBatchRequest
|
||
61, // 100: hyapp.user.v1.UserDeviceService.BindPushToken:input_type -> hyapp.user.v1.BindPushTokenRequest
|
||
63, // 101: hyapp.user.v1.UserDeviceService.DeletePushToken:input_type -> hyapp.user.v1.DeletePushTokenRequest
|
||
3, // 102: hyapp.user.v1.AppRegistryService.ResolveApp:input_type -> hyapp.user.v1.ResolveAppRequest
|
||
67, // 103: hyapp.user.v1.CountryAdminService.ListCountries:input_type -> hyapp.user.v1.ListCountriesRequest
|
||
69, // 104: hyapp.user.v1.CountryAdminService.UpdateCountry:input_type -> hyapp.user.v1.UpdateCountryRequest
|
||
71, // 105: hyapp.user.v1.CountryQueryService.ListRegistrationCountries:input_type -> hyapp.user.v1.ListRegistrationCountriesRequest
|
||
74, // 106: hyapp.user.v1.CountryQueryService.ListLoginRiskBlockedCountries:input_type -> hyapp.user.v1.ListLoginRiskBlockedCountriesRequest
|
||
76, // 107: hyapp.user.v1.RegionAdminService.ListRegions:input_type -> hyapp.user.v1.ListRegionsRequest
|
||
78, // 108: hyapp.user.v1.RegionAdminService.GetRegion:input_type -> hyapp.user.v1.GetRegionRequest
|
||
79, // 109: hyapp.user.v1.RegionAdminService.UpdateRegion:input_type -> hyapp.user.v1.UpdateRegionRequest
|
||
80, // 110: hyapp.user.v1.RegionAdminService.ReplaceRegionCountries:input_type -> hyapp.user.v1.ReplaceRegionCountriesRequest
|
||
83, // 111: hyapp.user.v1.UserIdentityService.GetUserIdentity:input_type -> hyapp.user.v1.GetUserIdentityRequest
|
||
85, // 112: hyapp.user.v1.UserIdentityService.ResolveDisplayUserID:input_type -> hyapp.user.v1.ResolveDisplayUserIDRequest
|
||
87, // 113: hyapp.user.v1.UserIdentityService.ChangeDisplayUserID:input_type -> hyapp.user.v1.ChangeDisplayUserIDRequest
|
||
89, // 114: hyapp.user.v1.UserIdentityService.ApplyPrettyDisplayUserID:input_type -> hyapp.user.v1.ApplyPrettyDisplayUserIDRequest
|
||
91, // 115: hyapp.user.v1.UserIdentityService.ExpirePrettyDisplayUserID:input_type -> hyapp.user.v1.ExpirePrettyDisplayUserIDRequest
|
||
15, // 116: hyapp.user.v1.UserService.GetUser:output_type -> hyapp.user.v1.GetUserResponse
|
||
18, // 117: hyapp.user.v1.UserService.BusinessUserLookup:output_type -> hyapp.user.v1.BusinessUserLookupResponse
|
||
21, // 118: hyapp.user.v1.UserService.GetMyProfileStats:output_type -> hyapp.user.v1.GetMyProfileStatsResponse
|
||
50, // 119: hyapp.user.v1.UserService.BatchGetUsers:output_type -> hyapp.user.v1.BatchGetUsersResponse
|
||
52, // 120: hyapp.user.v1.UserService.ListUserIDs:output_type -> hyapp.user.v1.ListUserIDsResponse
|
||
10, // 121: hyapp.user.v1.UserService.GetUserMicLifetimeStats:output_type -> hyapp.user.v1.GetUserMicLifetimeStatsResponse
|
||
54, // 122: hyapp.user.v1.UserService.UpdateUserProfile:output_type -> hyapp.user.v1.UpdateUserProfileResponse
|
||
56, // 123: hyapp.user.v1.UserService.ChangeUserCountry:output_type -> hyapp.user.v1.ChangeUserCountryResponse
|
||
58, // 124: hyapp.user.v1.UserService.SetUserStatus:output_type -> hyapp.user.v1.SetUserStatusResponse
|
||
60, // 125: hyapp.user.v1.UserService.CompleteOnboarding:output_type -> hyapp.user.v1.CompleteOnboardingResponse
|
||
23, // 126: hyapp.user.v1.UserSocialService.RecordProfileVisit:output_type -> hyapp.user.v1.RecordProfileVisitResponse
|
||
26, // 127: hyapp.user.v1.UserSocialService.ListProfileVisitors:output_type -> hyapp.user.v1.ListProfileVisitorsResponse
|
||
28, // 128: hyapp.user.v1.UserSocialService.FollowUser:output_type -> hyapp.user.v1.FollowUserResponse
|
||
30, // 129: hyapp.user.v1.UserSocialService.UnfollowUser:output_type -> hyapp.user.v1.UnfollowUserResponse
|
||
33, // 130: hyapp.user.v1.UserSocialService.ListFollowing:output_type -> hyapp.user.v1.ListFollowingResponse
|
||
35, // 131: hyapp.user.v1.UserSocialService.ApplyFriend:output_type -> hyapp.user.v1.ApplyFriendResponse
|
||
37, // 132: hyapp.user.v1.UserSocialService.AcceptFriendApplication:output_type -> hyapp.user.v1.AcceptFriendApplicationResponse
|
||
39, // 133: hyapp.user.v1.UserSocialService.DeleteFriend:output_type -> hyapp.user.v1.DeleteFriendResponse
|
||
42, // 134: hyapp.user.v1.UserSocialService.ListFriends:output_type -> hyapp.user.v1.ListFriendsResponse
|
||
45, // 135: hyapp.user.v1.UserSocialService.ListFriendApplications:output_type -> hyapp.user.v1.ListFriendApplicationsResponse
|
||
48, // 136: hyapp.user.v1.UserSocialService.SubmitReport:output_type -> hyapp.user.v1.SubmitReportResponse
|
||
12, // 137: hyapp.user.v1.UserCronService.ProcessLoginIPRiskBatch:output_type -> hyapp.user.v1.CronBatchResponse
|
||
12, // 138: hyapp.user.v1.UserCronService.ProcessRegionRebuildBatch:output_type -> hyapp.user.v1.CronBatchResponse
|
||
12, // 139: hyapp.user.v1.UserCronService.CompensateMicOpenSessions:output_type -> hyapp.user.v1.CronBatchResponse
|
||
62, // 140: hyapp.user.v1.UserDeviceService.BindPushToken:output_type -> hyapp.user.v1.BindPushTokenResponse
|
||
64, // 141: hyapp.user.v1.UserDeviceService.DeletePushToken:output_type -> hyapp.user.v1.DeletePushTokenResponse
|
||
4, // 142: hyapp.user.v1.AppRegistryService.ResolveApp:output_type -> hyapp.user.v1.ResolveAppResponse
|
||
68, // 143: hyapp.user.v1.CountryAdminService.ListCountries:output_type -> hyapp.user.v1.ListCountriesResponse
|
||
70, // 144: hyapp.user.v1.CountryAdminService.UpdateCountry:output_type -> hyapp.user.v1.CountryResponse
|
||
72, // 145: hyapp.user.v1.CountryQueryService.ListRegistrationCountries:output_type -> hyapp.user.v1.ListRegistrationCountriesResponse
|
||
75, // 146: hyapp.user.v1.CountryQueryService.ListLoginRiskBlockedCountries:output_type -> hyapp.user.v1.ListLoginRiskBlockedCountriesResponse
|
||
77, // 147: hyapp.user.v1.RegionAdminService.ListRegions:output_type -> hyapp.user.v1.ListRegionsResponse
|
||
81, // 148: hyapp.user.v1.RegionAdminService.GetRegion:output_type -> hyapp.user.v1.RegionResponse
|
||
81, // 149: hyapp.user.v1.RegionAdminService.UpdateRegion:output_type -> hyapp.user.v1.RegionResponse
|
||
81, // 150: hyapp.user.v1.RegionAdminService.ReplaceRegionCountries:output_type -> hyapp.user.v1.RegionResponse
|
||
84, // 151: hyapp.user.v1.UserIdentityService.GetUserIdentity:output_type -> hyapp.user.v1.GetUserIdentityResponse
|
||
86, // 152: hyapp.user.v1.UserIdentityService.ResolveDisplayUserID:output_type -> hyapp.user.v1.ResolveDisplayUserIDResponse
|
||
88, // 153: hyapp.user.v1.UserIdentityService.ChangeDisplayUserID:output_type -> hyapp.user.v1.ChangeDisplayUserIDResponse
|
||
90, // 154: hyapp.user.v1.UserIdentityService.ApplyPrettyDisplayUserID:output_type -> hyapp.user.v1.ApplyPrettyDisplayUserIDResponse
|
||
92, // 155: hyapp.user.v1.UserIdentityService.ExpirePrettyDisplayUserID:output_type -> hyapp.user.v1.ExpirePrettyDisplayUserIDResponse
|
||
116, // [116:156] is the sub-list for method output_type
|
||
76, // [76:116] is the sub-list for method input_type
|
||
76, // [76:76] is the sub-list for extension type_name
|
||
76, // [76:76] is the sub-list for extension extendee
|
||
0, // [0:76] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_proto_user_v1_user_proto_init() }
|
||
func file_proto_user_v1_user_proto_init() {
|
||
if File_proto_user_v1_user_proto != nil {
|
||
return
|
||
}
|
||
file_proto_user_v1_user_proto_msgTypes[52].OneofWrappers = []any{}
|
||
file_proto_user_v1_user_proto_msgTypes[66].OneofWrappers = []any{}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_user_v1_user_proto_rawDesc), len(file_proto_user_v1_user_proto_rawDesc)),
|
||
NumEnums: 1,
|
||
NumMessages: 93,
|
||
NumExtensions: 0,
|
||
NumServices: 9,
|
||
},
|
||
GoTypes: file_proto_user_v1_user_proto_goTypes,
|
||
DependencyIndexes: file_proto_user_v1_user_proto_depIdxs,
|
||
EnumInfos: file_proto_user_v1_user_proto_enumTypes,
|
||
MessageInfos: file_proto_user_v1_user_proto_msgTypes,
|
||
}.Build()
|
||
File_proto_user_v1_user_proto = out.File
|
||
file_proto_user_v1_user_proto_goTypes = nil
|
||
file_proto_user_v1_user_proto_depIdxs = nil
|
||
}
|