This repository has been archived by the owner on Nov 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
options.pb.go
538 lines (503 loc) · 22.4 KB
/
options.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.3
// source: options.proto
package rony
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
descriptorpb "google.golang.org/protobuf/types/descriptorpb"
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)
)
// RestOpt is the container message for all the required and optional parameters for REST setup.
// By adding 'rony_rest' option to the method definition a REST wrapper will be generated for that
// method and that RPC handler will become accessible using REST endpoint.
type RestOpt struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// method identifies the HTTP command: i.e. 'get', 'post', 'put', ...
Method *string `protobuf:"bytes,1,req,name=method" json:"method,omitempty"`
// path identifies the path that this RPC method will be available as REST endpoint.
Path *string `protobuf:"bytes,2,req,name=path" json:"path,omitempty"`
// bind_variables is a list of pair of bindings. For example if we have a path '/part1/:var1/:var2'
// and we want to bind 'var1' to field 'fieldVar1' and bind 'var2' to field 'fieldVar2' then it will be:
// `["var1=fieldVar1" , "var2=fieldVar2"]`
BindVariables []string `protobuf:"bytes,3,rep,name=bind_variables,json=bindVariables" json:"bind_variables,omitempty"`
// json_encode if is set then input and output data are json encoded version of the proto messages
JsonEncode *bool `protobuf:"varint,4,opt,name=json_encode,json=jsonEncode" json:"json_encode,omitempty"`
}
func (x *RestOpt) Reset() {
*x = RestOpt{}
if protoimpl.UnsafeEnabled {
mi := &file_options_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RestOpt) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RestOpt) ProtoMessage() {}
func (x *RestOpt) ProtoReflect() protoreflect.Message {
mi := &file_options_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 RestOpt.ProtoReflect.Descriptor instead.
func (*RestOpt) Descriptor() ([]byte, []int) {
return file_options_proto_rawDescGZIP(), []int{0}
}
func (x *RestOpt) GetMethod() string {
if x != nil && x.Method != nil {
return *x.Method
}
return ""
}
func (x *RestOpt) GetPath() string {
if x != nil && x.Path != nil {
return *x.Path
}
return ""
}
func (x *RestOpt) GetBindVariables() []string {
if x != nil {
return x.BindVariables
}
return nil
}
func (x *RestOpt) GetJsonEncode() bool {
if x != nil && x.JsonEncode != nil {
return *x.JsonEncode
}
return false
}
// PrimaryKeyOpt is the container for aggregate primary key settings. It is going to replace old
// rony_aggregate_table & rony_aggregate_view options.
type PrimaryKeyOpt struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PartKey []string `protobuf:"bytes,1,rep,name=part_key,json=partKey" json:"part_key,omitempty"`
SortKey []string `protobuf:"bytes,2,rep,name=sort_key,json=sortKey" json:"sort_key,omitempty"`
// Alias could be used to override the name of materialized view. If this is not set, Rony automatically
// generates for you.
Alias *string `protobuf:"bytes,4,opt,name=alias" json:"alias,omitempty"`
}
func (x *PrimaryKeyOpt) Reset() {
*x = PrimaryKeyOpt{}
if protoimpl.UnsafeEnabled {
mi := &file_options_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PrimaryKeyOpt) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PrimaryKeyOpt) ProtoMessage() {}
func (x *PrimaryKeyOpt) ProtoReflect() protoreflect.Message {
mi := &file_options_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 PrimaryKeyOpt.ProtoReflect.Descriptor instead.
func (*PrimaryKeyOpt) Descriptor() ([]byte, []int) {
return file_options_proto_rawDescGZIP(), []int{1}
}
func (x *PrimaryKeyOpt) GetPartKey() []string {
if x != nil {
return x.PartKey
}
return nil
}
func (x *PrimaryKeyOpt) GetSortKey() []string {
if x != nil {
return x.SortKey
}
return nil
}
func (x *PrimaryKeyOpt) GetAlias() string {
if x != nil && x.Alias != nil {
return *x.Alias
}
return ""
}
var file_options_proto_extTypes = []protoimpl.ExtensionInfo{
{
ExtendedType: (*descriptorpb.ServiceOptions)(nil),
ExtensionType: (*bool)(nil),
Field: 50001,
Name: "rony_cobra_cmd",
Tag: "varint,50001,opt,name=rony_cobra_cmd",
Filename: "options.proto",
},
{
ExtendedType: (*descriptorpb.ServiceOptions)(nil),
ExtensionType: (*string)(nil),
Field: 50002,
Name: "rony_cobra_cmd_protocol",
Tag: "bytes,50002,opt,name=rony_cobra_cmd_protocol",
Filename: "options.proto",
},
{
ExtendedType: (*descriptorpb.ServiceOptions)(nil),
ExtensionType: (*bool)(nil),
Field: 50003,
Name: "rony_no_client",
Tag: "varint,50003,opt,name=rony_no_client",
Filename: "options.proto",
},
{
ExtendedType: (*descriptorpb.MethodOptions)(nil),
ExtensionType: (*bool)(nil),
Field: 50002,
Name: "rony_internal",
Tag: "varint,50002,opt,name=rony_internal",
Filename: "options.proto",
},
{
ExtendedType: (*descriptorpb.MethodOptions)(nil),
ExtensionType: (*RestOpt)(nil),
Field: 50003,
Name: "rony_rest",
Tag: "bytes,50003,opt,name=rony_rest",
Filename: "options.proto",
},
{
ExtendedType: (*descriptorpb.MessageOptions)(nil),
ExtensionType: (*string)(nil),
Field: 50001,
Name: "rony_local_repo",
Tag: "bytes,50001,opt,name=rony_local_repo",
Filename: "options.proto",
},
{
ExtendedType: (*descriptorpb.MessageOptions)(nil),
ExtensionType: (*string)(nil),
Field: 50002,
Name: "rony_global_repo",
Tag: "bytes,50002,opt,name=rony_global_repo",
Filename: "options.proto",
},
{
ExtendedType: (*descriptorpb.MessageOptions)(nil),
ExtensionType: (*bool)(nil),
Field: 50003,
Name: "rony_singleton",
Tag: "varint,50003,opt,name=rony_singleton",
Filename: "options.proto",
},
{
ExtendedType: (*descriptorpb.MessageOptions)(nil),
ExtensionType: (*PrimaryKeyOpt)(nil),
Field: 50024,
Name: "rony_table",
Tag: "bytes,50024,opt,name=rony_table",
Filename: "options.proto",
},
{
ExtendedType: (*descriptorpb.MessageOptions)(nil),
ExtensionType: ([]*PrimaryKeyOpt)(nil),
Field: 50025,
Name: "rony_view",
Tag: "bytes,50025,rep,name=rony_view",
Filename: "options.proto",
},
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*bool)(nil),
Field: 50001,
Name: "rony_index",
Tag: "varint,50001,opt,name=rony_index",
Filename: "options.proto",
},
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*string)(nil),
Field: 50002,
Name: "rony_help",
Tag: "bytes,50002,opt,name=rony_help",
Filename: "options.proto",
},
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*string)(nil),
Field: 50003,
Name: "rony_default",
Tag: "bytes,50003,opt,name=rony_default",
Filename: "options.proto",
},
}
// Extension fields to descriptorpb.ServiceOptions.
var (
// rony_cobra_cmd generates the boiler plate code for client stub of rpc methods, using cobra package.
//
// optional bool rony_cobra_cmd = 50001;
E_RonyCobraCmd = &file_options_proto_extTypes[0]
// rony_cobra_cmd_protocol defines what protocol should client use to communicate with server.
// POSSIBLE VALUES: "ws", "http"
//
// optional string rony_cobra_cmd_protocol = 50002;
E_RonyCobraCmdProtocol = &file_options_proto_extTypes[1]
// rony_no_client if is set then no client code will be generated. This flag is for internal usage.
// DO NOT USE IT.
//
// optional bool rony_no_client = 50003;
E_RonyNoClient = &file_options_proto_extTypes[2]
)
// Extension fields to descriptorpb.MethodOptions.
var (
// rony_internal marks this method internal, hence only edges could execute this rpc through tunnel messages. In other words,
// this command is not exposed to external clients connected through th gateway.
//
// optional bool rony_internal = 50002;
E_RonyInternal = &file_options_proto_extTypes[3]
// optional RestOpt rony_rest = 50003;
E_RonyRest = &file_options_proto_extTypes[4]
)
// Extension fields to descriptorpb.MessageOptions.
var (
// rony_local_repo generates the code for local repository
// POSSIBLE VALUES: store, cql, sql
//
// optional string rony_local_repo = 50001;
E_RonyLocalRepo = &file_options_proto_extTypes[5]
// rony_global_repo generates the code for remote repository
// POSSIBLE VALUES: store, cql, sql
//
// optional string rony_global_repo = 50002;
E_RonyGlobalRepo = &file_options_proto_extTypes[6]
// rony_singleton marks this message as a singleton.
// NOTE: a message could either have 'rony_aggregate' ro 'rony_singleton' options at a same time. Setting both
// cause unpredictable results.
//
// optional bool rony_singleton = 50003;
E_RonySingleton = &file_options_proto_extTypes[7]
// rony_table creates a virtual table presentation to hold instances of this message, like rows in a table
// PRIMARY KEY FORMAT: ( (partitionKey1, partitionKey2, ...), clusteringKey1, clusteringKey2, ...)
//
// optional PrimaryKeyOpt rony_table = 50024;
E_RonyTable = &file_options_proto_extTypes[8]
// rony_view creates a materialized view of the aggregate based on the primary key.
// PRIMARY KEY FORMAT: ( (partitionKey1, partitionKey2, ...), clusteringKey1, clusteringKey2, ...)
// NOTE: The primary key of the view must contains all the primary key items of the table. They don't need to
// follow the same order as table. for example the following is correct:
// rony_aggregate_table = ((a, b), c)
// rony_aggregate_view = ((c, a), d, b)
//
// repeated PrimaryKeyOpt rony_view = 50025;
E_RonyView = &file_options_proto_extTypes[9]
)
// Extension fields to descriptorpb.FieldOptions.
var (
// rony_index marks this field as an indexed field. Some queries will be generated for this indexed field.
//
// optional bool rony_index = 50001;
E_RonyIndex = &file_options_proto_extTypes[10]
// rony_default set the help text in generated cli client. This flag only works if rony_cobra_cmd is set
// in the service.
//
// optional string rony_help = 50002;
E_RonyHelp = &file_options_proto_extTypes[11]
// rony_default set the default value in generated cli client. This flag only works if rony_cobra_cmd is set
// in the service.
//
// optional string rony_default = 50003;
E_RonyDefault = &file_options_proto_extTypes[12]
)
var File_options_proto protoreflect.FileDescriptor
var file_options_proto_rawDesc = []byte{
0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0x7d, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x12, 0x16, 0x0a, 0x06,
0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65,
0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x02,
0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x69, 0x6e, 0x64,
0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
0x52, 0x0d, 0x62, 0x69, 0x6e, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12,
0x1f, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04,
0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6a, 0x73, 0x6f, 0x6e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65,
0x22, 0x5b, 0x0a, 0x0d, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x4f, 0x70,
0x74, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
0x03, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x19, 0x0a, 0x08,
0x73, 0x6f, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
0x73, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x3a, 0x47, 0x0a,
0x0e, 0x72, 0x6f, 0x6e, 0x79, 0x5f, 0x63, 0x6f, 0x62, 0x72, 0x61, 0x5f, 0x63, 0x6d, 0x64, 0x12,
0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x18, 0xd1, 0x86, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x6f, 0x6e, 0x79, 0x43, 0x6f,
0x62, 0x72, 0x61, 0x43, 0x6d, 0x64, 0x3a, 0x58, 0x0a, 0x17, 0x72, 0x6f, 0x6e, 0x79, 0x5f, 0x63,
0x6f, 0x62, 0x72, 0x61, 0x5f, 0x63, 0x6d, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
0x6c, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x73, 0x18, 0xd2, 0x86, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x72, 0x6f, 0x6e, 0x79,
0x43, 0x6f, 0x62, 0x72, 0x61, 0x43, 0x6d, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
0x3a, 0x47, 0x0a, 0x0e, 0x72, 0x6f, 0x6e, 0x79, 0x5f, 0x6e, 0x6f, 0x5f, 0x63, 0x6c, 0x69, 0x65,
0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x18, 0xd3, 0x86, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x6f, 0x6e,
0x79, 0x4e, 0x6f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x3a, 0x45, 0x0a, 0x0d, 0x72, 0x6f, 0x6e,
0x79, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74,
0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd2, 0x86, 0x03, 0x20, 0x01,
0x28, 0x08, 0x52, 0x0c, 0x72, 0x6f, 0x6e, 0x79, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
0x3a, 0x47, 0x0a, 0x09, 0x72, 0x6f, 0x6e, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd3, 0x86,
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x52,
0x08, 0x72, 0x6f, 0x6e, 0x79, 0x52, 0x65, 0x73, 0x74, 0x3a, 0x49, 0x0a, 0x0f, 0x72, 0x6f, 0x6e,
0x79, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x12, 0x1f, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d,
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd1, 0x86,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x6f, 0x6e, 0x79, 0x4c, 0x6f, 0x63, 0x61, 0x6c,
0x52, 0x65, 0x70, 0x6f, 0x3a, 0x4b, 0x0a, 0x10, 0x72, 0x6f, 0x6e, 0x79, 0x5f, 0x67, 0x6c, 0x6f,
0x62, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd2, 0x86, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0e, 0x72, 0x6f, 0x6e, 0x79, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70,
0x6f, 0x3a, 0x48, 0x0a, 0x0e, 0x72, 0x6f, 0x6e, 0x79, 0x5f, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65,
0x74, 0x6f, 0x6e, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd3, 0x86, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x72, 0x6f,
0x6e, 0x79, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x74, 0x6f, 0x6e, 0x3a, 0x50, 0x0a, 0x0a, 0x72,
0x6f, 0x6e, 0x79, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73,
0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe8, 0x86, 0x03, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x4f,
0x70, 0x74, 0x52, 0x09, 0x72, 0x6f, 0x6e, 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x3a, 0x4e, 0x0a,
0x09, 0x72, 0x6f, 0x6e, 0x79, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73,
0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe9, 0x86, 0x03, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79,
0x4f, 0x70, 0x74, 0x52, 0x08, 0x72, 0x6f, 0x6e, 0x79, 0x56, 0x69, 0x65, 0x77, 0x3a, 0x3e, 0x0a,
0x0a, 0x72, 0x6f, 0x6e, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x2e, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69,
0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd1, 0x86, 0x03, 0x20, 0x01,
0x28, 0x08, 0x52, 0x09, 0x72, 0x6f, 0x6e, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x3a, 0x3c, 0x0a,
0x09, 0x72, 0x6f, 0x6e, 0x79, 0x5f, 0x68, 0x65, 0x6c, 0x70, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,
0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd2, 0x86, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x08, 0x72, 0x6f, 0x6e, 0x79, 0x48, 0x65, 0x6c, 0x70, 0x3a, 0x42, 0x0a, 0x0c, 0x72,
0x6f, 0x6e, 0x79, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x1d, 0x2e, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69,
0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd3, 0x86, 0x03, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0b, 0x72, 0x6f, 0x6e, 0x79, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42,
0x1b, 0x5a, 0x19, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x6f,
0x6e, 0x61, 0x6b, 0x73, 0x6f, 0x66, 0x74, 0x2f, 0x72, 0x6f, 0x6e, 0x79,
}
var (
file_options_proto_rawDescOnce sync.Once
file_options_proto_rawDescData = file_options_proto_rawDesc
)
func file_options_proto_rawDescGZIP() []byte {
file_options_proto_rawDescOnce.Do(func() {
file_options_proto_rawDescData = protoimpl.X.CompressGZIP(file_options_proto_rawDescData)
})
return file_options_proto_rawDescData
}
var file_options_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_options_proto_goTypes = []interface{}{
(*RestOpt)(nil), // 0: RestOpt
(*PrimaryKeyOpt)(nil), // 1: PrimaryKeyOpt
(*descriptorpb.ServiceOptions)(nil), // 2: google.protobuf.ServiceOptions
(*descriptorpb.MethodOptions)(nil), // 3: google.protobuf.MethodOptions
(*descriptorpb.MessageOptions)(nil), // 4: google.protobuf.MessageOptions
(*descriptorpb.FieldOptions)(nil), // 5: google.protobuf.FieldOptions
}
var file_options_proto_depIdxs = []int32{
2, // 0: rony_cobra_cmd:extendee -> google.protobuf.ServiceOptions
2, // 1: rony_cobra_cmd_protocol:extendee -> google.protobuf.ServiceOptions
2, // 2: rony_no_client:extendee -> google.protobuf.ServiceOptions
3, // 3: rony_internal:extendee -> google.protobuf.MethodOptions
3, // 4: rony_rest:extendee -> google.protobuf.MethodOptions
4, // 5: rony_local_repo:extendee -> google.protobuf.MessageOptions
4, // 6: rony_global_repo:extendee -> google.protobuf.MessageOptions
4, // 7: rony_singleton:extendee -> google.protobuf.MessageOptions
4, // 8: rony_table:extendee -> google.protobuf.MessageOptions
4, // 9: rony_view:extendee -> google.protobuf.MessageOptions
5, // 10: rony_index:extendee -> google.protobuf.FieldOptions
5, // 11: rony_help:extendee -> google.protobuf.FieldOptions
5, // 12: rony_default:extendee -> google.protobuf.FieldOptions
0, // 13: rony_rest:type_name -> RestOpt
1, // 14: rony_table:type_name -> PrimaryKeyOpt
1, // 15: rony_view:type_name -> PrimaryKeyOpt
16, // [16:16] is the sub-list for method output_type
16, // [16:16] is the sub-list for method input_type
13, // [13:16] is the sub-list for extension type_name
0, // [0:13] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_options_proto_init() }
func file_options_proto_init() {
if File_options_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_options_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RestOpt); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_options_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PrimaryKeyOpt); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_options_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 13,
NumServices: 0,
},
GoTypes: file_options_proto_goTypes,
DependencyIndexes: file_options_proto_depIdxs,
MessageInfos: file_options_proto_msgTypes,
ExtensionInfos: file_options_proto_extTypes,
}.Build()
File_options_proto = out.File
file_options_proto_rawDesc = nil
file_options_proto_goTypes = nil
file_options_proto_depIdxs = nil
}