Debian Codegraph @

go/types/v1/symbol.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/symbol.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 unsafe "unsafe"
15 )
16
17 const (
18 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 type Symbol struct {
25 state protoimpl.MessageState `protogen:"open.v1"`
26 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
27 Type *VarType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
28 unknownFields protoimpl.UnknownFields
29 sizeCache protoimpl.SizeCache
30 }
31
32 func (x *Symbol) Reset() {
33 *x = Symbol{}
34 mi := &file_types_v1_symbol_proto_msgTypes[0]
35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
36 ms.StoreMessageInfo(mi)
37 }
38
39 func (x *Symbol) String() string {
40 return protoimpl.X.MessageStringOf(x)
41 }
42
43 func (*Symbol) ProtoMessage() {}
44
45 func (x *Symbol) ProtoReflect() protoreflect.Message {
46 mi := &file_types_v1_symbol_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 Symbol.ProtoReflect.Descriptor instead.
58 func (*Symbol) Descriptor() ([]byte, []int) {
59 return file_types_v1_symbol_proto_rawDescGZIP(), []int{0}
60 }
61
62 func (x *Symbol) GetName() string {
63 if x != nil {
64 return x.Name
65 }
66 return ""
67 }
68
69 func (x *Symbol) GetType() *VarType {
70 if x != nil {
71 return x.Type
72 }
73 return nil
74 }
75
76 var File_types_v1_symbol_proto protoreflect.FileDescriptor
77
78 var file_types_v1_symbol_proto_rawDesc = string([]byte{
79 0x0a, 0x15, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x79, 0x6d, 0x62, 0x6f,
80 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76,
81 0x31, 0x1a, 0x14, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65,
82 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x06, 0x53, 0x79, 0x6d, 0x62, 0x6f,
83 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
84 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
85 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56,
86 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x8b, 0x01, 0x0a,
87 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x53,
88 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69,
89 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x6c, 0x6f,
90 0x67, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73,
91 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58,
92 0x58, 0xaa, 0x02, 0x08, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x08, 0x54,
93 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x14, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c,
94 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
95 0x09, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
96 0x6f, 0x33,
97 })
98
99 var (
100 file_types_v1_symbol_proto_rawDescOnce sync.Once
101 file_types_v1_symbol_proto_rawDescData []byte
102 )
103
104 func file_types_v1_symbol_proto_rawDescGZIP() []byte {
105 file_types_v1_symbol_proto_rawDescOnce.Do(func() {
106 file_types_v1_symbol_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_types_v1_symbol_proto_rawDesc), len(file_types_v1_symbol_proto_rawDesc)))
107 })
108 return file_types_v1_symbol_proto_rawDescData
109 }
110
111 var file_types_v1_symbol_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
112 var file_types_v1_symbol_proto_goTypes = []any{
113 (*Symbol)(nil), // 0: types.v1.Symbol
114 (*VarType)(nil), // 1: types.v1.VarType
115 }
116 var file_types_v1_symbol_proto_depIdxs = []int32{
117 1, // 0: types.v1.Symbol.type:type_name -> types.v1.VarType
118 1, // [1:1] is the sub-list for method output_type
119 1, // [1:1] is the sub-list for method input_type
120 1, // [1:1] is the sub-list for extension type_name
121 1, // [1:1] is the sub-list for extension extendee
122 0, // [0:1] is the sub-list for field type_name
123 }
124
125 func init() { file_types_v1_symbol_proto_init() }
126 func file_types_v1_symbol_proto_init() {
127 if File_types_v1_symbol_proto != nil {
128 return
129 }
130 file_types_v1_types_proto_init()
131 type x struct{}
132 out := protoimpl.TypeBuilder{
133 File: protoimpl.DescBuilder{
134 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
135 RawDescriptor: unsafe.Slice(unsafe.StringData(file_types_v1_symbol_proto_rawDesc), len(file_types_v1_symbol_proto_rawDesc)),
136 NumEnums: 0,
137 NumMessages: 1,
138 NumExtensions: 0,
139 NumServices: 0,
140 },
141 GoTypes: file_types_v1_symbol_proto_goTypes,
142 DependencyIndexes: file_types_v1_symbol_proto_depIdxs,
143 MessageInfos: file_types_v1_symbol_proto_msgTypes,
144 }.Build()
145 File_types_v1_symbol_proto = out.File
146 file_types_v1_symbol_proto_goTypes = nil
147 file_types_v1_symbol_proto_depIdxs = nil
148 }