Debian Codegraph @

go/types/v1/user_token.pb.go

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