Debian Codegraph @

go/svc/ingest/v1/service.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: svc/ingest/v1/service.proto
6
7 package ingestv1
8
9 import (
10 v1 "github.com/humanlogio/api/go/types/v1"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 durationpb "google.golang.org/protobuf/types/known/durationpb"
14 reflect "reflect"
15 sync "sync"
16 unsafe "unsafe"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 type GetHeartbeatRequest struct {
27 state protoimpl.MessageState `protogen:"open.v1"`
28 // may change the heartbeat if specified
29 MachineId *uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3,oneof" json:"machine_id,omitempty"`
30 SessionId *uint64 `protobuf:"varint,2,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`
31 unknownFields protoimpl.UnknownFields
32 sizeCache protoimpl.SizeCache
33 }
34
35 func (x *GetHeartbeatRequest) Reset() {
36 *x = GetHeartbeatRequest{}
37 mi := &file_svc_ingest_v1_service_proto_msgTypes[0]
38 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
39 ms.StoreMessageInfo(mi)
40 }
41
42 func (x *GetHeartbeatRequest) String() string {
43 return protoimpl.X.MessageStringOf(x)
44 }
45
46 func (*GetHeartbeatRequest) ProtoMessage() {}
47
48 func (x *GetHeartbeatRequest) ProtoReflect() protoreflect.Message {
49 mi := &file_svc_ingest_v1_service_proto_msgTypes[0]
50 if x != nil {
51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
52 if ms.LoadMessageInfo() == nil {
53 ms.StoreMessageInfo(mi)
54 }
55 return ms
56 }
57 return mi.MessageOf(x)
58 }
59
60 // Deprecated: Use GetHeartbeatRequest.ProtoReflect.Descriptor instead.
61 func (*GetHeartbeatRequest) Descriptor() ([]byte, []int) {
62 return file_svc_ingest_v1_service_proto_rawDescGZIP(), []int{0}
63 }
64
65 func (x *GetHeartbeatRequest) GetMachineId() uint64 {
66 if x != nil && x.MachineId != nil {
67 return *x.MachineId
68 }
69 return 0
70 }
71
72 func (x *GetHeartbeatRequest) GetSessionId() uint64 {
73 if x != nil && x.SessionId != nil {
74 return *x.SessionId
75 }
76 return 0
77 }
78
79 type GetHeartbeatResponse struct {
80 state protoimpl.MessageState `protogen:"open.v1"`
81 HeartbeatIn *durationpb.Duration `protobuf:"bytes,1,opt,name=heartbeat_in,json=heartbeatIn,proto3" json:"heartbeat_in,omitempty"`
82 unknownFields protoimpl.UnknownFields
83 sizeCache protoimpl.SizeCache
84 }
85
86 func (x *GetHeartbeatResponse) Reset() {
87 *x = GetHeartbeatResponse{}
88 mi := &file_svc_ingest_v1_service_proto_msgTypes[1]
89 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
90 ms.StoreMessageInfo(mi)
91 }
92
93 func (x *GetHeartbeatResponse) String() string {
94 return protoimpl.X.MessageStringOf(x)
95 }
96
97 func (*GetHeartbeatResponse) ProtoMessage() {}
98
99 func (x *GetHeartbeatResponse) ProtoReflect() protoreflect.Message {
100 mi := &file_svc_ingest_v1_service_proto_msgTypes[1]
101 if x != nil {
102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
103 if ms.LoadMessageInfo() == nil {
104 ms.StoreMessageInfo(mi)
105 }
106 return ms
107 }
108 return mi.MessageOf(x)
109 }
110
111 // Deprecated: Use GetHeartbeatResponse.ProtoReflect.Descriptor instead.
112 func (*GetHeartbeatResponse) Descriptor() ([]byte, []int) {
113 return file_svc_ingest_v1_service_proto_rawDescGZIP(), []int{1}
114 }
115
116 func (x *GetHeartbeatResponse) GetHeartbeatIn() *durationpb.Duration {
117 if x != nil {
118 return x.HeartbeatIn
119 }
120 return nil
121 }
122
123 type IngestRequest struct {
124 state protoimpl.MessageState `protogen:"open.v1"`
125 MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`
126 // session ID, unique per machine.
127 // if not specified, one will be returned
128 SessionId uint64 `protobuf:"varint,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
129 Events []*v1.LogEvent `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
130 unknownFields protoimpl.UnknownFields
131 sizeCache protoimpl.SizeCache
132 }
133
134 func (x *IngestRequest) Reset() {
135 *x = IngestRequest{}
136 mi := &file_svc_ingest_v1_service_proto_msgTypes[2]
137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
138 ms.StoreMessageInfo(mi)
139 }
140
141 func (x *IngestRequest) String() string {
142 return protoimpl.X.MessageStringOf(x)
143 }
144
145 func (*IngestRequest) ProtoMessage() {}
146
147 func (x *IngestRequest) ProtoReflect() protoreflect.Message {
148 mi := &file_svc_ingest_v1_service_proto_msgTypes[2]
149 if x != nil {
150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
151 if ms.LoadMessageInfo() == nil {
152 ms.StoreMessageInfo(mi)
153 }
154 return ms
155 }
156 return mi.MessageOf(x)
157 }
158
159 // Deprecated: Use IngestRequest.ProtoReflect.Descriptor instead.
160 func (*IngestRequest) Descriptor() ([]byte, []int) {
161 return file_svc_ingest_v1_service_proto_rawDescGZIP(), []int{2}
162 }
163
164 func (x *IngestRequest) GetMachineId() uint64 {
165 if x != nil {
166 return x.MachineId
167 }
168 return 0
169 }
170
171 func (x *IngestRequest) GetSessionId() uint64 {
172 if x != nil {
173 return x.SessionId
174 }
175 return 0
176 }
177
178 func (x *IngestRequest) GetEvents() []*v1.LogEvent {
179 if x != nil {
180 return x.Events
181 }
182 return nil
183 }
184
185 type IngestResponse struct {
186 state protoimpl.MessageState `protogen:"open.v1"`
187 SessionId uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
188 HeartbeatIn *durationpb.Duration `protobuf:"bytes,2,opt,name=heartbeat_in,json=heartbeatIn,proto3" json:"heartbeat_in,omitempty"`
189 unknownFields protoimpl.UnknownFields
190 sizeCache protoimpl.SizeCache
191 }
192
193 func (x *IngestResponse) Reset() {
194 *x = IngestResponse{}
195 mi := &file_svc_ingest_v1_service_proto_msgTypes[3]
196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
197 ms.StoreMessageInfo(mi)
198 }
199
200 func (x *IngestResponse) String() string {
201 return protoimpl.X.MessageStringOf(x)
202 }
203
204 func (*IngestResponse) ProtoMessage() {}
205
206 func (x *IngestResponse) ProtoReflect() protoreflect.Message {
207 mi := &file_svc_ingest_v1_service_proto_msgTypes[3]
208 if x != nil {
209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
210 if ms.LoadMessageInfo() == nil {
211 ms.StoreMessageInfo(mi)
212 }
213 return ms
214 }
215 return mi.MessageOf(x)
216 }
217
218 // Deprecated: Use IngestResponse.ProtoReflect.Descriptor instead.
219 func (*IngestResponse) Descriptor() ([]byte, []int) {
220 return file_svc_ingest_v1_service_proto_rawDescGZIP(), []int{3}
221 }
222
223 func (x *IngestResponse) GetSessionId() uint64 {
224 if x != nil {
225 return x.SessionId
226 }
227 return 0
228 }
229
230 func (x *IngestResponse) GetHeartbeatIn() *durationpb.Duration {
231 if x != nil {
232 return x.HeartbeatIn
233 }
234 return nil
235 }
236
237 type IngestStreamRequest struct {
238 state protoimpl.MessageState `protogen:"open.v1"`
239 // only evaluated on the first message
240 MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`
241 // session ID, unique per machine
242 SessionId uint64 `protobuf:"varint,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
243 Events []*v1.LogEvent `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
244 unknownFields protoimpl.UnknownFields
245 sizeCache protoimpl.SizeCache
246 }
247
248 func (x *IngestStreamRequest) Reset() {
249 *x = IngestStreamRequest{}
250 mi := &file_svc_ingest_v1_service_proto_msgTypes[4]
251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
252 ms.StoreMessageInfo(mi)
253 }
254
255 func (x *IngestStreamRequest) String() string {
256 return protoimpl.X.MessageStringOf(x)
257 }
258
259 func (*IngestStreamRequest) ProtoMessage() {}
260
261 func (x *IngestStreamRequest) ProtoReflect() protoreflect.Message {
262 mi := &file_svc_ingest_v1_service_proto_msgTypes[4]
263 if x != nil {
264 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
265 if ms.LoadMessageInfo() == nil {
266 ms.StoreMessageInfo(mi)
267 }
268 return ms
269 }
270 return mi.MessageOf(x)
271 }
272
273 // Deprecated: Use IngestStreamRequest.ProtoReflect.Descriptor instead.
274 func (*IngestStreamRequest) Descriptor() ([]byte, []int) {
275 return file_svc_ingest_v1_service_proto_rawDescGZIP(), []int{4}
276 }
277
278 func (x *IngestStreamRequest) GetMachineId() uint64 {
279 if x != nil {
280 return x.MachineId
281 }
282 return 0
283 }
284
285 func (x *IngestStreamRequest) GetSessionId() uint64 {
286 if x != nil {
287 return x.SessionId
288 }
289 return 0
290 }
291
292 func (x *IngestStreamRequest) GetEvents() []*v1.LogEvent {
293 if x != nil {
294 return x.Events
295 }
296 return nil
297 }
298
299 type IngestStreamResponse struct {
300 state protoimpl.MessageState `protogen:"open.v1"`
301 SessionId uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
302 HeartbeatIn *durationpb.Duration `protobuf:"bytes,2,opt,name=heartbeat_in,json=heartbeatIn,proto3" json:"heartbeat_in,omitempty"`
303 unknownFields protoimpl.UnknownFields
304 sizeCache protoimpl.SizeCache
305 }
306
307 func (x *IngestStreamResponse) Reset() {
308 *x = IngestStreamResponse{}
309 mi := &file_svc_ingest_v1_service_proto_msgTypes[5]
310 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
311 ms.StoreMessageInfo(mi)
312 }
313
314 func (x *IngestStreamResponse) String() string {
315 return protoimpl.X.MessageStringOf(x)
316 }
317
318 func (*IngestStreamResponse) ProtoMessage() {}
319
320 func (x *IngestStreamResponse) ProtoReflect() protoreflect.Message {
321 mi := &file_svc_ingest_v1_service_proto_msgTypes[5]
322 if x != nil {
323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
324 if ms.LoadMessageInfo() == nil {
325 ms.StoreMessageInfo(mi)
326 }
327 return ms
328 }
329 return mi.MessageOf(x)
330 }
331
332 // Deprecated: Use IngestStreamResponse.ProtoReflect.Descriptor instead.
333 func (*IngestStreamResponse) Descriptor() ([]byte, []int) {
334 return file_svc_ingest_v1_service_proto_rawDescGZIP(), []int{5}
335 }
336
337 func (x *IngestStreamResponse) GetSessionId() uint64 {
338 if x != nil {
339 return x.SessionId
340 }
341 return 0
342 }
343
344 func (x *IngestStreamResponse) GetHeartbeatIn() *durationpb.Duration {
345 if x != nil {
346 return x.HeartbeatIn
347 }
348 return nil
349 }
350
351 type IngestBidiStreamRequest struct {
352 state protoimpl.MessageState `protogen:"open.v1"`
353 Events []*v1.LogEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
354 // only evaluated on the first message
355 MachineId uint64 `protobuf:"varint,2,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`
356 // Optional session ID to mark as resuming.
357 ResumeSessionId uint64 `protobuf:"varint,3,opt,name=resume_session_id,json=resumeSessionId,proto3" json:"resume_session_id,omitempty"`
358 unknownFields protoimpl.UnknownFields
359 sizeCache protoimpl.SizeCache
360 }
361
362 func (x *IngestBidiStreamRequest) Reset() {
363 *x = IngestBidiStreamRequest{}
364 mi := &file_svc_ingest_v1_service_proto_msgTypes[6]
365 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
366 ms.StoreMessageInfo(mi)
367 }
368
369 func (x *IngestBidiStreamRequest) String() string {
370 return protoimpl.X.MessageStringOf(x)
371 }
372
373 func (*IngestBidiStreamRequest) ProtoMessage() {}
374
375 func (x *IngestBidiStreamRequest) ProtoReflect() protoreflect.Message {
376 mi := &file_svc_ingest_v1_service_proto_msgTypes[6]
377 if x != nil {
378 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
379 if ms.LoadMessageInfo() == nil {
380 ms.StoreMessageInfo(mi)
381 }
382 return ms
383 }
384 return mi.MessageOf(x)
385 }
386
387 // Deprecated: Use IngestBidiStreamRequest.ProtoReflect.Descriptor instead.
388 func (*IngestBidiStreamRequest) Descriptor() ([]byte, []int) {
389 return file_svc_ingest_v1_service_proto_rawDescGZIP(), []int{6}
390 }
391
392 func (x *IngestBidiStreamRequest) GetEvents() []*v1.LogEvent {
393 if x != nil {
394 return x.Events
395 }
396 return nil
397 }
398
399 func (x *IngestBidiStreamRequest) GetMachineId() uint64 {
400 if x != nil {
401 return x.MachineId
402 }
403 return 0
404 }
405
406 func (x *IngestBidiStreamRequest) GetResumeSessionId() uint64 {
407 if x != nil {
408 return x.ResumeSessionId
409 }
410 return 0
411 }
412
413 type IngestBidiStreamResponse struct {
414 state protoimpl.MessageState `protogen:"open.v1"`
415 SessionId uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
416 HeartbeatIn *durationpb.Duration `protobuf:"bytes,2,opt,name=heartbeat_in,json=heartbeatIn,proto3" json:"heartbeat_in,omitempty"`
417 unknownFields protoimpl.UnknownFields
418 sizeCache protoimpl.SizeCache
419 }
420
421 func (x *IngestBidiStreamResponse) Reset() {
422 *x = IngestBidiStreamResponse{}
423 mi := &file_svc_ingest_v1_service_proto_msgTypes[7]
424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
425 ms.StoreMessageInfo(mi)
426 }
427
428 func (x *IngestBidiStreamResponse) String() string {
429 return protoimpl.X.MessageStringOf(x)
430 }
431
432 func (*IngestBidiStreamResponse) ProtoMessage() {}
433
434 func (x *IngestBidiStreamResponse) ProtoReflect() protoreflect.Message {
435 mi := &file_svc_ingest_v1_service_proto_msgTypes[7]
436 if x != nil {
437 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
438 if ms.LoadMessageInfo() == nil {
439 ms.StoreMessageInfo(mi)
440 }
441 return ms
442 }
443 return mi.MessageOf(x)
444 }
445
446 // Deprecated: Use IngestBidiStreamResponse.ProtoReflect.Descriptor instead.
447 func (*IngestBidiStreamResponse) Descriptor() ([]byte, []int) {
448 return file_svc_ingest_v1_service_proto_rawDescGZIP(), []int{7}
449 }
450
451 func (x *IngestBidiStreamResponse) GetSessionId() uint64 {
452 if x != nil {
453 return x.SessionId
454 }
455 return 0
456 }
457
458 func (x *IngestBidiStreamResponse) GetHeartbeatIn() *durationpb.Duration {
459 if x != nil {
460 return x.HeartbeatIn
461 }
462 return nil
463 }
464
465 var File_svc_ingest_v1_service_proto protoreflect.FileDescriptor
466
467 var file_svc_ingest_v1_service_proto_rawDesc = string([]byte{
468 0x0a, 0x1b, 0x73, 0x76, 0x63, 0x2f, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f,
469 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x73,
470 0x76, 0x63, 0x2e, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f,
471 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75,
472 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x74, 0x79,
473 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e,
474 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x48, 0x65, 0x61, 0x72,
475 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a,
476 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
477 0x48, 0x00, 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01,
478 0x12, 0x22, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02,
479 0x20, 0x01, 0x28, 0x04, 0x48, 0x01, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49,
480 0x64, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65,
481 0x5f, 0x69, 0x64, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
482 0x69, 0x64, 0x22, 0x54, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65,
483 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0c, 0x68, 0x65,
484 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
485 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
486 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x68, 0x65, 0x61,
487 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x22, 0x79, 0x0a, 0x0d, 0x49, 0x6e, 0x67, 0x65,
488 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x63,
489 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6d,
490 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73,
491 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x65,
492 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74,
493 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
494 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65,
495 0x6e, 0x74, 0x73, 0x22, 0x6d, 0x0a, 0x0e, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73,
496 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
497 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69,
498 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61,
499 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f,
500 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72,
501 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74,
502 0x49, 0x6e, 0x22, 0x7f, 0x0a, 0x13, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x53, 0x74, 0x72, 0x65,
503 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x63,
504 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6d,
505 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73,
506 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x65,
507 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74,
508 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
509 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65,
510 0x6e, 0x74, 0x73, 0x22, 0x73, 0x0a, 0x14, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x53, 0x74, 0x72,
511 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73,
512 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
513 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x68, 0x65,
514 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
515 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
516 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x68, 0x65, 0x61,
517 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x22, 0x90, 0x01, 0x0a, 0x17, 0x49, 0x6e, 0x67,
518 0x65, 0x73, 0x74, 0x42, 0x69, 0x64, 0x69, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71,
519 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01,
520 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
521 0x4c, 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73,
522 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02,
523 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12,
524 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
525 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x75,
526 0x6d, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x77, 0x0a, 0x18, 0x49,
527 0x6e, 0x67, 0x65, 0x73, 0x74, 0x42, 0x69, 0x64, 0x69, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52,
528 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69,
529 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x65, 0x73,
530 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62,
531 0x65, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
532 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
533 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65,
534 0x61, 0x74, 0x49, 0x6e, 0x32, 0xf3, 0x02, 0x0a, 0x0d, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x53,
535 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x48, 0x65, 0x61,
536 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x22, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x69, 0x6e, 0x67,
537 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62,
538 0x65, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x73, 0x76, 0x63,
539 0x2e, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x65,
540 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
541 0x45, 0x0a, 0x06, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x73, 0x76, 0x63, 0x2e,
542 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74,
543 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x69, 0x6e,
544 0x67, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x52, 0x65,
545 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0c, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74,
546 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x22, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x69, 0x6e, 0x67,
547 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x53, 0x74, 0x72,
548 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x73, 0x76, 0x63,
549 0x2e, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x67, 0x65, 0x73,
550 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28,
551 0x01, 0x12, 0x67, 0x0a, 0x10, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x42, 0x69, 0x64, 0x69, 0x53,
552 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x26, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x69, 0x6e, 0x67, 0x65,
553 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x42, 0x69, 0x64, 0x69,
554 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e,
555 0x73, 0x76, 0x63, 0x2e, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e,
556 0x67, 0x65, 0x73, 0x74, 0x42, 0x69, 0x64, 0x69, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65,
557 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0xac, 0x01, 0x0a, 0x11, 0x63,
558 0x6f, 0x6d, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31,
559 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
560 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x75, 0x6d,
561 0x61, 0x6e, 0x6c, 0x6f, 0x67, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x73,
562 0x76, 0x63, 0x2f, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x69, 0x6e, 0x67,
563 0x65, 0x73, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x49, 0x58, 0xaa, 0x02, 0x0d, 0x53, 0x76,
564 0x63, 0x2e, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x53, 0x76,
565 0x63, 0x5c, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x53, 0x76,
566 0x63, 0x5c, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d,
567 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x49,
568 0x6e, 0x67, 0x65, 0x73, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
569 0x33,
570 })
571
572 var (
573 file_svc_ingest_v1_service_proto_rawDescOnce sync.Once
574 file_svc_ingest_v1_service_proto_rawDescData []byte
575 )
576
577 func file_svc_ingest_v1_service_proto_rawDescGZIP() []byte {
578 file_svc_ingest_v1_service_proto_rawDescOnce.Do(func() {
579 file_svc_ingest_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_svc_ingest_v1_service_proto_rawDesc), len(file_svc_ingest_v1_service_proto_rawDesc)))
580 })
581 return file_svc_ingest_v1_service_proto_rawDescData
582 }
583
584 var file_svc_ingest_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
585 var file_svc_ingest_v1_service_proto_goTypes = []any{
586 (*GetHeartbeatRequest)(nil), // 0: svc.ingest.v1.GetHeartbeatRequest
587 (*GetHeartbeatResponse)(nil), // 1: svc.ingest.v1.GetHeartbeatResponse
588 (*IngestRequest)(nil), // 2: svc.ingest.v1.IngestRequest
589 (*IngestResponse)(nil), // 3: svc.ingest.v1.IngestResponse
590 (*IngestStreamRequest)(nil), // 4: svc.ingest.v1.IngestStreamRequest
591 (*IngestStreamResponse)(nil), // 5: svc.ingest.v1.IngestStreamResponse
592 (*IngestBidiStreamRequest)(nil), // 6: svc.ingest.v1.IngestBidiStreamRequest
593 (*IngestBidiStreamResponse)(nil), // 7: svc.ingest.v1.IngestBidiStreamResponse
594 (*durationpb.Duration)(nil), // 8: google.protobuf.Duration
595 (*v1.LogEvent)(nil), // 9: types.v1.LogEvent
596 }
597 var file_svc_ingest_v1_service_proto_depIdxs = []int32{
598 8, // 0: svc.ingest.v1.GetHeartbeatResponse.heartbeat_in:type_name -> google.protobuf.Duration
599 9, // 1: svc.ingest.v1.IngestRequest.events:type_name -> types.v1.LogEvent
600 8, // 2: svc.ingest.v1.IngestResponse.heartbeat_in:type_name -> google.protobuf.Duration
601 9, // 3: svc.ingest.v1.IngestStreamRequest.events:type_name -> types.v1.LogEvent
602 8, // 4: svc.ingest.v1.IngestStreamResponse.heartbeat_in:type_name -> google.protobuf.Duration
603 9, // 5: svc.ingest.v1.IngestBidiStreamRequest.events:type_name -> types.v1.LogEvent
604 8, // 6: svc.ingest.v1.IngestBidiStreamResponse.heartbeat_in:type_name -> google.protobuf.Duration
605 0, // 7: svc.ingest.v1.IngestService.GetHeartbeat:input_type -> svc.ingest.v1.GetHeartbeatRequest
606 2, // 8: svc.ingest.v1.IngestService.Ingest:input_type -> svc.ingest.v1.IngestRequest
607 4, // 9: svc.ingest.v1.IngestService.IngestStream:input_type -> svc.ingest.v1.IngestStreamRequest
608 6, // 10: svc.ingest.v1.IngestService.IngestBidiStream:input_type -> svc.ingest.v1.IngestBidiStreamRequest
609 1, // 11: svc.ingest.v1.IngestService.GetHeartbeat:output_type -> svc.ingest.v1.GetHeartbeatResponse
610 3, // 12: svc.ingest.v1.IngestService.Ingest:output_type -> svc.ingest.v1.IngestResponse
611 5, // 13: svc.ingest.v1.IngestService.IngestStream:output_type -> svc.ingest.v1.IngestStreamResponse
612 7, // 14: svc.ingest.v1.IngestService.IngestBidiStream:output_type -> svc.ingest.v1.IngestBidiStreamResponse
613 11, // [11:15] is the sub-list for method output_type
614 7, // [7:11] is the sub-list for method input_type
615 7, // [7:7] is the sub-list for extension type_name
616 7, // [7:7] is the sub-list for extension extendee
617 0, // [0:7] is the sub-list for field type_name
618 }
619
620 func init() { file_svc_ingest_v1_service_proto_init() }
621 func file_svc_ingest_v1_service_proto_init() {
622 if File_svc_ingest_v1_service_proto != nil {
623 return
624 }
625 file_svc_ingest_v1_service_proto_msgTypes[0].OneofWrappers = []any{}
626 type x struct{}
627 out := protoimpl.TypeBuilder{
628 File: protoimpl.DescBuilder{
629 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
630 RawDescriptor: unsafe.Slice(unsafe.StringData(file_svc_ingest_v1_service_proto_rawDesc), len(file_svc_ingest_v1_service_proto_rawDesc)),
631 NumEnums: 0,
632 NumMessages: 8,
633 NumExtensions: 0,
634 NumServices: 1,
635 },
636 GoTypes: file_svc_ingest_v1_service_proto_goTypes,
637 DependencyIndexes: file_svc_ingest_v1_service_proto_depIdxs,
638 MessageInfos: file_svc_ingest_v1_service_proto_msgTypes,
639 }.Build()
640 File_svc_ingest_v1_service_proto = out.File
641 file_svc_ingest_v1_service_proto_goTypes = nil
642 file_svc_ingest_v1_service_proto_depIdxs = nil
643 }