1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package asset
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 longrunning "google.golang.org/genproto/googleapis/longrunning"
30 grpc "google.golang.org/grpc"
31 codes "google.golang.org/grpc/codes"
32 status "google.golang.org/grpc/status"
33 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
34 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
35 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
36 )
37
38 const (
39
40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
41
42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
43 )
44
45
46 type ContentType int32
47
48 const (
49
50 ContentType_CONTENT_TYPE_UNSPECIFIED ContentType = 0
51
52 ContentType_RESOURCE ContentType = 1
53
54 ContentType_IAM_POLICY ContentType = 2
55
56 ContentType_ORG_POLICY ContentType = 4
57
58 ContentType_ACCESS_POLICY ContentType = 5
59
60 ContentType_RELATIONSHIP ContentType = 7
61 )
62
63
64 var (
65 ContentType_name = map[int32]string{
66 0: "CONTENT_TYPE_UNSPECIFIED",
67 1: "RESOURCE",
68 2: "IAM_POLICY",
69 4: "ORG_POLICY",
70 5: "ACCESS_POLICY",
71 7: "RELATIONSHIP",
72 }
73 ContentType_value = map[string]int32{
74 "CONTENT_TYPE_UNSPECIFIED": 0,
75 "RESOURCE": 1,
76 "IAM_POLICY": 2,
77 "ORG_POLICY": 4,
78 "ACCESS_POLICY": 5,
79 "RELATIONSHIP": 7,
80 }
81 )
82
83 func (x ContentType) Enum() *ContentType {
84 p := new(ContentType)
85 *p = x
86 return p
87 }
88
89 func (x ContentType) String() string {
90 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
91 }
92
93 func (ContentType) Descriptor() protoreflect.EnumDescriptor {
94 return file_google_cloud_asset_v1p7beta1_asset_service_proto_enumTypes[0].Descriptor()
95 }
96
97 func (ContentType) Type() protoreflect.EnumType {
98 return &file_google_cloud_asset_v1p7beta1_asset_service_proto_enumTypes[0]
99 }
100
101 func (x ContentType) Number() protoreflect.EnumNumber {
102 return protoreflect.EnumNumber(x)
103 }
104
105
106 func (ContentType) EnumDescriptor() ([]byte, []int) {
107 return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{0}
108 }
109
110
111
112
113
114
115 type PartitionSpec_PartitionKey int32
116
117 const (
118
119 PartitionSpec_PARTITION_KEY_UNSPECIFIED PartitionSpec_PartitionKey = 0
120
121
122
123
124
125 PartitionSpec_READ_TIME PartitionSpec_PartitionKey = 1
126
127
128
129
130 PartitionSpec_REQUEST_TIME PartitionSpec_PartitionKey = 2
131 )
132
133
134 var (
135 PartitionSpec_PartitionKey_name = map[int32]string{
136 0: "PARTITION_KEY_UNSPECIFIED",
137 1: "READ_TIME",
138 2: "REQUEST_TIME",
139 }
140 PartitionSpec_PartitionKey_value = map[string]int32{
141 "PARTITION_KEY_UNSPECIFIED": 0,
142 "READ_TIME": 1,
143 "REQUEST_TIME": 2,
144 }
145 )
146
147 func (x PartitionSpec_PartitionKey) Enum() *PartitionSpec_PartitionKey {
148 p := new(PartitionSpec_PartitionKey)
149 *p = x
150 return p
151 }
152
153 func (x PartitionSpec_PartitionKey) String() string {
154 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
155 }
156
157 func (PartitionSpec_PartitionKey) Descriptor() protoreflect.EnumDescriptor {
158 return file_google_cloud_asset_v1p7beta1_asset_service_proto_enumTypes[1].Descriptor()
159 }
160
161 func (PartitionSpec_PartitionKey) Type() protoreflect.EnumType {
162 return &file_google_cloud_asset_v1p7beta1_asset_service_proto_enumTypes[1]
163 }
164
165 func (x PartitionSpec_PartitionKey) Number() protoreflect.EnumNumber {
166 return protoreflect.EnumNumber(x)
167 }
168
169
170 func (PartitionSpec_PartitionKey) EnumDescriptor() ([]byte, []int) {
171 return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{7, 0}
172 }
173
174
175 type ExportAssetsRequest struct {
176 state protoimpl.MessageState
177 sizeCache protoimpl.SizeCache
178 unknownFields protoimpl.UnknownFields
179
180
181
182
183
184 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
185
186
187
188
189
190 ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209 AssetTypes []string `protobuf:"bytes,3,rep,name=asset_types,json=assetTypes,proto3" json:"asset_types,omitempty"`
210
211
212 ContentType ContentType `protobuf:"varint,4,opt,name=content_type,json=contentType,proto3,enum=google.cloud.asset.v1p7beta1.ContentType" json:"content_type,omitempty"`
213
214
215 OutputConfig *OutputConfig `protobuf:"bytes,5,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
216
217
218
219
220
221
222
223
224
225
226 RelationshipTypes []string `protobuf:"bytes,6,rep,name=relationship_types,json=relationshipTypes,proto3" json:"relationship_types,omitempty"`
227 }
228
229 func (x *ExportAssetsRequest) Reset() {
230 *x = ExportAssetsRequest{}
231 if protoimpl.UnsafeEnabled {
232 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[0]
233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
234 ms.StoreMessageInfo(mi)
235 }
236 }
237
238 func (x *ExportAssetsRequest) String() string {
239 return protoimpl.X.MessageStringOf(x)
240 }
241
242 func (*ExportAssetsRequest) ProtoMessage() {}
243
244 func (x *ExportAssetsRequest) ProtoReflect() protoreflect.Message {
245 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[0]
246 if protoimpl.UnsafeEnabled && x != nil {
247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
248 if ms.LoadMessageInfo() == nil {
249 ms.StoreMessageInfo(mi)
250 }
251 return ms
252 }
253 return mi.MessageOf(x)
254 }
255
256
257 func (*ExportAssetsRequest) Descriptor() ([]byte, []int) {
258 return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{0}
259 }
260
261 func (x *ExportAssetsRequest) GetParent() string {
262 if x != nil {
263 return x.Parent
264 }
265 return ""
266 }
267
268 func (x *ExportAssetsRequest) GetReadTime() *timestamppb.Timestamp {
269 if x != nil {
270 return x.ReadTime
271 }
272 return nil
273 }
274
275 func (x *ExportAssetsRequest) GetAssetTypes() []string {
276 if x != nil {
277 return x.AssetTypes
278 }
279 return nil
280 }
281
282 func (x *ExportAssetsRequest) GetContentType() ContentType {
283 if x != nil {
284 return x.ContentType
285 }
286 return ContentType_CONTENT_TYPE_UNSPECIFIED
287 }
288
289 func (x *ExportAssetsRequest) GetOutputConfig() *OutputConfig {
290 if x != nil {
291 return x.OutputConfig
292 }
293 return nil
294 }
295
296 func (x *ExportAssetsRequest) GetRelationshipTypes() []string {
297 if x != nil {
298 return x.RelationshipTypes
299 }
300 return nil
301 }
302
303
304
305
306
307
308 type ExportAssetsResponse struct {
309 state protoimpl.MessageState
310 sizeCache protoimpl.SizeCache
311 unknownFields protoimpl.UnknownFields
312
313
314 ReadTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
315
316 OutputConfig *OutputConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
317
318
319
320
321
322 OutputResult *OutputResult `protobuf:"bytes,3,opt,name=output_result,json=outputResult,proto3" json:"output_result,omitempty"`
323 }
324
325 func (x *ExportAssetsResponse) Reset() {
326 *x = ExportAssetsResponse{}
327 if protoimpl.UnsafeEnabled {
328 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[1]
329 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
330 ms.StoreMessageInfo(mi)
331 }
332 }
333
334 func (x *ExportAssetsResponse) String() string {
335 return protoimpl.X.MessageStringOf(x)
336 }
337
338 func (*ExportAssetsResponse) ProtoMessage() {}
339
340 func (x *ExportAssetsResponse) ProtoReflect() protoreflect.Message {
341 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[1]
342 if protoimpl.UnsafeEnabled && x != nil {
343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
344 if ms.LoadMessageInfo() == nil {
345 ms.StoreMessageInfo(mi)
346 }
347 return ms
348 }
349 return mi.MessageOf(x)
350 }
351
352
353 func (*ExportAssetsResponse) Descriptor() ([]byte, []int) {
354 return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{1}
355 }
356
357 func (x *ExportAssetsResponse) GetReadTime() *timestamppb.Timestamp {
358 if x != nil {
359 return x.ReadTime
360 }
361 return nil
362 }
363
364 func (x *ExportAssetsResponse) GetOutputConfig() *OutputConfig {
365 if x != nil {
366 return x.OutputConfig
367 }
368 return nil
369 }
370
371 func (x *ExportAssetsResponse) GetOutputResult() *OutputResult {
372 if x != nil {
373 return x.OutputResult
374 }
375 return nil
376 }
377
378
379 type OutputConfig struct {
380 state protoimpl.MessageState
381 sizeCache protoimpl.SizeCache
382 unknownFields protoimpl.UnknownFields
383
384
385
386
387
388
389
390 Destination isOutputConfig_Destination `protobuf_oneof:"destination"`
391 }
392
393 func (x *OutputConfig) Reset() {
394 *x = OutputConfig{}
395 if protoimpl.UnsafeEnabled {
396 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[2]
397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
398 ms.StoreMessageInfo(mi)
399 }
400 }
401
402 func (x *OutputConfig) String() string {
403 return protoimpl.X.MessageStringOf(x)
404 }
405
406 func (*OutputConfig) ProtoMessage() {}
407
408 func (x *OutputConfig) ProtoReflect() protoreflect.Message {
409 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[2]
410 if protoimpl.UnsafeEnabled && x != nil {
411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
412 if ms.LoadMessageInfo() == nil {
413 ms.StoreMessageInfo(mi)
414 }
415 return ms
416 }
417 return mi.MessageOf(x)
418 }
419
420
421 func (*OutputConfig) Descriptor() ([]byte, []int) {
422 return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{2}
423 }
424
425 func (m *OutputConfig) GetDestination() isOutputConfig_Destination {
426 if m != nil {
427 return m.Destination
428 }
429 return nil
430 }
431
432 func (x *OutputConfig) GetGcsDestination() *GcsDestination {
433 if x, ok := x.GetDestination().(*OutputConfig_GcsDestination); ok {
434 return x.GcsDestination
435 }
436 return nil
437 }
438
439 func (x *OutputConfig) GetBigqueryDestination() *BigQueryDestination {
440 if x, ok := x.GetDestination().(*OutputConfig_BigqueryDestination); ok {
441 return x.BigqueryDestination
442 }
443 return nil
444 }
445
446 type isOutputConfig_Destination interface {
447 isOutputConfig_Destination()
448 }
449
450 type OutputConfig_GcsDestination struct {
451
452 GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
453 }
454
455 type OutputConfig_BigqueryDestination struct {
456
457
458 BigqueryDestination *BigQueryDestination `protobuf:"bytes,2,opt,name=bigquery_destination,json=bigqueryDestination,proto3,oneof"`
459 }
460
461 func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {}
462
463 func (*OutputConfig_BigqueryDestination) isOutputConfig_Destination() {}
464
465
466 type OutputResult struct {
467 state protoimpl.MessageState
468 sizeCache protoimpl.SizeCache
469 unknownFields protoimpl.UnknownFields
470
471
472
473
474
475
476 Result isOutputResult_Result `protobuf_oneof:"result"`
477 }
478
479 func (x *OutputResult) Reset() {
480 *x = OutputResult{}
481 if protoimpl.UnsafeEnabled {
482 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[3]
483 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
484 ms.StoreMessageInfo(mi)
485 }
486 }
487
488 func (x *OutputResult) String() string {
489 return protoimpl.X.MessageStringOf(x)
490 }
491
492 func (*OutputResult) ProtoMessage() {}
493
494 func (x *OutputResult) ProtoReflect() protoreflect.Message {
495 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[3]
496 if protoimpl.UnsafeEnabled && x != nil {
497 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
498 if ms.LoadMessageInfo() == nil {
499 ms.StoreMessageInfo(mi)
500 }
501 return ms
502 }
503 return mi.MessageOf(x)
504 }
505
506
507 func (*OutputResult) Descriptor() ([]byte, []int) {
508 return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{3}
509 }
510
511 func (m *OutputResult) GetResult() isOutputResult_Result {
512 if m != nil {
513 return m.Result
514 }
515 return nil
516 }
517
518 func (x *OutputResult) GetGcsResult() *GcsOutputResult {
519 if x, ok := x.GetResult().(*OutputResult_GcsResult); ok {
520 return x.GcsResult
521 }
522 return nil
523 }
524
525 type isOutputResult_Result interface {
526 isOutputResult_Result()
527 }
528
529 type OutputResult_GcsResult struct {
530
531 GcsResult *GcsOutputResult `protobuf:"bytes,1,opt,name=gcs_result,json=gcsResult,proto3,oneof"`
532 }
533
534 func (*OutputResult_GcsResult) isOutputResult_Result() {}
535
536
537 type GcsOutputResult struct {
538 state protoimpl.MessageState
539 sizeCache protoimpl.SizeCache
540 unknownFields protoimpl.UnknownFields
541
542
543
544 Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
545 }
546
547 func (x *GcsOutputResult) Reset() {
548 *x = GcsOutputResult{}
549 if protoimpl.UnsafeEnabled {
550 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[4]
551 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
552 ms.StoreMessageInfo(mi)
553 }
554 }
555
556 func (x *GcsOutputResult) String() string {
557 return protoimpl.X.MessageStringOf(x)
558 }
559
560 func (*GcsOutputResult) ProtoMessage() {}
561
562 func (x *GcsOutputResult) ProtoReflect() protoreflect.Message {
563 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[4]
564 if protoimpl.UnsafeEnabled && x != nil {
565 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
566 if ms.LoadMessageInfo() == nil {
567 ms.StoreMessageInfo(mi)
568 }
569 return ms
570 }
571 return mi.MessageOf(x)
572 }
573
574
575 func (*GcsOutputResult) Descriptor() ([]byte, []int) {
576 return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{4}
577 }
578
579 func (x *GcsOutputResult) GetUris() []string {
580 if x != nil {
581 return x.Uris
582 }
583 return nil
584 }
585
586
587 type GcsDestination struct {
588 state protoimpl.MessageState
589 sizeCache protoimpl.SizeCache
590 unknownFields protoimpl.UnknownFields
591
592
593
594
595
596
597
598 ObjectUri isGcsDestination_ObjectUri `protobuf_oneof:"object_uri"`
599 }
600
601 func (x *GcsDestination) Reset() {
602 *x = GcsDestination{}
603 if protoimpl.UnsafeEnabled {
604 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[5]
605 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
606 ms.StoreMessageInfo(mi)
607 }
608 }
609
610 func (x *GcsDestination) String() string {
611 return protoimpl.X.MessageStringOf(x)
612 }
613
614 func (*GcsDestination) ProtoMessage() {}
615
616 func (x *GcsDestination) ProtoReflect() protoreflect.Message {
617 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[5]
618 if protoimpl.UnsafeEnabled && x != nil {
619 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
620 if ms.LoadMessageInfo() == nil {
621 ms.StoreMessageInfo(mi)
622 }
623 return ms
624 }
625 return mi.MessageOf(x)
626 }
627
628
629 func (*GcsDestination) Descriptor() ([]byte, []int) {
630 return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{5}
631 }
632
633 func (m *GcsDestination) GetObjectUri() isGcsDestination_ObjectUri {
634 if m != nil {
635 return m.ObjectUri
636 }
637 return nil
638 }
639
640 func (x *GcsDestination) GetUri() string {
641 if x, ok := x.GetObjectUri().(*GcsDestination_Uri); ok {
642 return x.Uri
643 }
644 return ""
645 }
646
647 func (x *GcsDestination) GetUriPrefix() string {
648 if x, ok := x.GetObjectUri().(*GcsDestination_UriPrefix); ok {
649 return x.UriPrefix
650 }
651 return ""
652 }
653
654 type isGcsDestination_ObjectUri interface {
655 isGcsDestination_ObjectUri()
656 }
657
658 type GcsDestination_Uri struct {
659
660
661
662
663
664 Uri string `protobuf:"bytes,1,opt,name=uri,proto3,oneof"`
665 }
666
667 type GcsDestination_UriPrefix struct {
668
669
670
671
672
673
674
675
676
677 UriPrefix string `protobuf:"bytes,2,opt,name=uri_prefix,json=uriPrefix,proto3,oneof"`
678 }
679
680 func (*GcsDestination_Uri) isGcsDestination_ObjectUri() {}
681
682 func (*GcsDestination_UriPrefix) isGcsDestination_ObjectUri() {}
683
684
685 type BigQueryDestination struct {
686 state protoimpl.MessageState
687 sizeCache protoimpl.SizeCache
688 unknownFields protoimpl.UnknownFields
689
690
691
692
693
694 Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
695
696
697
698 Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
699
700
701
702
703 Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721 PartitionSpec *PartitionSpec `protobuf:"bytes,4,opt,name=partition_spec,json=partitionSpec,proto3" json:"partition_spec,omitempty"`
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 SeparateTablesPerAssetType bool `protobuf:"varint,5,opt,name=separate_tables_per_asset_type,json=separateTablesPerAssetType,proto3" json:"separate_tables_per_asset_type,omitempty"`
750 }
751
752 func (x *BigQueryDestination) Reset() {
753 *x = BigQueryDestination{}
754 if protoimpl.UnsafeEnabled {
755 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[6]
756 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
757 ms.StoreMessageInfo(mi)
758 }
759 }
760
761 func (x *BigQueryDestination) String() string {
762 return protoimpl.X.MessageStringOf(x)
763 }
764
765 func (*BigQueryDestination) ProtoMessage() {}
766
767 func (x *BigQueryDestination) ProtoReflect() protoreflect.Message {
768 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[6]
769 if protoimpl.UnsafeEnabled && x != nil {
770 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
771 if ms.LoadMessageInfo() == nil {
772 ms.StoreMessageInfo(mi)
773 }
774 return ms
775 }
776 return mi.MessageOf(x)
777 }
778
779
780 func (*BigQueryDestination) Descriptor() ([]byte, []int) {
781 return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{6}
782 }
783
784 func (x *BigQueryDestination) GetDataset() string {
785 if x != nil {
786 return x.Dataset
787 }
788 return ""
789 }
790
791 func (x *BigQueryDestination) GetTable() string {
792 if x != nil {
793 return x.Table
794 }
795 return ""
796 }
797
798 func (x *BigQueryDestination) GetForce() bool {
799 if x != nil {
800 return x.Force
801 }
802 return false
803 }
804
805 func (x *BigQueryDestination) GetPartitionSpec() *PartitionSpec {
806 if x != nil {
807 return x.PartitionSpec
808 }
809 return nil
810 }
811
812 func (x *BigQueryDestination) GetSeparateTablesPerAssetType() bool {
813 if x != nil {
814 return x.SeparateTablesPerAssetType
815 }
816 return false
817 }
818
819
820 type PartitionSpec struct {
821 state protoimpl.MessageState
822 sizeCache protoimpl.SizeCache
823 unknownFields protoimpl.UnknownFields
824
825
826 PartitionKey PartitionSpec_PartitionKey `protobuf:"varint,1,opt,name=partition_key,json=partitionKey,proto3,enum=google.cloud.asset.v1p7beta1.PartitionSpec_PartitionKey" json:"partition_key,omitempty"`
827 }
828
829 func (x *PartitionSpec) Reset() {
830 *x = PartitionSpec{}
831 if protoimpl.UnsafeEnabled {
832 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[7]
833 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
834 ms.StoreMessageInfo(mi)
835 }
836 }
837
838 func (x *PartitionSpec) String() string {
839 return protoimpl.X.MessageStringOf(x)
840 }
841
842 func (*PartitionSpec) ProtoMessage() {}
843
844 func (x *PartitionSpec) ProtoReflect() protoreflect.Message {
845 mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[7]
846 if protoimpl.UnsafeEnabled && x != nil {
847 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
848 if ms.LoadMessageInfo() == nil {
849 ms.StoreMessageInfo(mi)
850 }
851 return ms
852 }
853 return mi.MessageOf(x)
854 }
855
856
857 func (*PartitionSpec) Descriptor() ([]byte, []int) {
858 return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{7}
859 }
860
861 func (x *PartitionSpec) GetPartitionKey() PartitionSpec_PartitionKey {
862 if x != nil {
863 return x.PartitionKey
864 }
865 return PartitionSpec_PARTITION_KEY_UNSPECIFIED
866 }
867
868 var File_google_cloud_asset_v1p7beta1_asset_service_proto protoreflect.FileDescriptor
869
870 var file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDesc = []byte{
871 0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
872 0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61,
873 0x73, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
874 0x74, 0x6f, 0x12, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
875 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31,
876 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
877 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
878 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
879 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
880 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
881 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
882 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
883 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67,
884 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
885 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
886 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
887 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x03, 0x0a, 0x13, 0x45, 0x78,
888 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
889 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
890 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
891 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
892 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
893 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
894 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
895 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
896 0x70, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61,
897 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
898 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x0c,
899 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01,
900 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
901 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61,
902 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63,
903 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x6f, 0x75,
904 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28,
905 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
906 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31,
907 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0,
908 0x41, 0x02, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
909 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70,
910 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65,
911 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22,
912 0xf1, 0x01, 0x0a, 0x14, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73,
913 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64,
914 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
915 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
916 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d,
917 0x65, 0x12, 0x4f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
918 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
919 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31,
920 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f,
921 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66,
922 0x69, 0x67, 0x12, 0x4f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x72, 0x65, 0x73,
923 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
924 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76,
925 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52,
926 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73,
927 0x75, 0x6c, 0x74, 0x22, 0xde, 0x01, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f,
928 0x6e, 0x66, 0x69, 0x67, 0x12, 0x57, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74,
929 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
930 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73,
931 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x63, 0x73,
932 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x67,
933 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x66, 0x0a,
934 0x14, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
935 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f,
936 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74,
937 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75,
938 0x65, 0x72, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00,
939 0x52, 0x13, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e,
940 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
941 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x68, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65,
942 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4e, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x75,
943 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
944 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31,
945 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x63, 0x73, 0x4f, 0x75, 0x74, 0x70, 0x75,
946 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x52, 0x65,
947 0x73, 0x75, 0x6c, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x25,
948 0x0a, 0x0f, 0x47, 0x63, 0x73, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c,
949 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x69, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
950 0x04, 0x75, 0x72, 0x69, 0x73, 0x22, 0x53, 0x0a, 0x0e, 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74,
951 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01,
952 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x1f, 0x0a, 0x0a, 0x75,
953 0x72, 0x69, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48,
954 0x00, 0x52, 0x09, 0x75, 0x72, 0x69, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0x0c, 0x0a, 0x0a,
955 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x22, 0xfd, 0x01, 0x0a, 0x13, 0x42,
956 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
957 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20,
958 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65,
959 0x74, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
960 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05,
961 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72,
962 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
963 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f,
964 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e,
965 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74,
966 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
967 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x42, 0x0a, 0x1e, 0x73, 0x65, 0x70, 0x61, 0x72, 0x61,
968 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x61, 0x73,
969 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a,
970 0x73, 0x65, 0x70, 0x61, 0x72, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x50, 0x65,
971 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x0d, 0x50,
972 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x5d, 0x0a, 0x0d,
973 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
974 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
975 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74,
976 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63,
977 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x52, 0x0c, 0x70,
978 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x22, 0x4e, 0x0a, 0x0c, 0x50,
979 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x19, 0x50,
980 0x41, 0x52, 0x54, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x55, 0x4e, 0x53,
981 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45,
982 0x41, 0x44, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x51,
983 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x02, 0x2a, 0x7e, 0x0a, 0x0b, 0x43,
984 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f,
985 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
986 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x53, 0x4f,
987 0x55, 0x52, 0x43, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x41, 0x4d, 0x5f, 0x50, 0x4f,
988 0x4c, 0x49, 0x43, 0x59, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x52, 0x47, 0x5f, 0x50, 0x4f,
989 0x4c, 0x49, 0x43, 0x59, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53,
990 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x4c,
991 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x48, 0x49, 0x50, 0x10, 0x07, 0x32, 0xda, 0x02, 0x0a, 0x0c,
992 0x41, 0x73, 0x73, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xfa, 0x01, 0x0a,
993 0x0c, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x31, 0x2e,
994 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73,
995 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x78, 0x70,
996 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
997 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75,
998 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
999 0x97, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x70, 0x37, 0x62,
1000 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x2a, 0x2f, 0x2a,
1001 0x7d, 0x3a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x3a, 0x01,
1002 0x2a, 0xca, 0x41, 0x65, 0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1003 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74,
1004 0x61, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52,
1005 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1006 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37,
1007 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65,
1008 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4d, 0xca, 0x41, 0x19, 0x63, 0x6c,
1009 0x6f, 0x75, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
1010 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a,
1011 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
1012 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d,
1013 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xb8, 0x01, 0x0a, 0x20, 0x63, 0x6f, 0x6d,
1014 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73,
1015 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x11, 0x41,
1016 0x73, 0x73, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
1017 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
1018 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
1019 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
1020 0x61, 0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b,
1021 0x61, 0x73, 0x73, 0x65, 0x74, 0xaa, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
1022 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x56, 0x31, 0x50, 0x37, 0x42,
1023 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
1024 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x5c, 0x56, 0x31, 0x70, 0x37, 0x62, 0x65,
1025 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1026 }
1027
1028 var (
1029 file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescOnce sync.Once
1030 file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescData = file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDesc
1031 )
1032
1033 func file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP() []byte {
1034 file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescOnce.Do(func() {
1035 file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescData)
1036 })
1037 return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescData
1038 }
1039
1040 var file_google_cloud_asset_v1p7beta1_asset_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1041 var file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
1042 var file_google_cloud_asset_v1p7beta1_asset_service_proto_goTypes = []interface{}{
1043 (ContentType)(0),
1044 (PartitionSpec_PartitionKey)(0),
1045 (*ExportAssetsRequest)(nil),
1046 (*ExportAssetsResponse)(nil),
1047 (*OutputConfig)(nil),
1048 (*OutputResult)(nil),
1049 (*GcsOutputResult)(nil),
1050 (*GcsDestination)(nil),
1051 (*BigQueryDestination)(nil),
1052 (*PartitionSpec)(nil),
1053 (*timestamppb.Timestamp)(nil),
1054 (*longrunning.Operation)(nil),
1055 }
1056 var file_google_cloud_asset_v1p7beta1_asset_service_proto_depIdxs = []int32{
1057 10,
1058 0,
1059 4,
1060 10,
1061 4,
1062 5,
1063 7,
1064 8,
1065 6,
1066 9,
1067 1,
1068 2,
1069 11,
1070 12,
1071 11,
1072 11,
1073 11,
1074 0,
1075 }
1076
1077 func init() { file_google_cloud_asset_v1p7beta1_asset_service_proto_init() }
1078 func file_google_cloud_asset_v1p7beta1_asset_service_proto_init() {
1079 if File_google_cloud_asset_v1p7beta1_asset_service_proto != nil {
1080 return
1081 }
1082 if !protoimpl.UnsafeEnabled {
1083 file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1084 switch v := v.(*ExportAssetsRequest); i {
1085 case 0:
1086 return &v.state
1087 case 1:
1088 return &v.sizeCache
1089 case 2:
1090 return &v.unknownFields
1091 default:
1092 return nil
1093 }
1094 }
1095 file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1096 switch v := v.(*ExportAssetsResponse); i {
1097 case 0:
1098 return &v.state
1099 case 1:
1100 return &v.sizeCache
1101 case 2:
1102 return &v.unknownFields
1103 default:
1104 return nil
1105 }
1106 }
1107 file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1108 switch v := v.(*OutputConfig); i {
1109 case 0:
1110 return &v.state
1111 case 1:
1112 return &v.sizeCache
1113 case 2:
1114 return &v.unknownFields
1115 default:
1116 return nil
1117 }
1118 }
1119 file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1120 switch v := v.(*OutputResult); i {
1121 case 0:
1122 return &v.state
1123 case 1:
1124 return &v.sizeCache
1125 case 2:
1126 return &v.unknownFields
1127 default:
1128 return nil
1129 }
1130 }
1131 file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1132 switch v := v.(*GcsOutputResult); i {
1133 case 0:
1134 return &v.state
1135 case 1:
1136 return &v.sizeCache
1137 case 2:
1138 return &v.unknownFields
1139 default:
1140 return nil
1141 }
1142 }
1143 file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1144 switch v := v.(*GcsDestination); i {
1145 case 0:
1146 return &v.state
1147 case 1:
1148 return &v.sizeCache
1149 case 2:
1150 return &v.unknownFields
1151 default:
1152 return nil
1153 }
1154 }
1155 file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1156 switch v := v.(*BigQueryDestination); i {
1157 case 0:
1158 return &v.state
1159 case 1:
1160 return &v.sizeCache
1161 case 2:
1162 return &v.unknownFields
1163 default:
1164 return nil
1165 }
1166 }
1167 file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1168 switch v := v.(*PartitionSpec); i {
1169 case 0:
1170 return &v.state
1171 case 1:
1172 return &v.sizeCache
1173 case 2:
1174 return &v.unknownFields
1175 default:
1176 return nil
1177 }
1178 }
1179 }
1180 file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[2].OneofWrappers = []interface{}{
1181 (*OutputConfig_GcsDestination)(nil),
1182 (*OutputConfig_BigqueryDestination)(nil),
1183 }
1184 file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[3].OneofWrappers = []interface{}{
1185 (*OutputResult_GcsResult)(nil),
1186 }
1187 file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[5].OneofWrappers = []interface{}{
1188 (*GcsDestination_Uri)(nil),
1189 (*GcsDestination_UriPrefix)(nil),
1190 }
1191 type x struct{}
1192 out := protoimpl.TypeBuilder{
1193 File: protoimpl.DescBuilder{
1194 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1195 RawDescriptor: file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDesc,
1196 NumEnums: 2,
1197 NumMessages: 8,
1198 NumExtensions: 0,
1199 NumServices: 1,
1200 },
1201 GoTypes: file_google_cloud_asset_v1p7beta1_asset_service_proto_goTypes,
1202 DependencyIndexes: file_google_cloud_asset_v1p7beta1_asset_service_proto_depIdxs,
1203 EnumInfos: file_google_cloud_asset_v1p7beta1_asset_service_proto_enumTypes,
1204 MessageInfos: file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes,
1205 }.Build()
1206 File_google_cloud_asset_v1p7beta1_asset_service_proto = out.File
1207 file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDesc = nil
1208 file_google_cloud_asset_v1p7beta1_asset_service_proto_goTypes = nil
1209 file_google_cloud_asset_v1p7beta1_asset_service_proto_depIdxs = nil
1210 }
1211
1212
1213 var _ context.Context
1214 var _ grpc.ClientConnInterface
1215
1216
1217
1218 const _ = grpc.SupportPackageIsVersion6
1219
1220
1221
1222
1223 type AssetServiceClient interface {
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235 ExportAssets(ctx context.Context, in *ExportAssetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1236 }
1237
1238 type assetServiceClient struct {
1239 cc grpc.ClientConnInterface
1240 }
1241
1242 func NewAssetServiceClient(cc grpc.ClientConnInterface) AssetServiceClient {
1243 return &assetServiceClient{cc}
1244 }
1245
1246 func (c *assetServiceClient) ExportAssets(ctx context.Context, in *ExportAssetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1247 out := new(longrunning.Operation)
1248 err := c.cc.Invoke(ctx, "/google.cloud.asset.v1p7beta1.AssetService/ExportAssets", in, out, opts...)
1249 if err != nil {
1250 return nil, err
1251 }
1252 return out, nil
1253 }
1254
1255
1256 type AssetServiceServer interface {
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268 ExportAssets(context.Context, *ExportAssetsRequest) (*longrunning.Operation, error)
1269 }
1270
1271
1272 type UnimplementedAssetServiceServer struct {
1273 }
1274
1275 func (*UnimplementedAssetServiceServer) ExportAssets(context.Context, *ExportAssetsRequest) (*longrunning.Operation, error) {
1276 return nil, status.Errorf(codes.Unimplemented, "method ExportAssets not implemented")
1277 }
1278
1279 func RegisterAssetServiceServer(s *grpc.Server, srv AssetServiceServer) {
1280 s.RegisterService(&_AssetService_serviceDesc, srv)
1281 }
1282
1283 func _AssetService_ExportAssets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1284 in := new(ExportAssetsRequest)
1285 if err := dec(in); err != nil {
1286 return nil, err
1287 }
1288 if interceptor == nil {
1289 return srv.(AssetServiceServer).ExportAssets(ctx, in)
1290 }
1291 info := &grpc.UnaryServerInfo{
1292 Server: srv,
1293 FullMethod: "/google.cloud.asset.v1p7beta1.AssetService/ExportAssets",
1294 }
1295 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1296 return srv.(AssetServiceServer).ExportAssets(ctx, req.(*ExportAssetsRequest))
1297 }
1298 return interceptor(ctx, in, info, handler)
1299 }
1300
1301 var _AssetService_serviceDesc = grpc.ServiceDesc{
1302 ServiceName: "google.cloud.asset.v1p7beta1.AssetService",
1303 HandlerType: (*AssetServiceServer)(nil),
1304 Methods: []grpc.MethodDesc{
1305 {
1306 MethodName: "ExportAssets",
1307 Handler: _AssetService_ExportAssets_Handler,
1308 },
1309 },
1310 Streams: []grpc.StreamDesc{},
1311 Metadata: "google/cloud/asset/v1p7beta1/asset_service.proto",
1312 }
1313
View as plain text