forked from Velocidex/velociraptor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsemantic.pb.go
262 lines (229 loc) · 10 KB
/
semantic.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: semantic.proto
package proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type SemanticDescriptor_Labels int32
const (
SemanticDescriptor_DEFAULT SemanticDescriptor_Labels = 0
SemanticDescriptor_ADVANCED SemanticDescriptor_Labels = 1
// only.
SemanticDescriptor_HIDDEN SemanticDescriptor_Labels = 2
)
var SemanticDescriptor_Labels_name = map[int32]string{
0: "DEFAULT",
1: "ADVANCED",
2: "HIDDEN",
}
var SemanticDescriptor_Labels_value = map[string]int32{
"DEFAULT": 0,
"ADVANCED": 1,
"HIDDEN": 2,
}
func (x SemanticDescriptor_Labels) String() string {
return proto.EnumName(SemanticDescriptor_Labels_name, int32(x))
}
func (SemanticDescriptor_Labels) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_32e5db2b9bc8653e, []int{0, 0}
}
type SemanticDescriptor struct {
// The semantic name of the SemanticValue contained in this field.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// The type of this field can be specified dynamically. This is the name of
// the attribute to use to retrieve the SemanticValue class to be used for
// parsing this field.
DynamicType string `protobuf:"bytes,5,opt,name=dynamic_type,json=dynamicType,proto3" json:"dynamic_type,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// A JSON encoded default. This should be the same type as the
// field it describes.
Default string `protobuf:"bytes,6,opt,name=default,proto3" json:"default,omitempty"`
Label []SemanticDescriptor_Labels `protobuf:"varint,3,rep,packed,name=label,proto3,enum=proto.SemanticDescriptor_Labels" json:"label,omitempty"`
// A friendly name for this field - to be used in GUIs etc.
FriendlyName string `protobuf:"bytes,4,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SemanticDescriptor) Reset() { *m = SemanticDescriptor{} }
func (m *SemanticDescriptor) String() string { return proto.CompactTextString(m) }
func (*SemanticDescriptor) ProtoMessage() {}
func (*SemanticDescriptor) Descriptor() ([]byte, []int) {
return fileDescriptor_32e5db2b9bc8653e, []int{0}
}
func (m *SemanticDescriptor) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SemanticDescriptor.Unmarshal(m, b)
}
func (m *SemanticDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SemanticDescriptor.Marshal(b, m, deterministic)
}
func (m *SemanticDescriptor) XXX_Merge(src proto.Message) {
xxx_messageInfo_SemanticDescriptor.Merge(m, src)
}
func (m *SemanticDescriptor) XXX_Size() int {
return xxx_messageInfo_SemanticDescriptor.Size(m)
}
func (m *SemanticDescriptor) XXX_DiscardUnknown() {
xxx_messageInfo_SemanticDescriptor.DiscardUnknown(m)
}
var xxx_messageInfo_SemanticDescriptor proto.InternalMessageInfo
func (m *SemanticDescriptor) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *SemanticDescriptor) GetDynamicType() string {
if m != nil {
return m.DynamicType
}
return ""
}
func (m *SemanticDescriptor) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *SemanticDescriptor) GetDefault() string {
if m != nil {
return m.Default
}
return ""
}
func (m *SemanticDescriptor) GetLabel() []SemanticDescriptor_Labels {
if m != nil {
return m.Label
}
return nil
}
func (m *SemanticDescriptor) GetFriendlyName() string {
if m != nil {
return m.FriendlyName
}
return ""
}
type SemanticMessageDescriptor struct {
// Describe the purpose of this protobuf.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
FriendlyName string `protobuf:"bytes,3,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SemanticMessageDescriptor) Reset() { *m = SemanticMessageDescriptor{} }
func (m *SemanticMessageDescriptor) String() string { return proto.CompactTextString(m) }
func (*SemanticMessageDescriptor) ProtoMessage() {}
func (*SemanticMessageDescriptor) Descriptor() ([]byte, []int) {
return fileDescriptor_32e5db2b9bc8653e, []int{1}
}
func (m *SemanticMessageDescriptor) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SemanticMessageDescriptor.Unmarshal(m, b)
}
func (m *SemanticMessageDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SemanticMessageDescriptor.Marshal(b, m, deterministic)
}
func (m *SemanticMessageDescriptor) XXX_Merge(src proto.Message) {
xxx_messageInfo_SemanticMessageDescriptor.Merge(m, src)
}
func (m *SemanticMessageDescriptor) XXX_Size() int {
return xxx_messageInfo_SemanticMessageDescriptor.Size(m)
}
func (m *SemanticMessageDescriptor) XXX_DiscardUnknown() {
xxx_messageInfo_SemanticMessageDescriptor.DiscardUnknown(m)
}
var xxx_messageInfo_SemanticMessageDescriptor proto.InternalMessageInfo
func (m *SemanticMessageDescriptor) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *SemanticMessageDescriptor) GetFriendlyName() string {
if m != nil {
return m.FriendlyName
}
return ""
}
var E_SemType = &proto.ExtensionDesc{
ExtendedType: (*descriptor.FieldOptions)(nil),
ExtensionType: (*SemanticDescriptor)(nil),
Field: 51584972,
Name: "proto.sem_type",
Tag: "bytes,51584972,opt,name=sem_type",
Filename: "semantic.proto",
}
var E_Semantic = &proto.ExtensionDesc{
ExtendedType: (*descriptor.MessageOptions)(nil),
ExtensionType: (*SemanticMessageDescriptor)(nil),
Field: 51584971,
Name: "proto.semantic",
Tag: "bytes,51584971,opt,name=semantic",
Filename: "semantic.proto",
}
var E_Description = &proto.ExtensionDesc{
ExtendedType: (*descriptor.EnumValueOptions)(nil),
ExtensionType: (*string)(nil),
Field: 48651165,
Name: "proto.description",
Tag: "bytes,48651165,opt,name=description",
Filename: "semantic.proto",
}
var E_Label = &proto.ExtensionDesc{
ExtendedType: (*descriptor.EnumValueOptions)(nil),
ExtensionType: (*SemanticDescriptor_Labels)(nil),
Field: 48651166,
Name: "proto.label",
Tag: "varint,48651166,opt,name=label,enum=proto.SemanticDescriptor_Labels",
Filename: "semantic.proto",
}
func init() {
proto.RegisterEnum("proto.SemanticDescriptor_Labels", SemanticDescriptor_Labels_name, SemanticDescriptor_Labels_value)
proto.RegisterType((*SemanticDescriptor)(nil), "proto.SemanticDescriptor")
proto.RegisterType((*SemanticMessageDescriptor)(nil), "proto.SemanticMessageDescriptor")
proto.RegisterExtension(E_SemType)
proto.RegisterExtension(E_Semantic)
proto.RegisterExtension(E_Description)
proto.RegisterExtension(E_Label)
}
func init() { proto.RegisterFile("semantic.proto", fileDescriptor_32e5db2b9bc8653e) }
var fileDescriptor_32e5db2b9bc8653e = []byte{
// 396 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcd, 0x4e, 0xea, 0x40,
0x14, 0xc7, 0x6f, 0xf9, 0x28, 0xdc, 0x53, 0x2e, 0x21, 0xb3, 0xb9, 0xc3, 0x4d, 0x6e, 0x2c, 0xb8,
0x61, 0x55, 0x12, 0x4c, 0x5c, 0x74, 0x47, 0x6c, 0x89, 0x26, 0x88, 0x49, 0x45, 0x56, 0x26, 0x38,
0xa5, 0x03, 0x69, 0xd2, 0x0f, 0xd2, 0x69, 0x17, 0x3c, 0x88, 0x0b, 0x17, 0xfa, 0x1a, 0x2e, 0x7d,
0x00, 0x79, 0x28, 0xc3, 0xb4, 0x83, 0xca, 0xc4, 0x84, 0x55, 0x3b, 0xe7, 0xfc, 0xe7, 0x77, 0xce,
0xf9, 0x9f, 0x81, 0x26, 0xa3, 0x21, 0x89, 0x52, 0x7f, 0x61, 0xac, 0x93, 0x38, 0x8d, 0x51, 0x95,
0x7f, 0xfe, 0xe9, 0xab, 0x38, 0x5e, 0x05, 0xb4, 0xcf, 0x4f, 0x6e, 0xb6, 0xec, 0x7b, 0x94, 0x2d,
0x12, 0x7f, 0x9d, 0xc6, 0x49, 0x2e, 0xec, 0x3e, 0x96, 0x00, 0xdd, 0x16, 0x77, 0xad, 0x7d, 0x12,
0x21, 0xa8, 0xa4, 0x9b, 0x35, 0xc5, 0x8a, 0xae, 0xf4, 0x7e, 0x3b, 0xfc, 0x1f, 0x75, 0xa0, 0xe1,
0x6d, 0x22, 0x12, 0xfa, 0x8b, 0x39, 0xcf, 0x55, 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