-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.pb.go
2914 lines (2797 loc) · 82.8 KB
/
example.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-gogo. DO NOT EDIT.
// source: example.proto
package v1
import (
context "context"
fmt "fmt"
v1 "github.com/arangodb-managed/apis/common/v1"
types "github.com/gogo/protobuf/types"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
io "io"
math "math"
math_bits "math/bits"
)
// 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
// ExampleDataset represents a single example dataaset.
type ExampleDataset struct {
// System identifier of the example dataset.
// This is a read-only value.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// URL of this resource.
// This is a read-only value.
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
// Name of the example dataset
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Description of the example dataset
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Guide contains description of the example dataset including several example queries.
// Content type of guide is markdown.
Guide string `protobuf:"bytes,6,opt,name=guide,proto3" json:"guide,omitempty"`
// The creation timestamp of the example dataset (database object)
// This is a read-only value.
CreatedAt *types.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExampleDataset) Reset() { *m = ExampleDataset{} }
func (m *ExampleDataset) String() string { return proto.CompactTextString(m) }
func (*ExampleDataset) ProtoMessage() {}
func (*ExampleDataset) Descriptor() ([]byte, []int) {
return fileDescriptor_15a1dc8d40dadaa6, []int{0}
}
func (m *ExampleDataset) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ExampleDataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ExampleDataset.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ExampleDataset) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExampleDataset.Merge(m, src)
}
func (m *ExampleDataset) XXX_Size() int {
return m.Size()
}
func (m *ExampleDataset) XXX_DiscardUnknown() {
xxx_messageInfo_ExampleDataset.DiscardUnknown(m)
}
var xxx_messageInfo_ExampleDataset proto.InternalMessageInfo
func (m *ExampleDataset) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *ExampleDataset) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func (m *ExampleDataset) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ExampleDataset) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *ExampleDataset) GetGuide() string {
if m != nil {
return m.Guide
}
return ""
}
func (m *ExampleDataset) GetCreatedAt() *types.Timestamp {
if m != nil {
return m.CreatedAt
}
return nil
}
// ExampleDatasetInstallation represents an installation of a dataset initiated by the user.
type ExampleDatasetInstallation struct {
// System identifier of the installation.
// This is a read-only value.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// URL of this resource
// This is a read-only value.
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
// Identifier of the deployment that owns this installation.
// After creation, this value cannot be changed.
DeploymentId string `protobuf:"bytes,3,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
// Identifier of the example dataset which will be installed.
// After creation, this value cannot be changed.
ExampledatasetId string `protobuf:"bytes,4,opt,name=exampledataset_id,json=exampledatasetId,proto3" json:"exampledataset_id,omitempty"`
// The creation timestamp of the installation.
CreatedAt *types.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// The deletion timestamp of the installation
// This is a read-only value.
DeletedAt *types.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
// Set when this installation is deleted.
// This is a read-only value.
IsDeleted bool `protobuf:"varint,7,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"`
// Status of the actual installation.
Status *ExampleDatasetInstallation_Status `protobuf:"bytes,100,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExampleDatasetInstallation) Reset() { *m = ExampleDatasetInstallation{} }
func (m *ExampleDatasetInstallation) String() string { return proto.CompactTextString(m) }
func (*ExampleDatasetInstallation) ProtoMessage() {}
func (*ExampleDatasetInstallation) Descriptor() ([]byte, []int) {
return fileDescriptor_15a1dc8d40dadaa6, []int{1}
}
func (m *ExampleDatasetInstallation) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ExampleDatasetInstallation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ExampleDatasetInstallation.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ExampleDatasetInstallation) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExampleDatasetInstallation.Merge(m, src)
}
func (m *ExampleDatasetInstallation) XXX_Size() int {
return m.Size()
}
func (m *ExampleDatasetInstallation) XXX_DiscardUnknown() {
xxx_messageInfo_ExampleDatasetInstallation.DiscardUnknown(m)
}
var xxx_messageInfo_ExampleDatasetInstallation proto.InternalMessageInfo
func (m *ExampleDatasetInstallation) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *ExampleDatasetInstallation) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func (m *ExampleDatasetInstallation) GetDeploymentId() string {
if m != nil {
return m.DeploymentId
}
return ""
}
func (m *ExampleDatasetInstallation) GetExampledatasetId() string {
if m != nil {
return m.ExampledatasetId
}
return ""
}
func (m *ExampleDatasetInstallation) GetCreatedAt() *types.Timestamp {
if m != nil {
return m.CreatedAt
}
return nil
}
func (m *ExampleDatasetInstallation) GetDeletedAt() *types.Timestamp {
if m != nil {
return m.DeletedAt
}
return nil
}
func (m *ExampleDatasetInstallation) GetIsDeleted() bool {
if m != nil {
return m.IsDeleted
}
return false
}
func (m *ExampleDatasetInstallation) GetStatus() *ExampleDatasetInstallation_Status {
if m != nil {
return m.Status
}
return nil
}
// Status of the installation.
// All members of this field are read-only.
type ExampleDatasetInstallation_Status struct {
// Name of the database into which this example dataset was installed.
DatabaseName string `protobuf:"bytes,1,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
// The state of the installation.
// Will be one of the following: "InProgress|Create|Ready|Failed"
State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
// Set when the installation is failed.
IsFailed bool `protobuf:"varint,4,opt,name=is_failed,json=isFailed,proto3" json:"is_failed,omitempty"`
// Set when once the installation finished successfully and the dataset is available to be used.
IsAvailable bool `protobuf:"varint,5,opt,name=is_available,json=isAvailable,proto3" json:"is_available,omitempty"`
// Name of ArangoDB user that was created for this installation.
// Empty when no user is created.
UserName string `protobuf:"bytes,6,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
// URL towards demo resulting from this example installation.
DemoUrl string `protobuf:"bytes,7,opt,name=demo_url,json=demoUrl,proto3" json:"demo_url,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExampleDatasetInstallation_Status) Reset() { *m = ExampleDatasetInstallation_Status{} }
func (m *ExampleDatasetInstallation_Status) String() string { return proto.CompactTextString(m) }
func (*ExampleDatasetInstallation_Status) ProtoMessage() {}
func (*ExampleDatasetInstallation_Status) Descriptor() ([]byte, []int) {
return fileDescriptor_15a1dc8d40dadaa6, []int{1, 0}
}
func (m *ExampleDatasetInstallation_Status) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ExampleDatasetInstallation_Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ExampleDatasetInstallation_Status.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ExampleDatasetInstallation_Status) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExampleDatasetInstallation_Status.Merge(m, src)
}
func (m *ExampleDatasetInstallation_Status) XXX_Size() int {
return m.Size()
}
func (m *ExampleDatasetInstallation_Status) XXX_DiscardUnknown() {
xxx_messageInfo_ExampleDatasetInstallation_Status.DiscardUnknown(m)
}
var xxx_messageInfo_ExampleDatasetInstallation_Status proto.InternalMessageInfo
func (m *ExampleDatasetInstallation_Status) GetDatabaseName() string {
if m != nil {
return m.DatabaseName
}
return ""
}
func (m *ExampleDatasetInstallation_Status) GetState() string {
if m != nil {
return m.State
}
return ""
}
func (m *ExampleDatasetInstallation_Status) GetIsFailed() bool {
if m != nil {
return m.IsFailed
}
return false
}
func (m *ExampleDatasetInstallation_Status) GetIsAvailable() bool {
if m != nil {
return m.IsAvailable
}
return false
}
func (m *ExampleDatasetInstallation_Status) GetUserName() string {
if m != nil {
return m.UserName
}
return ""
}
func (m *ExampleDatasetInstallation_Status) GetDemoUrl() string {
if m != nil {
return m.DemoUrl
}
return ""
}
// ListExampleDatasetsRequest provides an extendable list request for listing datasets.
type ListExampleDatasetsRequest struct {
// Optional common list options, the context_id is ignored.
Options *v1.ListOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
// If set, the result includes all example datasets which are available for the
// organization identified by this ID.
// If not set, only datasets are returned that are available to all organizations.
OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListExampleDatasetsRequest) Reset() { *m = ListExampleDatasetsRequest{} }
func (m *ListExampleDatasetsRequest) String() string { return proto.CompactTextString(m) }
func (*ListExampleDatasetsRequest) ProtoMessage() {}
func (*ListExampleDatasetsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_15a1dc8d40dadaa6, []int{2}
}
func (m *ListExampleDatasetsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ListExampleDatasetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ListExampleDatasetsRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ListExampleDatasetsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListExampleDatasetsRequest.Merge(m, src)
}
func (m *ListExampleDatasetsRequest) XXX_Size() int {
return m.Size()
}
func (m *ListExampleDatasetsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListExampleDatasetsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListExampleDatasetsRequest proto.InternalMessageInfo
func (m *ListExampleDatasetsRequest) GetOptions() *v1.ListOptions {
if m != nil {
return m.Options
}
return nil
}
func (m *ListExampleDatasetsRequest) GetOrganizationId() string {
if m != nil {
return m.OrganizationId
}
return ""
}
// List of example datasets.
type ExampleDatasetList struct {
Items []*ExampleDataset `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExampleDatasetList) Reset() { *m = ExampleDatasetList{} }
func (m *ExampleDatasetList) String() string { return proto.CompactTextString(m) }
func (*ExampleDatasetList) ProtoMessage() {}
func (*ExampleDatasetList) Descriptor() ([]byte, []int) {
return fileDescriptor_15a1dc8d40dadaa6, []int{3}
}
func (m *ExampleDatasetList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ExampleDatasetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ExampleDatasetList.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ExampleDatasetList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExampleDatasetList.Merge(m, src)
}
func (m *ExampleDatasetList) XXX_Size() int {
return m.Size()
}
func (m *ExampleDatasetList) XXX_DiscardUnknown() {
xxx_messageInfo_ExampleDatasetList.DiscardUnknown(m)
}
var xxx_messageInfo_ExampleDatasetList proto.InternalMessageInfo
func (m *ExampleDatasetList) GetItems() []*ExampleDataset {
if m != nil {
return m.Items
}
return nil
}
// List of example datasets.
type ExampleDatasetInstallationList struct {
Items []*ExampleDatasetInstallation `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExampleDatasetInstallationList) Reset() { *m = ExampleDatasetInstallationList{} }
func (m *ExampleDatasetInstallationList) String() string { return proto.CompactTextString(m) }
func (*ExampleDatasetInstallationList) ProtoMessage() {}
func (*ExampleDatasetInstallationList) Descriptor() ([]byte, []int) {
return fileDescriptor_15a1dc8d40dadaa6, []int{4}
}
func (m *ExampleDatasetInstallationList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ExampleDatasetInstallationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ExampleDatasetInstallationList.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ExampleDatasetInstallationList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExampleDatasetInstallationList.Merge(m, src)
}
func (m *ExampleDatasetInstallationList) XXX_Size() int {
return m.Size()
}
func (m *ExampleDatasetInstallationList) XXX_DiscardUnknown() {
xxx_messageInfo_ExampleDatasetInstallationList.DiscardUnknown(m)
}
var xxx_messageInfo_ExampleDatasetInstallationList proto.InternalMessageInfo
func (m *ExampleDatasetInstallationList) GetItems() []*ExampleDatasetInstallation {
if m != nil {
return m.Items
}
return nil
}
// Request arguments for ListExampleDatasetInstallations.
type ListExampleDatasetInstallationsRequest struct {
// Identifier of the deployment to request the installations for.
DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
// Optional common list options, the context_id is ignored.
Options *v1.ListOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListExampleDatasetInstallationsRequest) Reset() {
*m = ListExampleDatasetInstallationsRequest{}
}
func (m *ListExampleDatasetInstallationsRequest) String() string { return proto.CompactTextString(m) }
func (*ListExampleDatasetInstallationsRequest) ProtoMessage() {}
func (*ListExampleDatasetInstallationsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_15a1dc8d40dadaa6, []int{5}
}
func (m *ListExampleDatasetInstallationsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ListExampleDatasetInstallationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ListExampleDatasetInstallationsRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ListExampleDatasetInstallationsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListExampleDatasetInstallationsRequest.Merge(m, src)
}
func (m *ListExampleDatasetInstallationsRequest) XXX_Size() int {
return m.Size()
}
func (m *ListExampleDatasetInstallationsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListExampleDatasetInstallationsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListExampleDatasetInstallationsRequest proto.InternalMessageInfo
func (m *ListExampleDatasetInstallationsRequest) GetDeploymentId() string {
if m != nil {
return m.DeploymentId
}
return ""
}
func (m *ListExampleDatasetInstallationsRequest) GetOptions() *v1.ListOptions {
if m != nil {
return m.Options
}
return nil
}
func init() {
proto.RegisterType((*ExampleDataset)(nil), "arangodb.cloud.example.v1.ExampleDataset")
proto.RegisterType((*ExampleDatasetInstallation)(nil), "arangodb.cloud.example.v1.ExampleDatasetInstallation")
proto.RegisterType((*ExampleDatasetInstallation_Status)(nil), "arangodb.cloud.example.v1.ExampleDatasetInstallation.Status")
proto.RegisterType((*ListExampleDatasetsRequest)(nil), "arangodb.cloud.example.v1.ListExampleDatasetsRequest")
proto.RegisterType((*ExampleDatasetList)(nil), "arangodb.cloud.example.v1.ExampleDatasetList")
proto.RegisterType((*ExampleDatasetInstallationList)(nil), "arangodb.cloud.example.v1.ExampleDatasetInstallationList")
proto.RegisterType((*ListExampleDatasetInstallationsRequest)(nil), "arangodb.cloud.example.v1.ListExampleDatasetInstallationsRequest")
}
func init() { proto.RegisterFile("example.proto", fileDescriptor_15a1dc8d40dadaa6) }
var fileDescriptor_15a1dc8d40dadaa6 = []byte{
// 933 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4d, 0x6f, 0x1b, 0x45,
0x18, 0x66, 0xf2, 0xe1, 0x38, 0xaf, 0x9b, 0xd0, 0x0e, 0x05, 0xb9, 0x5b, 0xe2, 0xba, 0x1b, 0xb5,
0x84, 0x46, 0xd9, 0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0xf0, 0xee, 0x28, 0x9c, 0x63, 0x55, 0xbb, 0x8f, 0x4b, 0xb2, 0x7f,
0x32, 0x82, 0x94, 0x17, 0x3f, 0x5d, 0x3f, 0x22, 0x58, 0x3b, 0x31, 0x83, 0xd2, 0xc7, 0x6d, 0xa2,
0x79, 0xcc, 0x76, 0xa7, 0xed, 0xd7, 0x35, 0x98, 0x6d, 0xec, 0x9e, 0x3d, 0x9b, 0x62, 0xc7, 0x66,
0x4e, 0x47, 0x08, 0x9a, 0xef, 0xe8, 0x0f, 0xda, 0x19, 0x9d, 0xcf, 0xd6, 0xd4, 0xac, 0x58, 0xee,
0x69, 0x2c, 0xef, 0xd9, 0xff, 0xcf, 0x60, 0xee, 0xa0, 0x5b, 0xf8, 0x57, 0x04, 0xcd, 0xfd, 0x84,
0x3e, 0x4d, 0x20, 0xef, 0x68, 0x90, 0xaf, 0xb6, 0xa6, 0x1d, 0x98, 0x82, 0xf3, 0x3d, 0x82, 0xa6,
0xf9, 0x51, 0xf8, 0xaf, 0x6a, 0x3b, 0xef, 0x1d, 0xcd, 0x75, 0x75, 0x6b, 0xda, 0x36, 0xdf, 0x7e,
0xeb, 0xe7, 0xa3, 0x06, 0xfa, 0xed, 0xa8, 0x81, 0xfe, 0x38, 0x6a, 0xa0, 0xef, 0xfe, 0x6c, 0x3c,
0xf3, 0xe9, 0x66, 0xe1, 0x8f, 0x38, 0xaf, 0xba, 0x15, 0x92, 0x88, 0xf8, 0x8c, 0xaa, 0xec, 0xa2,
0x90, 0xbe, 0x57, 0xd1, 0x7f, 0x4f, 0xaf, 0xfc, 0x13, 0x00, 0x00, 0xff, 0xff, 0xcf, 0xea, 0xda,
0xde, 0x89, 0x0b, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// ExampleDatasetServiceClient is the client API for ExampleDatasetService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ExampleDatasetServiceClient interface {
// Get the current API version of this service.
// Required permissions:
// - None
GetAPIVersion(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.Version, error)
// Fetch all example datasets.
// Required permissions:
// - None: Caller must be authenticated.
ListExampleDatasets(ctx context.Context, in *ListExampleDatasetsRequest, opts ...grpc.CallOption) (*ExampleDatasetList, error)
// Fetch an example dataset identified by the given ID.
// Required permissions:
// - None: Caller must be authenticated.
GetExampleDataset(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*ExampleDataset, error)
// Fetch all installations for a specific deployment.
// Required permissions:
// - example.exampledatasetinstallation.list on the deployment that owns the installation and is identified by the given ID.
ListExampleDatasetInstallations(ctx context.Context, in *ListExampleDatasetInstallationsRequest, opts ...grpc.CallOption) (*ExampleDatasetInstallationList, error)
// Fetch an installations identified by the given ID.
// Required permissions:
// - example.exampledatasetinstallation.get on the installation identified by the given ID.
GetExampleDatasetInstallation(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*ExampleDatasetInstallation, error)
// Create a new example installation. This represents a request made by the user to create an installation
// for a deployment given a specified example dataset.
// Required permissions:
// - example.exampledatasetinstallation.create on the deployment that the installation is for and is identified by the given ID.
CreateExampleDatasetInstallation(ctx context.Context, in *ExampleDatasetInstallation, opts ...grpc.CallOption) (*ExampleDatasetInstallation, error)
// Update an installation.
// Required permissions:
// - example.exampledatasetinstallation.update on the installation identified by the given ID.
UpdateExampleDatasetInstallation(ctx context.Context, in *ExampleDatasetInstallation, opts ...grpc.CallOption) (*ExampleDatasetInstallation, error)
// Delete an installation identified by the given ID.
// Required permissions:
// - example.exampledatasetinstallation.delete on the installation identified by the given ID.
DeleteExampleDatasetInstallation(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*v1.Empty, error)
}
type exampleDatasetServiceClient struct {
cc *grpc.ClientConn
}
func NewExampleDatasetServiceClient(cc *grpc.ClientConn) ExampleDatasetServiceClient {
return &exampleDatasetServiceClient{cc}
}
func (c *exampleDatasetServiceClient) GetAPIVersion(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.Version, error) {
out := new(v1.Version)
err := c.cc.Invoke(ctx, "/arangodb.cloud.example.v1.ExampleDatasetService/GetAPIVersion", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *exampleDatasetServiceClient) ListExampleDatasets(ctx context.Context, in *ListExampleDatasetsRequest, opts ...grpc.CallOption) (*ExampleDatasetList, error) {
out := new(ExampleDatasetList)
err := c.cc.Invoke(ctx, "/arangodb.cloud.example.v1.ExampleDatasetService/ListExampleDatasets", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *exampleDatasetServiceClient) GetExampleDataset(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*ExampleDataset, error) {
out := new(ExampleDataset)
err := c.cc.Invoke(ctx, "/arangodb.cloud.example.v1.ExampleDatasetService/GetExampleDataset", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *exampleDatasetServiceClient) ListExampleDatasetInstallations(ctx context.Context, in *ListExampleDatasetInstallationsRequest, opts ...grpc.CallOption) (*ExampleDatasetInstallationList, error) {
out := new(ExampleDatasetInstallationList)
err := c.cc.Invoke(ctx, "/arangodb.cloud.example.v1.ExampleDatasetService/ListExampleDatasetInstallations", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *exampleDatasetServiceClient) GetExampleDatasetInstallation(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*ExampleDatasetInstallation, error) {
out := new(ExampleDatasetInstallation)
err := c.cc.Invoke(ctx, "/arangodb.cloud.example.v1.ExampleDatasetService/GetExampleDatasetInstallation", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *exampleDatasetServiceClient) CreateExampleDatasetInstallation(ctx context.Context, in *ExampleDatasetInstallation, opts ...grpc.CallOption) (*ExampleDatasetInstallation, error) {
out := new(ExampleDatasetInstallation)
err := c.cc.Invoke(ctx, "/arangodb.cloud.example.v1.ExampleDatasetService/CreateExampleDatasetInstallation", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *exampleDatasetServiceClient) UpdateExampleDatasetInstallation(ctx context.Context, in *ExampleDatasetInstallation, opts ...grpc.CallOption) (*ExampleDatasetInstallation, error) {
out := new(ExampleDatasetInstallation)
err := c.cc.Invoke(ctx, "/arangodb.cloud.example.v1.ExampleDatasetService/UpdateExampleDatasetInstallation", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *exampleDatasetServiceClient) DeleteExampleDatasetInstallation(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*v1.Empty, error) {
out := new(v1.Empty)
err := c.cc.Invoke(ctx, "/arangodb.cloud.example.v1.ExampleDatasetService/DeleteExampleDatasetInstallation", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// ExampleDatasetServiceServer is the server API for ExampleDatasetService service.
type ExampleDatasetServiceServer interface {
// Get the current API version of this service.
// Required permissions:
// - None
GetAPIVersion(context.Context, *v1.Empty) (*v1.Version, error)
// Fetch all example datasets.
// Required permissions:
// - None: Caller must be authenticated.
ListExampleDatasets(context.Context, *ListExampleDatasetsRequest) (*ExampleDatasetList, error)
// Fetch an example dataset identified by the given ID.
// Required permissions:
// - None: Caller must be authenticated.
GetExampleDataset(context.Context, *v1.IDOptions) (*ExampleDataset, error)
// Fetch all installations for a specific deployment.
// Required permissions:
// - example.exampledatasetinstallation.list on the deployment that owns the installation and is identified by the given ID.
ListExampleDatasetInstallations(context.Context, *ListExampleDatasetInstallationsRequest) (*ExampleDatasetInstallationList, error)
// Fetch an installations identified by the given ID.
// Required permissions:
// - example.exampledatasetinstallation.get on the installation identified by the given ID.
GetExampleDatasetInstallation(context.Context, *v1.IDOptions) (*ExampleDatasetInstallation, error)
// Create a new example installation. This represents a request made by the user to create an installation
// for a deployment given a specified example dataset.
// Required permissions:
// - example.exampledatasetinstallation.create on the deployment that the installation is for and is identified by the given ID.
CreateExampleDatasetInstallation(context.Context, *ExampleDatasetInstallation) (*ExampleDatasetInstallation, error)
// Update an installation.
// Required permissions:
// - example.exampledatasetinstallation.update on the installation identified by the given ID.
UpdateExampleDatasetInstallation(context.Context, *ExampleDatasetInstallation) (*ExampleDatasetInstallation, error)
// Delete an installation identified by the given ID.
// Required permissions:
// - example.exampledatasetinstallation.delete on the installation identified by the given ID.
DeleteExampleDatasetInstallation(context.Context, *v1.IDOptions) (*v1.Empty, error)
}
// UnimplementedExampleDatasetServiceServer can be embedded to have forward compatible implementations.
type UnimplementedExampleDatasetServiceServer struct {
}
func (*UnimplementedExampleDatasetServiceServer) GetAPIVersion(ctx context.Context, req *v1.Empty) (*v1.Version, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetAPIVersion not implemented")
}
func (*UnimplementedExampleDatasetServiceServer) ListExampleDatasets(ctx context.Context, req *ListExampleDatasetsRequest) (*ExampleDatasetList, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListExampleDatasets not implemented")
}
func (*UnimplementedExampleDatasetServiceServer) GetExampleDataset(ctx context.Context, req *v1.IDOptions) (*ExampleDataset, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetExampleDataset not implemented")
}
func (*UnimplementedExampleDatasetServiceServer) ListExampleDatasetInstallations(ctx context.Context, req *ListExampleDatasetInstallationsRequest) (*ExampleDatasetInstallationList, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListExampleDatasetInstallations not implemented")
}
func (*UnimplementedExampleDatasetServiceServer) GetExampleDatasetInstallation(ctx context.Context, req *v1.IDOptions) (*ExampleDatasetInstallation, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetExampleDatasetInstallation not implemented")
}
func (*UnimplementedExampleDatasetServiceServer) CreateExampleDatasetInstallation(ctx context.Context, req *ExampleDatasetInstallation) (*ExampleDatasetInstallation, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateExampleDatasetInstallation not implemented")
}
func (*UnimplementedExampleDatasetServiceServer) UpdateExampleDatasetInstallation(ctx context.Context, req *ExampleDatasetInstallation) (*ExampleDatasetInstallation, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateExampleDatasetInstallation not implemented")
}
func (*UnimplementedExampleDatasetServiceServer) DeleteExampleDatasetInstallation(ctx context.Context, req *v1.IDOptions) (*v1.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteExampleDatasetInstallation not implemented")
}
func RegisterExampleDatasetServiceServer(s *grpc.Server, srv ExampleDatasetServiceServer) {
s.RegisterService(&_ExampleDatasetService_serviceDesc, srv)
}
func _ExampleDatasetService_GetAPIVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.Empty)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ExampleDatasetServiceServer).GetAPIVersion(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/arangodb.cloud.example.v1.ExampleDatasetService/GetAPIVersion",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ExampleDatasetServiceServer).GetAPIVersion(ctx, req.(*v1.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _ExampleDatasetService_ListExampleDatasets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListExampleDatasetsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ExampleDatasetServiceServer).ListExampleDatasets(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/arangodb.cloud.example.v1.ExampleDatasetService/ListExampleDatasets",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ExampleDatasetServiceServer).ListExampleDatasets(ctx, req.(*ListExampleDatasetsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ExampleDatasetService_GetExampleDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.IDOptions)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ExampleDatasetServiceServer).GetExampleDataset(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/arangodb.cloud.example.v1.ExampleDatasetService/GetExampleDataset",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ExampleDatasetServiceServer).GetExampleDataset(ctx, req.(*v1.IDOptions))
}
return interceptor(ctx, in, info, handler)
}
func _ExampleDatasetService_ListExampleDatasetInstallations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListExampleDatasetInstallationsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ExampleDatasetServiceServer).ListExampleDatasetInstallations(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/arangodb.cloud.example.v1.ExampleDatasetService/ListExampleDatasetInstallations",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ExampleDatasetServiceServer).ListExampleDatasetInstallations(ctx, req.(*ListExampleDatasetInstallationsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ExampleDatasetService_GetExampleDatasetInstallation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.IDOptions)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ExampleDatasetServiceServer).GetExampleDatasetInstallation(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/arangodb.cloud.example.v1.ExampleDatasetService/GetExampleDatasetInstallation",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ExampleDatasetServiceServer).GetExampleDatasetInstallation(ctx, req.(*v1.IDOptions))
}
return interceptor(ctx, in, info, handler)
}
func _ExampleDatasetService_CreateExampleDatasetInstallation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ExampleDatasetInstallation)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ExampleDatasetServiceServer).CreateExampleDatasetInstallation(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/arangodb.cloud.example.v1.ExampleDatasetService/CreateExampleDatasetInstallation",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ExampleDatasetServiceServer).CreateExampleDatasetInstallation(ctx, req.(*ExampleDatasetInstallation))
}
return interceptor(ctx, in, info, handler)
}
func _ExampleDatasetService_UpdateExampleDatasetInstallation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ExampleDatasetInstallation)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ExampleDatasetServiceServer).UpdateExampleDatasetInstallation(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/arangodb.cloud.example.v1.ExampleDatasetService/UpdateExampleDatasetInstallation",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ExampleDatasetServiceServer).UpdateExampleDatasetInstallation(ctx, req.(*ExampleDatasetInstallation))
}
return interceptor(ctx, in, info, handler)
}
func _ExampleDatasetService_DeleteExampleDatasetInstallation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.IDOptions)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ExampleDatasetServiceServer).DeleteExampleDatasetInstallation(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/arangodb.cloud.example.v1.ExampleDatasetService/DeleteExampleDatasetInstallation",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ExampleDatasetServiceServer).DeleteExampleDatasetInstallation(ctx, req.(*v1.IDOptions))
}
return interceptor(ctx, in, info, handler)
}
var _ExampleDatasetService_serviceDesc = grpc.ServiceDesc{
ServiceName: "arangodb.cloud.example.v1.ExampleDatasetService",
HandlerType: (*ExampleDatasetServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetAPIVersion",
Handler: _ExampleDatasetService_GetAPIVersion_Handler,
},
{
MethodName: "ListExampleDatasets",
Handler: _ExampleDatasetService_ListExampleDatasets_Handler,
},
{
MethodName: "GetExampleDataset",
Handler: _ExampleDatasetService_GetExampleDataset_Handler,
},
{
MethodName: "ListExampleDatasetInstallations",
Handler: _ExampleDatasetService_ListExampleDatasetInstallations_Handler,
},
{
MethodName: "GetExampleDatasetInstallation",
Handler: _ExampleDatasetService_GetExampleDatasetInstallation_Handler,
},