chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -749,6 +749,214 @@ func (x *ChangeDataResponse) GetMessage() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type AssignRoleRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // В gRPC передаем как string, внутри преобразуем в Int
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *AssignRoleRequest) Reset() {
|
||||
*x = AssignRoleRequest{}
|
||||
mi := &file_account_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *AssignRoleRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*AssignRoleRequest) ProtoMessage() {}
|
||||
|
||||
func (x *AssignRoleRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_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 AssignRoleRequest.ProtoReflect.Descriptor instead.
|
||||
func (*AssignRoleRequest) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *AssignRoleRequest) GetUserId() string {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AssignRoleRequest) GetRoleId() string {
|
||||
if x != nil {
|
||||
return x.RoleId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type AssignRoleResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||||
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *AssignRoleResponse) Reset() {
|
||||
*x = AssignRoleResponse{}
|
||||
mi := &file_account_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *AssignRoleResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*AssignRoleResponse) ProtoMessage() {}
|
||||
|
||||
func (x *AssignRoleResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_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 AssignRoleResponse.ProtoReflect.Descriptor instead.
|
||||
func (*AssignRoleResponse) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *AssignRoleResponse) GetSuccess() bool {
|
||||
if x != nil {
|
||||
return x.Success
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *AssignRoleResponse) GetMessage() string {
|
||||
if x != nil {
|
||||
return x.Message
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type RevokeRoleRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *RevokeRoleRequest) Reset() {
|
||||
*x = RevokeRoleRequest{}
|
||||
mi := &file_account_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *RevokeRoleRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*RevokeRoleRequest) ProtoMessage() {}
|
||||
|
||||
func (x *RevokeRoleRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_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 RevokeRoleRequest.ProtoReflect.Descriptor instead.
|
||||
func (*RevokeRoleRequest) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *RevokeRoleRequest) GetUserId() string {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *RevokeRoleRequest) GetRoleId() string {
|
||||
if x != nil {
|
||||
return x.RoleId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type RevokeRoleResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||||
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *RevokeRoleResponse) Reset() {
|
||||
*x = RevokeRoleResponse{}
|
||||
mi := &file_account_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *RevokeRoleResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*RevokeRoleResponse) ProtoMessage() {}
|
||||
|
||||
func (x *RevokeRoleResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_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 RevokeRoleResponse.ProtoReflect.Descriptor instead.
|
||||
func (*RevokeRoleResponse) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *RevokeRoleResponse) GetSuccess() bool {
|
||||
if x != nil {
|
||||
return x.Success
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *RevokeRoleResponse) GetMessage() string {
|
||||
if x != nil {
|
||||
return x.Message
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type AdminResetPasswordRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
@@ -759,7 +967,7 @@ type AdminResetPasswordRequest struct {
|
||||
|
||||
func (x *AdminResetPasswordRequest) Reset() {
|
||||
*x = AdminResetPasswordRequest{}
|
||||
mi := &file_account_proto_msgTypes[10]
|
||||
mi := &file_account_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -771,7 +979,7 @@ func (x *AdminResetPasswordRequest) String() string {
|
||||
func (*AdminResetPasswordRequest) ProtoMessage() {}
|
||||
|
||||
func (x *AdminResetPasswordRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[10]
|
||||
mi := &file_account_proto_msgTypes[14]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -784,7 +992,7 @@ func (x *AdminResetPasswordRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminResetPasswordRequest.ProtoReflect.Descriptor instead.
|
||||
func (*AdminResetPasswordRequest) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{10}
|
||||
return file_account_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *AdminResetPasswordRequest) GetUserId() string {
|
||||
@@ -811,7 +1019,7 @@ type AdminResetPasswordResponse struct {
|
||||
|
||||
func (x *AdminResetPasswordResponse) Reset() {
|
||||
*x = AdminResetPasswordResponse{}
|
||||
mi := &file_account_proto_msgTypes[11]
|
||||
mi := &file_account_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -823,7 +1031,7 @@ func (x *AdminResetPasswordResponse) String() string {
|
||||
func (*AdminResetPasswordResponse) ProtoMessage() {}
|
||||
|
||||
func (x *AdminResetPasswordResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[11]
|
||||
mi := &file_account_proto_msgTypes[15]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -836,7 +1044,7 @@ func (x *AdminResetPasswordResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminResetPasswordResponse.ProtoReflect.Descriptor instead.
|
||||
func (*AdminResetPasswordResponse) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{11}
|
||||
return file_account_proto_rawDescGZIP(), []int{15}
|
||||
}
|
||||
|
||||
func (x *AdminResetPasswordResponse) GetSuccess() bool {
|
||||
@@ -864,7 +1072,7 @@ type SetPinRequest struct {
|
||||
|
||||
func (x *SetPinRequest) Reset() {
|
||||
*x = SetPinRequest{}
|
||||
mi := &file_account_proto_msgTypes[12]
|
||||
mi := &file_account_proto_msgTypes[16]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -876,7 +1084,7 @@ func (x *SetPinRequest) String() string {
|
||||
func (*SetPinRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SetPinRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[12]
|
||||
mi := &file_account_proto_msgTypes[16]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -889,7 +1097,7 @@ func (x *SetPinRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SetPinRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SetPinRequest) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{12}
|
||||
return file_account_proto_rawDescGZIP(), []int{16}
|
||||
}
|
||||
|
||||
func (x *SetPinRequest) GetUserId() string {
|
||||
@@ -923,7 +1131,7 @@ type SetPinResponse struct {
|
||||
|
||||
func (x *SetPinResponse) Reset() {
|
||||
*x = SetPinResponse{}
|
||||
mi := &file_account_proto_msgTypes[13]
|
||||
mi := &file_account_proto_msgTypes[17]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -935,7 +1143,7 @@ func (x *SetPinResponse) String() string {
|
||||
func (*SetPinResponse) ProtoMessage() {}
|
||||
|
||||
func (x *SetPinResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[13]
|
||||
mi := &file_account_proto_msgTypes[17]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -948,7 +1156,7 @@ func (x *SetPinResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SetPinResponse.ProtoReflect.Descriptor instead.
|
||||
func (*SetPinResponse) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{13}
|
||||
return file_account_proto_rawDescGZIP(), []int{17}
|
||||
}
|
||||
|
||||
func (x *SetPinResponse) GetSuccess() bool {
|
||||
@@ -976,7 +1184,7 @@ type UnlockPinRequest struct {
|
||||
|
||||
func (x *UnlockPinRequest) Reset() {
|
||||
*x = UnlockPinRequest{}
|
||||
mi := &file_account_proto_msgTypes[14]
|
||||
mi := &file_account_proto_msgTypes[18]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -988,7 +1196,7 @@ func (x *UnlockPinRequest) String() string {
|
||||
func (*UnlockPinRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UnlockPinRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[14]
|
||||
mi := &file_account_proto_msgTypes[18]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1001,7 +1209,7 @@ func (x *UnlockPinRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UnlockPinRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UnlockPinRequest) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{14}
|
||||
return file_account_proto_rawDescGZIP(), []int{18}
|
||||
}
|
||||
|
||||
func (x *UnlockPinRequest) GetUserId() string {
|
||||
@@ -1035,7 +1243,7 @@ type UnlockPinResponse struct {
|
||||
|
||||
func (x *UnlockPinResponse) Reset() {
|
||||
*x = UnlockPinResponse{}
|
||||
mi := &file_account_proto_msgTypes[15]
|
||||
mi := &file_account_proto_msgTypes[19]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1047,7 +1255,7 @@ func (x *UnlockPinResponse) String() string {
|
||||
func (*UnlockPinResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UnlockPinResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[15]
|
||||
mi := &file_account_proto_msgTypes[19]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1060,7 +1268,7 @@ func (x *UnlockPinResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UnlockPinResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UnlockPinResponse) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{15}
|
||||
return file_account_proto_rawDescGZIP(), []int{19}
|
||||
}
|
||||
|
||||
func (x *UnlockPinResponse) GetSuccess() bool {
|
||||
@@ -1087,7 +1295,7 @@ type GetPinStatusRequest struct {
|
||||
|
||||
func (x *GetPinStatusRequest) Reset() {
|
||||
*x = GetPinStatusRequest{}
|
||||
mi := &file_account_proto_msgTypes[16]
|
||||
mi := &file_account_proto_msgTypes[20]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1099,7 +1307,7 @@ func (x *GetPinStatusRequest) String() string {
|
||||
func (*GetPinStatusRequest) ProtoMessage() {}
|
||||
|
||||
func (x *GetPinStatusRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[16]
|
||||
mi := &file_account_proto_msgTypes[20]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1112,7 +1320,7 @@ func (x *GetPinStatusRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetPinStatusRequest.ProtoReflect.Descriptor instead.
|
||||
func (*GetPinStatusRequest) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{16}
|
||||
return file_account_proto_rawDescGZIP(), []int{20}
|
||||
}
|
||||
|
||||
func (x *GetPinStatusRequest) GetUserId() string {
|
||||
@@ -1140,7 +1348,7 @@ type GetPinStatusResponse struct {
|
||||
|
||||
func (x *GetPinStatusResponse) Reset() {
|
||||
*x = GetPinStatusResponse{}
|
||||
mi := &file_account_proto_msgTypes[17]
|
||||
mi := &file_account_proto_msgTypes[21]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1152,7 +1360,7 @@ func (x *GetPinStatusResponse) String() string {
|
||||
func (*GetPinStatusResponse) ProtoMessage() {}
|
||||
|
||||
func (x *GetPinStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[17]
|
||||
mi := &file_account_proto_msgTypes[21]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1165,7 +1373,7 @@ func (x *GetPinStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetPinStatusResponse.ProtoReflect.Descriptor instead.
|
||||
func (*GetPinStatusResponse) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{17}
|
||||
return file_account_proto_rawDescGZIP(), []int{21}
|
||||
}
|
||||
|
||||
func (x *GetPinStatusResponse) GetHasPin() bool {
|
||||
@@ -1200,7 +1408,7 @@ type RemovePinRequest struct {
|
||||
|
||||
func (x *RemovePinRequest) Reset() {
|
||||
*x = RemovePinRequest{}
|
||||
mi := &file_account_proto_msgTypes[18]
|
||||
mi := &file_account_proto_msgTypes[22]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1212,7 +1420,7 @@ func (x *RemovePinRequest) String() string {
|
||||
func (*RemovePinRequest) ProtoMessage() {}
|
||||
|
||||
func (x *RemovePinRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[18]
|
||||
mi := &file_account_proto_msgTypes[22]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1225,7 +1433,7 @@ func (x *RemovePinRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use RemovePinRequest.ProtoReflect.Descriptor instead.
|
||||
func (*RemovePinRequest) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{18}
|
||||
return file_account_proto_rawDescGZIP(), []int{22}
|
||||
}
|
||||
|
||||
func (x *RemovePinRequest) GetPin() string {
|
||||
@@ -1259,7 +1467,7 @@ type RemovePinResponse struct {
|
||||
|
||||
func (x *RemovePinResponse) Reset() {
|
||||
*x = RemovePinResponse{}
|
||||
mi := &file_account_proto_msgTypes[19]
|
||||
mi := &file_account_proto_msgTypes[23]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1271,7 +1479,7 @@ func (x *RemovePinResponse) String() string {
|
||||
func (*RemovePinResponse) ProtoMessage() {}
|
||||
|
||||
func (x *RemovePinResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[19]
|
||||
mi := &file_account_proto_msgTypes[23]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1284,7 +1492,7 @@ func (x *RemovePinResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use RemovePinResponse.ProtoReflect.Descriptor instead.
|
||||
func (*RemovePinResponse) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{19}
|
||||
return file_account_proto_rawDescGZIP(), []int{23}
|
||||
}
|
||||
|
||||
func (x *RemovePinResponse) GetSuccess() bool {
|
||||
@@ -1381,6 +1589,18 @@ const file_account_proto_rawDesc = "" +
|
||||
"\t_language\"H\n" +
|
||||
"\x12ChangeDataResponse\x12\x18\n" +
|
||||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
||||
"\amessage\x18\x02 \x01(\tR\amessage\"E\n" +
|
||||
"\x11AssignRoleRequest\x12\x17\n" +
|
||||
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x17\n" +
|
||||
"\arole_id\x18\x02 \x01(\tR\x06roleId\"H\n" +
|
||||
"\x12AssignRoleResponse\x12\x18\n" +
|
||||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
||||
"\amessage\x18\x02 \x01(\tR\amessage\"E\n" +
|
||||
"\x11RevokeRoleRequest\x12\x17\n" +
|
||||
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x17\n" +
|
||||
"\arole_id\x18\x02 \x01(\tR\x06roleId\"H\n" +
|
||||
"\x12RevokeRoleResponse\x12\x18\n" +
|
||||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
||||
"\amessage\x18\x02 \x01(\tR\amessage\"W\n" +
|
||||
"\x19AdminResetPasswordRequest\x12\x17\n" +
|
||||
"\auser_id\x18\x01 \x01(\tR\x06userId\x12!\n" +
|
||||
@@ -1420,7 +1640,7 @@ const file_account_proto_rawDesc = "" +
|
||||
"session_id\x18\x03 \x01(\tR\tsessionId\"G\n" +
|
||||
"\x11RemovePinResponse\x12\x18\n" +
|
||||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
||||
"\amessage\x18\x02 \x01(\tR\amessage2\xaa\x06\n" +
|
||||
"\amessage\x18\x02 \x01(\tR\amessage2\xc4\a\n" +
|
||||
"\x0eAccountService\x12K\n" +
|
||||
"\n" +
|
||||
"GetAccount\x12\x1d.account.v1.GetAccountRequest\x1a\x1e.account.v1.GetAccountResponse\x12W\n" +
|
||||
@@ -1431,7 +1651,11 @@ const file_account_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"DeleteUser\x12\x1d.account.v1.DeleteUserRequest\x1a\x1e.account.v1.DeleteUserResponse\x12K\n" +
|
||||
"\n" +
|
||||
"ChangeData\x12\x1d.account.v1.ChangeDataRequest\x1a\x1e.account.v1.ChangeDataResponse\x12?\n" +
|
||||
"ChangeData\x12\x1d.account.v1.ChangeDataRequest\x1a\x1e.account.v1.ChangeDataResponse\x12K\n" +
|
||||
"\n" +
|
||||
"AssignRole\x12\x1d.account.v1.AssignRoleRequest\x1a\x1e.account.v1.AssignRoleResponse\x12K\n" +
|
||||
"\n" +
|
||||
"RevokeRole\x12\x1d.account.v1.RevokeRoleRequest\x1a\x1e.account.v1.RevokeRoleResponse\x12?\n" +
|
||||
"\x06SetPin\x12\x19.account.v1.SetPinRequest\x1a\x1a.account.v1.SetPinResponse\x12H\n" +
|
||||
"\tUnlockPin\x12\x1c.account.v1.UnlockPinRequest\x1a\x1d.account.v1.UnlockPinResponse\x12Q\n" +
|
||||
"\fGetPinStatus\x12\x1f.account.v1.GetPinStatusRequest\x1a .account.v1.GetPinStatusResponse\x12H\n" +
|
||||
@@ -1449,7 +1673,7 @@ func file_account_proto_rawDescGZIP() []byte {
|
||||
return file_account_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
||||
var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
|
||||
var file_account_proto_goTypes = []any{
|
||||
(*GetAccountRequest)(nil), // 0: account.v1.GetAccountRequest
|
||||
(*GetAccountResponse)(nil), // 1: account.v1.GetAccountResponse
|
||||
@@ -1461,40 +1685,48 @@ var file_account_proto_goTypes = []any{
|
||||
(*DeleteUserResponse)(nil), // 7: account.v1.DeleteUserResponse
|
||||
(*ChangeDataRequest)(nil), // 8: account.v1.ChangeDataRequest
|
||||
(*ChangeDataResponse)(nil), // 9: account.v1.ChangeDataResponse
|
||||
(*AdminResetPasswordRequest)(nil), // 10: account.v1.AdminResetPasswordRequest
|
||||
(*AdminResetPasswordResponse)(nil), // 11: account.v1.AdminResetPasswordResponse
|
||||
(*SetPinRequest)(nil), // 12: account.v1.SetPinRequest
|
||||
(*SetPinResponse)(nil), // 13: account.v1.SetPinResponse
|
||||
(*UnlockPinRequest)(nil), // 14: account.v1.UnlockPinRequest
|
||||
(*UnlockPinResponse)(nil), // 15: account.v1.UnlockPinResponse
|
||||
(*GetPinStatusRequest)(nil), // 16: account.v1.GetPinStatusRequest
|
||||
(*GetPinStatusResponse)(nil), // 17: account.v1.GetPinStatusResponse
|
||||
(*RemovePinRequest)(nil), // 18: account.v1.RemovePinRequest
|
||||
(*RemovePinResponse)(nil), // 19: account.v1.RemovePinResponse
|
||||
(*AssignRoleRequest)(nil), // 10: account.v1.AssignRoleRequest
|
||||
(*AssignRoleResponse)(nil), // 11: account.v1.AssignRoleResponse
|
||||
(*RevokeRoleRequest)(nil), // 12: account.v1.RevokeRoleRequest
|
||||
(*RevokeRoleResponse)(nil), // 13: account.v1.RevokeRoleResponse
|
||||
(*AdminResetPasswordRequest)(nil), // 14: account.v1.AdminResetPasswordRequest
|
||||
(*AdminResetPasswordResponse)(nil), // 15: account.v1.AdminResetPasswordResponse
|
||||
(*SetPinRequest)(nil), // 16: account.v1.SetPinRequest
|
||||
(*SetPinResponse)(nil), // 17: account.v1.SetPinResponse
|
||||
(*UnlockPinRequest)(nil), // 18: account.v1.UnlockPinRequest
|
||||
(*UnlockPinResponse)(nil), // 19: account.v1.UnlockPinResponse
|
||||
(*GetPinStatusRequest)(nil), // 20: account.v1.GetPinStatusRequest
|
||||
(*GetPinStatusResponse)(nil), // 21: account.v1.GetPinStatusResponse
|
||||
(*RemovePinRequest)(nil), // 22: account.v1.RemovePinRequest
|
||||
(*RemovePinResponse)(nil), // 23: account.v1.RemovePinResponse
|
||||
}
|
||||
var file_account_proto_depIdxs = []int32{
|
||||
0, // 0: account.v1.AccountService.GetAccount:input_type -> account.v1.GetAccountRequest
|
||||
2, // 1: account.v1.AccountService.ChangePassword:input_type -> account.v1.ChangePasswordRequest
|
||||
10, // 2: account.v1.AccountService.AdminResetPassword:input_type -> account.v1.AdminResetPasswordRequest
|
||||
14, // 2: account.v1.AccountService.AdminResetPassword:input_type -> account.v1.AdminResetPasswordRequest
|
||||
4, // 3: account.v1.AccountService.CreateUser:input_type -> account.v1.CreateUserRequest
|
||||
6, // 4: account.v1.AccountService.DeleteUser:input_type -> account.v1.DeleteUserRequest
|
||||
8, // 5: account.v1.AccountService.ChangeData:input_type -> account.v1.ChangeDataRequest
|
||||
12, // 6: account.v1.AccountService.SetPin:input_type -> account.v1.SetPinRequest
|
||||
14, // 7: account.v1.AccountService.UnlockPin:input_type -> account.v1.UnlockPinRequest
|
||||
16, // 8: account.v1.AccountService.GetPinStatus:input_type -> account.v1.GetPinStatusRequest
|
||||
18, // 9: account.v1.AccountService.RemovePin:input_type -> account.v1.RemovePinRequest
|
||||
1, // 10: account.v1.AccountService.GetAccount:output_type -> account.v1.GetAccountResponse
|
||||
3, // 11: account.v1.AccountService.ChangePassword:output_type -> account.v1.ChangePasswordResponse
|
||||
11, // 12: account.v1.AccountService.AdminResetPassword:output_type -> account.v1.AdminResetPasswordResponse
|
||||
5, // 13: account.v1.AccountService.CreateUser:output_type -> account.v1.CreateUserResponse
|
||||
7, // 14: account.v1.AccountService.DeleteUser:output_type -> account.v1.DeleteUserResponse
|
||||
9, // 15: account.v1.AccountService.ChangeData:output_type -> account.v1.ChangeDataResponse
|
||||
13, // 16: account.v1.AccountService.SetPin:output_type -> account.v1.SetPinResponse
|
||||
15, // 17: account.v1.AccountService.UnlockPin:output_type -> account.v1.UnlockPinResponse
|
||||
17, // 18: account.v1.AccountService.GetPinStatus:output_type -> account.v1.GetPinStatusResponse
|
||||
19, // 19: account.v1.AccountService.RemovePin:output_type -> account.v1.RemovePinResponse
|
||||
10, // [10:20] is the sub-list for method output_type
|
||||
0, // [0:10] is the sub-list for method input_type
|
||||
10, // 6: account.v1.AccountService.AssignRole:input_type -> account.v1.AssignRoleRequest
|
||||
12, // 7: account.v1.AccountService.RevokeRole:input_type -> account.v1.RevokeRoleRequest
|
||||
16, // 8: account.v1.AccountService.SetPin:input_type -> account.v1.SetPinRequest
|
||||
18, // 9: account.v1.AccountService.UnlockPin:input_type -> account.v1.UnlockPinRequest
|
||||
20, // 10: account.v1.AccountService.GetPinStatus:input_type -> account.v1.GetPinStatusRequest
|
||||
22, // 11: account.v1.AccountService.RemovePin:input_type -> account.v1.RemovePinRequest
|
||||
1, // 12: account.v1.AccountService.GetAccount:output_type -> account.v1.GetAccountResponse
|
||||
3, // 13: account.v1.AccountService.ChangePassword:output_type -> account.v1.ChangePasswordResponse
|
||||
15, // 14: account.v1.AccountService.AdminResetPassword:output_type -> account.v1.AdminResetPasswordResponse
|
||||
5, // 15: account.v1.AccountService.CreateUser:output_type -> account.v1.CreateUserResponse
|
||||
7, // 16: account.v1.AccountService.DeleteUser:output_type -> account.v1.DeleteUserResponse
|
||||
9, // 17: account.v1.AccountService.ChangeData:output_type -> account.v1.ChangeDataResponse
|
||||
11, // 18: account.v1.AccountService.AssignRole:output_type -> account.v1.AssignRoleResponse
|
||||
13, // 19: account.v1.AccountService.RevokeRole:output_type -> account.v1.RevokeRoleResponse
|
||||
17, // 20: account.v1.AccountService.SetPin:output_type -> account.v1.SetPinResponse
|
||||
19, // 21: account.v1.AccountService.UnlockPin:output_type -> account.v1.UnlockPinResponse
|
||||
21, // 22: account.v1.AccountService.GetPinStatus:output_type -> account.v1.GetPinStatusResponse
|
||||
23, // 23: account.v1.AccountService.RemovePin:output_type -> account.v1.RemovePinResponse
|
||||
12, // [12:24] is the sub-list for method output_type
|
||||
0, // [0:12] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
0, // [0:0] is the sub-list for extension extendee
|
||||
0, // [0:0] is the sub-list for field type_name
|
||||
@@ -1514,7 +1746,7 @@ func file_account_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_account_proto_rawDesc), len(file_account_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 20,
|
||||
NumMessages: 24,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user