Debian Codegraph @

apihub/apiv1/apihubpb/collect_service.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/apihub/v1/collect_service.proto
20
21 package apihubpb
22
23 import (
24 longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // The type of the collect request.
41 type CollectionType int32
42
43 const (
44 // The default value. This value is used if the collection type is omitted.
45 CollectionType_COLLECTION_TYPE_UNSPECIFIED CollectionType = 0
46 // The collection type is upsert. This should be used when an API is created
47 // or updated at the source.
48 CollectionType_COLLECTION_TYPE_UPSERT CollectionType = 1
49 // The collection type is delete. This should be used when an API is deleted
50 // at the source.
51 CollectionType_COLLECTION_TYPE_DELETE CollectionType = 2
52 )
53
54 // Enum value maps for CollectionType.
55 var (
56 CollectionType_name = map[int32]string{
57 0: "COLLECTION_TYPE_UNSPECIFIED",
58 1: "COLLECTION_TYPE_UPSERT",
59 2: "COLLECTION_TYPE_DELETE",
60 }
61 CollectionType_value = map[string]int32{
62 "COLLECTION_TYPE_UNSPECIFIED": 0,
63 "COLLECTION_TYPE_UPSERT": 1,
64 "COLLECTION_TYPE_DELETE": 2,
65 }
66 )
67
68 func (x CollectionType) Enum() *CollectionType {
69 p := new(CollectionType)
70 *p = x
71 return p
72 }
73
74 func (x CollectionType) String() string {
75 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
76 }
77
78 func (CollectionType) Descriptor() protoreflect.EnumDescriptor {
79 return file_google_cloud_apihub_v1_collect_service_proto_enumTypes[0].Descriptor()
80 }
81
82 func (CollectionType) Type() protoreflect.EnumType {
83 return &file_google_cloud_apihub_v1_collect_service_proto_enumTypes[0]
84 }
85
86 func (x CollectionType) Number() protoreflect.EnumNumber {
87 return protoreflect.EnumNumber(x)
88 }
89
90 // Deprecated: Use CollectionType.Descriptor instead.
91 func (CollectionType) EnumDescriptor() ([]byte, []int) {
92 return file_google_cloud_apihub_v1_collect_service_proto_rawDescGZIP(), []int{0}
93 }
94
95 // The CollectApiData method's request.
96 type CollectApiDataRequest struct {
97 state protoimpl.MessageState
98 sizeCache protoimpl.SizeCache
99 unknownFields protoimpl.UnknownFields
100
101 // Required. The regional location of the API hub instance and its resources.
102 // Format: `projects/{project}/locations/{location}`
103 Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
104 // Required. The type of collection. Applies to all entries in
105 // [api_data][google.cloud.apihub.v1.CollectApiDataRequest.api_data].
106 CollectionType CollectionType `protobuf:"varint,2,opt,name=collection_type,json=collectionType,proto3,enum=google.cloud.apihub.v1.CollectionType" json:"collection_type,omitempty"`
107 // Required. The plugin instance collecting the API data.
108 // Format:
109 // `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`.
110 PluginInstance string `protobuf:"bytes,3,opt,name=plugin_instance,json=pluginInstance,proto3" json:"plugin_instance,omitempty"`
111 // Required. The action ID to be used for collecting the API data.
112 // This should map to one of the action IDs specified
113 // in action configs in the plugin.
114 ActionId string `protobuf:"bytes,4,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
115 // Required. The API data to be collected.
116 ApiData *ApiData `protobuf:"bytes,5,opt,name=api_data,json=apiData,proto3" json:"api_data,omitempty"`
117 }
118
119 func (x *CollectApiDataRequest) Reset() {
120 *x = CollectApiDataRequest{}
121 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[0]
122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
123 ms.StoreMessageInfo(mi)
124 }
125
126 func (x *CollectApiDataRequest) String() string {
127 return protoimpl.X.MessageStringOf(x)
128 }
129
130 func (*CollectApiDataRequest) ProtoMessage() {}
131
132 func (x *CollectApiDataRequest) ProtoReflect() protoreflect.Message {
133 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[0]
134 if x != nil {
135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
136 if ms.LoadMessageInfo() == nil {
137 ms.StoreMessageInfo(mi)
138 }
139 return ms
140 }
141 return mi.MessageOf(x)
142 }
143
144 // Deprecated: Use CollectApiDataRequest.ProtoReflect.Descriptor instead.
145 func (*CollectApiDataRequest) Descriptor() ([]byte, []int) {
146 return file_google_cloud_apihub_v1_collect_service_proto_rawDescGZIP(), []int{0}
147 }
148
149 func (x *CollectApiDataRequest) GetLocation() string {
150 if x != nil {
151 return x.Location
152 }
153 return ""
154 }
155
156 func (x *CollectApiDataRequest) GetCollectionType() CollectionType {
157 if x != nil {
158 return x.CollectionType
159 }
160 return CollectionType_COLLECTION_TYPE_UNSPECIFIED
161 }
162
163 func (x *CollectApiDataRequest) GetPluginInstance() string {
164 if x != nil {
165 return x.PluginInstance
166 }
167 return ""
168 }
169
170 func (x *CollectApiDataRequest) GetActionId() string {
171 if x != nil {
172 return x.ActionId
173 }
174 return ""
175 }
176
177 func (x *CollectApiDataRequest) GetApiData() *ApiData {
178 if x != nil {
179 return x.ApiData
180 }
181 return nil
182 }
183
184 // The API data to be collected.
185 type ApiData struct {
186 state protoimpl.MessageState
187 sizeCache protoimpl.SizeCache
188 unknownFields protoimpl.UnknownFields
189
190 // The data to be collected.
191 //
192 // Types that are assignable to Data:
193 //
194 // *ApiData_ApiMetadataList
195 Data isApiData_Data `protobuf_oneof:"Data"`
196 }
197
198 func (x *ApiData) Reset() {
199 *x = ApiData{}
200 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[1]
201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
202 ms.StoreMessageInfo(mi)
203 }
204
205 func (x *ApiData) String() string {
206 return protoimpl.X.MessageStringOf(x)
207 }
208
209 func (*ApiData) ProtoMessage() {}
210
211 func (x *ApiData) ProtoReflect() protoreflect.Message {
212 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[1]
213 if x != nil {
214 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
215 if ms.LoadMessageInfo() == nil {
216 ms.StoreMessageInfo(mi)
217 }
218 return ms
219 }
220 return mi.MessageOf(x)
221 }
222
223 // Deprecated: Use ApiData.ProtoReflect.Descriptor instead.
224 func (*ApiData) Descriptor() ([]byte, []int) {
225 return file_google_cloud_apihub_v1_collect_service_proto_rawDescGZIP(), []int{1}
226 }
227
228 func (m *ApiData) GetData() isApiData_Data {
229 if m != nil {
230 return m.Data
231 }
232 return nil
233 }
234
235 func (x *ApiData) GetApiMetadataList() *ApiMetadataList {
236 if x, ok := x.GetData().(*ApiData_ApiMetadataList); ok {
237 return x.ApiMetadataList
238 }
239 return nil
240 }
241
242 type isApiData_Data interface {
243 isApiData_Data()
244 }
245
246 type ApiData_ApiMetadataList struct {
247 // Optional. The list of API metadata.
248 ApiMetadataList *ApiMetadataList `protobuf:"bytes,1,opt,name=api_metadata_list,json=apiMetadataList,proto3,oneof"`
249 }
250
251 func (*ApiData_ApiMetadataList) isApiData_Data() {}
252
253 // The message to hold repeated API metadata.
254 type ApiMetadataList struct {
255 state protoimpl.MessageState
256 sizeCache protoimpl.SizeCache
257 unknownFields protoimpl.UnknownFields
258
259 // Required. The list of API metadata.
260 ApiMetadata []*APIMetadata `protobuf:"bytes,1,rep,name=api_metadata,json=apiMetadata,proto3" json:"api_metadata,omitempty"`
261 }
262
263 func (x *ApiMetadataList) Reset() {
264 *x = ApiMetadataList{}
265 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[2]
266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
267 ms.StoreMessageInfo(mi)
268 }
269
270 func (x *ApiMetadataList) String() string {
271 return protoimpl.X.MessageStringOf(x)
272 }
273
274 func (*ApiMetadataList) ProtoMessage() {}
275
276 func (x *ApiMetadataList) ProtoReflect() protoreflect.Message {
277 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[2]
278 if x != nil {
279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
280 if ms.LoadMessageInfo() == nil {
281 ms.StoreMessageInfo(mi)
282 }
283 return ms
284 }
285 return mi.MessageOf(x)
286 }
287
288 // Deprecated: Use ApiMetadataList.ProtoReflect.Descriptor instead.
289 func (*ApiMetadataList) Descriptor() ([]byte, []int) {
290 return file_google_cloud_apihub_v1_collect_service_proto_rawDescGZIP(), []int{2}
291 }
292
293 func (x *ApiMetadataList) GetApiMetadata() []*APIMetadata {
294 if x != nil {
295 return x.ApiMetadata
296 }
297 return nil
298 }
299
300 // The API metadata.
301 type APIMetadata struct {
302 state protoimpl.MessageState
303 sizeCache protoimpl.SizeCache
304 unknownFields protoimpl.UnknownFields
305
306 // Required. The API resource to be pushed to Hub's collect layer. The ID of
307 // the API resource will be generated by Hub to ensure uniqueness across all
308 // APIs across systems.
309 Api *Api `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
310 // Optional. The list of versions present in an API resource.
311 Versions []*VersionMetadata `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
312 // Optional. The unique identifier of the API in the system where it was
313 // originally created.
314 OriginalId string `protobuf:"bytes,3,opt,name=original_id,json=originalId,proto3" json:"original_id,omitempty"`
315 // Optional. Timestamp indicating when the API was created at the source.
316 OriginalCreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=original_create_time,json=originalCreateTime,proto3" json:"original_create_time,omitempty"`
317 // Required. Timestamp indicating when the API was last updated at the source.
318 OriginalUpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=original_update_time,json=originalUpdateTime,proto3" json:"original_update_time,omitempty"`
319 }
320
321 func (x *APIMetadata) Reset() {
322 *x = APIMetadata{}
323 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[3]
324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
325 ms.StoreMessageInfo(mi)
326 }
327
328 func (x *APIMetadata) String() string {
329 return protoimpl.X.MessageStringOf(x)
330 }
331
332 func (*APIMetadata) ProtoMessage() {}
333
334 func (x *APIMetadata) ProtoReflect() protoreflect.Message {
335 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[3]
336 if x != nil {
337 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
338 if ms.LoadMessageInfo() == nil {
339 ms.StoreMessageInfo(mi)
340 }
341 return ms
342 }
343 return mi.MessageOf(x)
344 }
345
346 // Deprecated: Use APIMetadata.ProtoReflect.Descriptor instead.
347 func (*APIMetadata) Descriptor() ([]byte, []int) {
348 return file_google_cloud_apihub_v1_collect_service_proto_rawDescGZIP(), []int{3}
349 }
350
351 func (x *APIMetadata) GetApi() *Api {
352 if x != nil {
353 return x.Api
354 }
355 return nil
356 }
357
358 func (x *APIMetadata) GetVersions() []*VersionMetadata {
359 if x != nil {
360 return x.Versions
361 }
362 return nil
363 }
364
365 func (x *APIMetadata) GetOriginalId() string {
366 if x != nil {
367 return x.OriginalId
368 }
369 return ""
370 }
371
372 func (x *APIMetadata) GetOriginalCreateTime() *timestamppb.Timestamp {
373 if x != nil {
374 return x.OriginalCreateTime
375 }
376 return nil
377 }
378
379 func (x *APIMetadata) GetOriginalUpdateTime() *timestamppb.Timestamp {
380 if x != nil {
381 return x.OriginalUpdateTime
382 }
383 return nil
384 }
385
386 // The metadata associated with a version of the API resource.
387 type VersionMetadata struct {
388 state protoimpl.MessageState
389 sizeCache protoimpl.SizeCache
390 unknownFields protoimpl.UnknownFields
391
392 // Required. Represents a version of the API resource in API hub. The ID of
393 // the version will be generated by Hub.
394 Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
395 // Optional. The specs associated with this version.
396 // Note that an API version can be associated with multiple specs.
397 Specs []*SpecMetadata `protobuf:"bytes,2,rep,name=specs,proto3" json:"specs,omitempty"`
398 // Optional. The deployments linked to this API version.
399 // Note: A particular API version could be deployed to multiple deployments
400 // (for dev deployment, UAT deployment, etc.)
401 Deployments []*DeploymentMetadata `protobuf:"bytes,4,rep,name=deployments,proto3" json:"deployments,omitempty"`
402 // Optional. The unique identifier of the version in the system where it was
403 // originally created.
404 OriginalId string `protobuf:"bytes,5,opt,name=original_id,json=originalId,proto3" json:"original_id,omitempty"`
405 // Optional. Timestamp indicating when the version was created at the source.
406 OriginalCreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=original_create_time,json=originalCreateTime,proto3" json:"original_create_time,omitempty"`
407 // Required. Timestamp indicating when the version was last updated at the
408 // source.
409 OriginalUpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=original_update_time,json=originalUpdateTime,proto3" json:"original_update_time,omitempty"`
410 }
411
412 func (x *VersionMetadata) Reset() {
413 *x = VersionMetadata{}
414 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[4]
415 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
416 ms.StoreMessageInfo(mi)
417 }
418
419 func (x *VersionMetadata) String() string {
420 return protoimpl.X.MessageStringOf(x)
421 }
422
423 func (*VersionMetadata) ProtoMessage() {}
424
425 func (x *VersionMetadata) ProtoReflect() protoreflect.Message {
426 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[4]
427 if x != nil {
428 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
429 if ms.LoadMessageInfo() == nil {
430 ms.StoreMessageInfo(mi)
431 }
432 return ms
433 }
434 return mi.MessageOf(x)
435 }
436
437 // Deprecated: Use VersionMetadata.ProtoReflect.Descriptor instead.
438 func (*VersionMetadata) Descriptor() ([]byte, []int) {
439 return file_google_cloud_apihub_v1_collect_service_proto_rawDescGZIP(), []int{4}
440 }
441
442 func (x *VersionMetadata) GetVersion() *Version {
443 if x != nil {
444 return x.Version
445 }
446 return nil
447 }
448
449 func (x *VersionMetadata) GetSpecs() []*SpecMetadata {
450 if x != nil {
451 return x.Specs
452 }
453 return nil
454 }
455
456 func (x *VersionMetadata) GetDeployments() []*DeploymentMetadata {
457 if x != nil {
458 return x.Deployments
459 }
460 return nil
461 }
462
463 func (x *VersionMetadata) GetOriginalId() string {
464 if x != nil {
465 return x.OriginalId
466 }
467 return ""
468 }
469
470 func (x *VersionMetadata) GetOriginalCreateTime() *timestamppb.Timestamp {
471 if x != nil {
472 return x.OriginalCreateTime
473 }
474 return nil
475 }
476
477 func (x *VersionMetadata) GetOriginalUpdateTime() *timestamppb.Timestamp {
478 if x != nil {
479 return x.OriginalUpdateTime
480 }
481 return nil
482 }
483
484 // The metadata associated with a spec of the API version.
485 type SpecMetadata struct {
486 state protoimpl.MessageState
487 sizeCache protoimpl.SizeCache
488 unknownFields protoimpl.UnknownFields
489
490 // Required. The spec resource to be pushed to Hub's collect layer. The ID of
491 // the spec will be generated by Hub.
492 Spec *Spec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
493 // Optional. The unique identifier of the spec in the system where it was
494 // originally created.
495 OriginalId string `protobuf:"bytes,2,opt,name=original_id,json=originalId,proto3" json:"original_id,omitempty"`
496 // Optional. Timestamp indicating when the spec was created at the source.
497 OriginalCreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=original_create_time,json=originalCreateTime,proto3" json:"original_create_time,omitempty"`
498 // Required. Timestamp indicating when the spec was last updated at the
499 // source.
500 OriginalUpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=original_update_time,json=originalUpdateTime,proto3" json:"original_update_time,omitempty"`
501 }
502
503 func (x *SpecMetadata) Reset() {
504 *x = SpecMetadata{}
505 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[5]
506 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
507 ms.StoreMessageInfo(mi)
508 }
509
510 func (x *SpecMetadata) String() string {
511 return protoimpl.X.MessageStringOf(x)
512 }
513
514 func (*SpecMetadata) ProtoMessage() {}
515
516 func (x *SpecMetadata) ProtoReflect() protoreflect.Message {
517 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[5]
518 if x != nil {
519 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
520 if ms.LoadMessageInfo() == nil {
521 ms.StoreMessageInfo(mi)
522 }
523 return ms
524 }
525 return mi.MessageOf(x)
526 }
527
528 // Deprecated: Use SpecMetadata.ProtoReflect.Descriptor instead.
529 func (*SpecMetadata) Descriptor() ([]byte, []int) {
530 return file_google_cloud_apihub_v1_collect_service_proto_rawDescGZIP(), []int{5}
531 }
532
533 func (x *SpecMetadata) GetSpec() *Spec {
534 if x != nil {
535 return x.Spec
536 }
537 return nil
538 }
539
540 func (x *SpecMetadata) GetOriginalId() string {
541 if x != nil {
542 return x.OriginalId
543 }
544 return ""
545 }
546
547 func (x *SpecMetadata) GetOriginalCreateTime() *timestamppb.Timestamp {
548 if x != nil {
549 return x.OriginalCreateTime
550 }
551 return nil
552 }
553
554 func (x *SpecMetadata) GetOriginalUpdateTime() *timestamppb.Timestamp {
555 if x != nil {
556 return x.OriginalUpdateTime
557 }
558 return nil
559 }
560
561 // The metadata associated with a deployment.
562 type DeploymentMetadata struct {
563 state protoimpl.MessageState
564 sizeCache protoimpl.SizeCache
565 unknownFields protoimpl.UnknownFields
566
567 // Required. The deployment resource to be pushed to Hub's collect layer. The
568 // ID of the deployment will be generated by Hub.
569 Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
570 // Optional. The unique identifier of the deployment in the system where it
571 // was originally created.
572 OriginalId string `protobuf:"bytes,2,opt,name=original_id,json=originalId,proto3" json:"original_id,omitempty"`
573 // Optional. Timestamp indicating when the deployment was created at the
574 // source.
575 OriginalCreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=original_create_time,json=originalCreateTime,proto3" json:"original_create_time,omitempty"`
576 // Required. Timestamp indicating when the deployment was last updated at the
577 // source.
578 OriginalUpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=original_update_time,json=originalUpdateTime,proto3" json:"original_update_time,omitempty"`
579 }
580
581 func (x *DeploymentMetadata) Reset() {
582 *x = DeploymentMetadata{}
583 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[6]
584 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
585 ms.StoreMessageInfo(mi)
586 }
587
588 func (x *DeploymentMetadata) String() string {
589 return protoimpl.X.MessageStringOf(x)
590 }
591
592 func (*DeploymentMetadata) ProtoMessage() {}
593
594 func (x *DeploymentMetadata) ProtoReflect() protoreflect.Message {
595 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[6]
596 if x != nil {
597 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
598 if ms.LoadMessageInfo() == nil {
599 ms.StoreMessageInfo(mi)
600 }
601 return ms
602 }
603 return mi.MessageOf(x)
604 }
605
606 // Deprecated: Use DeploymentMetadata.ProtoReflect.Descriptor instead.
607 func (*DeploymentMetadata) Descriptor() ([]byte, []int) {
608 return file_google_cloud_apihub_v1_collect_service_proto_rawDescGZIP(), []int{6}
609 }
610
611 func (x *DeploymentMetadata) GetDeployment() *Deployment {
612 if x != nil {
613 return x.Deployment
614 }
615 return nil
616 }
617
618 func (x *DeploymentMetadata) GetOriginalId() string {
619 if x != nil {
620 return x.OriginalId
621 }
622 return ""
623 }
624
625 func (x *DeploymentMetadata) GetOriginalCreateTime() *timestamppb.Timestamp {
626 if x != nil {
627 return x.OriginalCreateTime
628 }
629 return nil
630 }
631
632 func (x *DeploymentMetadata) GetOriginalUpdateTime() *timestamppb.Timestamp {
633 if x != nil {
634 return x.OriginalUpdateTime
635 }
636 return nil
637 }
638
639 // The CollectApiData method's response.
640 type CollectApiDataResponse struct {
641 state protoimpl.MessageState
642 sizeCache protoimpl.SizeCache
643 unknownFields protoimpl.UnknownFields
644 }
645
646 func (x *CollectApiDataResponse) Reset() {
647 *x = CollectApiDataResponse{}
648 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[7]
649 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
650 ms.StoreMessageInfo(mi)
651 }
652
653 func (x *CollectApiDataResponse) String() string {
654 return protoimpl.X.MessageStringOf(x)
655 }
656
657 func (*CollectApiDataResponse) ProtoMessage() {}
658
659 func (x *CollectApiDataResponse) ProtoReflect() protoreflect.Message {
660 mi := &file_google_cloud_apihub_v1_collect_service_proto_msgTypes[7]
661 if x != nil {
662 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
663 if ms.LoadMessageInfo() == nil {
664 ms.StoreMessageInfo(mi)
665 }
666 return ms
667 }
668 return mi.MessageOf(x)
669 }
670
671 // Deprecated: Use CollectApiDataResponse.ProtoReflect.Descriptor instead.
672 func (*CollectApiDataResponse) Descriptor() ([]byte, []int) {
673 return file_google_cloud_apihub_v1_collect_service_proto_rawDescGZIP(), []int{7}
674 }
675
676 var File_google_cloud_apihub_v1_collect_service_proto protoreflect.FileDescriptor
677
678 var file_google_cloud_apihub_v1_collect_service_proto_rawDesc = []byte{
679 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
680 0x70, 0x69, 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
681 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16,
682 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69,
683 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
684 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
685 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
686 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
687 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
688 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19,
689 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
690 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
691 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x2f, 0x76,
692 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x2e,
693 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f,
694 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
695 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
696 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65,
697 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xee, 0x02, 0x0a, 0x15,
698 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x70, 0x69, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65,
699 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
700 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a,
701 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
702 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
703 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x0f,
704 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
705 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
706 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x43,
707 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0,
708 0x41, 0x02, 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
709 0x70, 0x65, 0x12, 0x55, 0x0a, 0x0f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69, 0x6e, 0x73,
710 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02,
711 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
712 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6c, 0x75, 0x67, 0x69,
713 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0e, 0x70, 0x6c, 0x75, 0x67, 0x69,
714 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x61, 0x63, 0x74,
715 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
716 0x02, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x08, 0x61,
717 0x70, 0x69, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
718 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69,
719 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x69, 0x44, 0x61, 0x74, 0x61, 0x42, 0x03,
720 0xe0, 0x41, 0x02, 0x52, 0x07, 0x61, 0x70, 0x69, 0x44, 0x61, 0x74, 0x61, 0x22, 0x6d, 0x0a, 0x07,
721 0x41, 0x70, 0x69, 0x44, 0x61, 0x74, 0x61, 0x12, 0x5a, 0x0a, 0x11, 0x61, 0x70, 0x69, 0x5f, 0x6d,
722 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01,
723 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
724 0x64, 0x2e, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x69, 0x4d,
725 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01,
726 0x48, 0x00, 0x52, 0x0f, 0x61, 0x70, 0x69, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c,
727 0x69, 0x73, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x5e, 0x0a, 0x0f, 0x41,
728 0x70, 0x69, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4b,
729 0x0a, 0x0c, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
730 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
731 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50,
732 0x49, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b,
733 0x61, 0x70, 0x69, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xd7, 0x02, 0x0a, 0x0b,
734 0x41, 0x50, 0x49, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x32, 0x0a, 0x03, 0x61,
735 0x70, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
736 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x2e, 0x76,
737 0x31, 0x2e, 0x41, 0x70, 0x69, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x61, 0x70, 0x69, 0x12,
738 0x48, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
739 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
740 0x2e, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69,
741 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
742 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x0b, 0x6f, 0x72, 0x69,
743 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
744 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12,
745 0x51, 0x0a, 0x14, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x61,
746 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
747 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
748 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12,
749 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69,
750 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x14, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x75,
751 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
752 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
753 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41,
754 0x02, 0x52, 0x12, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74,
755 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xb1, 0x03, 0x0a, 0x0f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
756 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3e, 0x0a, 0x07, 0x76, 0x65, 0x72,
757 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f,
758 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62,
759 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02,
760 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x05, 0x73, 0x70, 0x65,
761 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
762 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x2e, 0x76,
763 0x31, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x03,
764 0xe0, 0x41, 0x01, 0x52, 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x12, 0x51, 0x0a, 0x0b, 0x64, 0x65,
765 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
766 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
767 0x70, 0x69, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,
768 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x01,
769 0x52, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x24, 0x0a,
770 0x0b, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01,
771 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61,
772 0x6c, 0x49, 0x64, 0x12, 0x51, 0x0a, 0x14, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f,
773 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
774 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
775 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
776 0x41, 0x01, 0x52, 0x12, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61,
777 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x14, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
778 0x61, 0x6c, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07,
779 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
780 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
781 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x12, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x55,
782 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x91, 0x02, 0x0a, 0x0c, 0x53, 0x70,
783 0x65, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x35, 0x0a, 0x04, 0x73, 0x70,
784 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
785 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x2e, 0x76,
786 0x31, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x73, 0x70, 0x65,
787 0x63, 0x12, 0x24, 0x0a, 0x0b, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64,
788 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x6f, 0x72, 0x69,
789 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x51, 0x0a, 0x14, 0x6f, 0x72, 0x69, 0x67, 0x69,
790 0x6e, 0x61, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
791 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
792 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
793 0x70, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c,
794 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x14, 0x6f, 0x72,
795 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
796 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
797 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
798 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x12, 0x6f, 0x72, 0x69, 0x67, 0x69,
799 0x6e, 0x61, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xa9, 0x02,
800 0x0a, 0x12, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61,
801 0x64, 0x61, 0x74, 0x61, 0x12, 0x47, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65,
802 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
803 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x2e, 0x76,
804 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41,
805 0x02, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a,
806 0x0b, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
807 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61,
808 0x6c, 0x49, 0x64, 0x12, 0x51, 0x0a, 0x14, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f,
809 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
810 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
811 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
812 0x41, 0x01, 0x52, 0x12, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61,
813 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x14, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
814 0x61, 0x6c, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04,
815 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
816 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
817 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x12, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x55,
818 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x6f, 0x6c,
819 0x6c, 0x65, 0x63, 0x74, 0x41, 0x70, 0x69, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f,
820 0x6e, 0x73, 0x65, 0x2a, 0x69, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
821 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54,
822 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
823 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43,
824 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x50, 0x53, 0x45, 0x52, 0x54,
825 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e,
826 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02, 0x32, 0xcf,
827 0x02, 0x0a, 0x0d, 0x41, 0x70, 0x69, 0x48, 0x75, 0x62, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
828 0x12, 0xf2, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x70, 0x69, 0x44,
829 0x61, 0x74, 0x61, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
830 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c,
831 0x6c, 0x65, 0x63, 0x74, 0x41, 0x70, 0x69, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65,
832 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67,
833 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
834 0x6e, 0x22, 0x91, 0x01, 0xca, 0x41, 0x2b, 0x0a, 0x16, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
835 0x41, 0x70, 0x69, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
836 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
837 0x74, 0x61, 0xda, 0x41, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2c, 0x63, 0x6f,
838 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2c, 0x61, 0x70,
839 0x69, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, 0x22,
840 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x70,
841 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
842 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x70,
843 0x69, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x49, 0xca, 0x41, 0x15, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62,
844 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2,
845 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f,
846 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74,
847 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
848 0x42, 0xb5, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
849 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x42,
850 0x13, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50,
851 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f,
852 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x68,
853 0x75, 0x62, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x70,
854 0x62, 0x3b, 0x61, 0x70, 0x69, 0x68, 0x75, 0x62, 0x70, 0x62, 0xaa, 0x02, 0x16, 0x47, 0x6f, 0x6f,
855 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x70, 0x69, 0x48, 0x75, 0x62,
856 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
857 0x75, 0x64, 0x5c, 0x41, 0x70, 0x69, 0x48, 0x75, 0x62, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x19, 0x47,
858 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x70,
859 0x69, 0x48, 0x75, 0x62, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
860 }
861
862 var (
863 file_google_cloud_apihub_v1_collect_service_proto_rawDescOnce sync.Once
864 file_google_cloud_apihub_v1_collect_service_proto_rawDescData = file_google_cloud_apihub_v1_collect_service_proto_rawDesc
865 )
866
867 func file_google_cloud_apihub_v1_collect_service_proto_rawDescGZIP() []byte {
868 file_google_cloud_apihub_v1_collect_service_proto_rawDescOnce.Do(func() {
869 file_google_cloud_apihub_v1_collect_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_apihub_v1_collect_service_proto_rawDescData)
870 })
871 return file_google_cloud_apihub_v1_collect_service_proto_rawDescData
872 }
873
874 var file_google_cloud_apihub_v1_collect_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
875 var file_google_cloud_apihub_v1_collect_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
876 var file_google_cloud_apihub_v1_collect_service_proto_goTypes = []any{
877 (CollectionType)(0), // 0: google.cloud.apihub.v1.CollectionType
878 (*CollectApiDataRequest)(nil), // 1: google.cloud.apihub.v1.CollectApiDataRequest
879 (*ApiData)(nil), // 2: google.cloud.apihub.v1.ApiData
880 (*ApiMetadataList)(nil), // 3: google.cloud.apihub.v1.ApiMetadataList
881 (*APIMetadata)(nil), // 4: google.cloud.apihub.v1.APIMetadata
882 (*VersionMetadata)(nil), // 5: google.cloud.apihub.v1.VersionMetadata
883 (*SpecMetadata)(nil), // 6: google.cloud.apihub.v1.SpecMetadata
884 (*DeploymentMetadata)(nil), // 7: google.cloud.apihub.v1.DeploymentMetadata
885 (*CollectApiDataResponse)(nil), // 8: google.cloud.apihub.v1.CollectApiDataResponse
886 (*Api)(nil), // 9: google.cloud.apihub.v1.Api
887 (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp
888 (*Version)(nil), // 11: google.cloud.apihub.v1.Version
889 (*Spec)(nil), // 12: google.cloud.apihub.v1.Spec
890 (*Deployment)(nil), // 13: google.cloud.apihub.v1.Deployment
891 (*longrunningpb.Operation)(nil), // 14: google.longrunning.Operation
892 }
893 var file_google_cloud_apihub_v1_collect_service_proto_depIdxs = []int32{
894 0, // 0: google.cloud.apihub.v1.CollectApiDataRequest.collection_type:type_name -> google.cloud.apihub.v1.CollectionType
895 2, // 1: google.cloud.apihub.v1.CollectApiDataRequest.api_data:type_name -> google.cloud.apihub.v1.ApiData
896 3, // 2: google.cloud.apihub.v1.ApiData.api_metadata_list:type_name -> google.cloud.apihub.v1.ApiMetadataList
897 4, // 3: google.cloud.apihub.v1.ApiMetadataList.api_metadata:type_name -> google.cloud.apihub.v1.APIMetadata
898 9, // 4: google.cloud.apihub.v1.APIMetadata.api:type_name -> google.cloud.apihub.v1.Api
899 5, // 5: google.cloud.apihub.v1.APIMetadata.versions:type_name -> google.cloud.apihub.v1.VersionMetadata
900 10, // 6: google.cloud.apihub.v1.APIMetadata.original_create_time:type_name -> google.protobuf.Timestamp
901 10, // 7: google.cloud.apihub.v1.APIMetadata.original_update_time:type_name -> google.protobuf.Timestamp
902 11, // 8: google.cloud.apihub.v1.VersionMetadata.version:type_name -> google.cloud.apihub.v1.Version
903 6, // 9: google.cloud.apihub.v1.VersionMetadata.specs:type_name -> google.cloud.apihub.v1.SpecMetadata
904 7, // 10: google.cloud.apihub.v1.VersionMetadata.deployments:type_name -> google.cloud.apihub.v1.DeploymentMetadata
905 10, // 11: google.cloud.apihub.v1.VersionMetadata.original_create_time:type_name -> google.protobuf.Timestamp
906 10, // 12: google.cloud.apihub.v1.VersionMetadata.original_update_time:type_name -> google.protobuf.Timestamp
907 12, // 13: google.cloud.apihub.v1.SpecMetadata.spec:type_name -> google.cloud.apihub.v1.Spec
908 10, // 14: google.cloud.apihub.v1.SpecMetadata.original_create_time:type_name -> google.protobuf.Timestamp
909 10, // 15: google.cloud.apihub.v1.SpecMetadata.original_update_time:type_name -> google.protobuf.Timestamp
910 13, // 16: google.cloud.apihub.v1.DeploymentMetadata.deployment:type_name -> google.cloud.apihub.v1.Deployment
911 10, // 17: google.cloud.apihub.v1.DeploymentMetadata.original_create_time:type_name -> google.protobuf.Timestamp
912 10, // 18: google.cloud.apihub.v1.DeploymentMetadata.original_update_time:type_name -> google.protobuf.Timestamp
913 1, // 19: google.cloud.apihub.v1.ApiHubCollect.CollectApiData:input_type -> google.cloud.apihub.v1.CollectApiDataRequest
914 14, // 20: google.cloud.apihub.v1.ApiHubCollect.CollectApiData:output_type -> google.longrunning.Operation
915 20, // [20:21] is the sub-list for method output_type
916 19, // [19:20] is the sub-list for method input_type
917 19, // [19:19] is the sub-list for extension type_name
918 19, // [19:19] is the sub-list for extension extendee
919 0, // [0:19] is the sub-list for field type_name
920 }
921
922 func init() { file_google_cloud_apihub_v1_collect_service_proto_init() }
923 func file_google_cloud_apihub_v1_collect_service_proto_init() {
924 if File_google_cloud_apihub_v1_collect_service_proto != nil {
925 return
926 }
927 file_google_cloud_apihub_v1_common_fields_proto_init()
928 file_google_cloud_apihub_v1_collect_service_proto_msgTypes[1].OneofWrappers = []any{
929 (*ApiData_ApiMetadataList)(nil),
930 }
931 type x struct{}
932 out := protoimpl.TypeBuilder{
933 File: protoimpl.DescBuilder{
934 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
935 RawDescriptor: file_google_cloud_apihub_v1_collect_service_proto_rawDesc,
936 NumEnums: 1,
937 NumMessages: 8,
938 NumExtensions: 0,
939 NumServices: 1,
940 },
941 GoTypes: file_google_cloud_apihub_v1_collect_service_proto_goTypes,
942 DependencyIndexes: file_google_cloud_apihub_v1_collect_service_proto_depIdxs,
943 EnumInfos: file_google_cloud_apihub_v1_collect_service_proto_enumTypes,
944 MessageInfos: file_google_cloud_apihub_v1_collect_service_proto_msgTypes,
945 }.Build()
946 File_google_cloud_apihub_v1_collect_service_proto = out.File
947 file_google_cloud_apihub_v1_collect_service_proto_rawDesc = nil
948 file_google_cloud_apihub_v1_collect_service_proto_goTypes = nil
949 file_google_cloud_apihub_v1_collect_service_proto_depIdxs = nil
950 }