Debian Codegraph @

go/types/v1/query.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/query.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 timestamppb "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 Data struct {
26 state protoimpl.MessageState `protogen:"open.v1"`
27 // Types that are valid to be assigned to Shape:
28 //
29 // *Data_Subqueries
30 // *Data_Tabular
31 // *Data_SingleValue
32 // *Data_ScalarTimeseries
33 // *Data_VectorTimeseries
34 Shape isData_Shape `protobuf_oneof:"shape"`
35 unknownFields protoimpl.UnknownFields
36 sizeCache protoimpl.SizeCache
37 }
38
39 func (x *Data) Reset() {
40 *x = Data{}
41 mi := &file_types_v1_query_proto_msgTypes[0]
42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43 ms.StoreMessageInfo(mi)
44 }
45
46 func (x *Data) String() string {
47 return protoimpl.X.MessageStringOf(x)
48 }
49
50 func (*Data) ProtoMessage() {}
51
52 func (x *Data) ProtoReflect() protoreflect.Message {
53 mi := &file_types_v1_query_proto_msgTypes[0]
54 if x != nil {
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 if ms.LoadMessageInfo() == nil {
57 ms.StoreMessageInfo(mi)
58 }
59 return ms
60 }
61 return mi.MessageOf(x)
62 }
63
64 // Deprecated: Use Data.ProtoReflect.Descriptor instead.
65 func (*Data) Descriptor() ([]byte, []int) {
66 return file_types_v1_query_proto_rawDescGZIP(), []int{0}
67 }
68
69 func (x *Data) GetShape() isData_Shape {
70 if x != nil {
71 return x.Shape
72 }
73 return nil
74 }
75
76 func (x *Data) GetSubqueries() *Data_SubQueries {
77 if x != nil {
78 if x, ok := x.Shape.(*Data_Subqueries); ok {
79 return x.Subqueries
80 }
81 }
82 return nil
83 }
84
85 func (x *Data) GetTabular() *Tabular {
86 if x != nil {
87 if x, ok := x.Shape.(*Data_Tabular); ok {
88 return x.Tabular
89 }
90 }
91 return nil
92 }
93
94 func (x *Data) GetSingleValue() *Val {
95 if x != nil {
96 if x, ok := x.Shape.(*Data_SingleValue); ok {
97 return x.SingleValue
98 }
99 }
100 return nil
101 }
102
103 func (x *Data) GetScalarTimeseries() *ScalarTimeseries {
104 if x != nil {
105 if x, ok := x.Shape.(*Data_ScalarTimeseries); ok {
106 return x.ScalarTimeseries
107 }
108 }
109 return nil
110 }
111
112 func (x *Data) GetVectorTimeseries() *VectorTimeseries {
113 if x != nil {
114 if x, ok := x.Shape.(*Data_VectorTimeseries); ok {
115 return x.VectorTimeseries
116 }
117 }
118 return nil
119 }
120
121 type isData_Shape interface {
122 isData_Shape()
123 }
124
125 type Data_Subqueries struct {
126 // SubQueries need to be further queried to obtain actual data.
127 Subqueries *Data_SubQueries `protobuf:"bytes,101,opt,name=subqueries,proto3,oneof"`
128 }
129
130 type Data_Tabular struct {
131 // tabular is data that has a table header, followed by rows that match the
132 // header
133 Tabular *Tabular `protobuf:"bytes,201,opt,name=tabular,proto3,oneof"`
134 }
135
136 type Data_SingleValue struct {
137 // single_value is a single value
138 SingleValue *Val `protobuf:"bytes,301,opt,name=single_value,json=singleValue,proto3,oneof"`
139 }
140
141 type Data_ScalarTimeseries struct {
142 // scalar timeseries data is a list of [ts, scalar] where scalar is usually
143 // a numeric value
144 ScalarTimeseries *ScalarTimeseries `protobuf:"bytes,401,opt,name=scalar_timeseries,json=scalarTimeseries,proto3,oneof"`
145 }
146
147 type Data_VectorTimeseries struct {
148 // vector timeseries data is a list of [ts, [scalar0, ..., scalarN]] where
149 // scalar is usually a numeric value
150 VectorTimeseries *VectorTimeseries `protobuf:"bytes,402,opt,name=vector_timeseries,json=vectorTimeseries,proto3,oneof"`
151 }
152
153 func (*Data_Subqueries) isData_Shape() {}
154
155 func (*Data_Tabular) isData_Shape() {}
156
157 func (*Data_SingleValue) isData_Shape() {}
158
159 func (*Data_ScalarTimeseries) isData_Shape() {}
160
161 func (*Data_VectorTimeseries) isData_Shape() {}
162
163 type Tabular struct {
164 state protoimpl.MessageState `protogen:"open.v1"`
165 // Types that are valid to be assigned to Shape:
166 //
167 // *Tabular_LogEvents
168 // *Tabular_FreeForm
169 Shape isTabular_Shape `protobuf_oneof:"shape"`
170 unknownFields protoimpl.UnknownFields
171 sizeCache protoimpl.SizeCache
172 }
173
174 func (x *Tabular) Reset() {
175 *x = Tabular{}
176 mi := &file_types_v1_query_proto_msgTypes[1]
177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
178 ms.StoreMessageInfo(mi)
179 }
180
181 func (x *Tabular) String() string {
182 return protoimpl.X.MessageStringOf(x)
183 }
184
185 func (*Tabular) ProtoMessage() {}
186
187 func (x *Tabular) ProtoReflect() protoreflect.Message {
188 mi := &file_types_v1_query_proto_msgTypes[1]
189 if x != nil {
190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191 if ms.LoadMessageInfo() == nil {
192 ms.StoreMessageInfo(mi)
193 }
194 return ms
195 }
196 return mi.MessageOf(x)
197 }
198
199 // Deprecated: Use Tabular.ProtoReflect.Descriptor instead.
200 func (*Tabular) Descriptor() ([]byte, []int) {
201 return file_types_v1_query_proto_rawDescGZIP(), []int{1}
202 }
203
204 func (x *Tabular) GetShape() isTabular_Shape {
205 if x != nil {
206 return x.Shape
207 }
208 return nil
209 }
210
211 func (x *Tabular) GetLogEvents() *LogEvents {
212 if x != nil {
213 if x, ok := x.Shape.(*Tabular_LogEvents); ok {
214 return x.LogEvents
215 }
216 }
217 return nil
218 }
219
220 func (x *Tabular) GetFreeForm() *Table {
221 if x != nil {
222 if x, ok := x.Shape.(*Tabular_FreeForm); ok {
223 return x.FreeForm
224 }
225 }
226 return nil
227 }
228
229 type isTabular_Shape interface {
230 isTabular_Shape()
231 }
232
233 type Tabular_LogEvents struct {
234 LogEvents *LogEvents `protobuf:"bytes,201,opt,name=log_events,json=logEvents,proto3,oneof"`
235 }
236
237 type Tabular_FreeForm struct {
238 FreeForm *Table `protobuf:"bytes,202,opt,name=free_form,json=freeForm,proto3,oneof"`
239 }
240
241 func (*Tabular_LogEvents) isTabular_Shape() {}
242
243 func (*Tabular_FreeForm) isTabular_Shape() {}
244
245 type ScalarTimeseries struct {
246 state protoimpl.MessageState `protogen:"open.v1"`
247 // scalars will contain only this type of value
248 Type *VarType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
249 Scalars []*ScalarTimestamp `protobuf:"bytes,3,rep,name=scalars,proto3" json:"scalars,omitempty"`
250 unknownFields protoimpl.UnknownFields
251 sizeCache protoimpl.SizeCache
252 }
253
254 func (x *ScalarTimeseries) Reset() {
255 *x = ScalarTimeseries{}
256 mi := &file_types_v1_query_proto_msgTypes[2]
257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
258 ms.StoreMessageInfo(mi)
259 }
260
261 func (x *ScalarTimeseries) String() string {
262 return protoimpl.X.MessageStringOf(x)
263 }
264
265 func (*ScalarTimeseries) ProtoMessage() {}
266
267 func (x *ScalarTimeseries) ProtoReflect() protoreflect.Message {
268 mi := &file_types_v1_query_proto_msgTypes[2]
269 if x != nil {
270 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
271 if ms.LoadMessageInfo() == nil {
272 ms.StoreMessageInfo(mi)
273 }
274 return ms
275 }
276 return mi.MessageOf(x)
277 }
278
279 // Deprecated: Use ScalarTimeseries.ProtoReflect.Descriptor instead.
280 func (*ScalarTimeseries) Descriptor() ([]byte, []int) {
281 return file_types_v1_query_proto_rawDescGZIP(), []int{2}
282 }
283
284 func (x *ScalarTimeseries) GetType() *VarType {
285 if x != nil {
286 return x.Type
287 }
288 return nil
289 }
290
291 func (x *ScalarTimeseries) GetScalars() []*ScalarTimestamp {
292 if x != nil {
293 return x.Scalars
294 }
295 return nil
296 }
297
298 type LogEvents struct {
299 state protoimpl.MessageState `protogen:"open.v1"`
300 Events []*IngestedLogEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
301 unknownFields protoimpl.UnknownFields
302 sizeCache protoimpl.SizeCache
303 }
304
305 func (x *LogEvents) Reset() {
306 *x = LogEvents{}
307 mi := &file_types_v1_query_proto_msgTypes[3]
308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
309 ms.StoreMessageInfo(mi)
310 }
311
312 func (x *LogEvents) String() string {
313 return protoimpl.X.MessageStringOf(x)
314 }
315
316 func (*LogEvents) ProtoMessage() {}
317
318 func (x *LogEvents) ProtoReflect() protoreflect.Message {
319 mi := &file_types_v1_query_proto_msgTypes[3]
320 if x != nil {
321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322 if ms.LoadMessageInfo() == nil {
323 ms.StoreMessageInfo(mi)
324 }
325 return ms
326 }
327 return mi.MessageOf(x)
328 }
329
330 // Deprecated: Use LogEvents.ProtoReflect.Descriptor instead.
331 func (*LogEvents) Descriptor() ([]byte, []int) {
332 return file_types_v1_query_proto_rawDescGZIP(), []int{3}
333 }
334
335 func (x *LogEvents) GetEvents() []*IngestedLogEvent {
336 if x != nil {
337 return x.Events
338 }
339 return nil
340 }
341
342 type ScalarTimestamp struct {
343 state protoimpl.MessageState `protogen:"open.v1"`
344 Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
345 Scalar *Scalar `protobuf:"bytes,2,opt,name=scalar,proto3" json:"scalar,omitempty"`
346 unknownFields protoimpl.UnknownFields
347 sizeCache protoimpl.SizeCache
348 }
349
350 func (x *ScalarTimestamp) Reset() {
351 *x = ScalarTimestamp{}
352 mi := &file_types_v1_query_proto_msgTypes[4]
353 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
354 ms.StoreMessageInfo(mi)
355 }
356
357 func (x *ScalarTimestamp) String() string {
358 return protoimpl.X.MessageStringOf(x)
359 }
360
361 func (*ScalarTimestamp) ProtoMessage() {}
362
363 func (x *ScalarTimestamp) ProtoReflect() protoreflect.Message {
364 mi := &file_types_v1_query_proto_msgTypes[4]
365 if x != nil {
366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
367 if ms.LoadMessageInfo() == nil {
368 ms.StoreMessageInfo(mi)
369 }
370 return ms
371 }
372 return mi.MessageOf(x)
373 }
374
375 // Deprecated: Use ScalarTimestamp.ProtoReflect.Descriptor instead.
376 func (*ScalarTimestamp) Descriptor() ([]byte, []int) {
377 return file_types_v1_query_proto_rawDescGZIP(), []int{4}
378 }
379
380 func (x *ScalarTimestamp) GetTs() *timestamppb.Timestamp {
381 if x != nil {
382 return x.Ts
383 }
384 return nil
385 }
386
387 func (x *ScalarTimestamp) GetScalar() *Scalar {
388 if x != nil {
389 return x.Scalar
390 }
391 return nil
392 }
393
394 type VectorTimeseries struct {
395 state protoimpl.MessageState `protogen:"open.v1"`
396 Context *Obj `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
397 // vectors will contain only this type of value
398 Type *VarType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
399 Vectors []*VectorTimestamp `protobuf:"bytes,3,rep,name=vectors,proto3" json:"vectors,omitempty"`
400 unknownFields protoimpl.UnknownFields
401 sizeCache protoimpl.SizeCache
402 }
403
404 func (x *VectorTimeseries) Reset() {
405 *x = VectorTimeseries{}
406 mi := &file_types_v1_query_proto_msgTypes[5]
407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
408 ms.StoreMessageInfo(mi)
409 }
410
411 func (x *VectorTimeseries) String() string {
412 return protoimpl.X.MessageStringOf(x)
413 }
414
415 func (*VectorTimeseries) ProtoMessage() {}
416
417 func (x *VectorTimeseries) ProtoReflect() protoreflect.Message {
418 mi := &file_types_v1_query_proto_msgTypes[5]
419 if x != nil {
420 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
421 if ms.LoadMessageInfo() == nil {
422 ms.StoreMessageInfo(mi)
423 }
424 return ms
425 }
426 return mi.MessageOf(x)
427 }
428
429 // Deprecated: Use VectorTimeseries.ProtoReflect.Descriptor instead.
430 func (*VectorTimeseries) Descriptor() ([]byte, []int) {
431 return file_types_v1_query_proto_rawDescGZIP(), []int{5}
432 }
433
434 func (x *VectorTimeseries) GetContext() *Obj {
435 if x != nil {
436 return x.Context
437 }
438 return nil
439 }
440
441 func (x *VectorTimeseries) GetType() *VarType {
442 if x != nil {
443 return x.Type
444 }
445 return nil
446 }
447
448 func (x *VectorTimeseries) GetVectors() []*VectorTimestamp {
449 if x != nil {
450 return x.Vectors
451 }
452 return nil
453 }
454
455 type VectorTimestamp struct {
456 state protoimpl.MessageState `protogen:"open.v1"`
457 Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
458 Vector []*Scalar `protobuf:"bytes,2,rep,name=vector,proto3" json:"vector,omitempty"`
459 unknownFields protoimpl.UnknownFields
460 sizeCache protoimpl.SizeCache
461 }
462
463 func (x *VectorTimestamp) Reset() {
464 *x = VectorTimestamp{}
465 mi := &file_types_v1_query_proto_msgTypes[6]
466 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
467 ms.StoreMessageInfo(mi)
468 }
469
470 func (x *VectorTimestamp) String() string {
471 return protoimpl.X.MessageStringOf(x)
472 }
473
474 func (*VectorTimestamp) ProtoMessage() {}
475
476 func (x *VectorTimestamp) ProtoReflect() protoreflect.Message {
477 mi := &file_types_v1_query_proto_msgTypes[6]
478 if x != nil {
479 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
480 if ms.LoadMessageInfo() == nil {
481 ms.StoreMessageInfo(mi)
482 }
483 return ms
484 }
485 return mi.MessageOf(x)
486 }
487
488 // Deprecated: Use VectorTimestamp.ProtoReflect.Descriptor instead.
489 func (*VectorTimestamp) Descriptor() ([]byte, []int) {
490 return file_types_v1_query_proto_rawDescGZIP(), []int{6}
491 }
492
493 func (x *VectorTimestamp) GetTs() *timestamppb.Timestamp {
494 if x != nil {
495 return x.Ts
496 }
497 return nil
498 }
499
500 func (x *VectorTimestamp) GetVector() []*Scalar {
501 if x != nil {
502 return x.Vector
503 }
504 return nil
505 }
506
507 type Data_SubQueries struct {
508 state protoimpl.MessageState `protogen:"open.v1"`
509 Queries []*LogQuery `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"`
510 unknownFields protoimpl.UnknownFields
511 sizeCache protoimpl.SizeCache
512 }
513
514 func (x *Data_SubQueries) Reset() {
515 *x = Data_SubQueries{}
516 mi := &file_types_v1_query_proto_msgTypes[7]
517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
518 ms.StoreMessageInfo(mi)
519 }
520
521 func (x *Data_SubQueries) String() string {
522 return protoimpl.X.MessageStringOf(x)
523 }
524
525 func (*Data_SubQueries) ProtoMessage() {}
526
527 func (x *Data_SubQueries) ProtoReflect() protoreflect.Message {
528 mi := &file_types_v1_query_proto_msgTypes[7]
529 if x != nil {
530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
531 if ms.LoadMessageInfo() == nil {
532 ms.StoreMessageInfo(mi)
533 }
534 return ms
535 }
536 return mi.MessageOf(x)
537 }
538
539 // Deprecated: Use Data_SubQueries.ProtoReflect.Descriptor instead.
540 func (*Data_SubQueries) Descriptor() ([]byte, []int) {
541 return file_types_v1_query_proto_rawDescGZIP(), []int{0, 0}
542 }
543
544 func (x *Data_SubQueries) GetQueries() []*LogQuery {
545 if x != nil {
546 return x.Queries
547 }
548 return nil
549 }
550
551 var File_types_v1_query_proto protoreflect.FileDescriptor
552
553 var file_types_v1_query_proto_rawDesc = string([]byte{
554 0x0a, 0x14, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79,
555 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31,
556 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
557 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
558 0x6f, 0x1a, 0x17, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x65,
559 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x74, 0x79, 0x70, 0x65,
560 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72,
561 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79,
562 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x03, 0x0a, 0x04, 0x44, 0x61,
563 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73,
564 0x18, 0x65, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76,
565 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x75, 0x62, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65,
566 0x73, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12,
567 0x2e, 0x0a, 0x07, 0x74, 0x61, 0x62, 0x75, 0x6c, 0x61, 0x72, 0x18, 0xc9, 0x01, 0x20, 0x01, 0x28,
568 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62,
569 0x75, 0x6c, 0x61, 0x72, 0x48, 0x00, 0x52, 0x07, 0x74, 0x61, 0x62, 0x75, 0x6c, 0x61, 0x72, 0x12,
570 0x33, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
571 0xad, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76,
572 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x56,
573 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4a, 0x0a, 0x11, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x5f, 0x74,
574 0x69, 0x6d, 0x65, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x91, 0x03, 0x20, 0x01, 0x28, 0x0b,
575 0x32, 0x1a, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x61, 0x6c,
576 0x61, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x48, 0x00, 0x52, 0x10,
577 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73,
578 0x12, 0x4a, 0x0a, 0x11, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73,
579 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x92, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74,
580 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x69,
581 0x6d, 0x65, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x48, 0x00, 0x52, 0x10, 0x76, 0x65, 0x63, 0x74,
582 0x6f, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x3a, 0x0a, 0x0a,
583 0x53, 0x75, 0x62, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x07, 0x71, 0x75,
584 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x79,
585 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52,
586 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x70,
587 0x65, 0x22, 0x7a, 0x0a, 0x07, 0x54, 0x61, 0x62, 0x75, 0x6c, 0x61, 0x72, 0x12, 0x35, 0x0a, 0x0a,
588 0x6c, 0x6f, 0x67, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0xc9, 0x01, 0x20, 0x01, 0x28,
589 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67,
590 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x45, 0x76, 0x65,
591 0x6e, 0x74, 0x73, 0x12, 0x2f, 0x0a, 0x09, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d,
592 0x18, 0xca, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
593 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x66, 0x72, 0x65, 0x65,
594 0x46, 0x6f, 0x72, 0x6d, 0x42, 0x07, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x70, 0x65, 0x22, 0x6e, 0x0a,
595 0x10, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x65, 0x72, 0x69, 0x65,
596 0x73, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
597 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x72, 0x54, 0x79,
598 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x73, 0x63, 0x61, 0x6c,
599 0x61, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x79, 0x70, 0x65,
600 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73,
601 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x22, 0x3f, 0x0a,
602 0x09, 0x4c, 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x32, 0x0a, 0x06, 0x65, 0x76,
603 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x79, 0x70,
604 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4c, 0x6f,
605 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x67,
606 0x0a, 0x0f, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
607 0x70, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
608 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
609 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x74, 0x73, 0x12, 0x28, 0x0a,
610 0x06, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
611 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x52,
612 0x06, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x22, 0x97, 0x01, 0x0a, 0x10, 0x56, 0x65, 0x63, 0x74,
613 0x6f, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x07,
614 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
615 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x52, 0x07, 0x63, 0x6f,
616 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
617 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56,
618 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x07,
619 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e,
620 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54,
621 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72,
622 0x73, 0x22, 0x67, 0x0a, 0x0f, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73,
623 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
624 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
625 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x74, 0x73,
626 0x12, 0x28, 0x0a, 0x06, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
627 0x32, 0x10, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x61, 0x6c,
628 0x61, 0x72, 0x52, 0x06, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x8a, 0x01, 0x0a, 0x0c, 0x63,
629 0x6f, 0x6d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65,
630 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75,
631 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x6c, 0x6f, 0x67, 0x69, 0x6f,
632 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31,
633 0x3b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02,
634 0x08, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x08, 0x54, 0x79, 0x70, 0x65,
635 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x14, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c,
636 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x09, 0x54, 0x79,
637 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
638 })
639
640 var (
641 file_types_v1_query_proto_rawDescOnce sync.Once
642 file_types_v1_query_proto_rawDescData []byte
643 )
644
645 func file_types_v1_query_proto_rawDescGZIP() []byte {
646 file_types_v1_query_proto_rawDescOnce.Do(func() {
647 file_types_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_types_v1_query_proto_rawDesc), len(file_types_v1_query_proto_rawDesc)))
648 })
649 return file_types_v1_query_proto_rawDescData
650 }
651
652 var file_types_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
653 var file_types_v1_query_proto_goTypes = []any{
654 (*Data)(nil), // 0: types.v1.Data
655 (*Tabular)(nil), // 1: types.v1.Tabular
656 (*ScalarTimeseries)(nil), // 2: types.v1.ScalarTimeseries
657 (*LogEvents)(nil), // 3: types.v1.LogEvents
658 (*ScalarTimestamp)(nil), // 4: types.v1.ScalarTimestamp
659 (*VectorTimeseries)(nil), // 5: types.v1.VectorTimeseries
660 (*VectorTimestamp)(nil), // 6: types.v1.VectorTimestamp
661 (*Data_SubQueries)(nil), // 7: types.v1.Data.SubQueries
662 (*Val)(nil), // 8: types.v1.Val
663 (*Table)(nil), // 9: types.v1.Table
664 (*VarType)(nil), // 10: types.v1.VarType
665 (*IngestedLogEvent)(nil), // 11: types.v1.IngestedLogEvent
666 (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
667 (*Scalar)(nil), // 13: types.v1.Scalar
668 (*Obj)(nil), // 14: types.v1.Obj
669 (*LogQuery)(nil), // 15: types.v1.LogQuery
670 }
671 var file_types_v1_query_proto_depIdxs = []int32{
672 7, // 0: types.v1.Data.subqueries:type_name -> types.v1.Data.SubQueries
673 1, // 1: types.v1.Data.tabular:type_name -> types.v1.Tabular
674 8, // 2: types.v1.Data.single_value:type_name -> types.v1.Val
675 2, // 3: types.v1.Data.scalar_timeseries:type_name -> types.v1.ScalarTimeseries
676 5, // 4: types.v1.Data.vector_timeseries:type_name -> types.v1.VectorTimeseries
677 3, // 5: types.v1.Tabular.log_events:type_name -> types.v1.LogEvents
678 9, // 6: types.v1.Tabular.free_form:type_name -> types.v1.Table
679 10, // 7: types.v1.ScalarTimeseries.type:type_name -> types.v1.VarType
680 4, // 8: types.v1.ScalarTimeseries.scalars:type_name -> types.v1.ScalarTimestamp
681 11, // 9: types.v1.LogEvents.events:type_name -> types.v1.IngestedLogEvent
682 12, // 10: types.v1.ScalarTimestamp.ts:type_name -> google.protobuf.Timestamp
683 13, // 11: types.v1.ScalarTimestamp.scalar:type_name -> types.v1.Scalar
684 14, // 12: types.v1.VectorTimeseries.context:type_name -> types.v1.Obj
685 10, // 13: types.v1.VectorTimeseries.type:type_name -> types.v1.VarType
686 6, // 14: types.v1.VectorTimeseries.vectors:type_name -> types.v1.VectorTimestamp
687 12, // 15: types.v1.VectorTimestamp.ts:type_name -> google.protobuf.Timestamp
688 13, // 16: types.v1.VectorTimestamp.vector:type_name -> types.v1.Scalar
689 15, // 17: types.v1.Data.SubQueries.queries:type_name -> types.v1.LogQuery
690 18, // [18:18] is the sub-list for method output_type
691 18, // [18:18] is the sub-list for method input_type
692 18, // [18:18] is the sub-list for extension type_name
693 18, // [18:18] is the sub-list for extension extendee
694 0, // [0:18] is the sub-list for field type_name
695 }
696
697 func init() { file_types_v1_query_proto_init() }
698 func file_types_v1_query_proto_init() {
699 if File_types_v1_query_proto != nil {
700 return
701 }
702 file_types_v1_logevent_proto_init()
703 file_types_v1_logquery_proto_init()
704 file_types_v1_types_proto_init()
705 file_types_v1_query_proto_msgTypes[0].OneofWrappers = []any{
706 (*Data_Subqueries)(nil),
707 (*Data_Tabular)(nil),
708 (*Data_SingleValue)(nil),
709 (*Data_ScalarTimeseries)(nil),
710 (*Data_VectorTimeseries)(nil),
711 }
712 file_types_v1_query_proto_msgTypes[1].OneofWrappers = []any{
713 (*Tabular_LogEvents)(nil),
714 (*Tabular_FreeForm)(nil),
715 }
716 type x struct{}
717 out := protoimpl.TypeBuilder{
718 File: protoimpl.DescBuilder{
719 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
720 RawDescriptor: unsafe.Slice(unsafe.StringData(file_types_v1_query_proto_rawDesc), len(file_types_v1_query_proto_rawDesc)),
721 NumEnums: 0,
722 NumMessages: 8,
723 NumExtensions: 0,
724 NumServices: 0,
725 },
726 GoTypes: file_types_v1_query_proto_goTypes,
727 DependencyIndexes: file_types_v1_query_proto_depIdxs,
728 MessageInfos: file_types_v1_query_proto_msgTypes,
729 }.Build()
730 File_types_v1_query_proto = out.File
731 file_types_v1_query_proto_goTypes = nil
732 file_types_v1_query_proto_depIdxs = nil
733 }