2024-03-18 10:15:28 +00:00
|
|
|
/// This file has messages for describing environments
|
|
|
|
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.26.0
|
|
|
|
// protoc v4.24.4
|
|
|
|
// source: accounts/accounts_v1.proto
|
|
|
|
|
|
|
|
package accounts
|
|
|
|
|
|
|
|
import (
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
|
|
|
)
|
|
|
|
|
|
|
|
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)
|
|
|
|
)
|
|
|
|
|
|
|
|
// *
|
|
|
|
// Represents a environment UUID only
|
|
|
|
type AccountId struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Contour ID: UUID
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountId) Reset() {
|
|
|
|
*x = AccountId{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_accounts_accounts_v1_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountId) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AccountId) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AccountId) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_accounts_accounts_v1_proto_msgTypes[0]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use AccountId.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccountId) Descriptor() ([]byte, []int) {
|
|
|
|
return file_accounts_accounts_v1_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountId) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type AccountPassword struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2024-03-21 15:11:13 +00:00
|
|
|
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
|
2024-03-18 10:15:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountPassword) Reset() {
|
|
|
|
*x = AccountPassword{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_accounts_accounts_v1_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountPassword) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AccountPassword) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AccountPassword) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_accounts_accounts_v1_proto_msgTypes[1]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use AccountPassword.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccountPassword) Descriptor() ([]byte, []int) {
|
|
|
|
return file_accounts_accounts_v1_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountPassword) GetPassword() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Password
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type AccountData struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2024-03-18 11:50:38 +00:00
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Account name
|
|
|
|
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // Account email
|
2024-03-18 10:15:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountData) Reset() {
|
|
|
|
*x = AccountData{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_accounts_accounts_v1_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountData) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AccountData) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AccountData) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_accounts_accounts_v1_proto_msgTypes[2]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use AccountData.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccountData) Descriptor() ([]byte, []int) {
|
|
|
|
return file_accounts_accounts_v1_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountData) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2024-03-18 11:50:38 +00:00
|
|
|
func (x *AccountData) GetEmail() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Email
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2024-03-18 10:15:28 +00:00
|
|
|
type AccountWithPassword struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2024-03-21 15:11:13 +00:00
|
|
|
Data *AccountData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
|
Password *AccountPassword `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
2024-03-18 10:15:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountWithPassword) Reset() {
|
|
|
|
*x = AccountWithPassword{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_accounts_accounts_v1_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountWithPassword) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AccountWithPassword) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AccountWithPassword) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_accounts_accounts_v1_proto_msgTypes[3]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use AccountWithPassword.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccountWithPassword) Descriptor() ([]byte, []int) {
|
|
|
|
return file_accounts_accounts_v1_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountWithPassword) GetData() *AccountData {
|
|
|
|
if x != nil {
|
|
|
|
return x.Data
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2024-03-21 15:11:13 +00:00
|
|
|
func (x *AccountWithPassword) GetPassword() *AccountPassword {
|
2024-03-18 10:15:28 +00:00
|
|
|
if x != nil {
|
2024-03-21 15:11:13 +00:00
|
|
|
return x.Password
|
2024-03-18 10:15:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type AccountFull struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id *AccountId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Data *AccountData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountFull) Reset() {
|
|
|
|
*x = AccountFull{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_accounts_accounts_v1_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountFull) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AccountFull) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AccountFull) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_accounts_accounts_v1_proto_msgTypes[4]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use AccountFull.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccountFull) Descriptor() ([]byte, []int) {
|
|
|
|
return file_accounts_accounts_v1_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountFull) GetId() *AccountId {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccountFull) GetData() *AccountData {
|
|
|
|
if x != nil {
|
|
|
|
return x.Data
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2024-03-19 15:46:15 +00:00
|
|
|
type AccountFullWithToken struct {
|
2024-03-18 11:17:22 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2024-03-18 13:20:52 +00:00
|
|
|
|
2024-03-19 15:46:15 +00:00
|
|
|
Id *AccountId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Data *AccountData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
2024-03-21 15:11:13 +00:00
|
|
|
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
|
2024-03-18 11:17:22 +00:00
|
|
|
}
|
|
|
|
|
2024-03-19 15:46:15 +00:00
|
|
|
func (x *AccountFullWithToken) Reset() {
|
|
|
|
*x = AccountFullWithToken{}
|
2024-03-18 11:17:22 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_accounts_accounts_v1_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-19 15:46:15 +00:00
|
|
|
func (x *AccountFullWithToken) String() string {
|
2024-03-18 11:17:22 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2024-03-19 15:46:15 +00:00
|
|
|
func (*AccountFullWithToken) ProtoMessage() {}
|
2024-03-18 11:17:22 +00:00
|
|
|
|
2024-03-19 15:46:15 +00:00
|
|
|
func (x *AccountFullWithToken) ProtoReflect() protoreflect.Message {
|
2024-03-18 11:17:22 +00:00
|
|
|
mi := &file_accounts_accounts_v1_proto_msgTypes[5]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
2024-03-19 15:46:15 +00:00
|
|
|
// Deprecated: Use AccountFullWithToken.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccountFullWithToken) Descriptor() ([]byte, []int) {
|
2024-03-18 11:17:22 +00:00
|
|
|
return file_accounts_accounts_v1_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
|
|
|
|
2024-03-19 15:46:15 +00:00
|
|
|
func (x *AccountFullWithToken) GetId() *AccountId {
|
2024-03-18 13:23:11 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2024-03-19 15:46:15 +00:00
|
|
|
func (x *AccountFullWithToken) GetData() *AccountData {
|
2024-03-18 13:20:52 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Data
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2024-03-19 15:46:15 +00:00
|
|
|
func (x *AccountFullWithToken) GetToken() string {
|
2024-03-18 13:20:52 +00:00
|
|
|
if x != nil {
|
2024-03-19 15:46:15 +00:00
|
|
|
return x.Token
|
2024-03-18 13:20:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2024-03-18 10:15:28 +00:00
|
|
|
var File_accounts_accounts_v1_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_accounts_accounts_v1_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x1a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
|
|
|
|
0x6e, 0x74, 0x73, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x63,
|
2024-03-18 13:23:11 +00:00
|
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x1b, 0x0a, 0x09, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
|
|
|
|
0x74, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x02, 0x69, 0x64, 0x22, 0x2d, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61,
|
2024-03-21 15:11:13 +00:00
|
|
|
0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
|
|
|
|
0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
|
2024-03-18 13:23:11 +00:00
|
|
|
0x72, 0x64, 0x22, 0x37, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x74,
|
|
|
|
0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02,
|
2024-03-21 15:11:13 +00:00
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x77, 0x0a, 0x13, 0x41,
|
|
|
|
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f,
|
|
|
|
0x72, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x32, 0x15, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f,
|
|
|
|
0x75, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x35, 0x0a,
|
|
|
|
0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x19, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75,
|
|
|
|
0x6e, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73,
|
|
|
|
0x77, 0x6f, 0x72, 0x64, 0x22, 0x5d, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46,
|
|
|
|
0x75, 0x6c, 0x6c, 0x12, 0x23, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x13, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75,
|
|
|
|
0x6e, 0x74, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
|
0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64,
|
|
|
|
0x61, 0x74, 0x61, 0x22, 0x7c, 0x0a, 0x14, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x75,
|
|
|
|
0x6c, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x23, 0x0a, 0x02, 0x69,
|
|
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
|
|
|
|
0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64,
|
|
|
|
0x12, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15,
|
2024-03-18 11:50:38 +00:00
|
|
|
0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
|
2024-03-21 15:11:13 +00:00
|
|
|
0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74,
|
|
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65,
|
|
|
|
0x6e, 0x32, 0xa0, 0x01, 0x0a, 0x08, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x49,
|
|
|
|
0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70, 0x12, 0x1d, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
|
|
|
|
0x6e, 0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68, 0x50,
|
|
|
|
0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x1e, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
|
|
|
|
0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x57, 0x69,
|
|
|
|
0x74, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x06, 0x53, 0x69, 0x67,
|
|
|
|
0x6e, 0x49, 0x6e, 0x12, 0x1d, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x41,
|
|
|
|
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f,
|
|
|
|
0x72, 0x64, 0x1a, 0x1e, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x41, 0x63,
|
|
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x54, 0x6f, 0x6b,
|
|
|
|
0x65, 0x6e, 0x22, 0x00, 0x42, 0x44, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x2e, 0x62, 0x61, 0x64, 0x68,
|
|
|
|
0x6f, 0x75, 0x73, 0x65, 0x70, 0x6c, 0x61, 0x6e, 0x74, 0x73, 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x73,
|
|
|
|
0x6f, 0x66, 0x74, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x6f, 0x66, 0x74, 0x70, 0x6c,
|
|
|
|
0x61, 0x79, 0x65, 0x72, 0x2d, 0x67, 0x6f, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x6b,
|
|
|
|
0x67, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x6f, 0x33,
|
2024-03-18 10:15:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_accounts_accounts_v1_proto_rawDescOnce sync.Once
|
|
|
|
file_accounts_accounts_v1_proto_rawDescData = file_accounts_accounts_v1_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_accounts_accounts_v1_proto_rawDescGZIP() []byte {
|
|
|
|
file_accounts_accounts_v1_proto_rawDescOnce.Do(func() {
|
|
|
|
file_accounts_accounts_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_accounts_accounts_v1_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_accounts_accounts_v1_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2024-03-18 11:17:22 +00:00
|
|
|
var file_accounts_accounts_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
2024-03-18 10:15:28 +00:00
|
|
|
var file_accounts_accounts_v1_proto_goTypes = []interface{}{
|
2024-03-19 15:46:15 +00:00
|
|
|
(*AccountId)(nil), // 0: accounts.AccountId
|
|
|
|
(*AccountPassword)(nil), // 1: accounts.AccountPassword
|
|
|
|
(*AccountData)(nil), // 2: accounts.AccountData
|
|
|
|
(*AccountWithPassword)(nil), // 3: accounts.AccountWithPassword
|
|
|
|
(*AccountFull)(nil), // 4: accounts.AccountFull
|
|
|
|
(*AccountFullWithToken)(nil), // 5: accounts.AccountFullWithToken
|
2024-03-18 10:15:28 +00:00
|
|
|
}
|
|
|
|
var file_accounts_accounts_v1_proto_depIdxs = []int32{
|
|
|
|
2, // 0: accounts.AccountWithPassword.data:type_name -> accounts.AccountData
|
2024-03-21 15:11:13 +00:00
|
|
|
1, // 1: accounts.AccountWithPassword.password:type_name -> accounts.AccountPassword
|
2024-03-18 10:15:28 +00:00
|
|
|
0, // 2: accounts.AccountFull.id:type_name -> accounts.AccountId
|
|
|
|
2, // 3: accounts.AccountFull.data:type_name -> accounts.AccountData
|
2024-03-19 15:46:15 +00:00
|
|
|
0, // 4: accounts.AccountFullWithToken.id:type_name -> accounts.AccountId
|
|
|
|
2, // 5: accounts.AccountFullWithToken.data:type_name -> accounts.AccountData
|
2024-03-18 13:23:11 +00:00
|
|
|
3, // 6: accounts.Accounts.SignUp:input_type -> accounts.AccountWithPassword
|
|
|
|
3, // 7: accounts.Accounts.SignIn:input_type -> accounts.AccountWithPassword
|
2024-03-19 15:46:15 +00:00
|
|
|
5, // 8: accounts.Accounts.SignUp:output_type -> accounts.AccountFullWithToken
|
|
|
|
5, // 9: accounts.Accounts.SignIn:output_type -> accounts.AccountFullWithToken
|
2024-03-18 13:23:11 +00:00
|
|
|
8, // [8:10] is the sub-list for method output_type
|
|
|
|
6, // [6:8] is the sub-list for method input_type
|
|
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
|
|
0, // [0:6] is the sub-list for field type_name
|
2024-03-18 10:15:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_accounts_accounts_v1_proto_init() }
|
|
|
|
func file_accounts_accounts_v1_proto_init() {
|
|
|
|
if File_accounts_accounts_v1_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_accounts_accounts_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AccountId); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_accounts_accounts_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AccountPassword); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_accounts_accounts_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AccountData); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_accounts_accounts_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AccountWithPassword); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_accounts_accounts_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AccountFull); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-03-18 11:17:22 +00:00
|
|
|
file_accounts_accounts_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-19 15:46:15 +00:00
|
|
|
switch v := v.(*AccountFullWithToken); i {
|
2024-03-18 11:17:22 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-03-18 10:15:28 +00:00
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_accounts_accounts_v1_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
2024-03-18 11:17:22 +00:00
|
|
|
NumMessages: 6,
|
2024-03-18 10:15:28 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
|
|
|
GoTypes: file_accounts_accounts_v1_proto_goTypes,
|
|
|
|
DependencyIndexes: file_accounts_accounts_v1_proto_depIdxs,
|
|
|
|
MessageInfos: file_accounts_accounts_v1_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_accounts_accounts_v1_proto = out.File
|
|
|
|
file_accounts_accounts_v1_proto_rawDesc = nil
|
|
|
|
file_accounts_accounts_v1_proto_goTypes = nil
|
|
|
|
file_accounts_accounts_v1_proto_depIdxs = nil
|
|
|
|
}
|