/
domains.pb.go
4661 lines (4226 loc) · 212 KB
/
domains.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
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.13.0
// source: google/cloud/domains/v1beta1/domains.proto
package domains
import (
context "context"
reflect "reflect"
sync "sync"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
longrunning "google.golang.org/genproto/googleapis/longrunning"
money "google.golang.org/genproto/googleapis/type/money"
postaladdress "google.golang.org/genproto/googleapis/type/postaladdress"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)
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)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
// Defines a set of possible contact privacy settings for a `Registration`.
//
// [ICANN](https://icann.org/) maintains the WHOIS database, a publicly
// accessible mapping from domain name to contact information, and requires that
// each domain name have an entry. Choose from these options to control how much
// information in your `ContactSettings` is published.
type ContactPrivacy int32
const (
// The contact privacy settings are undefined.
ContactPrivacy_CONTACT_PRIVACY_UNSPECIFIED ContactPrivacy = 0
// All the data from `ContactSettings` is publicly available. When setting
// this option, you must also provide a
// `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the
// request.
ContactPrivacy_PUBLIC_CONTACT_DATA ContactPrivacy = 1
// None of the data from `ContactSettings` is publicly available. Instead,
// proxy contact data is published for your domain. Email sent to the proxy
// email address is forwarded to the registrant's email address. Cloud Domains
// provides this privacy proxy service at no additional cost.
ContactPrivacy_PRIVATE_CONTACT_DATA ContactPrivacy = 2
// Some data from `ContactSettings` is publicly available. The actual
// information redacted depends on the domain. For details, see [the
// registration privacy
// article](https://support.google.com/domains/answer/3251242).
ContactPrivacy_REDACTED_CONTACT_DATA ContactPrivacy = 3
)
// Enum value maps for ContactPrivacy.
var (
ContactPrivacy_name = map[int32]string{
0: "CONTACT_PRIVACY_UNSPECIFIED",
1: "PUBLIC_CONTACT_DATA",
2: "PRIVATE_CONTACT_DATA",
3: "REDACTED_CONTACT_DATA",
}
ContactPrivacy_value = map[string]int32{
"CONTACT_PRIVACY_UNSPECIFIED": 0,
"PUBLIC_CONTACT_DATA": 1,
"PRIVATE_CONTACT_DATA": 2,
"REDACTED_CONTACT_DATA": 3,
}
)
func (x ContactPrivacy) Enum() *ContactPrivacy {
p := new(ContactPrivacy)
*p = x
return p
}
func (x ContactPrivacy) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ContactPrivacy) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_domains_v1beta1_domains_proto_enumTypes[0].Descriptor()
}
func (ContactPrivacy) Type() protoreflect.EnumType {
return &file_google_cloud_domains_v1beta1_domains_proto_enumTypes[0]
}
func (x ContactPrivacy) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ContactPrivacy.Descriptor instead.
func (ContactPrivacy) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{0}
}
// Notices about special properties of certain domains.
type DomainNotice int32
const (
// The notice is undefined.
DomainNotice_DOMAIN_NOTICE_UNSPECIFIED DomainNotice = 0
// Indicates that the domain is preloaded on the HTTP Strict Transport
// Security list in browsers. Serving a website on such domain requires
// an SSL certificate. For details, see
// [how to get an SSL
// certificate](https://support.google.com/domains/answer/7638036).
DomainNotice_HSTS_PRELOADED DomainNotice = 1
)
// Enum value maps for DomainNotice.
var (
DomainNotice_name = map[int32]string{
0: "DOMAIN_NOTICE_UNSPECIFIED",
1: "HSTS_PRELOADED",
}
DomainNotice_value = map[string]int32{
"DOMAIN_NOTICE_UNSPECIFIED": 0,
"HSTS_PRELOADED": 1,
}
)
func (x DomainNotice) Enum() *DomainNotice {
p := new(DomainNotice)
*p = x
return p
}
func (x DomainNotice) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DomainNotice) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_domains_v1beta1_domains_proto_enumTypes[1].Descriptor()
}
func (DomainNotice) Type() protoreflect.EnumType {
return &file_google_cloud_domains_v1beta1_domains_proto_enumTypes[1]
}
func (x DomainNotice) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use DomainNotice.Descriptor instead.
func (DomainNotice) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{1}
}
// Notices related to contact information.
type ContactNotice int32
const (
// The notice is undefined.
ContactNotice_CONTACT_NOTICE_UNSPECIFIED ContactNotice = 0
// Required when setting the `privacy` field of `ContactSettings` to
// `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
ContactNotice_PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT ContactNotice = 1
)
// Enum value maps for ContactNotice.
var (
ContactNotice_name = map[int32]string{
0: "CONTACT_NOTICE_UNSPECIFIED",
1: "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT",
}
ContactNotice_value = map[string]int32{
"CONTACT_NOTICE_UNSPECIFIED": 0,
"PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT": 1,
}
)
func (x ContactNotice) Enum() *ContactNotice {
p := new(ContactNotice)
*p = x
return p
}
func (x ContactNotice) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ContactNotice) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_domains_v1beta1_domains_proto_enumTypes[2].Descriptor()
}
func (ContactNotice) Type() protoreflect.EnumType {
return &file_google_cloud_domains_v1beta1_domains_proto_enumTypes[2]
}
func (x ContactNotice) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ContactNotice.Descriptor instead.
func (ContactNotice) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{2}
}
// Possible states of a `Registration`'s transfer lock.
type TransferLockState int32
const (
// The state is unspecified.
TransferLockState_TRANSFER_LOCK_STATE_UNSPECIFIED TransferLockState = 0
// The domain is unlocked and can be transferred to another registrar.
TransferLockState_UNLOCKED TransferLockState = 1
// The domain is locked and cannot be transferred to another registrar.
TransferLockState_LOCKED TransferLockState = 2
)
// Enum value maps for TransferLockState.
var (
TransferLockState_name = map[int32]string{
0: "TRANSFER_LOCK_STATE_UNSPECIFIED",
1: "UNLOCKED",
2: "LOCKED",
}
TransferLockState_value = map[string]int32{
"TRANSFER_LOCK_STATE_UNSPECIFIED": 0,
"UNLOCKED": 1,
"LOCKED": 2,
}
)
func (x TransferLockState) Enum() *TransferLockState {
p := new(TransferLockState)
*p = x
return p
}
func (x TransferLockState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (TransferLockState) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_domains_v1beta1_domains_proto_enumTypes[3].Descriptor()
}
func (TransferLockState) Type() protoreflect.EnumType {
return &file_google_cloud_domains_v1beta1_domains_proto_enumTypes[3]
}
func (x TransferLockState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use TransferLockState.Descriptor instead.
func (TransferLockState) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{3}
}
// Possible states of a `Registration`.
type Registration_State int32
const (
// The state is undefined.
Registration_STATE_UNSPECIFIED Registration_State = 0
// The domain is being registered.
Registration_REGISTRATION_PENDING Registration_State = 1
// The domain registration failed. You can delete resources in this state
// to allow registration to be retried.
Registration_REGISTRATION_FAILED Registration_State = 2
// The domain is registered and operational. The domain renews automatically
// as long as it remains in this state.
Registration_ACTIVE Registration_State = 6
// The domain is suspended and inoperative. For more details, see the
// `issues` field.
Registration_SUSPENDED Registration_State = 7
// The domain has been exported from Cloud Domains to
// [Google Domains](https://domains.google/). You can no longer update it
// with this API, and information shown about it may be stale. Without further action, domains in this
// state expire at their `expire_time`. You can delete the resource
// after the `expire_time` has passed.
Registration_EXPORTED Registration_State = 8
)
// Enum value maps for Registration_State.
var (
Registration_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "REGISTRATION_PENDING",
2: "REGISTRATION_FAILED",
6: "ACTIVE",
7: "SUSPENDED",
8: "EXPORTED",
}
Registration_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"REGISTRATION_PENDING": 1,
"REGISTRATION_FAILED": 2,
"ACTIVE": 6,
"SUSPENDED": 7,
"EXPORTED": 8,
}
)
func (x Registration_State) Enum() *Registration_State {
p := new(Registration_State)
*p = x
return p
}
func (x Registration_State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Registration_State) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_domains_v1beta1_domains_proto_enumTypes[4].Descriptor()
}
func (Registration_State) Type() protoreflect.EnumType {
return &file_google_cloud_domains_v1beta1_domains_proto_enumTypes[4]
}
func (x Registration_State) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Registration_State.Descriptor instead.
func (Registration_State) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{0, 0}
}
// Possible issues with a `Registration` that require attention.
type Registration_Issue int32
const (
// The issue is undefined.
Registration_ISSUE_UNSPECIFIED Registration_Issue = 0
// Contact the Cloud Support team to resolve a problem with this domain.
Registration_CONTACT_SUPPORT Registration_Issue = 1
// [ICANN](https://icann.org/) requires verification of the email address
// in the `Registration`'s `contact_settings.registrant_contact` field. To
// verify the email address, follow the
// instructions in the email the `registrant_contact` receives following
// registration. If you do not complete email verification within
// 14 days of registration, the domain is suspended. To resend the
// verification email, call ConfigureContactSettings and provide the current
// `registrant_contact.email`.
Registration_UNVERIFIED_EMAIL Registration_Issue = 2
)
// Enum value maps for Registration_Issue.
var (
Registration_Issue_name = map[int32]string{
0: "ISSUE_UNSPECIFIED",
1: "CONTACT_SUPPORT",
2: "UNVERIFIED_EMAIL",
}
Registration_Issue_value = map[string]int32{
"ISSUE_UNSPECIFIED": 0,
"CONTACT_SUPPORT": 1,
"UNVERIFIED_EMAIL": 2,
}
)
func (x Registration_Issue) Enum() *Registration_Issue {
p := new(Registration_Issue)
*p = x
return p
}
func (x Registration_Issue) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Registration_Issue) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_domains_v1beta1_domains_proto_enumTypes[5].Descriptor()
}
func (Registration_Issue) Type() protoreflect.EnumType {
return &file_google_cloud_domains_v1beta1_domains_proto_enumTypes[5]
}
func (x Registration_Issue) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Registration_Issue.Descriptor instead.
func (Registration_Issue) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{0, 1}
}
// Defines how the `Registration` is renewed.
type ManagementSettings_RenewalMethod int32
const (
// The renewal method is undefined.
ManagementSettings_RENEWAL_METHOD_UNSPECIFIED ManagementSettings_RenewalMethod = 0
// The domain is automatically renewed each year .
//
// To disable automatic renewals, export the domain by calling
// `ExportRegistration` .
ManagementSettings_AUTOMATIC_RENEWAL ManagementSettings_RenewalMethod = 1
// The domain must be explicitly renewed each year before its
// `expire_time`. This option is only available when the `Registration`
// is in state `EXPORTED`.
//
// To manage the domain's current billing and
// renewal settings, go to [Google Domains](https://domains.google/).
ManagementSettings_MANUAL_RENEWAL ManagementSettings_RenewalMethod = 2
)
// Enum value maps for ManagementSettings_RenewalMethod.
var (
ManagementSettings_RenewalMethod_name = map[int32]string{
0: "RENEWAL_METHOD_UNSPECIFIED",
1: "AUTOMATIC_RENEWAL",
2: "MANUAL_RENEWAL",
}
ManagementSettings_RenewalMethod_value = map[string]int32{
"RENEWAL_METHOD_UNSPECIFIED": 0,
"AUTOMATIC_RENEWAL": 1,
"MANUAL_RENEWAL": 2,
}
)
func (x ManagementSettings_RenewalMethod) Enum() *ManagementSettings_RenewalMethod {
p := new(ManagementSettings_RenewalMethod)
*p = x
return p
}
func (x ManagementSettings_RenewalMethod) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ManagementSettings_RenewalMethod) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_domains_v1beta1_domains_proto_enumTypes[6].Descriptor()
}
func (ManagementSettings_RenewalMethod) Type() protoreflect.EnumType {
return &file_google_cloud_domains_v1beta1_domains_proto_enumTypes[6]
}
func (x ManagementSettings_RenewalMethod) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ManagementSettings_RenewalMethod.Descriptor instead.
func (ManagementSettings_RenewalMethod) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{1, 0}
}
// The publication state of DS records for a `Registration`.
type DnsSettings_DsState int32
const (
// DS state is unspecified.
DnsSettings_DS_STATE_UNSPECIFIED DnsSettings_DsState = 0
// DNSSEC is disabled for this domain. No DS records for this domain are
// published in the parent DNS zone.
DnsSettings_DS_RECORDS_UNPUBLISHED DnsSettings_DsState = 1
// DNSSEC is enabled for this domain. Appropriate DS records for this domain
// are published in the parent DNS zone. This option is valid only if the
// DNS zone referenced in the `Registration`'s `dns_provider` field is
// already DNSSEC-signed.
DnsSettings_DS_RECORDS_PUBLISHED DnsSettings_DsState = 2
)
// Enum value maps for DnsSettings_DsState.
var (
DnsSettings_DsState_name = map[int32]string{
0: "DS_STATE_UNSPECIFIED",
1: "DS_RECORDS_UNPUBLISHED",
2: "DS_RECORDS_PUBLISHED",
}
DnsSettings_DsState_value = map[string]int32{
"DS_STATE_UNSPECIFIED": 0,
"DS_RECORDS_UNPUBLISHED": 1,
"DS_RECORDS_PUBLISHED": 2,
}
)
func (x DnsSettings_DsState) Enum() *DnsSettings_DsState {
p := new(DnsSettings_DsState)
*p = x
return p
}
func (x DnsSettings_DsState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DnsSettings_DsState) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_domains_v1beta1_domains_proto_enumTypes[7].Descriptor()
}
func (DnsSettings_DsState) Type() protoreflect.EnumType {
return &file_google_cloud_domains_v1beta1_domains_proto_enumTypes[7]
}
func (x DnsSettings_DsState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use DnsSettings_DsState.Descriptor instead.
func (DnsSettings_DsState) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{2, 0}
}
// List of algorithms used to create a DNSKEY. Certain
// algorithms are not supported for particular domains.
type DnsSettings_DsRecord_Algorithm int32
const (
// The algorithm is unspecified.
DnsSettings_DsRecord_ALGORITHM_UNSPECIFIED DnsSettings_DsRecord_Algorithm = 0
// DSA/SHA1. Not recommended for new deployments.
DnsSettings_DsRecord_DSA DnsSettings_DsRecord_Algorithm = 3
// ECC. Not recommended for new deployments.
DnsSettings_DsRecord_ECC DnsSettings_DsRecord_Algorithm = 4
// RSA/SHA-1. Not recommended for new deployments.
DnsSettings_DsRecord_RSASHA1 DnsSettings_DsRecord_Algorithm = 5
// DSA-NSEC3-SHA1. Not recommended for new deployments.
DnsSettings_DsRecord_DSANSEC3SHA1 DnsSettings_DsRecord_Algorithm = 6
// RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
DnsSettings_DsRecord_RSASHA1NSEC3SHA1 DnsSettings_DsRecord_Algorithm = 7
// RSA/SHA-256.
DnsSettings_DsRecord_RSASHA256 DnsSettings_DsRecord_Algorithm = 8
// RSA/SHA-512.
DnsSettings_DsRecord_RSASHA512 DnsSettings_DsRecord_Algorithm = 10
// GOST R 34.10-2001.
DnsSettings_DsRecord_ECCGOST DnsSettings_DsRecord_Algorithm = 12
// ECDSA Curve P-256 with SHA-256.
DnsSettings_DsRecord_ECDSAP256SHA256 DnsSettings_DsRecord_Algorithm = 13
// ECDSA Curve P-384 with SHA-384.
DnsSettings_DsRecord_ECDSAP384SHA384 DnsSettings_DsRecord_Algorithm = 14
// Ed25519.
DnsSettings_DsRecord_ED25519 DnsSettings_DsRecord_Algorithm = 15
// Ed448.
DnsSettings_DsRecord_ED448 DnsSettings_DsRecord_Algorithm = 16
)
// Enum value maps for DnsSettings_DsRecord_Algorithm.
var (
DnsSettings_DsRecord_Algorithm_name = map[int32]string{
0: "ALGORITHM_UNSPECIFIED",
3: "DSA",
4: "ECC",
5: "RSASHA1",
6: "DSANSEC3SHA1",
7: "RSASHA1NSEC3SHA1",
8: "RSASHA256",
10: "RSASHA512",
12: "ECCGOST",
13: "ECDSAP256SHA256",
14: "ECDSAP384SHA384",
15: "ED25519",
16: "ED448",
}
DnsSettings_DsRecord_Algorithm_value = map[string]int32{
"ALGORITHM_UNSPECIFIED": 0,
"DSA": 3,
"ECC": 4,
"RSASHA1": 5,
"DSANSEC3SHA1": 6,
"RSASHA1NSEC3SHA1": 7,
"RSASHA256": 8,
"RSASHA512": 10,
"ECCGOST": 12,
"ECDSAP256SHA256": 13,
"ECDSAP384SHA384": 14,
"ED25519": 15,
"ED448": 16,
}
)
func (x DnsSettings_DsRecord_Algorithm) Enum() *DnsSettings_DsRecord_Algorithm {
p := new(DnsSettings_DsRecord_Algorithm)
*p = x
return p
}
func (x DnsSettings_DsRecord_Algorithm) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DnsSettings_DsRecord_Algorithm) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_domains_v1beta1_domains_proto_enumTypes[8].Descriptor()
}
func (DnsSettings_DsRecord_Algorithm) Type() protoreflect.EnumType {
return &file_google_cloud_domains_v1beta1_domains_proto_enumTypes[8]
}
func (x DnsSettings_DsRecord_Algorithm) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use DnsSettings_DsRecord_Algorithm.Descriptor instead.
func (DnsSettings_DsRecord_Algorithm) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{2, 2, 0}
}
// List of hash functions that may have been used to generate a digest of a
// DNSKEY.
type DnsSettings_DsRecord_DigestType int32
const (
// The DigestType is unspecified.
DnsSettings_DsRecord_DIGEST_TYPE_UNSPECIFIED DnsSettings_DsRecord_DigestType = 0
// SHA-1. Not recommended for new deployments.
DnsSettings_DsRecord_SHA1 DnsSettings_DsRecord_DigestType = 1
// SHA-256.
DnsSettings_DsRecord_SHA256 DnsSettings_DsRecord_DigestType = 2
// GOST R 34.11-94.
DnsSettings_DsRecord_GOST3411 DnsSettings_DsRecord_DigestType = 3
// SHA-384.
DnsSettings_DsRecord_SHA384 DnsSettings_DsRecord_DigestType = 4
)
// Enum value maps for DnsSettings_DsRecord_DigestType.
var (
DnsSettings_DsRecord_DigestType_name = map[int32]string{
0: "DIGEST_TYPE_UNSPECIFIED",
1: "SHA1",
2: "SHA256",
3: "GOST3411",
4: "SHA384",
}
DnsSettings_DsRecord_DigestType_value = map[string]int32{
"DIGEST_TYPE_UNSPECIFIED": 0,
"SHA1": 1,
"SHA256": 2,
"GOST3411": 3,
"SHA384": 4,
}
)
func (x DnsSettings_DsRecord_DigestType) Enum() *DnsSettings_DsRecord_DigestType {
p := new(DnsSettings_DsRecord_DigestType)
*p = x
return p
}
func (x DnsSettings_DsRecord_DigestType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DnsSettings_DsRecord_DigestType) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_domains_v1beta1_domains_proto_enumTypes[9].Descriptor()
}
func (DnsSettings_DsRecord_DigestType) Type() protoreflect.EnumType {
return &file_google_cloud_domains_v1beta1_domains_proto_enumTypes[9]
}
func (x DnsSettings_DsRecord_DigestType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use DnsSettings_DsRecord_DigestType.Descriptor instead.
func (DnsSettings_DsRecord_DigestType) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{2, 2, 1}
}
// Possible availability states of a domain name.
type RegisterParameters_Availability int32
const (
// The availability is unspecified.
RegisterParameters_AVAILABILITY_UNSPECIFIED RegisterParameters_Availability = 0
// The domain is available for registration.
RegisterParameters_AVAILABLE RegisterParameters_Availability = 1
// The domain is not available for registration. Generally this means it is
// already registered to another party.
RegisterParameters_UNAVAILABLE RegisterParameters_Availability = 2
// The domain is not currently supported by Cloud Domains, but may
// be available elsewhere.
RegisterParameters_UNSUPPORTED RegisterParameters_Availability = 3
// Cloud Domains is unable to determine domain availability, generally
// due to system maintenance at the domain name registry.
RegisterParameters_UNKNOWN RegisterParameters_Availability = 4
)
// Enum value maps for RegisterParameters_Availability.
var (
RegisterParameters_Availability_name = map[int32]string{
0: "AVAILABILITY_UNSPECIFIED",
1: "AVAILABLE",
2: "UNAVAILABLE",
3: "UNSUPPORTED",
4: "UNKNOWN",
}
RegisterParameters_Availability_value = map[string]int32{
"AVAILABILITY_UNSPECIFIED": 0,
"AVAILABLE": 1,
"UNAVAILABLE": 2,
"UNSUPPORTED": 3,
"UNKNOWN": 4,
}
)
func (x RegisterParameters_Availability) Enum() *RegisterParameters_Availability {
p := new(RegisterParameters_Availability)
*p = x
return p
}
func (x RegisterParameters_Availability) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (RegisterParameters_Availability) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_domains_v1beta1_domains_proto_enumTypes[10].Descriptor()
}
func (RegisterParameters_Availability) Type() protoreflect.EnumType {
return &file_google_cloud_domains_v1beta1_domains_proto_enumTypes[10]
}
func (x RegisterParameters_Availability) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use RegisterParameters_Availability.Descriptor instead.
func (RegisterParameters_Availability) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{20, 0}
}
// The `Registration` resource facilitates managing and configuring domain name
// registrations.
//
//
// To create a new `Registration` resource, find a suitable domain name by
// calling the `SearchDomains` method with a query to see available domain name
// options. After choosing a name, call `RetrieveRegisterParameters` to
// ensure availability and obtain information like pricing, which is needed to
// build a call to `RegisterDomain`.
//
type Registration struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Output only. Name of the `Registration` resource, in the format
// `projects/*/locations/*/registrations/<domain_name>`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
DomainName string `protobuf:"bytes,2,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"`
// Output only. The creation timestamp of the `Registration` resource.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The expiration timestamp of the `Registration`.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// Output only. The state of the `Registration`
State Registration_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.domains.v1beta1.Registration_State" json:"state,omitempty"`
// Output only. The set of issues with the `Registration` that require attention.
Issues []Registration_Issue `protobuf:"varint,8,rep,packed,name=issues,proto3,enum=google.cloud.domains.v1beta1.Registration_Issue" json:"issues,omitempty"`
// Set of labels associated with the `Registration`.
Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Settings for management of the `Registration`, including renewal, billing,
// and transfer. You cannot update these with the `UpdateRegistration`
// method. To update these settings, use the `ConfigureManagementSettings`
// method.
ManagementSettings *ManagementSettings `protobuf:"bytes,10,opt,name=management_settings,json=managementSettings,proto3" json:"management_settings,omitempty"`
// Settings controlling the DNS configuration of the `Registration`. You
// cannot update these with the `UpdateRegistration` method. To update these
// settings, use the `ConfigureDnsSettings` method.
DnsSettings *DnsSettings `protobuf:"bytes,11,opt,name=dns_settings,json=dnsSettings,proto3" json:"dns_settings,omitempty"`
// Required. Settings for contact information linked to the `Registration`. You cannot
// update these with the `UpdateRegistration` method. To update these
// settings, use the `ConfigureContactSettings` method.
ContactSettings *ContactSettings `protobuf:"bytes,12,opt,name=contact_settings,json=contactSettings,proto3" json:"contact_settings,omitempty"`
// Output only. Pending contact settings for the `Registration`. Updates to the
// `contact_settings` field that change its `registrant_contact` or `privacy`
// fields require email confirmation by the `registrant_contact`
// before taking effect. This field is set only if there are pending updates
// to the `contact_settings` that have not yet been confirmed. To confirm the
// changes, the `registrant_contact` must follow the instructions in the
// email they receive.
PendingContactSettings *ContactSettings `protobuf:"bytes,13,opt,name=pending_contact_settings,json=pendingContactSettings,proto3" json:"pending_contact_settings,omitempty"`
// Output only. Set of options for the `contact_settings.privacy` field that this
// `Registration` supports.
SupportedPrivacy []ContactPrivacy `protobuf:"varint,14,rep,packed,name=supported_privacy,json=supportedPrivacy,proto3,enum=google.cloud.domains.v1beta1.ContactPrivacy" json:"supported_privacy,omitempty"`
}
func (x *Registration) Reset() {
*x = Registration{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_domains_v1beta1_domains_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Registration) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Registration) ProtoMessage() {}
func (x *Registration) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_domains_v1beta1_domains_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 Registration.ProtoReflect.Descriptor instead.
func (*Registration) Descriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{0}
}
func (x *Registration) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Registration) GetDomainName() string {
if x != nil {
return x.DomainName
}
return ""
}
func (x *Registration) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *Registration) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
func (x *Registration) GetState() Registration_State {
if x != nil {
return x.State
}
return Registration_STATE_UNSPECIFIED
}
func (x *Registration) GetIssues() []Registration_Issue {
if x != nil {
return x.Issues
}
return nil
}
func (x *Registration) GetLabels() map[string]string {
if x != nil {
return x.Labels
}
return nil
}
func (x *Registration) GetManagementSettings() *ManagementSettings {
if x != nil {
return x.ManagementSettings
}
return nil
}
func (x *Registration) GetDnsSettings() *DnsSettings {
if x != nil {
return x.DnsSettings
}
return nil
}
func (x *Registration) GetContactSettings() *ContactSettings {
if x != nil {
return x.ContactSettings
}
return nil
}
func (x *Registration) GetPendingContactSettings() *ContactSettings {
if x != nil {
return x.PendingContactSettings
}
return nil
}
func (x *Registration) GetSupportedPrivacy() []ContactPrivacy {
if x != nil {
return x.SupportedPrivacy
}
return nil
}
// Defines renewal, billing, and transfer settings for a `Registration`.
type ManagementSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Output only. The renewal method for this `Registration`.
RenewalMethod ManagementSettings_RenewalMethod `protobuf:"varint,3,opt,name=renewal_method,json=renewalMethod,proto3,enum=google.cloud.domains.v1beta1.ManagementSettings_RenewalMethod" json:"renewal_method,omitempty"`
// Controls whether the domain can be transferred to another registrar.
TransferLockState TransferLockState `protobuf:"varint,4,opt,name=transfer_lock_state,json=transferLockState,proto3,enum=google.cloud.domains.v1beta1.TransferLockState" json:"transfer_lock_state,omitempty"`
}
func (x *ManagementSettings) Reset() {
*x = ManagementSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_domains_v1beta1_domains_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ManagementSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ManagementSettings) ProtoMessage() {}
func (x *ManagementSettings) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_domains_v1beta1_domains_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 ManagementSettings.ProtoReflect.Descriptor instead.
func (*ManagementSettings) Descriptor() ([]byte, []int) {
return file_google_cloud_domains_v1beta1_domains_proto_rawDescGZIP(), []int{1}
}
func (x *ManagementSettings) GetRenewalMethod() ManagementSettings_RenewalMethod {
if x != nil {
return x.RenewalMethod
}
return ManagementSettings_RENEWAL_METHOD_UNSPECIFIED
}
func (x *ManagementSettings) GetTransferLockState() TransferLockState {
if x != nil {
return x.TransferLockState
}
return TransferLockState_TRANSFER_LOCK_STATE_UNSPECIFIED
}
// Defines the DNS configuration of a `Registration`, including name servers,
// DNSSEC, and glue records.
type DnsSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The DNS provider of the registration.
//
// Types that are assignable to DnsProvider:
// *DnsSettings_CustomDns_
// *DnsSettings_GoogleDomainsDns_
DnsProvider isDnsSettings_DnsProvider `protobuf_oneof:"dns_provider"`
// The list of glue records for this `Registration`. Commonly empty.
GlueRecords []*DnsSettings_GlueRecord `protobuf:"bytes,4,rep,name=glue_records,json=glueRecords,proto3" json:"glue_records,omitempty"`
}
func (x *DnsSettings) Reset() {
*x = DnsSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_domains_v1beta1_domains_proto_msgTypes[2]