-
Notifications
You must be signed in to change notification settings - Fork 117
/
api.pb.go
7319 lines (6531 loc) · 285 KB
/
api.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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc (unknown)
// source: rill/runtime/v1/api.proto
package runtimev1
import (
_ "github.com/envoyproxy/protoc-gen-validate/validate"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
structpb "google.golang.org/protobuf/types/known/structpb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// FileEvent describes a file change.
type FileEvent int32
const (
FileEvent_FILE_EVENT_UNSPECIFIED FileEvent = 0
FileEvent_FILE_EVENT_WRITE FileEvent = 1
FileEvent_FILE_EVENT_DELETE FileEvent = 2
)
// Enum value maps for FileEvent.
var (
FileEvent_name = map[int32]string{
0: "FILE_EVENT_UNSPECIFIED",
1: "FILE_EVENT_WRITE",
2: "FILE_EVENT_DELETE",
}
FileEvent_value = map[string]int32{
"FILE_EVENT_UNSPECIFIED": 0,
"FILE_EVENT_WRITE": 1,
"FILE_EVENT_DELETE": 2,
}
)
func (x FileEvent) Enum() *FileEvent {
p := new(FileEvent)
*p = x
return p
}
func (x FileEvent) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (FileEvent) Descriptor() protoreflect.EnumDescriptor {
return file_rill_runtime_v1_api_proto_enumTypes[0].Descriptor()
}
func (FileEvent) Type() protoreflect.EnumType {
return &file_rill_runtime_v1_api_proto_enumTypes[0]
}
func (x FileEvent) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use FileEvent.Descriptor instead.
func (FileEvent) EnumDescriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{0}
}
type LogLevel int32
const (
LogLevel_LOG_LEVEL_UNSPECIFIED LogLevel = 0
LogLevel_LOG_LEVEL_DEBUG LogLevel = 4
LogLevel_LOG_LEVEL_INFO LogLevel = 8
LogLevel_LOG_LEVEL_WARN LogLevel = 12
LogLevel_LOG_LEVEL_ERROR LogLevel = 16
)
// Enum value maps for LogLevel.
var (
LogLevel_name = map[int32]string{
0: "LOG_LEVEL_UNSPECIFIED",
4: "LOG_LEVEL_DEBUG",
8: "LOG_LEVEL_INFO",
12: "LOG_LEVEL_WARN",
16: "LOG_LEVEL_ERROR",
}
LogLevel_value = map[string]int32{
"LOG_LEVEL_UNSPECIFIED": 0,
"LOG_LEVEL_DEBUG": 4,
"LOG_LEVEL_INFO": 8,
"LOG_LEVEL_WARN": 12,
"LOG_LEVEL_ERROR": 16,
}
)
func (x LogLevel) Enum() *LogLevel {
p := new(LogLevel)
*p = x
return p
}
func (x LogLevel) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (LogLevel) Descriptor() protoreflect.EnumDescriptor {
return file_rill_runtime_v1_api_proto_enumTypes[1].Descriptor()
}
func (LogLevel) Type() protoreflect.EnumType {
return &file_rill_runtime_v1_api_proto_enumTypes[1]
}
func (x LogLevel) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use LogLevel.Descriptor instead.
func (LogLevel) EnumDescriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{1}
}
type ResourceEvent int32
const (
ResourceEvent_RESOURCE_EVENT_UNSPECIFIED ResourceEvent = 0
ResourceEvent_RESOURCE_EVENT_ADDED ResourceEvent = 1
ResourceEvent_RESOURCE_EVENT_UPDATED_SPEC ResourceEvent = 2
ResourceEvent_RESOURCE_EVENT_UPDATED_STATE ResourceEvent = 3
ResourceEvent_RESOURCE_EVENT_DELETED ResourceEvent = 4
)
// Enum value maps for ResourceEvent.
var (
ResourceEvent_name = map[int32]string{
0: "RESOURCE_EVENT_UNSPECIFIED",
1: "RESOURCE_EVENT_ADDED",
2: "RESOURCE_EVENT_UPDATED_SPEC",
3: "RESOURCE_EVENT_UPDATED_STATE",
4: "RESOURCE_EVENT_DELETED",
}
ResourceEvent_value = map[string]int32{
"RESOURCE_EVENT_UNSPECIFIED": 0,
"RESOURCE_EVENT_ADDED": 1,
"RESOURCE_EVENT_UPDATED_SPEC": 2,
"RESOURCE_EVENT_UPDATED_STATE": 3,
"RESOURCE_EVENT_DELETED": 4,
}
)
func (x ResourceEvent) Enum() *ResourceEvent {
p := new(ResourceEvent)
*p = x
return p
}
func (x ResourceEvent) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ResourceEvent) Descriptor() protoreflect.EnumDescriptor {
return file_rill_runtime_v1_api_proto_enumTypes[2].Descriptor()
}
func (ResourceEvent) Type() protoreflect.EnumType {
return &file_rill_runtime_v1_api_proto_enumTypes[2]
}
func (x ResourceEvent) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ResourceEvent.Descriptor instead.
func (ResourceEvent) EnumDescriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{2}
}
// Code represents different categories of reconciliation errors
type ReconcileError_Code int32
const (
// Unspecified error
ReconcileError_CODE_UNSPECIFIED ReconcileError_Code = 0
// Code artifact failed to parse
ReconcileError_CODE_SYNTAX ReconcileError_Code = 1
// Code artifact has internal validation errors
ReconcileError_CODE_VALIDATION ReconcileError_Code = 2
// Code artifact is valid, but has invalid dependencies
ReconcileError_CODE_DEPENDENCY ReconcileError_Code = 3
// Error returned from the OLAP database
ReconcileError_CODE_OLAP ReconcileError_Code = 4
// Error encountered during source inspection or ingestion
ReconcileError_CODE_SOURCE ReconcileError_Code = 5
// Error returned when unauthorised to access remote sources
ReconcileError_CODE_SOURCE_PERMISSION_DENIED ReconcileError_Code = 6
)
// Enum value maps for ReconcileError_Code.
var (
ReconcileError_Code_name = map[int32]string{
0: "CODE_UNSPECIFIED",
1: "CODE_SYNTAX",
2: "CODE_VALIDATION",
3: "CODE_DEPENDENCY",
4: "CODE_OLAP",
5: "CODE_SOURCE",
6: "CODE_SOURCE_PERMISSION_DENIED",
}
ReconcileError_Code_value = map[string]int32{
"CODE_UNSPECIFIED": 0,
"CODE_SYNTAX": 1,
"CODE_VALIDATION": 2,
"CODE_DEPENDENCY": 3,
"CODE_OLAP": 4,
"CODE_SOURCE": 5,
"CODE_SOURCE_PERMISSION_DENIED": 6,
}
)
func (x ReconcileError_Code) Enum() *ReconcileError_Code {
p := new(ReconcileError_Code)
*p = x
return p
}
func (x ReconcileError_Code) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ReconcileError_Code) Descriptor() protoreflect.EnumDescriptor {
return file_rill_runtime_v1_api_proto_enumTypes[3].Descriptor()
}
func (ReconcileError_Code) Type() protoreflect.EnumType {
return &file_rill_runtime_v1_api_proto_enumTypes[3]
}
func (x ReconcileError_Code) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ReconcileError_Code.Descriptor instead.
func (ReconcileError_Code) EnumDescriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{61, 0}
}
// Type represents the field type
type ConnectorSpec_Property_Type int32
const (
ConnectorSpec_Property_TYPE_UNSPECIFIED ConnectorSpec_Property_Type = 0
ConnectorSpec_Property_TYPE_STRING ConnectorSpec_Property_Type = 1
ConnectorSpec_Property_TYPE_NUMBER ConnectorSpec_Property_Type = 2
ConnectorSpec_Property_TYPE_BOOLEAN ConnectorSpec_Property_Type = 3
ConnectorSpec_Property_TYPE_INFORMATIONAL ConnectorSpec_Property_Type = 4
)
// Enum value maps for ConnectorSpec_Property_Type.
var (
ConnectorSpec_Property_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "TYPE_STRING",
2: "TYPE_NUMBER",
3: "TYPE_BOOLEAN",
4: "TYPE_INFORMATIONAL",
}
ConnectorSpec_Property_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"TYPE_STRING": 1,
"TYPE_NUMBER": 2,
"TYPE_BOOLEAN": 3,
"TYPE_INFORMATIONAL": 4,
}
)
func (x ConnectorSpec_Property_Type) Enum() *ConnectorSpec_Property_Type {
p := new(ConnectorSpec_Property_Type)
*p = x
return p
}
func (x ConnectorSpec_Property_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ConnectorSpec_Property_Type) Descriptor() protoreflect.EnumDescriptor {
return file_rill_runtime_v1_api_proto_enumTypes[4].Descriptor()
}
func (ConnectorSpec_Property_Type) Type() protoreflect.EnumType {
return &file_rill_runtime_v1_api_proto_enumTypes[4]
}
func (x ConnectorSpec_Property_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ConnectorSpec_Property_Type.Descriptor instead.
func (ConnectorSpec_Property_Type) EnumDescriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{70, 0, 0}
}
// Request message for RuntimeService.Ping
type PingRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *PingRequest) Reset() {
*x = PingRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_rill_runtime_v1_api_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PingRequest) ProtoMessage() {}
func (x *PingRequest) ProtoReflect() protoreflect.Message {
mi := &file_rill_runtime_v1_api_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) Descriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{0}
}
// Response message for RuntimeService.Ping
type PingResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Runtime version
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// Runtime server time
Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
}
func (x *PingResponse) Reset() {
*x = PingResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_rill_runtime_v1_api_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PingResponse) ProtoMessage() {}
func (x *PingResponse) ProtoReflect() protoreflect.Message {
mi := &file_rill_runtime_v1_api_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) Descriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{1}
}
func (x *PingResponse) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *PingResponse) GetTime() *timestamppb.Timestamp {
if x != nil {
return x.Time
}
return nil
}
// Instance represents a single data project, meaning one set of code artifacts,
// one connection to an OLAP datastore (DuckDB, Druid), and one catalog of related
// metadata (such as reconciliation state). Instances are the unit of isolation within
// the runtime. They enable one runtime deployment to serve not only multiple data
// projects, but also multiple tenants. On local, the runtime will usually have
// just a single instance.
type Instance struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Identifier (UUID)
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Driver to connect to for OLAP (options: duckdb, druid)
OlapDriver string `protobuf:"bytes,2,opt,name=olap_driver,json=olapDriver,proto3" json:"olap_driver,omitempty"`
// Driver for reading/editing code artifacts (options: file, metastore, github).
// This enables virtualizing a file system in a cloud setting.
RepoDriver string `protobuf:"bytes,4,opt,name=repo_driver,json=repoDriver,proto3" json:"repo_driver,omitempty"`
// If true, the runtime will store the instance's catalog in its OLAP store instead
// of in the runtime's metadata store. Currently only supported for the duckdb driver.
EmbedCatalog bool `protobuf:"varint,6,opt,name=embed_catalog,json=embedCatalog,proto3" json:"embed_catalog,omitempty"`
// instance specific variables
Variables map[string]string `protobuf:"bytes,7,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// project defaults
ProjectVariables map[string]string `protobuf:"bytes,8,rep,name=project_variables,json=projectVariables,proto3" json:"project_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// ingestion limit across all sources, 0 means no limit
IngestionLimitBytes int64 `protobuf:"varint,9,opt,name=ingestion_limit_bytes,json=ingestionLimitBytes,proto3" json:"ingestion_limit_bytes,omitempty"`
// bare minimum connectors required by the instance.
Connectors []*Connector `protobuf:"bytes,10,rep,name=connectors,proto3" json:"connectors,omitempty"`
}
func (x *Instance) Reset() {
*x = Instance{}
if protoimpl.UnsafeEnabled {
mi := &file_rill_runtime_v1_api_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Instance) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Instance) ProtoMessage() {}
func (x *Instance) ProtoReflect() protoreflect.Message {
mi := &file_rill_runtime_v1_api_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) Descriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{2}
}
func (x *Instance) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *Instance) GetOlapDriver() string {
if x != nil {
return x.OlapDriver
}
return ""
}
func (x *Instance) GetRepoDriver() string {
if x != nil {
return x.RepoDriver
}
return ""
}
func (x *Instance) GetEmbedCatalog() bool {
if x != nil {
return x.EmbedCatalog
}
return false
}
func (x *Instance) GetVariables() map[string]string {
if x != nil {
return x.Variables
}
return nil
}
func (x *Instance) GetProjectVariables() map[string]string {
if x != nil {
return x.ProjectVariables
}
return nil
}
func (x *Instance) GetIngestionLimitBytes() int64 {
if x != nil {
return x.IngestionLimitBytes
}
return 0
}
func (x *Instance) GetConnectors() []*Connector {
if x != nil {
return x.Connectors
}
return nil
}
type Connector struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Type of the connector. One of the infra driver supported.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// Name of the connector
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Config for the connector
Config map[string]string `protobuf:"bytes,3,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *Connector) Reset() {
*x = Connector{}
if protoimpl.UnsafeEnabled {
mi := &file_rill_runtime_v1_api_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Connector) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Connector) ProtoMessage() {}
func (x *Connector) ProtoReflect() protoreflect.Message {
mi := &file_rill_runtime_v1_api_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Connector.ProtoReflect.Descriptor instead.
func (*Connector) Descriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{3}
}
func (x *Connector) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *Connector) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Connector) GetConfig() map[string]string {
if x != nil {
return x.Config
}
return nil
}
// Request message for RuntimeService.ListInstances
type ListInstancesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
}
func (x *ListInstancesRequest) Reset() {
*x = ListInstancesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_rill_runtime_v1_api_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListInstancesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListInstancesRequest) ProtoMessage() {}
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message {
mi := &file_rill_runtime_v1_api_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (*ListInstancesRequest) Descriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{4}
}
func (x *ListInstancesRequest) GetPageSize() uint32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ListInstancesRequest) GetPageToken() string {
if x != nil {
return x.PageToken
}
return ""
}
// Response message for RuntimeService.ListInstances
type ListInstancesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
}
func (x *ListInstancesResponse) Reset() {
*x = ListInstancesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_rill_runtime_v1_api_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListInstancesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListInstancesResponse) ProtoMessage() {}
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message {
mi := &file_rill_runtime_v1_api_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (*ListInstancesResponse) Descriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{5}
}
func (x *ListInstancesResponse) GetInstances() []*Instance {
if x != nil {
return x.Instances
}
return nil
}
func (x *ListInstancesResponse) GetNextPageToken() string {
if x != nil {
return x.NextPageToken
}
return ""
}
// Request message for RuntimeService.GetInstance
type GetInstanceRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
}
func (x *GetInstanceRequest) Reset() {
*x = GetInstanceRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_rill_runtime_v1_api_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetInstanceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetInstanceRequest) ProtoMessage() {}
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message {
mi := &file_rill_runtime_v1_api_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceRequest) Descriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{6}
}
func (x *GetInstanceRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
// Response message for RuntimeService.GetInstance
type GetInstanceResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
}
func (x *GetInstanceResponse) Reset() {
*x = GetInstanceResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_rill_runtime_v1_api_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetInstanceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetInstanceResponse) ProtoMessage() {}
func (x *GetInstanceResponse) ProtoReflect() protoreflect.Message {
mi := &file_rill_runtime_v1_api_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetInstanceResponse.ProtoReflect.Descriptor instead.
func (*GetInstanceResponse) Descriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{7}
}
func (x *GetInstanceResponse) GetInstance() *Instance {
if x != nil {
return x.Instance
}
return nil
}
// Request message for RuntimeService.CreateInstance.
// See message Instance for field descriptions.
type CreateInstanceRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
OlapDriver string `protobuf:"bytes,2,opt,name=olap_driver,json=olapDriver,proto3" json:"olap_driver,omitempty"`
RepoDriver string `protobuf:"bytes,4,opt,name=repo_driver,json=repoDriver,proto3" json:"repo_driver,omitempty"`
EmbedCatalog bool `protobuf:"varint,6,opt,name=embed_catalog,json=embedCatalog,proto3" json:"embed_catalog,omitempty"`
Variables map[string]string `protobuf:"bytes,7,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
IngestionLimitBytes int64 `protobuf:"varint,8,opt,name=ingestion_limit_bytes,json=ingestionLimitBytes,proto3" json:"ingestion_limit_bytes,omitempty"`
Annotations map[string]string `protobuf:"bytes,9,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Connectors []*Connector `protobuf:"bytes,10,rep,name=connectors,proto3" json:"connectors,omitempty"`
}
func (x *CreateInstanceRequest) Reset() {
*x = CreateInstanceRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_rill_runtime_v1_api_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateInstanceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateInstanceRequest) ProtoMessage() {}
func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message {
mi := &file_rill_runtime_v1_api_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.
func (*CreateInstanceRequest) Descriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{8}
}
func (x *CreateInstanceRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *CreateInstanceRequest) GetOlapDriver() string {
if x != nil {
return x.OlapDriver
}
return ""
}
func (x *CreateInstanceRequest) GetRepoDriver() string {
if x != nil {
return x.RepoDriver
}
return ""
}
func (x *CreateInstanceRequest) GetEmbedCatalog() bool {
if x != nil {
return x.EmbedCatalog
}
return false
}
func (x *CreateInstanceRequest) GetVariables() map[string]string {
if x != nil {
return x.Variables
}
return nil
}
func (x *CreateInstanceRequest) GetIngestionLimitBytes() int64 {
if x != nil {
return x.IngestionLimitBytes
}
return 0
}
func (x *CreateInstanceRequest) GetAnnotations() map[string]string {
if x != nil {
return x.Annotations
}
return nil
}
func (x *CreateInstanceRequest) GetConnectors() []*Connector {
if x != nil {
return x.Connectors
}
return nil
}
// Response message for RuntimeService.CreateInstance
type CreateInstanceResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
}
func (x *CreateInstanceResponse) Reset() {
*x = CreateInstanceResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_rill_runtime_v1_api_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateInstanceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateInstanceResponse) ProtoMessage() {}
func (x *CreateInstanceResponse) ProtoReflect() protoreflect.Message {
mi := &file_rill_runtime_v1_api_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateInstanceResponse.ProtoReflect.Descriptor instead.
func (*CreateInstanceResponse) Descriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{9}
}
func (x *CreateInstanceResponse) GetInstance() *Instance {
if x != nil {
return x.Instance
}
return nil
}
// Request message for RuntimeService.DeleteInstance
type DeleteInstanceRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
DropDb bool `protobuf:"varint,2,opt,name=drop_db,json=dropDb,proto3" json:"drop_db,omitempty"`
}
func (x *DeleteInstanceRequest) Reset() {
*x = DeleteInstanceRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_rill_runtime_v1_api_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteInstanceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteInstanceRequest) ProtoMessage() {}
func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message {
mi := &file_rill_runtime_v1_api_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) {
return file_rill_runtime_v1_api_proto_rawDescGZIP(), []int{10}
}
func (x *DeleteInstanceRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}