-
Notifications
You must be signed in to change notification settings - Fork 185
/
v1beta1.pb.go
4122 lines (3730 loc) · 177 KB
/
v1beta1.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 2021 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.26.0
// protoc v3.12.2
// source: google/cloud/datafusion/v1beta1/v1beta1.proto
package datafusion
import (
context "context"
reflect "reflect"
sync "sync"
_ "google.golang.org/genproto/googleapis/api/annotations"
v1 "google.golang.org/genproto/googleapis/iam/v1"
longrunning "google.golang.org/genproto/googleapis/longrunning"
status "google.golang.org/genproto/googleapis/rpc/status"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status1 "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)
)
// A view for Namespace
type NamespaceView int32
const (
// Default/unset value, which will use BASIC view.
NamespaceView_NAMESPACE_VIEW_UNSPECIFIED NamespaceView = 0
// Show the most basic metadata of a namespace
NamespaceView_NAMESPACE_VIEW_BASIC NamespaceView = 1
// Returns all metadata of a namespace
NamespaceView_NAMESPACE_VIEW_FULL NamespaceView = 2
)
// Enum value maps for NamespaceView.
var (
NamespaceView_name = map[int32]string{
0: "NAMESPACE_VIEW_UNSPECIFIED",
1: "NAMESPACE_VIEW_BASIC",
2: "NAMESPACE_VIEW_FULL",
}
NamespaceView_value = map[string]int32{
"NAMESPACE_VIEW_UNSPECIFIED": 0,
"NAMESPACE_VIEW_BASIC": 1,
"NAMESPACE_VIEW_FULL": 2,
}
)
func (x NamespaceView) Enum() *NamespaceView {
p := new(NamespaceView)
*p = x
return p
}
func (x NamespaceView) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (NamespaceView) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_enumTypes[0].Descriptor()
}
func (NamespaceView) Type() protoreflect.EnumType {
return &file_google_cloud_datafusion_v1beta1_v1beta1_proto_enumTypes[0]
}
func (x NamespaceView) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use NamespaceView.Descriptor instead.
func (NamespaceView) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_rawDescGZIP(), []int{0}
}
// Each type represents the release availability of a CDF version
type Version_Type int32
const (
// Version does not have availability yet
Version_TYPE_UNSPECIFIED Version_Type = 0
// Version is under development and not considered stable
Version_TYPE_PREVIEW Version_Type = 1
// Version is available for public use
Version_TYPE_GENERAL_AVAILABILITY Version_Type = 2
)
// Enum value maps for Version_Type.
var (
Version_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "TYPE_PREVIEW",
2: "TYPE_GENERAL_AVAILABILITY",
}
Version_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"TYPE_PREVIEW": 1,
"TYPE_GENERAL_AVAILABILITY": 2,
}
)
func (x Version_Type) Enum() *Version_Type {
p := new(Version_Type)
*p = x
return p
}
func (x Version_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Version_Type) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_enumTypes[1].Descriptor()
}
func (Version_Type) Type() protoreflect.EnumType {
return &file_google_cloud_datafusion_v1beta1_v1beta1_proto_enumTypes[1]
}
func (x Version_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Version_Type.Descriptor instead.
func (Version_Type) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_rawDescGZIP(), []int{1, 0}
}
// Each type represents an Accelerator (Add-On) supported by Cloud Data Fusion
// service.
type Accelerator_AcceleratorType int32
const (
// Default value, if unspecified.
Accelerator_ACCELERATOR_TYPE_UNSPECIFIED Accelerator_AcceleratorType = 0
// Change Data Capture accelerator for CDF.
Accelerator_CDC Accelerator_AcceleratorType = 1
// Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud
// Healthcare specific CDF plugins developed by Healthcare team.
Accelerator_HEALTHCARE Accelerator_AcceleratorType = 2
)
// Enum value maps for Accelerator_AcceleratorType.
var (
Accelerator_AcceleratorType_name = map[int32]string{
0: "ACCELERATOR_TYPE_UNSPECIFIED",
1: "CDC",
2: "HEALTHCARE",
}
Accelerator_AcceleratorType_value = map[string]int32{
"ACCELERATOR_TYPE_UNSPECIFIED": 0,
"CDC": 1,
"HEALTHCARE": 2,
}
)
func (x Accelerator_AcceleratorType) Enum() *Accelerator_AcceleratorType {
p := new(Accelerator_AcceleratorType)
*p = x
return p
}
func (x Accelerator_AcceleratorType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Accelerator_AcceleratorType) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_enumTypes[2].Descriptor()
}
func (Accelerator_AcceleratorType) Type() protoreflect.EnumType {
return &file_google_cloud_datafusion_v1beta1_v1beta1_proto_enumTypes[2]
}
func (x Accelerator_AcceleratorType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Accelerator_AcceleratorType.Descriptor instead.
func (Accelerator_AcceleratorType) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_rawDescGZIP(), []int{2, 0}
}
// Represents the type of Data Fusion instance. Each type is configured with
// the default settings for processing and memory.
type Instance_Type int32
const (
// No type specified. The instance creation will fail.
Instance_TYPE_UNSPECIFIED Instance_Type = 0
// Basic Data Fusion instance. In Basic type, the user will be able to
// create data pipelines using point and click UI. However, there are
// certain limitations, such as fewer number of concurrent pipelines, no
// support for streaming pipelines, etc.
Instance_BASIC Instance_Type = 1
// Enterprise Data Fusion instance. In Enterprise type, the user will have
// all features available, such as support for streaming pipelines,
// unlimited number of concurrent pipelines, etc.
Instance_ENTERPRISE Instance_Type = 2
// Developer Data Fusion instance. In Developer type, the user will have all
// features available but with restrictive capabilities. This is to help
// enterprises design and develop their data ingestion and integration
// pipelines at low cost.
Instance_DEVELOPER Instance_Type = 3
)
// Enum value maps for Instance_Type.
var (
Instance_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "BASIC",
2: "ENTERPRISE",
3: "DEVELOPER",
}
Instance_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"BASIC": 1,
"ENTERPRISE": 2,
"DEVELOPER": 3,
}
)
func (x Instance_Type) Enum() *Instance_Type {
p := new(Instance_Type)
*p = x
return p
}
func (x Instance_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Instance_Type) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_enumTypes[3].Descriptor()
}
func (Instance_Type) Type() protoreflect.EnumType {
return &file_google_cloud_datafusion_v1beta1_v1beta1_proto_enumTypes[3]
}
func (x Instance_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Instance_Type.Descriptor instead.
func (Instance_Type) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_rawDescGZIP(), []int{4, 0}
}
// Represents the state of a Data Fusion instance
type Instance_State int32
const (
// Instance does not have a state yet
Instance_STATE_UNSPECIFIED Instance_State = 0
// Instance is being created
Instance_CREATING Instance_State = 1
// Instance is running and ready for requests
Instance_RUNNING Instance_State = 2
// Instance creation failed
Instance_FAILED Instance_State = 3
// Instance is being deleted
Instance_DELETING Instance_State = 4
// Instance is being upgraded
Instance_UPGRADING Instance_State = 5
// Instance is being restarted
Instance_RESTARTING Instance_State = 6
// Instance is being updated on customer request
Instance_UPDATING Instance_State = 7
// Instance is being auto-updated
Instance_AUTO_UPDATING Instance_State = 8
// Instance is being auto-upgraded
Instance_AUTO_UPGRADING Instance_State = 9
// Instance is disabled
Instance_DISABLED Instance_State = 10
)
// Enum value maps for Instance_State.
var (
Instance_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "RUNNING",
3: "FAILED",
4: "DELETING",
5: "UPGRADING",
6: "RESTARTING",
7: "UPDATING",
8: "AUTO_UPDATING",
9: "AUTO_UPGRADING",
10: "DISABLED",
}
Instance_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"RUNNING": 2,
"FAILED": 3,
"DELETING": 4,
"UPGRADING": 5,
"RESTARTING": 6,
"UPDATING": 7,
"AUTO_UPDATING": 8,
"AUTO_UPGRADING": 9,
"DISABLED": 10,
}
)
func (x Instance_State) Enum() *Instance_State {
p := new(Instance_State)
*p = x
return p
}
func (x Instance_State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Instance_State) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_enumTypes[4].Descriptor()
}
func (Instance_State) Type() protoreflect.EnumType {
return &file_google_cloud_datafusion_v1beta1_v1beta1_proto_enumTypes[4]
}
func (x Instance_State) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Instance_State.Descriptor instead.
func (Instance_State) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_rawDescGZIP(), []int{4, 1}
}
// The reason for disabling the instance if the state is DISABLED.
type Instance_DisabledReason int32
const (
// This is an unknown reason for disabling.
Instance_DISABLED_REASON_UNSPECIFIED Instance_DisabledReason = 0
// The KMS key used by the instance is either revoked or denied access to
Instance_KMS_KEY_ISSUE Instance_DisabledReason = 1
)
// Enum value maps for Instance_DisabledReason.
var (
Instance_DisabledReason_name = map[int32]string{
0: "DISABLED_REASON_UNSPECIFIED",
1: "KMS_KEY_ISSUE",
}
Instance_DisabledReason_value = map[string]int32{
"DISABLED_REASON_UNSPECIFIED": 0,
"KMS_KEY_ISSUE": 1,
}
)
func (x Instance_DisabledReason) Enum() *Instance_DisabledReason {
p := new(Instance_DisabledReason)
*p = x
return p
}
func (x Instance_DisabledReason) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Instance_DisabledReason) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_enumTypes[5].Descriptor()
}
func (Instance_DisabledReason) Type() protoreflect.EnumType {
return &file_google_cloud_datafusion_v1beta1_v1beta1_proto_enumTypes[5]
}
func (x Instance_DisabledReason) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Instance_DisabledReason.Descriptor instead.
func (Instance_DisabledReason) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_rawDescGZIP(), []int{4, 2}
}
// Network configuration for a Data Fusion instance. These configurations
// are used for peering with the customer network. Configurations are optional
// when a public Data Fusion instance is to be created. However, providing
// these configurations allows several benefits, such as reduced network latency
// while accessing the customer resources from managed Data Fusion instance
// nodes, as well as access to the customer on-prem resources.
type NetworkConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Name of the network in the customer project with which the Tenant Project
// will be peered for executing pipelines. In case of shared VPC where the
// network resides in another host project the network should specified in
// the form of projects/{host-project-id}/global/networks/{network}
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
// The IP range in CIDR notation to use for the managed Data Fusion instance
// nodes. This range must not overlap with any other ranges used in the Data
// Fusion instance network.
IpAllocation string `protobuf:"bytes,2,opt,name=ip_allocation,json=ipAllocation,proto3" json:"ip_allocation,omitempty"`
}
func (x *NetworkConfig) Reset() {
*x = NetworkConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_datafusion_v1beta1_v1beta1_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NetworkConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NetworkConfig) ProtoMessage() {}
func (x *NetworkConfig) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_datafusion_v1beta1_v1beta1_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 NetworkConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_rawDescGZIP(), []int{0}
}
func (x *NetworkConfig) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *NetworkConfig) GetIpAllocation() string {
if x != nil {
return x.IpAllocation
}
return ""
}
// The Data Fusion version.
type Version struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The version number of the Data Fusion instance, such as '6.0.1.0'.
VersionNumber string `protobuf:"bytes,1,opt,name=version_number,json=versionNumber,proto3" json:"version_number,omitempty"`
// Whether this is currently the default version for Cloud Data Fusion
DefaultVersion bool `protobuf:"varint,2,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"`
// Represents a list of available feature names for a given version.
AvailableFeatures []string `protobuf:"bytes,3,rep,name=available_features,json=availableFeatures,proto3" json:"available_features,omitempty"`
// Type represents the release availability of the version
Type Version_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.datafusion.v1beta1.Version_Type" json:"type,omitempty"`
}
func (x *Version) Reset() {
*x = Version{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_datafusion_v1beta1_v1beta1_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Version) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Version) ProtoMessage() {}
func (x *Version) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_datafusion_v1beta1_v1beta1_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 Version.ProtoReflect.Descriptor instead.
func (*Version) Descriptor() ([]byte, []int) {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_rawDescGZIP(), []int{1}
}
func (x *Version) GetVersionNumber() string {
if x != nil {
return x.VersionNumber
}
return ""
}
func (x *Version) GetDefaultVersion() bool {
if x != nil {
return x.DefaultVersion
}
return false
}
func (x *Version) GetAvailableFeatures() []string {
if x != nil {
return x.AvailableFeatures
}
return nil
}
func (x *Version) GetType() Version_Type {
if x != nil {
return x.Type
}
return Version_TYPE_UNSPECIFIED
}
// Identifies Data Fusion accelerators for an instance.
type Accelerator struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The type of an accelator for a CDF instance.
AcceleratorType Accelerator_AcceleratorType `protobuf:"varint,1,opt,name=accelerator_type,json=acceleratorType,proto3,enum=google.cloud.datafusion.v1beta1.Accelerator_AcceleratorType" json:"accelerator_type,omitempty"`
}
func (x *Accelerator) Reset() {
*x = Accelerator{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_datafusion_v1beta1_v1beta1_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Accelerator) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Accelerator) ProtoMessage() {}
func (x *Accelerator) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_datafusion_v1beta1_v1beta1_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 Accelerator.ProtoReflect.Descriptor instead.
func (*Accelerator) Descriptor() ([]byte, []int) {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_rawDescGZIP(), []int{2}
}
func (x *Accelerator) GetAcceleratorType() Accelerator_AcceleratorType {
if x != nil {
return x.AcceleratorType
}
return Accelerator_ACCELERATOR_TYPE_UNSPECIFIED
}
// The crypto key configuration. This field is used by the Customer-managed
// encryption keys (CMEK) feature.
type CryptoKeyConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The name of the key which is used to encrypt/decrypt customer data. For key
// in Cloud KMS, the key should be in the format of
// `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
KeyReference string `protobuf:"bytes,1,opt,name=key_reference,json=keyReference,proto3" json:"key_reference,omitempty"`
}
func (x *CryptoKeyConfig) Reset() {
*x = CryptoKeyConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_datafusion_v1beta1_v1beta1_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CryptoKeyConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CryptoKeyConfig) ProtoMessage() {}
func (x *CryptoKeyConfig) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_datafusion_v1beta1_v1beta1_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 CryptoKeyConfig.ProtoReflect.Descriptor instead.
func (*CryptoKeyConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_rawDescGZIP(), []int{3}
}
func (x *CryptoKeyConfig) GetKeyReference() string {
if x != nil {
return x.KeyReference
}
return ""
}
// Represents a Data Fusion instance.
type Instance struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Output only. The name of this instance is in the form of
// projects/{project}/locations/{location}/instances/{instance}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A description of this instance.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Required. Instance type.
Type Instance_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.datafusion.v1beta1.Instance_Type" json:"type,omitempty"`
// Option to enable Stackdriver Logging.
EnableStackdriverLogging bool `protobuf:"varint,4,opt,name=enable_stackdriver_logging,json=enableStackdriverLogging,proto3" json:"enable_stackdriver_logging,omitempty"`
// Option to enable Stackdriver Monitoring.
EnableStackdriverMonitoring bool `protobuf:"varint,5,opt,name=enable_stackdriver_monitoring,json=enableStackdriverMonitoring,proto3" json:"enable_stackdriver_monitoring,omitempty"`
// Specifies whether the Data Fusion instance should be private. If set to
// true, all Data Fusion nodes will have private IP addresses and will not be
// able to access the public internet.
PrivateInstance bool `protobuf:"varint,6,opt,name=private_instance,json=privateInstance,proto3" json:"private_instance,omitempty"`
// Network configuration options. These are required when a private Data
// Fusion instance is to be created.
NetworkConfig *NetworkConfig `protobuf:"bytes,7,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"`
// The resource labels for instance to use to annotate any related underlying
// resources such as Compute Engine VMs. The character '=' is not allowed to
// be used within the labels.
Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Map of additional options used to configure the behavior of
// Data Fusion instance.
Options map[string]string `protobuf:"bytes,9,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The time the instance was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the instance was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The current state of this Data Fusion instance.
State Instance_State `protobuf:"varint,12,opt,name=state,proto3,enum=google.cloud.datafusion.v1beta1.Instance_State" json:"state,omitempty"`
// Output only. Additional information about the current state of this Data
// Fusion instance if available.
StateMessage string `protobuf:"bytes,13,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"`
// Output only. Endpoint on which the Data Fusion UI is accessible.
ServiceEndpoint string `protobuf:"bytes,14,opt,name=service_endpoint,json=serviceEndpoint,proto3" json:"service_endpoint,omitempty"`
// Name of the zone in which the Data Fusion instance will be created. Only
// DEVELOPER instances use this field.
Zone string `protobuf:"bytes,15,opt,name=zone,proto3" json:"zone,omitempty"`
// Current version of Data Fusion.
Version string `protobuf:"bytes,16,opt,name=version,proto3" json:"version,omitempty"`
// Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
//
// Deprecated: Do not use.
ServiceAccount string `protobuf:"bytes,17,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// Display name for an instance.
DisplayName string `protobuf:"bytes,18,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Available versions that the instance can be upgraded to using
// UpdateInstanceRequest.
AvailableVersion []*Version `protobuf:"bytes,19,rep,name=available_version,json=availableVersion,proto3" json:"available_version,omitempty"`
// Output only. Endpoint on which the REST APIs is accessible.
ApiEndpoint string `protobuf:"bytes,20,opt,name=api_endpoint,json=apiEndpoint,proto3" json:"api_endpoint,omitempty"`
// Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
GcsBucket string `protobuf:"bytes,21,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"`
// List of accelerators enabled for this CDF instance.
Accelerators []*Accelerator `protobuf:"bytes,22,rep,name=accelerators,proto3" json:"accelerators,omitempty"`
// Output only. P4 service account for the customer project.
P4ServiceAccount string `protobuf:"bytes,23,opt,name=p4_service_account,json=p4ServiceAccount,proto3" json:"p4_service_account,omitempty"`
// Output only. The name of the tenant project.
TenantProjectId string `protobuf:"bytes,24,opt,name=tenant_project_id,json=tenantProjectId,proto3" json:"tenant_project_id,omitempty"`
// User-managed service account to set on Dataproc when Cloud Data Fusion
// creates Dataproc to run data processing pipelines.
//
// This allows users to have fine-grained access control on Dataproc's
// accesses to cloud resources.
DataprocServiceAccount string `protobuf:"bytes,25,opt,name=dataproc_service_account,json=dataprocServiceAccount,proto3" json:"dataproc_service_account,omitempty"`
// Option to enable granular role-based access control.
EnableRbac bool `protobuf:"varint,26,opt,name=enable_rbac,json=enableRbac,proto3" json:"enable_rbac,omitempty"`
// The crypto key configuration. This field is used by the Customer-Managed
// Encryption Keys (CMEK) feature.
CryptoKeyConfig *CryptoKeyConfig `protobuf:"bytes,27,opt,name=crypto_key_config,json=cryptoKeyConfig,proto3" json:"crypto_key_config,omitempty"`
// Output only. If the instance state is DISABLED, the reason for disabling the instance.
DisabledReason []Instance_DisabledReason `protobuf:"varint,28,rep,packed,name=disabled_reason,json=disabledReason,proto3,enum=google.cloud.datafusion.v1beta1.Instance_DisabledReason" json:"disabled_reason,omitempty"`
}
func (x *Instance) Reset() {
*x = Instance{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_datafusion_v1beta1_v1beta1_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Instance) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Instance) ProtoMessage() {}
func (x *Instance) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_datafusion_v1beta1_v1beta1_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 Instance.ProtoReflect.Descriptor instead.
func (*Instance) Descriptor() ([]byte, []int) {
return file_google_cloud_datafusion_v1beta1_v1beta1_proto_rawDescGZIP(), []int{4}
}
func (x *Instance) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Instance) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *Instance) GetType() Instance_Type {
if x != nil {
return x.Type
}
return Instance_TYPE_UNSPECIFIED
}
func (x *Instance) GetEnableStackdriverLogging() bool {
if x != nil {
return x.EnableStackdriverLogging
}
return false
}
func (x *Instance) GetEnableStackdriverMonitoring() bool {
if x != nil {
return x.EnableStackdriverMonitoring
}
return false
}
func (x *Instance) GetPrivateInstance() bool {
if x != nil {
return x.PrivateInstance
}
return false
}
func (x *Instance) GetNetworkConfig() *NetworkConfig {
if x != nil {
return x.NetworkConfig
}
return nil
}
func (x *Instance) GetLabels() map[string]string {
if x != nil {
return x.Labels
}
return nil
}
func (x *Instance) GetOptions() map[string]string {
if x != nil {
return x.Options
}
return nil
}
func (x *Instance) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *Instance) GetUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdateTime
}
return nil
}
func (x *Instance) GetState() Instance_State {
if x != nil {
return x.State
}
return Instance_STATE_UNSPECIFIED
}
func (x *Instance) GetStateMessage() string {
if x != nil {
return x.StateMessage
}
return ""
}
func (x *Instance) GetServiceEndpoint() string {
if x != nil {
return x.ServiceEndpoint
}
return ""
}
func (x *Instance) GetZone() string {
if x != nil {
return x.Zone
}
return ""
}
func (x *Instance) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
// Deprecated: Do not use.
func (x *Instance) GetServiceAccount() string {
if x != nil {
return x.ServiceAccount
}
return ""
}
func (x *Instance) GetDisplayName() string {
if x != nil {
return x.DisplayName
}
return ""
}
func (x *Instance) GetAvailableVersion() []*Version {
if x != nil {
return x.AvailableVersion
}
return nil
}
func (x *Instance) GetApiEndpoint() string {
if x != nil {
return x.ApiEndpoint
}
return ""
}
func (x *Instance) GetGcsBucket() string {
if x != nil {
return x.GcsBucket
}
return ""
}
func (x *Instance) GetAccelerators() []*Accelerator {
if x != nil {
return x.Accelerators
}
return nil
}
func (x *Instance) GetP4ServiceAccount() string {
if x != nil {
return x.P4ServiceAccount
}
return ""
}
func (x *Instance) GetTenantProjectId() string {
if x != nil {
return x.TenantProjectId
}
return ""
}
func (x *Instance) GetDataprocServiceAccount() string {
if x != nil {
return x.DataprocServiceAccount
}
return ""
}
func (x *Instance) GetEnableRbac() bool {
if x != nil {
return x.EnableRbac
}
return false
}
func (x *Instance) GetCryptoKeyConfig() *CryptoKeyConfig {
if x != nil {
return x.CryptoKeyConfig
}
return nil
}
func (x *Instance) GetDisabledReason() []Instance_DisabledReason {
if x != nil {
return x.DisabledReason
}
return nil
}
// Request message for listing Data Fusion instances.
type ListInstancesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Required. The project and location for which to retrieve instance information
// in the format projects/{project}/locations/{location}. If the location is
// specified as '-' (wildcard), then all regions available to the project
// are queried, and the results are aggregated.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The next_page_token value to use if there are additional
// results to retrieve for this list request.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// List filter.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Sort results. Supported values are "name", "name desc", or "" (unsorted).
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
}
func (x *ListInstancesRequest) Reset() {
*x = ListInstancesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_datafusion_v1beta1_v1beta1_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListInstancesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListInstancesRequest) ProtoMessage() {}