-
Notifications
You must be signed in to change notification settings - Fork 67
/
remote.pb.go
1692 lines (1490 loc) · 58.2 KB
/
remote.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.26.0
// protoc v3.19.4
// source: pkg/server/remote/common/remote.proto
package common
import (
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
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)
)
type ChangeRequest_ActionType int32
const (
ChangeRequest_CREATE ChangeRequest_ActionType = 0
ChangeRequest_UPDATE ChangeRequest_ActionType = 1
ChangeRequest_DELETE ChangeRequest_ActionType = 2
)
// Enum value maps for ChangeRequest_ActionType.
var (
ChangeRequest_ActionType_name = map[int32]string{
0: "CREATE",
1: "UPDATE",
2: "DELETE",
}
ChangeRequest_ActionType_value = map[string]int32{
"CREATE": 0,
"UPDATE": 1,
"DELETE": 2,
}
)
func (x ChangeRequest_ActionType) Enum() *ChangeRequest_ActionType {
p := new(ChangeRequest_ActionType)
*p = x
return p
}
func (x ChangeRequest_ActionType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ChangeRequest_ActionType) Descriptor() protoreflect.EnumDescriptor {
return file_pkg_server_remote_common_remote_proto_enumTypes[0].Descriptor()
}
func (ChangeRequest_ActionType) Type() protoreflect.EnumType {
return &file_pkg_server_remote_common_remote_proto_enumTypes[0]
}
func (x ChangeRequest_ActionType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ChangeRequest_ActionType.Descriptor instead.
func (ChangeRequest_ActionType) EnumDescriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{12, 0}
}
type LogEntry_Level int32
const (
LogEntry_DEBUG LogEntry_Level = 0
LogEntry_INFO LogEntry_Level = 1
LogEntry_WARN LogEntry_Level = 2
LogEntry_ERROR LogEntry_Level = 3
)
// Enum value maps for LogEntry_Level.
var (
LogEntry_Level_name = map[int32]string{
0: "DEBUG",
1: "INFO",
2: "WARN",
3: "ERROR",
}
LogEntry_Level_value = map[string]int32{
"DEBUG": 0,
"INFO": 1,
"WARN": 2,
"ERROR": 3,
}
)
func (x LogEntry_Level) Enum() *LogEntry_Level {
p := new(LogEntry_Level)
*p = x
return p
}
func (x LogEntry_Level) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (LogEntry_Level) Descriptor() protoreflect.EnumDescriptor {
return file_pkg_server_remote_common_remote_proto_enumTypes[1].Descriptor()
}
func (LogEntry_Level) Type() protoreflect.EnumType {
return &file_pkg_server_remote_common_remote_proto_enumTypes[1]
}
func (x LogEntry_Level) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use LogEntry_Level.Descriptor instead.
func (LogEntry_Level) EnumDescriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{13, 0}
}
type ChangeResponse_State int32
const (
ChangeResponse_NOT_PROCESSED ChangeResponse_State = 0
ChangeResponse_SUCCEEDED ChangeResponse_State = 1
ChangeResponse_INVALID ChangeResponse_State = 2
ChangeResponse_FAILED ChangeResponse_State = 3
ChangeResponse_THROTTLED ChangeResponse_State = 4
)
// Enum value maps for ChangeResponse_State.
var (
ChangeResponse_State_name = map[int32]string{
0: "NOT_PROCESSED",
1: "SUCCEEDED",
2: "INVALID",
3: "FAILED",
4: "THROTTLED",
}
ChangeResponse_State_value = map[string]int32{
"NOT_PROCESSED": 0,
"SUCCEEDED": 1,
"INVALID": 2,
"FAILED": 3,
"THROTTLED": 4,
}
)
func (x ChangeResponse_State) Enum() *ChangeResponse_State {
p := new(ChangeResponse_State)
*p = x
return p
}
func (x ChangeResponse_State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ChangeResponse_State) Descriptor() protoreflect.EnumDescriptor {
return file_pkg_server_remote_common_remote_proto_enumTypes[2].Descriptor()
}
func (ChangeResponse_State) Type() protoreflect.EnumType {
return &file_pkg_server_remote_common_remote_proto_enumTypes[2]
}
func (x ChangeResponse_State) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ChangeResponse_State.Descriptor instead.
func (ChangeResponse_State) EnumDescriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{15, 0}
}
type LoginRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
CliendID string `protobuf:"bytes,2,opt,name=cliendID,proto3" json:"cliendID,omitempty"`
ClientProtocolVersion int32 `protobuf:"varint,3,opt,name=clientProtocolVersion,proto3" json:"clientProtocolVersion,omitempty"`
}
func (x *LoginRequest) Reset() {
*x = LoginRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LoginRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LoginRequest) ProtoMessage() {}
func (x *LoginRequest) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_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 LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{0}
}
func (x *LoginRequest) GetNamespace() string {
if x != nil {
return x.Namespace
}
return ""
}
func (x *LoginRequest) GetCliendID() string {
if x != nil {
return x.CliendID
}
return ""
}
func (x *LoginRequest) GetClientProtocolVersion() int32 {
if x != nil {
return x.ClientProtocolVersion
}
return 0
}
type LoginResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
ServerProtocolVersion int32 `protobuf:"varint,2,opt,name=serverProtocolVersion,proto3" json:"serverProtocolVersion,omitempty"`
}
func (x *LoginResponse) Reset() {
*x = LoginResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LoginResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LoginResponse) ProtoMessage() {}
func (x *LoginResponse) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_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 LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{1}
}
func (x *LoginResponse) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
func (x *LoginResponse) GetServerProtocolVersion() int32 {
if x != nil {
return x.ServerProtocolVersion
}
return 0
}
type GetZonesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
}
func (x *GetZonesRequest) Reset() {
*x = GetZonesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetZonesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetZonesRequest) ProtoMessage() {}
func (x *GetZonesRequest) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_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 GetZonesRequest.ProtoReflect.Descriptor instead.
func (*GetZonesRequest) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{2}
}
func (x *GetZonesRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
type Zones struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Zone []*Zone `protobuf:"bytes,1,rep,name=zone,proto3" json:"zone,omitempty"`
}
func (x *Zones) Reset() {
*x = Zones{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Zones) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Zones) ProtoMessage() {}
func (x *Zones) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_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 Zones.ProtoReflect.Descriptor instead.
func (*Zones) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{3}
}
func (x *Zones) GetZone() []*Zone {
if x != nil {
return x.Zone
}
return nil
}
type Zone struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
ProviderType string `protobuf:"bytes,2,opt,name=provider_type,json=providerType,proto3" json:"provider_type,omitempty"`
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
ForwardedDomain []string `protobuf:"bytes,5,rep,name=forwarded_domain,json=forwardedDomain,proto3" json:"forwarded_domain,omitempty"`
PrivateZone bool `protobuf:"varint,6,opt,name=private_zone,json=privateZone,proto3" json:"private_zone,omitempty"`
}
func (x *Zone) Reset() {
*x = Zone{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Zone) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Zone) ProtoMessage() {}
func (x *Zone) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_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 Zone.ProtoReflect.Descriptor instead.
func (*Zone) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{4}
}
func (x *Zone) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Zone) GetProviderType() string {
if x != nil {
return x.ProviderType
}
return ""
}
func (x *Zone) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
func (x *Zone) GetDomain() string {
if x != nil {
return x.Domain
}
return ""
}
func (x *Zone) GetForwardedDomain() []string {
if x != nil {
return x.ForwardedDomain
}
return nil
}
func (x *Zone) GetPrivateZone() bool {
if x != nil {
return x.PrivateZone
}
return false
}
type GetZoneStateRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
Zoneid string `protobuf:"bytes,2,opt,name=zoneid,proto3" json:"zoneid,omitempty"`
}
func (x *GetZoneStateRequest) Reset() {
*x = GetZoneStateRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetZoneStateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetZoneStateRequest) ProtoMessage() {}
func (x *GetZoneStateRequest) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_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 GetZoneStateRequest.ProtoReflect.Descriptor instead.
func (*GetZoneStateRequest) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{5}
}
func (x *GetZoneStateRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
func (x *GetZoneStateRequest) GetZoneid() string {
if x != nil {
return x.Zoneid
}
return ""
}
type RecordSet struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Ttl int32 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
Record []*RecordSet_Record `protobuf:"bytes,3,rep,name=record,proto3" json:"record,omitempty"`
}
func (x *RecordSet) Reset() {
*x = RecordSet{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RecordSet) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RecordSet) ProtoMessage() {}
func (x *RecordSet) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_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 RecordSet.ProtoReflect.Descriptor instead.
func (*RecordSet) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{6}
}
func (x *RecordSet) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *RecordSet) GetTtl() int32 {
if x != nil {
return x.Ttl
}
return 0
}
func (x *RecordSet) GetRecord() []*RecordSet_Record {
if x != nil {
return x.Record
}
return nil
}
type RoutingPolicy struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Parameters map[string]string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *RoutingPolicy) Reset() {
*x = RoutingPolicy{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RoutingPolicy) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoutingPolicy) ProtoMessage() {}
func (x *RoutingPolicy) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_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 RoutingPolicy.ProtoReflect.Descriptor instead.
func (*RoutingPolicy) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{7}
}
func (x *RoutingPolicy) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *RoutingPolicy) GetParameters() map[string]string {
if x != nil {
return x.Parameters
}
return nil
}
type DNSSet struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DnsName string `protobuf:"bytes,1,opt,name=dns_name,json=dnsName,proto3" json:"dns_name,omitempty"`
UpdateGroup string `protobuf:"bytes,2,opt,name=update_group,json=updateGroup,proto3" json:"update_group,omitempty"`
Records map[string]*RecordSet `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
SetIdentifier string `protobuf:"bytes,4,opt,name=set_identifier,json=setIdentifier,proto3" json:"set_identifier,omitempty"`
RoutingPolicy *RoutingPolicy `protobuf:"bytes,5,opt,name=routing_policy,json=routingPolicy,proto3" json:"routing_policy,omitempty"`
}
func (x *DNSSet) Reset() {
*x = DNSSet{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DNSSet) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DNSSet) ProtoMessage() {}
func (x *DNSSet) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_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 DNSSet.ProtoReflect.Descriptor instead.
func (*DNSSet) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{8}
}
func (x *DNSSet) GetDnsName() string {
if x != nil {
return x.DnsName
}
return ""
}
func (x *DNSSet) GetUpdateGroup() string {
if x != nil {
return x.UpdateGroup
}
return ""
}
func (x *DNSSet) GetRecords() map[string]*RecordSet {
if x != nil {
return x.Records
}
return nil
}
func (x *DNSSet) GetSetIdentifier() string {
if x != nil {
return x.SetIdentifier
}
return ""
}
func (x *DNSSet) GetRoutingPolicy() *RoutingPolicy {
if x != nil {
return x.RoutingPolicy
}
return nil
}
type PartialDNSSet struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DnsName string `protobuf:"bytes,1,opt,name=dns_name,json=dnsName,proto3" json:"dns_name,omitempty"`
UpdateGroup string `protobuf:"bytes,2,opt,name=update_group,json=updateGroup,proto3" json:"update_group,omitempty"`
RecordType string `protobuf:"bytes,3,opt,name=record_type,json=recordType,proto3" json:"record_type,omitempty"`
RecordSet *RecordSet `protobuf:"bytes,4,opt,name=record_set,json=recordSet,proto3" json:"record_set,omitempty"`
SetIdentifier string `protobuf:"bytes,5,opt,name=set_identifier,json=setIdentifier,proto3" json:"set_identifier,omitempty"`
RoutingPolicy *RoutingPolicy `protobuf:"bytes,6,opt,name=routing_policy,json=routingPolicy,proto3" json:"routing_policy,omitempty"`
}
func (x *PartialDNSSet) Reset() {
*x = PartialDNSSet{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PartialDNSSet) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PartialDNSSet) ProtoMessage() {}
func (x *PartialDNSSet) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_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 PartialDNSSet.ProtoReflect.Descriptor instead.
func (*PartialDNSSet) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{9}
}
func (x *PartialDNSSet) GetDnsName() string {
if x != nil {
return x.DnsName
}
return ""
}
func (x *PartialDNSSet) GetUpdateGroup() string {
if x != nil {
return x.UpdateGroup
}
return ""
}
func (x *PartialDNSSet) GetRecordType() string {
if x != nil {
return x.RecordType
}
return ""
}
func (x *PartialDNSSet) GetRecordSet() *RecordSet {
if x != nil {
return x.RecordSet
}
return nil
}
func (x *PartialDNSSet) GetSetIdentifier() string {
if x != nil {
return x.SetIdentifier
}
return ""
}
func (x *PartialDNSSet) GetRoutingPolicy() *RoutingPolicy {
if x != nil {
return x.RoutingPolicy
}
return nil
}
type ZoneState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
DnsSets map[string]*DNSSet `protobuf:"bytes,2,rep,name=dns_sets,json=dnsSets,proto3" json:"dns_sets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *ZoneState) Reset() {
*x = ZoneState{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ZoneState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ZoneState) ProtoMessage() {}
func (x *ZoneState) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_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 ZoneState.ProtoReflect.Descriptor instead.
func (*ZoneState) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{10}
}
func (x *ZoneState) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
func (x *ZoneState) GetDnsSets() map[string]*DNSSet {
if x != nil {
return x.DnsSets
}
return nil
}
type ExecuteRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
Zoneid string `protobuf:"bytes,2,opt,name=zoneid,proto3" json:"zoneid,omitempty"`
ChangeRequest []*ChangeRequest `protobuf:"bytes,3,rep,name=change_request,json=changeRequest,proto3" json:"change_request,omitempty"`
}
func (x *ExecuteRequest) Reset() {
*x = ExecuteRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ExecuteRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecuteRequest) ProtoMessage() {}
func (x *ExecuteRequest) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[11]
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 ExecuteRequest.ProtoReflect.Descriptor instead.
func (*ExecuteRequest) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{11}
}
func (x *ExecuteRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
func (x *ExecuteRequest) GetZoneid() string {
if x != nil {
return x.Zoneid
}
return ""
}
func (x *ExecuteRequest) GetChangeRequest() []*ChangeRequest {
if x != nil {
return x.ChangeRequest
}
return nil
}
type ChangeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Action ChangeRequest_ActionType `protobuf:"varint,1,opt,name=action,proto3,enum=remote.ChangeRequest_ActionType" json:"action,omitempty"`
Change *PartialDNSSet `protobuf:"bytes,3,opt,name=change,proto3" json:"change,omitempty"`
}
func (x *ChangeRequest) Reset() {
*x = ChangeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ChangeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChangeRequest) ProtoMessage() {}
func (x *ChangeRequest) ProtoReflect() protoreflect.Message {
mi := &file_pkg_server_remote_common_remote_proto_msgTypes[12]
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 ChangeRequest.ProtoReflect.Descriptor instead.
func (*ChangeRequest) Descriptor() ([]byte, []int) {
return file_pkg_server_remote_common_remote_proto_rawDescGZIP(), []int{12}
}
func (x *ChangeRequest) GetAction() ChangeRequest_ActionType {
if x != nil {
return x.Action
}
return ChangeRequest_CREATE
}
func (x *ChangeRequest) GetChange() *PartialDNSSet {
if x != nil {
return x.Change
}
return nil
}
type LogEntry struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Level LogEntry_Level `protobuf:"varint,2,opt,name=level,proto3,enum=remote.LogEntry_Level" json:"level,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
}