2025-08-20 19:51:19 +08:00
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
|
// versions:
|
|
|
|
|
|
// protoc-gen-go v1.36.7
|
|
|
|
|
|
// protoc (unknown)
|
|
|
|
|
|
// source: account/v1/account.proto
|
|
|
|
|
|
|
|
|
|
|
|
package accountv1
|
|
|
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
// 认证类型枚举
|
|
|
|
|
|
type AuthenticationType int32
|
|
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
|
AuthenticationType_AUTHENTICATION_TYPE_UNSPECIFIED AuthenticationType = 0
|
|
|
|
|
|
AuthenticationType_AUTHENTICATION_TYPE_NAME AuthenticationType = 1 // 用户名
|
|
|
|
|
|
AuthenticationType_AUTHENTICATION_TYPE_PHONE AuthenticationType = 2 // 手机号
|
|
|
|
|
|
AuthenticationType_AUTHENTICATION_TYPE_EMAIL AuthenticationType = 3 // 邮箱
|
|
|
|
|
|
AuthenticationType_AUTHENTICATION_TYPE_WECHAT AuthenticationType = 4 // 微信
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
// Enum value maps for AuthenticationType.
|
|
|
|
|
|
var (
|
|
|
|
|
|
AuthenticationType_name = map[int32]string{
|
|
|
|
|
|
0: "AUTHENTICATION_TYPE_UNSPECIFIED",
|
|
|
|
|
|
1: "AUTHENTICATION_TYPE_NAME",
|
|
|
|
|
|
2: "AUTHENTICATION_TYPE_PHONE",
|
|
|
|
|
|
3: "AUTHENTICATION_TYPE_EMAIL",
|
|
|
|
|
|
4: "AUTHENTICATION_TYPE_WECHAT",
|
|
|
|
|
|
}
|
|
|
|
|
|
AuthenticationType_value = map[string]int32{
|
|
|
|
|
|
"AUTHENTICATION_TYPE_UNSPECIFIED": 0,
|
|
|
|
|
|
"AUTHENTICATION_TYPE_NAME": 1,
|
|
|
|
|
|
"AUTHENTICATION_TYPE_PHONE": 2,
|
|
|
|
|
|
"AUTHENTICATION_TYPE_EMAIL": 3,
|
|
|
|
|
|
"AUTHENTICATION_TYPE_WECHAT": 4,
|
|
|
|
|
|
}
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
func (x AuthenticationType) Enum() *AuthenticationType {
|
|
|
|
|
|
p := new(AuthenticationType)
|
|
|
|
|
|
*p = x
|
|
|
|
|
|
return p
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x AuthenticationType) String() string {
|
|
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (AuthenticationType) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
|
|
return file_account_v1_account_proto_enumTypes[0].Descriptor()
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (AuthenticationType) Type() protoreflect.EnumType {
|
|
|
|
|
|
return &file_account_v1_account_proto_enumTypes[0]
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x AuthenticationType) Number() protoreflect.EnumNumber {
|
|
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use AuthenticationType.Descriptor instead.
|
|
|
|
|
|
func (AuthenticationType) EnumDescriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SendCredentialRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
AuthType AuthenticationType `protobuf:"varint,1,opt,name=auth_type,json=authType,proto3,enum=account.v1.AuthenticationType" json:"auth_type,omitempty"` // 认证类型
|
|
|
|
|
|
AuthId string `protobuf:"bytes,2,opt,name=auth_id,json=authId,proto3" json:"auth_id,omitempty"` // 认证ID,根据auth_type存储不同的账号信息
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SendCredentialRequest) Reset() {
|
|
|
|
|
|
*x = SendCredentialRequest{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[0]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SendCredentialRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SendCredentialRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SendCredentialRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 SendCredentialRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SendCredentialRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SendCredentialRequest) GetAuthType() AuthenticationType {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.AuthType
|
|
|
|
|
|
}
|
|
|
|
|
|
return AuthenticationType_AUTHENTICATION_TYPE_UNSPECIFIED
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SendCredentialRequest) GetAuthId() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.AuthId
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SendCredentialResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SendCredentialResponse) Reset() {
|
|
|
|
|
|
*x = SendCredentialResponse{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[1]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SendCredentialResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SendCredentialResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SendCredentialResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 SendCredentialResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SendCredentialResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type AuthRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
AuthType AuthenticationType `protobuf:"varint,1,opt,name=auth_type,json=authType,proto3,enum=account.v1.AuthenticationType" json:"auth_type,omitempty"` // 认证类型
|
|
|
|
|
|
AuthId string `protobuf:"bytes,2,opt,name=auth_id,json=authId,proto3" json:"auth_id,omitempty"` // 认证ID,根据auth_type存储不同的账号信息
|
|
|
|
|
|
Credential string `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"` // 凭证,可以是验证码或密码
|
|
|
|
|
|
InvitationCode string `protobuf:"bytes,4,opt,name=invitation_code,json=invitationCode,proto3" json:"invitation_code,omitempty"` // 邀请码
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AuthRequest) Reset() {
|
|
|
|
|
|
*x = AuthRequest{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[2]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AuthRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*AuthRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AuthRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 AuthRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*AuthRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AuthRequest) GetAuthType() AuthenticationType {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.AuthType
|
|
|
|
|
|
}
|
|
|
|
|
|
return AuthenticationType_AUTHENTICATION_TYPE_UNSPECIFIED
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AuthRequest) GetAuthId() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.AuthId
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AuthRequest) GetCredential() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Credential
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AuthRequest) GetInvitationCode() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.InvitationCode
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type AuthResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AuthResponse) Reset() {
|
|
|
|
|
|
*x = AuthResponse{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[3]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AuthResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*AuthResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AuthResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 AuthResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*AuthResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AuthResponse) GetToken() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Token
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SetPasswordRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
AuthType AuthenticationType `protobuf:"varint,1,opt,name=auth_type,json=authType,proto3,enum=account.v1.AuthenticationType" json:"auth_type,omitempty"` // 认证类型
|
|
|
|
|
|
AuthId string `protobuf:"bytes,2,opt,name=auth_id,json=authId,proto3" json:"auth_id,omitempty"` // 认证ID,根据auth_type存储不同的账号信息
|
|
|
|
|
|
Credential string `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"` // 凭证,可以是验证码或旧密码
|
|
|
|
|
|
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // 新密码
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetPasswordRequest) Reset() {
|
|
|
|
|
|
*x = SetPasswordRequest{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[4]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetPasswordRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SetPasswordRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetPasswordRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 SetPasswordRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SetPasswordRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetPasswordRequest) GetAuthType() AuthenticationType {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.AuthType
|
|
|
|
|
|
}
|
|
|
|
|
|
return AuthenticationType_AUTHENTICATION_TYPE_UNSPECIFIED
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetPasswordRequest) GetAuthId() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.AuthId
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetPasswordRequest) GetCredential() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Credential
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetPasswordRequest) GetPassword() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Password
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SetPasswordResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetPasswordResponse) Reset() {
|
|
|
|
|
|
*x = SetPasswordResponse{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[5]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetPasswordResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SetPasswordResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetPasswordResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 SetPasswordResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SetPasswordResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SetNameRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetNameRequest) Reset() {
|
|
|
|
|
|
*x = SetNameRequest{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[6]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetNameRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SetNameRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetNameRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 SetNameRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SetNameRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{6}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetNameRequest) GetName() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Name
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SetNameResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetNameResponse) Reset() {
|
|
|
|
|
|
*x = SetNameResponse{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[7]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetNameResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SetNameResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetNameResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 SetNameResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SetNameResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type GetAvatarUploadURLRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetAvatarUploadURLRequest) Reset() {
|
|
|
|
|
|
*x = GetAvatarUploadURLRequest{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[8]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetAvatarUploadURLRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*GetAvatarUploadURLRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetAvatarUploadURLRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 GetAvatarUploadURLRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*GetAvatarUploadURLRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type GetAvatarUploadURLResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetAvatarUploadURLResponse) Reset() {
|
|
|
|
|
|
*x = GetAvatarUploadURLResponse{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[9]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetAvatarUploadURLResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*GetAvatarUploadURLResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetAvatarUploadURLResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 GetAvatarUploadURLResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*GetAvatarUploadURLResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetAvatarUploadURLResponse) GetUrl() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Url
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SetAvatarRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetAvatarRequest) Reset() {
|
|
|
|
|
|
*x = SetAvatarRequest{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[10]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetAvatarRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SetAvatarRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetAvatarRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 SetAvatarRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SetAvatarRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetAvatarRequest) GetUrl() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Url
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SetAvatarResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetAvatarResponse) Reset() {
|
|
|
|
|
|
*x = SetAvatarResponse{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[11]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetAvatarResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SetAvatarResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SetAvatarResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 SetAvatarResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SetAvatarResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type GetUserInfoRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInfoRequest) Reset() {
|
|
|
|
|
|
*x = GetUserInfoRequest{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[12]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInfoRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*GetUserInfoRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInfoRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 GetUserInfoRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*GetUserInfoRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{12}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type GetUserInfoResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
|
|
Avatar string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
|
|
|
|
InvitationCode string `protobuf:"bytes,3,opt,name=invitation_code,json=invitationCode,proto3" json:"invitation_code,omitempty"`
|
|
|
|
|
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
|
|
Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
|
|
|
|
Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInfoResponse) Reset() {
|
|
|
|
|
|
*x = GetUserInfoResponse{}
|
|
|
|
|
|
mi := &file_account_v1_account_proto_msgTypes[13]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInfoResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*GetUserInfoResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInfoResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_account_v1_account_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 GetUserInfoResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*GetUserInfoResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescGZIP(), []int{13}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInfoResponse) GetId() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Id
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInfoResponse) GetAvatar() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Avatar
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInfoResponse) GetInvitationCode() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.InvitationCode
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInfoResponse) GetName() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Name
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInfoResponse) GetPhone() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Phone
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInfoResponse) GetEmail() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Email
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var File_account_v1_account_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
|
|
const file_account_v1_account_proto_rawDesc = "" +
|
|
|
|
|
|
"\n" +
|
|
|
|
|
|
"\x18account/v1/account.proto\x12\n" +
|
|
|
|
|
|
"account.v1\"m\n" +
|
|
|
|
|
|
"\x15SendCredentialRequest\x12;\n" +
|
|
|
|
|
|
"\tauth_type\x18\x01 \x01(\x0e2\x1e.account.v1.AuthenticationTypeR\bauthType\x12\x17\n" +
|
|
|
|
|
|
"\aauth_id\x18\x02 \x01(\tR\x06authId\"\x18\n" +
|
|
|
|
|
|
"\x16SendCredentialResponse\"\xac\x01\n" +
|
|
|
|
|
|
"\vAuthRequest\x12;\n" +
|
|
|
|
|
|
"\tauth_type\x18\x01 \x01(\x0e2\x1e.account.v1.AuthenticationTypeR\bauthType\x12\x17\n" +
|
|
|
|
|
|
"\aauth_id\x18\x02 \x01(\tR\x06authId\x12\x1e\n" +
|
|
|
|
|
|
"\n" +
|
|
|
|
|
|
"credential\x18\x03 \x01(\tR\n" +
|
|
|
|
|
|
"credential\x12'\n" +
|
|
|
|
|
|
"\x0finvitation_code\x18\x04 \x01(\tR\x0einvitationCode\"$\n" +
|
|
|
|
|
|
"\fAuthResponse\x12\x14\n" +
|
|
|
|
|
|
"\x05token\x18\x01 \x01(\tR\x05token\"\xa6\x01\n" +
|
|
|
|
|
|
"\x12SetPasswordRequest\x12;\n" +
|
|
|
|
|
|
"\tauth_type\x18\x01 \x01(\x0e2\x1e.account.v1.AuthenticationTypeR\bauthType\x12\x17\n" +
|
|
|
|
|
|
"\aauth_id\x18\x02 \x01(\tR\x06authId\x12\x1e\n" +
|
|
|
|
|
|
"\n" +
|
|
|
|
|
|
"credential\x18\x03 \x01(\tR\n" +
|
|
|
|
|
|
"credential\x12\x1a\n" +
|
|
|
|
|
|
"\bpassword\x18\x04 \x01(\tR\bpassword\"\x15\n" +
|
|
|
|
|
|
"\x13SetPasswordResponse\"$\n" +
|
|
|
|
|
|
"\x0eSetNameRequest\x12\x12\n" +
|
|
|
|
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"\x11\n" +
|
|
|
|
|
|
"\x0fSetNameResponse\"\x1b\n" +
|
|
|
|
|
|
"\x19GetAvatarUploadURLRequest\".\n" +
|
|
|
|
|
|
"\x1aGetAvatarUploadURLResponse\x12\x10\n" +
|
|
|
|
|
|
"\x03url\x18\x01 \x01(\tR\x03url\"$\n" +
|
|
|
|
|
|
"\x10SetAvatarRequest\x12\x10\n" +
|
|
|
|
|
|
"\x03url\x18\x01 \x01(\tR\x03url\"\x13\n" +
|
|
|
|
|
|
"\x11SetAvatarResponse\"\x14\n" +
|
|
|
|
|
|
"\x12GetUserInfoRequest\"\xa6\x01\n" +
|
|
|
|
|
|
"\x13GetUserInfoResponse\x12\x0e\n" +
|
|
|
|
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" +
|
|
|
|
|
|
"\x06avatar\x18\x02 \x01(\tR\x06avatar\x12'\n" +
|
|
|
|
|
|
"\x0finvitation_code\x18\x03 \x01(\tR\x0einvitationCode\x12\x12\n" +
|
|
|
|
|
|
"\x04name\x18\x04 \x01(\tR\x04name\x12\x14\n" +
|
|
|
|
|
|
"\x05phone\x18\x05 \x01(\tR\x05phone\x12\x14\n" +
|
|
|
|
|
|
"\x05email\x18\x06 \x01(\tR\x05email*\xb5\x01\n" +
|
|
|
|
|
|
"\x12AuthenticationType\x12#\n" +
|
|
|
|
|
|
"\x1fAUTHENTICATION_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n" +
|
|
|
|
|
|
"\x18AUTHENTICATION_TYPE_NAME\x10\x01\x12\x1d\n" +
|
|
|
|
|
|
"\x19AUTHENTICATION_TYPE_PHONE\x10\x02\x12\x1d\n" +
|
|
|
|
|
|
"\x19AUTHENTICATION_TYPE_EMAIL\x10\x03\x12\x1e\n" +
|
|
|
|
|
|
"\x1aAUTHENTICATION_TYPE_WECHAT\x10\x042\xb7\x04\n" +
|
|
|
|
|
|
"\x0eAccountService\x12W\n" +
|
|
|
|
|
|
"\x0eSendCredential\x12!.account.v1.SendCredentialRequest\x1a\".account.v1.SendCredentialResponse\x129\n" +
|
|
|
|
|
|
"\x04Auth\x12\x17.account.v1.AuthRequest\x1a\x18.account.v1.AuthResponse\x12N\n" +
|
|
|
|
|
|
"\vSetPassword\x12\x1e.account.v1.SetPasswordRequest\x1a\x1f.account.v1.SetPasswordResponse\x12B\n" +
|
|
|
|
|
|
"\aSetName\x12\x1a.account.v1.SetNameRequest\x1a\x1b.account.v1.SetNameResponse\x12c\n" +
|
|
|
|
|
|
"\x12GetAvatarUploadURL\x12%.account.v1.GetAvatarUploadURLRequest\x1a&.account.v1.GetAvatarUploadURLResponse\x12H\n" +
|
|
|
|
|
|
"\tSetAvatar\x12\x1c.account.v1.SetAvatarRequest\x1a\x1d.account.v1.SetAvatarResponse\x12N\n" +
|
2025-08-30 00:26:38 +08:00
|
|
|
|
"\vGetUserInfo\x12\x1e.account.v1.GetUserInfoRequest\x1a\x1f.account.v1.GetUserInfoResponseB7Z5git.shenxianhe.cn/shenxianhe/sdk/account/v1;accountv1b\x06proto3"
|
2025-08-20 19:51:19 +08:00
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
|
file_account_v1_account_proto_rawDescOnce sync.Once
|
|
|
|
|
|
file_account_v1_account_proto_rawDescData []byte
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
func file_account_v1_account_proto_rawDescGZIP() []byte {
|
|
|
|
|
|
file_account_v1_account_proto_rawDescOnce.Do(func() {
|
|
|
|
|
|
file_account_v1_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_account_v1_account_proto_rawDesc), len(file_account_v1_account_proto_rawDesc)))
|
|
|
|
|
|
})
|
|
|
|
|
|
return file_account_v1_account_proto_rawDescData
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var file_account_v1_account_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
|
|
|
|
var file_account_v1_account_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
|
|
|
|
|
var file_account_v1_account_proto_goTypes = []any{
|
|
|
|
|
|
(AuthenticationType)(0), // 0: account.v1.AuthenticationType
|
|
|
|
|
|
(*SendCredentialRequest)(nil), // 1: account.v1.SendCredentialRequest
|
|
|
|
|
|
(*SendCredentialResponse)(nil), // 2: account.v1.SendCredentialResponse
|
|
|
|
|
|
(*AuthRequest)(nil), // 3: account.v1.AuthRequest
|
|
|
|
|
|
(*AuthResponse)(nil), // 4: account.v1.AuthResponse
|
|
|
|
|
|
(*SetPasswordRequest)(nil), // 5: account.v1.SetPasswordRequest
|
|
|
|
|
|
(*SetPasswordResponse)(nil), // 6: account.v1.SetPasswordResponse
|
|
|
|
|
|
(*SetNameRequest)(nil), // 7: account.v1.SetNameRequest
|
|
|
|
|
|
(*SetNameResponse)(nil), // 8: account.v1.SetNameResponse
|
|
|
|
|
|
(*GetAvatarUploadURLRequest)(nil), // 9: account.v1.GetAvatarUploadURLRequest
|
|
|
|
|
|
(*GetAvatarUploadURLResponse)(nil), // 10: account.v1.GetAvatarUploadURLResponse
|
|
|
|
|
|
(*SetAvatarRequest)(nil), // 11: account.v1.SetAvatarRequest
|
|
|
|
|
|
(*SetAvatarResponse)(nil), // 12: account.v1.SetAvatarResponse
|
|
|
|
|
|
(*GetUserInfoRequest)(nil), // 13: account.v1.GetUserInfoRequest
|
|
|
|
|
|
(*GetUserInfoResponse)(nil), // 14: account.v1.GetUserInfoResponse
|
|
|
|
|
|
}
|
|
|
|
|
|
var file_account_v1_account_proto_depIdxs = []int32{
|
|
|
|
|
|
0, // 0: account.v1.SendCredentialRequest.auth_type:type_name -> account.v1.AuthenticationType
|
|
|
|
|
|
0, // 1: account.v1.AuthRequest.auth_type:type_name -> account.v1.AuthenticationType
|
|
|
|
|
|
0, // 2: account.v1.SetPasswordRequest.auth_type:type_name -> account.v1.AuthenticationType
|
|
|
|
|
|
1, // 3: account.v1.AccountService.SendCredential:input_type -> account.v1.SendCredentialRequest
|
|
|
|
|
|
3, // 4: account.v1.AccountService.Auth:input_type -> account.v1.AuthRequest
|
|
|
|
|
|
5, // 5: account.v1.AccountService.SetPassword:input_type -> account.v1.SetPasswordRequest
|
|
|
|
|
|
7, // 6: account.v1.AccountService.SetName:input_type -> account.v1.SetNameRequest
|
|
|
|
|
|
9, // 7: account.v1.AccountService.GetAvatarUploadURL:input_type -> account.v1.GetAvatarUploadURLRequest
|
|
|
|
|
|
11, // 8: account.v1.AccountService.SetAvatar:input_type -> account.v1.SetAvatarRequest
|
|
|
|
|
|
13, // 9: account.v1.AccountService.GetUserInfo:input_type -> account.v1.GetUserInfoRequest
|
|
|
|
|
|
2, // 10: account.v1.AccountService.SendCredential:output_type -> account.v1.SendCredentialResponse
|
|
|
|
|
|
4, // 11: account.v1.AccountService.Auth:output_type -> account.v1.AuthResponse
|
|
|
|
|
|
6, // 12: account.v1.AccountService.SetPassword:output_type -> account.v1.SetPasswordResponse
|
|
|
|
|
|
8, // 13: account.v1.AccountService.SetName:output_type -> account.v1.SetNameResponse
|
|
|
|
|
|
10, // 14: account.v1.AccountService.GetAvatarUploadURL:output_type -> account.v1.GetAvatarUploadURLResponse
|
|
|
|
|
|
12, // 15: account.v1.AccountService.SetAvatar:output_type -> account.v1.SetAvatarResponse
|
|
|
|
|
|
14, // 16: account.v1.AccountService.GetUserInfo:output_type -> account.v1.GetUserInfoResponse
|
|
|
|
|
|
10, // [10:17] is the sub-list for method output_type
|
|
|
|
|
|
3, // [3:10] is the sub-list for method input_type
|
|
|
|
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
|
|
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
|
|
|
|
0, // [0:3] is the sub-list for field type_name
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func init() { file_account_v1_account_proto_init() }
|
|
|
|
|
|
func file_account_v1_account_proto_init() {
|
|
|
|
|
|
if File_account_v1_account_proto != nil {
|
|
|
|
|
|
return
|
|
|
|
|
|
}
|
|
|
|
|
|
type x struct{}
|
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_account_v1_account_proto_rawDesc), len(file_account_v1_account_proto_rawDesc)),
|
|
|
|
|
|
NumEnums: 1,
|
|
|
|
|
|
NumMessages: 14,
|
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
|
},
|
|
|
|
|
|
GoTypes: file_account_v1_account_proto_goTypes,
|
|
|
|
|
|
DependencyIndexes: file_account_v1_account_proto_depIdxs,
|
|
|
|
|
|
EnumInfos: file_account_v1_account_proto_enumTypes,
|
|
|
|
|
|
MessageInfos: file_account_v1_account_proto_msgTypes,
|
|
|
|
|
|
}.Build()
|
|
|
|
|
|
File_account_v1_account_proto = out.File
|
|
|
|
|
|
file_account_v1_account_proto_goTypes = nil
|
|
|
|
|
|
file_account_v1_account_proto_depIdxs = nil
|
|
|
|
|
|
}
|