-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathmessage.pb.go
More file actions
9023 lines (8715 loc) · 232 KB
/
message.pb.go
File metadata and controls
9023 lines (8715 loc) · 232 KB
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: temporal/api/cloud/namespace/v1/message.proto
package namespace
import (
bytes "bytes"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
types "github.com/gogo/protobuf/types"
v1 "github.com/temporalio/tcld/protogen/api/cloud/resource/v1"
v11 "github.com/temporalio/tcld/protogen/api/cloud/sink/v1"
io "io"
math "math"
math_bits "math/bits"
reflect "reflect"
strconv "strconv"
strings "strings"
)
// 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type NamespaceSpec_SearchAttributeType int32
const (
SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED NamespaceSpec_SearchAttributeType = 0
SEARCH_ATTRIBUTE_TYPE_TEXT NamespaceSpec_SearchAttributeType = 1
SEARCH_ATTRIBUTE_TYPE_KEYWORD NamespaceSpec_SearchAttributeType = 2
SEARCH_ATTRIBUTE_TYPE_INT NamespaceSpec_SearchAttributeType = 3
SEARCH_ATTRIBUTE_TYPE_DOUBLE NamespaceSpec_SearchAttributeType = 4
SEARCH_ATTRIBUTE_TYPE_BOOL NamespaceSpec_SearchAttributeType = 5
SEARCH_ATTRIBUTE_TYPE_DATETIME NamespaceSpec_SearchAttributeType = 6
SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST NamespaceSpec_SearchAttributeType = 7
)
var NamespaceSpec_SearchAttributeType_name = map[int32]string{
0: "SearchAttributeTypeUnspecified",
1: "SearchAttributeTypeText",
2: "SearchAttributeTypeKeyword",
3: "SearchAttributeTypeInt",
4: "SearchAttributeTypeDouble",
5: "SearchAttributeTypeBool",
6: "SearchAttributeTypeDatetime",
7: "SearchAttributeTypeKeywordList",
}
var NamespaceSpec_SearchAttributeType_value = map[string]int32{
"SearchAttributeTypeUnspecified": 0,
"SearchAttributeTypeText": 1,
"SearchAttributeTypeKeyword": 2,
"SearchAttributeTypeInt": 3,
"SearchAttributeTypeDouble": 4,
"SearchAttributeTypeBool": 5,
"SearchAttributeTypeDatetime": 6,
"SearchAttributeTypeKeywordList": 7,
}
func (NamespaceSpec_SearchAttributeType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{6, 0}
}
type NamespaceRegionStatus_State int32
const (
STATE_UNSPECIFIED NamespaceRegionStatus_State = 0
STATE_ADDING NamespaceRegionStatus_State = 1
STATE_ACTIVE NamespaceRegionStatus_State = 2
STATE_PASSIVE NamespaceRegionStatus_State = 3
STATE_REMOVING NamespaceRegionStatus_State = 4
STATE_FAILED NamespaceRegionStatus_State = 5
)
var NamespaceRegionStatus_State_name = map[int32]string{
0: "StateUnspecified",
1: "StateAdding",
2: "StateActive",
3: "StatePassive",
4: "StateRemoving",
5: "StateFailed",
}
var NamespaceRegionStatus_State_value = map[string]int32{
"StateUnspecified": 0,
"StateAdding": 1,
"StateActive": 2,
"StatePassive": 3,
"StateRemoving": 4,
"StateFailed": 5,
}
func (NamespaceRegionStatus_State) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{12, 0}
}
type ExportSink_Health int32
const (
HEALTH_UNSPECIFIED ExportSink_Health = 0
HEALTH_OK ExportSink_Health = 1
HEALTH_ERROR_INTERNAL ExportSink_Health = 2
HEALTH_ERROR_USER_CONFIGURATION ExportSink_Health = 3
)
var ExportSink_Health_name = map[int32]string{
0: "HealthUnspecified",
1: "HealthOk",
2: "HealthErrorInternal",
3: "HealthErrorUserConfiguration",
}
var ExportSink_Health_value = map[string]int32{
"HealthUnspecified": 0,
"HealthOk": 1,
"HealthErrorInternal": 2,
"HealthErrorUserConfiguration": 3,
}
func (ExportSink_Health) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{14, 0}
}
type Migration_State int32
const (
MIGRATION_STATE_UNSPECIFIED Migration_State = 0
MIGRATION_STATE_MIGRATION_STARTED Migration_State = 1
MIGRATION_STATE_REPLICATION_IN_PROGRESS Migration_State = 2
MIGRATION_STATE_WAITING_FOR_HANDOVER Migration_State = 3
MIGRATION_STATE_HANDOVER_IN_PROGRESS Migration_State = 4
MIGRATION_STATE_READY_FOR_CONFIRMATION Migration_State = 5
MIGRATION_STATE_COMPLETE Migration_State = 6
MIGRATION_STATE_FAILED Migration_State = 7
MIGRATION_STATE_ABORT_IN_PROGRESS Migration_State = 8
MIGRATION_STATE_ABORTED Migration_State = 9
MIGRATION_STATE_CONFIRM_IN_PROGRESS Migration_State = 10
)
var Migration_State_name = map[int32]string{
0: "MigrationStateUnspecified",
1: "MigrationStateMigrationStarted",
2: "MigrationStateReplicationInProgress",
3: "MigrationStateWaitingForHandover",
4: "MigrationStateHandoverInProgress",
5: "MigrationStateReadyForConfirmation",
6: "MigrationStateComplete",
7: "MigrationStateFailed",
8: "MigrationStateAbortInProgress",
9: "MigrationStateAborted",
10: "MigrationStateConfirmInProgress",
}
var Migration_State_value = map[string]int32{
"MigrationStateUnspecified": 0,
"MigrationStateMigrationStarted": 1,
"MigrationStateReplicationInProgress": 2,
"MigrationStateWaitingForHandover": 3,
"MigrationStateHandoverInProgress": 4,
"MigrationStateReadyForConfirmation": 5,
"MigrationStateComplete": 6,
"MigrationStateFailed": 7,
"MigrationStateAbortInProgress": 8,
"MigrationStateAborted": 9,
"MigrationStateConfirmInProgress": 10,
}
func (Migration_State) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{17, 0}
}
type MigrationReplica_State int32
const (
REPLICA_STATE_UNSPECIFIED MigrationReplica_State = 0
REPLICA_STATE_ACTIVE MigrationReplica_State = 1
REPLICA_STATE_PASSIVE_OUT_OF_SYNC MigrationReplica_State = 2
REPLICA_STATE_PASSIVE_IN_SYNC MigrationReplica_State = 3
// If aborted migration, or if replication failed.
REPLICA_STATE_ABANDONED MigrationReplica_State = 4
)
var MigrationReplica_State_name = map[int32]string{
0: "ReplicaStateUnspecified",
1: "ReplicaStateActive",
2: "ReplicaStatePassiveOutOfSync",
3: "ReplicaStatePassiveInSync",
4: "ReplicaStateAbandoned",
}
var MigrationReplica_State_value = map[string]int32{
"ReplicaStateUnspecified": 0,
"ReplicaStateActive": 1,
"ReplicaStatePassiveOutOfSync": 2,
"ReplicaStatePassiveInSync": 3,
"ReplicaStateAbandoned": 4,
}
func (MigrationReplica_State) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{18, 0}
}
type CertificateFilterSpec struct {
// The common_name in the certificate.
// Optional, default is empty.
CommonName string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
// The organization in the certificate.
// Optional, default is empty.
Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
// The organizational_unit in the certificate.
// Optional, default is empty.
OrganizationalUnit string `protobuf:"bytes,3,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"`
// The subject_alternative_name in the certificate.
// Optional, default is empty.
SubjectAlternativeName string `protobuf:"bytes,4,opt,name=subject_alternative_name,json=subjectAlternativeName,proto3" json:"subject_alternative_name,omitempty"`
}
func (m *CertificateFilterSpec) Reset() { *m = CertificateFilterSpec{} }
func (*CertificateFilterSpec) ProtoMessage() {}
func (*CertificateFilterSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{0}
}
func (m *CertificateFilterSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *CertificateFilterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_CertificateFilterSpec.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 *CertificateFilterSpec) XXX_Merge(src proto.Message) {
xxx_messageInfo_CertificateFilterSpec.Merge(m, src)
}
func (m *CertificateFilterSpec) XXX_Size() int {
return m.Size()
}
func (m *CertificateFilterSpec) XXX_DiscardUnknown() {
xxx_messageInfo_CertificateFilterSpec.DiscardUnknown(m)
}
var xxx_messageInfo_CertificateFilterSpec proto.InternalMessageInfo
func (m *CertificateFilterSpec) GetCommonName() string {
if m != nil {
return m.CommonName
}
return ""
}
func (m *CertificateFilterSpec) GetOrganization() string {
if m != nil {
return m.Organization
}
return ""
}
func (m *CertificateFilterSpec) GetOrganizationalUnit() string {
if m != nil {
return m.OrganizationalUnit
}
return ""
}
func (m *CertificateFilterSpec) GetSubjectAlternativeName() string {
if m != nil {
return m.SubjectAlternativeName
}
return ""
}
type MtlsAuthSpec struct {
// The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization.
// This must only be one value, but the CA can have a chain.
//
// (-- api-linter: core::0140::base64=disabled --)
// Deprecated: Use accepted_client_ca instead. Will be ignored when accepted_client_ca is set.
AcceptedClientCaDeprecated string `protobuf:"bytes,1,opt,name=accepted_client_ca_deprecated,json=acceptedClientCaDeprecated,proto3" json:"accepted_client_ca_deprecated,omitempty"`
// The ca cert(s) in PEM format that the clients can use for authentication and authorization.
// This must only be one value, but the CA can have a chain.
AcceptedClientCa []byte `protobuf:"bytes,4,opt,name=accepted_client_ca,json=acceptedClientCa,proto3" json:"accepted_client_ca,omitempty"`
// Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.
// This allows limiting access to specific end-entity certificates.
// Optional, default is empty.
CertificateFilters []*CertificateFilterSpec `protobuf:"bytes,2,rep,name=certificate_filters,json=certificateFilters,proto3" json:"certificate_filters,omitempty"`
// Flag to enable mTLS auth (default: disabled).
// Note: disabling mTLS auth will cause existing mTLS connections to fail.
// temporal:versioning:min_version=v0.2.0
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
}
func (m *MtlsAuthSpec) Reset() { *m = MtlsAuthSpec{} }
func (*MtlsAuthSpec) ProtoMessage() {}
func (*MtlsAuthSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{1}
}
func (m *MtlsAuthSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MtlsAuthSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MtlsAuthSpec.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 *MtlsAuthSpec) XXX_Merge(src proto.Message) {
xxx_messageInfo_MtlsAuthSpec.Merge(m, src)
}
func (m *MtlsAuthSpec) XXX_Size() int {
return m.Size()
}
func (m *MtlsAuthSpec) XXX_DiscardUnknown() {
xxx_messageInfo_MtlsAuthSpec.DiscardUnknown(m)
}
var xxx_messageInfo_MtlsAuthSpec proto.InternalMessageInfo
func (m *MtlsAuthSpec) GetAcceptedClientCaDeprecated() string {
if m != nil {
return m.AcceptedClientCaDeprecated
}
return ""
}
func (m *MtlsAuthSpec) GetAcceptedClientCa() []byte {
if m != nil {
return m.AcceptedClientCa
}
return nil
}
func (m *MtlsAuthSpec) GetCertificateFilters() []*CertificateFilterSpec {
if m != nil {
return m.CertificateFilters
}
return nil
}
func (m *MtlsAuthSpec) GetEnabled() bool {
if m != nil {
return m.Enabled
}
return false
}
type ApiKeyAuthSpec struct {
// Flag to enable API key auth (default: disabled).
// Note: disabling API key auth will cause existing API key connections to fail.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}
func (m *ApiKeyAuthSpec) Reset() { *m = ApiKeyAuthSpec{} }
func (*ApiKeyAuthSpec) ProtoMessage() {}
func (*ApiKeyAuthSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{2}
}
func (m *ApiKeyAuthSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ApiKeyAuthSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ApiKeyAuthSpec.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 *ApiKeyAuthSpec) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApiKeyAuthSpec.Merge(m, src)
}
func (m *ApiKeyAuthSpec) XXX_Size() int {
return m.Size()
}
func (m *ApiKeyAuthSpec) XXX_DiscardUnknown() {
xxx_messageInfo_ApiKeyAuthSpec.DiscardUnknown(m)
}
var xxx_messageInfo_ApiKeyAuthSpec proto.InternalMessageInfo
func (m *ApiKeyAuthSpec) GetEnabled() bool {
if m != nil {
return m.Enabled
}
return false
}
type LifecycleSpec struct {
// Flag to enable delete protection for the namespace.
EnableDeleteProtection bool `protobuf:"varint,1,opt,name=enable_delete_protection,json=enableDeleteProtection,proto3" json:"enable_delete_protection,omitempty"`
}
func (m *LifecycleSpec) Reset() { *m = LifecycleSpec{} }
func (*LifecycleSpec) ProtoMessage() {}
func (*LifecycleSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{3}
}
func (m *LifecycleSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *LifecycleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_LifecycleSpec.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 *LifecycleSpec) XXX_Merge(src proto.Message) {
xxx_messageInfo_LifecycleSpec.Merge(m, src)
}
func (m *LifecycleSpec) XXX_Size() int {
return m.Size()
}
func (m *LifecycleSpec) XXX_DiscardUnknown() {
xxx_messageInfo_LifecycleSpec.DiscardUnknown(m)
}
var xxx_messageInfo_LifecycleSpec proto.InternalMessageInfo
func (m *LifecycleSpec) GetEnableDeleteProtection() bool {
if m != nil {
return m.EnableDeleteProtection
}
return false
}
type CodecServerSpec struct {
// The codec server endpoint.
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// Whether to pass the user access token with your endpoint.
PassAccessToken bool `protobuf:"varint,2,opt,name=pass_access_token,json=passAccessToken,proto3" json:"pass_access_token,omitempty"`
// Whether to include cross-origin credentials.
IncludeCrossOriginCredentials bool `protobuf:"varint,3,opt,name=include_cross_origin_credentials,json=includeCrossOriginCredentials,proto3" json:"include_cross_origin_credentials,omitempty"`
// A custom error message to display for remote codec server errors.
// temporal:versioning:min_version=v0.5.1
CustomErrorMessage *CodecServerSpec_CustomErrorMessage `protobuf:"bytes,4,opt,name=custom_error_message,json=customErrorMessage,proto3" json:"custom_error_message,omitempty"`
}
func (m *CodecServerSpec) Reset() { *m = CodecServerSpec{} }
func (*CodecServerSpec) ProtoMessage() {}
func (*CodecServerSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{4}
}
func (m *CodecServerSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *CodecServerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_CodecServerSpec.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 *CodecServerSpec) XXX_Merge(src proto.Message) {
xxx_messageInfo_CodecServerSpec.Merge(m, src)
}
func (m *CodecServerSpec) XXX_Size() int {
return m.Size()
}
func (m *CodecServerSpec) XXX_DiscardUnknown() {
xxx_messageInfo_CodecServerSpec.DiscardUnknown(m)
}
var xxx_messageInfo_CodecServerSpec proto.InternalMessageInfo
func (m *CodecServerSpec) GetEndpoint() string {
if m != nil {
return m.Endpoint
}
return ""
}
func (m *CodecServerSpec) GetPassAccessToken() bool {
if m != nil {
return m.PassAccessToken
}
return false
}
func (m *CodecServerSpec) GetIncludeCrossOriginCredentials() bool {
if m != nil {
return m.IncludeCrossOriginCredentials
}
return false
}
func (m *CodecServerSpec) GetCustomErrorMessage() *CodecServerSpec_CustomErrorMessage {
if m != nil {
return m.CustomErrorMessage
}
return nil
}
type CodecServerSpec_CustomErrorMessage struct {
// The error message to display by default for any remote codec server errors.
Default *CodecServerSpec_CustomErrorMessage_ErrorMessage `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
}
func (m *CodecServerSpec_CustomErrorMessage) Reset() { *m = CodecServerSpec_CustomErrorMessage{} }
func (*CodecServerSpec_CustomErrorMessage) ProtoMessage() {}
func (*CodecServerSpec_CustomErrorMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{4, 0}
}
func (m *CodecServerSpec_CustomErrorMessage) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *CodecServerSpec_CustomErrorMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_CodecServerSpec_CustomErrorMessage.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 *CodecServerSpec_CustomErrorMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_CodecServerSpec_CustomErrorMessage.Merge(m, src)
}
func (m *CodecServerSpec_CustomErrorMessage) XXX_Size() int {
return m.Size()
}
func (m *CodecServerSpec_CustomErrorMessage) XXX_DiscardUnknown() {
xxx_messageInfo_CodecServerSpec_CustomErrorMessage.DiscardUnknown(m)
}
var xxx_messageInfo_CodecServerSpec_CustomErrorMessage proto.InternalMessageInfo
func (m *CodecServerSpec_CustomErrorMessage) GetDefault() *CodecServerSpec_CustomErrorMessage_ErrorMessage {
if m != nil {
return m.Default
}
return nil
}
type CodecServerSpec_CustomErrorMessage_ErrorMessage struct {
// A message to display.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// A link that is displayed along side the configured message.
Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"`
}
func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) Reset() {
*m = CodecServerSpec_CustomErrorMessage_ErrorMessage{}
}
func (*CodecServerSpec_CustomErrorMessage_ErrorMessage) ProtoMessage() {}
func (*CodecServerSpec_CustomErrorMessage_ErrorMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{4, 0, 0}
}
func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_CodecServerSpec_CustomErrorMessage_ErrorMessage.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 *CodecServerSpec_CustomErrorMessage_ErrorMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_CodecServerSpec_CustomErrorMessage_ErrorMessage.Merge(m, src)
}
func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) XXX_Size() int {
return m.Size()
}
func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) XXX_DiscardUnknown() {
xxx_messageInfo_CodecServerSpec_CustomErrorMessage_ErrorMessage.DiscardUnknown(m)
}
var xxx_messageInfo_CodecServerSpec_CustomErrorMessage_ErrorMessage proto.InternalMessageInfo
func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) GetLink() string {
if m != nil {
return m.Link
}
return ""
}
type HighAvailabilitySpec struct {
// Flag to disable managed failover for the namespace.
DisableManagedFailover bool `protobuf:"varint,1,opt,name=disable_managed_failover,json=disableManagedFailover,proto3" json:"disable_managed_failover,omitempty"`
}
func (m *HighAvailabilitySpec) Reset() { *m = HighAvailabilitySpec{} }
func (*HighAvailabilitySpec) ProtoMessage() {}
func (*HighAvailabilitySpec) Descriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{5}
}
func (m *HighAvailabilitySpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *HighAvailabilitySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_HighAvailabilitySpec.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 *HighAvailabilitySpec) XXX_Merge(src proto.Message) {
xxx_messageInfo_HighAvailabilitySpec.Merge(m, src)
}
func (m *HighAvailabilitySpec) XXX_Size() int {
return m.Size()
}
func (m *HighAvailabilitySpec) XXX_DiscardUnknown() {
xxx_messageInfo_HighAvailabilitySpec.DiscardUnknown(m)
}
var xxx_messageInfo_HighAvailabilitySpec proto.InternalMessageInfo
func (m *HighAvailabilitySpec) GetDisableManagedFailover() bool {
if m != nil {
return m.DisableManagedFailover
}
return false
}
type NamespaceSpec struct {
// The name to use for the namespace.
// This will create a namespace that's available at '<name>.<account>.github.com/temporalio/tcld/protogen:7233'.
// The name is immutable. Once set, it cannot be changed.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The ids of the regions where the namespace should be available.
// The GetRegions API can be used to get the list of valid region ids.
// Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
// Please reach out to Temporal support for more information on global namespaces.
// When provisioned the global namespace will be active on the first region in the list and passive on the rest.
// Number of supported regions is 2.
// The regions is immutable. Once set, it cannot be changed.
// Example: ["aws-us-west-2"].
Regions []string `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"`
// The number of days the workflows data will be retained for.
// Changes to the retention period may impact your storage costs.
// Any changes to the retention period will be applied to all new running workflows.
RetentionDays int32 `protobuf:"varint,3,opt,name=retention_days,json=retentionDays,proto3" json:"retention_days,omitempty"`
// The mTLS auth configuration for the namespace.
// If unspecified, mTLS will be disabled.
MtlsAuth *MtlsAuthSpec `protobuf:"bytes,4,opt,name=mtls_auth,json=mtlsAuth,proto3" json:"mtls_auth,omitempty"`
// The API key auth configuration for the namespace.
// If unspecified, API keys will be disabled.
// temporal:versioning:min_version=v0.2.0
ApiKeyAuth *ApiKeyAuthSpec `protobuf:"bytes,7,opt,name=api_key_auth,json=apiKeyAuth,proto3" json:"api_key_auth,omitempty"`
// The custom search attributes to use for the namespace.
// The name of the attribute is the key and the type is the value.
// Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
// NOTE: currently deleting a search attribute is not supported.
// Optional, default is empty.
// Deprecated: Use search_attributes instead.
CustomSearchAttributes map[string]string `protobuf:"bytes,5,rep,name=custom_search_attributes,json=customSearchAttributes,proto3" json:"custom_search_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Deprecated: Do not use.
// The custom search attributes to use for the namespace.
// The name of the attribute is the key and the type is the value.
// Note: currently deleting a search attribute is not supported.
// Optional, default is empty.
// temporal:enums:replaces=custom_search_attributes
SearchAttributes map[string]NamespaceSpec_SearchAttributeType `protobuf:"bytes,8,rep,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=temporal.api.cloud.namespace.v1.NamespaceSpec_SearchAttributeType"`
// Codec server spec used by UI to decode payloads for all users interacting with this namespace.
// Optional, default is unset.
CodecServer *CodecServerSpec `protobuf:"bytes,6,opt,name=codec_server,json=codecServer,proto3" json:"codec_server,omitempty"`
// The lifecycle configuration for the namespace.
// temporal:versioning:min_version=v0.4.0
Lifecycle *LifecycleSpec `protobuf:"bytes,9,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
// The high availability configuration for the namespace.
// temporal:versioning:min_version=v0.4.0
HighAvailability *HighAvailabilitySpec `protobuf:"bytes,10,opt,name=high_availability,json=highAvailability,proto3" json:"high_availability,omitempty"`
// The private connectivity config for the namespace.
// temporal:versioning:min_version=v0.5.2
ConnectivityRuleIds []string `protobuf:"bytes,11,rep,name=connectivity_rule_ids,json=connectivityRuleIds,proto3" json:"connectivity_rule_ids,omitempty"`
}
func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} }
func (*NamespaceSpec) ProtoMessage() {}
func (*NamespaceSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{6}
}
func (m *NamespaceSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *NamespaceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_NamespaceSpec.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 *NamespaceSpec) XXX_Merge(src proto.Message) {
xxx_messageInfo_NamespaceSpec.Merge(m, src)
}
func (m *NamespaceSpec) XXX_Size() int {
return m.Size()
}
func (m *NamespaceSpec) XXX_DiscardUnknown() {
xxx_messageInfo_NamespaceSpec.DiscardUnknown(m)
}
var xxx_messageInfo_NamespaceSpec proto.InternalMessageInfo
func (m *NamespaceSpec) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *NamespaceSpec) GetRegions() []string {
if m != nil {
return m.Regions
}
return nil
}
func (m *NamespaceSpec) GetRetentionDays() int32 {
if m != nil {
return m.RetentionDays
}
return 0
}
func (m *NamespaceSpec) GetMtlsAuth() *MtlsAuthSpec {
if m != nil {
return m.MtlsAuth
}
return nil
}
func (m *NamespaceSpec) GetApiKeyAuth() *ApiKeyAuthSpec {
if m != nil {
return m.ApiKeyAuth
}
return nil
}
// Deprecated: Do not use.
func (m *NamespaceSpec) GetCustomSearchAttributes() map[string]string {
if m != nil {
return m.CustomSearchAttributes
}
return nil
}
func (m *NamespaceSpec) GetSearchAttributes() map[string]NamespaceSpec_SearchAttributeType {
if m != nil {
return m.SearchAttributes
}
return nil
}
func (m *NamespaceSpec) GetCodecServer() *CodecServerSpec {
if m != nil {
return m.CodecServer
}
return nil
}
func (m *NamespaceSpec) GetLifecycle() *LifecycleSpec {
if m != nil {
return m.Lifecycle
}
return nil
}
func (m *NamespaceSpec) GetHighAvailability() *HighAvailabilitySpec {
if m != nil {
return m.HighAvailability
}
return nil
}
func (m *NamespaceSpec) GetConnectivityRuleIds() []string {
if m != nil {
return m.ConnectivityRuleIds
}
return nil
}
type Endpoints struct {
// The web UI address.
WebAddress string `protobuf:"bytes,1,opt,name=web_address,json=webAddress,proto3" json:"web_address,omitempty"`
// The gRPC address for mTLS client connections (may be empty if mTLS is disabled).
MtlsGrpcAddress string `protobuf:"bytes,2,opt,name=mtls_grpc_address,json=mtlsGrpcAddress,proto3" json:"mtls_grpc_address,omitempty"`
// The gRPC address for API key client connections (may be empty if API keys are disabled).
GrpcAddress string `protobuf:"bytes,3,opt,name=grpc_address,json=grpcAddress,proto3" json:"grpc_address,omitempty"`
}
func (m *Endpoints) Reset() { *m = Endpoints{} }
func (*Endpoints) ProtoMessage() {}
func (*Endpoints) Descriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{7}
}
func (m *Endpoints) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Endpoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Endpoints.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 *Endpoints) XXX_Merge(src proto.Message) {
xxx_messageInfo_Endpoints.Merge(m, src)
}
func (m *Endpoints) XXX_Size() int {
return m.Size()
}
func (m *Endpoints) XXX_DiscardUnknown() {
xxx_messageInfo_Endpoints.DiscardUnknown(m)
}
var xxx_messageInfo_Endpoints proto.InternalMessageInfo
func (m *Endpoints) GetWebAddress() string {
if m != nil {
return m.WebAddress
}
return ""
}
func (m *Endpoints) GetMtlsGrpcAddress() string {
if m != nil {
return m.MtlsGrpcAddress
}
return ""
}
func (m *Endpoints) GetGrpcAddress() string {
if m != nil {
return m.GrpcAddress
}
return ""
}
type Limits struct {
// The number of actions per second (APS) that is currently allowed for the namespace.
// The namespace may be throttled if its APS exceeds the limit.
ActionsPerSecondLimit int32 `protobuf:"varint,1,opt,name=actions_per_second_limit,json=actionsPerSecondLimit,proto3" json:"actions_per_second_limit,omitempty"`
}
func (m *Limits) Reset() { *m = Limits{} }
func (*Limits) ProtoMessage() {}
func (*Limits) Descriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{8}
}
func (m *Limits) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Limits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Limits.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 *Limits) XXX_Merge(src proto.Message) {
xxx_messageInfo_Limits.Merge(m, src)
}
func (m *Limits) XXX_Size() int {
return m.Size()
}
func (m *Limits) XXX_DiscardUnknown() {
xxx_messageInfo_Limits.DiscardUnknown(m)
}
var xxx_messageInfo_Limits proto.InternalMessageInfo
func (m *Limits) GetActionsPerSecondLimit() int32 {
if m != nil {
return m.ActionsPerSecondLimit
}
return 0
}
type AWSPrivateLinkInfo struct {
// The list of principal arns that are allowed to access the namespace on the private link.
AllowedPrincipalArns []string `protobuf:"bytes,1,rep,name=allowed_principal_arns,json=allowedPrincipalArns,proto3" json:"allowed_principal_arns,omitempty"`
// The list of vpc endpoint service names that are associated with the namespace.
VpcEndpointServiceNames []string `protobuf:"bytes,2,rep,name=vpc_endpoint_service_names,json=vpcEndpointServiceNames,proto3" json:"vpc_endpoint_service_names,omitempty"`
}
func (m *AWSPrivateLinkInfo) Reset() { *m = AWSPrivateLinkInfo{} }
func (*AWSPrivateLinkInfo) ProtoMessage() {}
func (*AWSPrivateLinkInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_4ea8dce281a9b52e, []int{9}
}
func (m *AWSPrivateLinkInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *AWSPrivateLinkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_AWSPrivateLinkInfo.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 *AWSPrivateLinkInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_AWSPrivateLinkInfo.Merge(m, src)
}
func (m *AWSPrivateLinkInfo) XXX_Size() int {
return m.Size()
}
func (m *AWSPrivateLinkInfo) XXX_DiscardUnknown() {
xxx_messageInfo_AWSPrivateLinkInfo.DiscardUnknown(m)
}
var xxx_messageInfo_AWSPrivateLinkInfo proto.InternalMessageInfo
func (m *AWSPrivateLinkInfo) GetAllowedPrincipalArns() []string {
if m != nil {
return m.AllowedPrincipalArns
}
return nil
}
func (m *AWSPrivateLinkInfo) GetVpcEndpointServiceNames() []string {
if m != nil {
return m.VpcEndpointServiceNames
}
return nil
}
type PrivateConnectivity struct {
// The id of the region where the private connectivity applies.
Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
// The AWS PrivateLink info.
// This will only be set for an aws region.
AwsPrivateLink *AWSPrivateLinkInfo `protobuf:"bytes,2,opt,name=aws_private_link,json=awsPrivateLink,proto3" json:"aws_private_link,omitempty"`
}
func (m *PrivateConnectivity) Reset() { *m = PrivateConnectivity{} }