Debian Codegraph @

go/types/v1/account.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.35.1
4 // protoc (unknown)
5 // source: types/v1/account.proto
6
7 package typesv1
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 reflect "reflect"
13 sync "sync"
14 )
15
16 const (
17 // Verify that this generated code is sufficiently up-to-date.
18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19 // Verify that runtime/protoimpl is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21 )
22
23 type Account struct {
24 state protoimpl.MessageState
25 sizeCache protoimpl.SizeCache
26 unknownFields protoimpl.UnknownFields
27
28 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
29 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
30 }
31
32 func (x *Account) Reset() {
33 *x = Account{}
34 mi := &file_types_v1_account_proto_msgTypes[0]
35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
36 ms.StoreMessageInfo(mi)
37 }
38
39 func (x *Account) String() string {
40 return protoimpl.X.MessageStringOf(x)
41 }
42
43 func (*Account) ProtoMessage() {}
44
45 func (x *Account) ProtoReflect() protoreflect.Message {
46 mi := &file_types_v1_account_proto_msgTypes[0]
47 if x != nil {
48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49 if ms.LoadMessageInfo() == nil {
50 ms.StoreMessageInfo(mi)
51 }
52 return ms
53 }
54 return mi.MessageOf(x)
55 }
56
57 // Deprecated: Use Account.ProtoReflect.Descriptor instead.
58 func (*Account) Descriptor() ([]byte, []int) {
59 return file_types_v1_account_proto_rawDescGZIP(), []int{0}
60 }
61
62 func (x *Account) GetId() int64 {
63 if x != nil {
64 return x.Id
65 }
66 return 0
67 }
68
69 func (x *Account) GetName() string {
70 if x != nil {
71 return x.Name
72 }
73 return ""
74 }
75
76 var File_types_v1_account_proto protoreflect.FileDescriptor
77
78 var file_types_v1_account_proto_rawDesc = []byte{
79 0x0a, 0x16, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
80 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
81 0x76, 0x31, 0x22, 0x2d, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a,
82 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
83 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
84 0x65, 0x42, 0x8c, 0x01, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
85 0x76, 0x31, 0x42, 0x0c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
86 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68,
87 0x75, 0x6d, 0x61, 0x6e, 0x6c, 0x6f, 0x67, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f,
88 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x76,
89 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x08, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e,
90 0x56, 0x31, 0xca, 0x02, 0x08, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x14,
91 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61,
92 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x09, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31,
93 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
94 }
95
96 var (
97 file_types_v1_account_proto_rawDescOnce sync.Once
98 file_types_v1_account_proto_rawDescData = file_types_v1_account_proto_rawDesc
99 )
100
101 func file_types_v1_account_proto_rawDescGZIP() []byte {
102 file_types_v1_account_proto_rawDescOnce.Do(func() {
103 file_types_v1_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_types_v1_account_proto_rawDescData)
104 })
105 return file_types_v1_account_proto_rawDescData
106 }
107
108 var file_types_v1_account_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
109 var file_types_v1_account_proto_goTypes = []any{
110 (*Account)(nil), // 0: types.v1.Account
111 }
112 var file_types_v1_account_proto_depIdxs = []int32{
113 0, // [0:0] is the sub-list for method output_type
114 0, // [0:0] is the sub-list for method input_type
115 0, // [0:0] is the sub-list for extension type_name
116 0, // [0:0] is the sub-list for extension extendee
117 0, // [0:0] is the sub-list for field type_name
118 }
119
120 func init() { file_types_v1_account_proto_init() }
121 func file_types_v1_account_proto_init() {
122 if File_types_v1_account_proto != nil {
123 return
124 }
125 type x struct{}
126 out := protoimpl.TypeBuilder{
127 File: protoimpl.DescBuilder{
128 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
129 RawDescriptor: file_types_v1_account_proto_rawDesc,
130 NumEnums: 0,
131 NumMessages: 1,
132 NumExtensions: 0,
133 NumServices: 0,
134 },
135 GoTypes: file_types_v1_account_proto_goTypes,
136 DependencyIndexes: file_types_v1_account_proto_depIdxs,
137 MessageInfos: file_types_v1_account_proto_msgTypes,
138 }.Build()
139 File_types_v1_account_proto = out.File
140 file_types_v1_account_proto_rawDesc = nil
141 file_types_v1_account_proto_goTypes = nil
142 file_types_v1_account_proto_depIdxs = nil
143 }