Debian Codegraph @

googleapis/cloud/gkehub/v1beta/service.pb.go

raw
1 // Copyright 2021 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.26.0
18 // protoc v3.12.2
19 // source: google/cloud/gkehub/v1beta/service.proto
20
21 package gkehub
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 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
36 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
37 )
38
39 const (
40 // Verify that this generated code is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
42 // Verify that runtime/protoimpl is sufficiently up-to-date.
43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44 )
45
46 // Request message for `GkeHub.ListFeatures` method.
47 type ListFeaturesRequest struct {
48 state protoimpl.MessageState
49 sizeCache protoimpl.SizeCache
50 unknownFields protoimpl.UnknownFields
51
52 // The parent (project and location) where the Features will be listed.
53 // Specified in the format `projects/*/locations/*`.
54 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
55 // When requesting a 'page' of resources, `page_size` specifies number of
56 // resources to return. If unspecified or set to 0, all resources will
57 // be returned.
58 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
59 // Token returned by previous call to `ListFeatures` which
60 // specifies the position in the list from where to continue listing the
61 // resources.
62 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
63 // Lists Features that match the filter expression, following the syntax
64 // outlined in https://google.aip.dev/160.
65 //
66 // Examples:
67 //
68 // - Feature with the name "servicemesh" in project "foo-proj":
69 //
70 // name = "projects/foo-proj/locations/global/features/servicemesh"
71 //
72 // - Features that have a label called `foo`:
73 //
74 // labels.foo:*
75 //
76 // - Features that have a label called `foo` whose value is `bar`:
77 //
78 // labels.foo = bar
79 Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
80 // One or more fields to compare and use to sort the output.
81 // See https://google.aip.dev/132#ordering.
82 OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
83 }
84
85 func (x *ListFeaturesRequest) Reset() {
86 *x = ListFeaturesRequest{}
87 if protoimpl.UnsafeEnabled {
88 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[0]
89 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
90 ms.StoreMessageInfo(mi)
91 }
92 }
93
94 func (x *ListFeaturesRequest) String() string {
95 return protoimpl.X.MessageStringOf(x)
96 }
97
98 func (*ListFeaturesRequest) ProtoMessage() {}
99
100 func (x *ListFeaturesRequest) ProtoReflect() protoreflect.Message {
101 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[0]
102 if protoimpl.UnsafeEnabled && x != nil {
103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
104 if ms.LoadMessageInfo() == nil {
105 ms.StoreMessageInfo(mi)
106 }
107 return ms
108 }
109 return mi.MessageOf(x)
110 }
111
112 // Deprecated: Use ListFeaturesRequest.ProtoReflect.Descriptor instead.
113 func (*ListFeaturesRequest) Descriptor() ([]byte, []int) {
114 return file_google_cloud_gkehub_v1beta_service_proto_rawDescGZIP(), []int{0}
115 }
116
117 func (x *ListFeaturesRequest) GetParent() string {
118 if x != nil {
119 return x.Parent
120 }
121 return ""
122 }
123
124 func (x *ListFeaturesRequest) GetPageSize() int32 {
125 if x != nil {
126 return x.PageSize
127 }
128 return 0
129 }
130
131 func (x *ListFeaturesRequest) GetPageToken() string {
132 if x != nil {
133 return x.PageToken
134 }
135 return ""
136 }
137
138 func (x *ListFeaturesRequest) GetFilter() string {
139 if x != nil {
140 return x.Filter
141 }
142 return ""
143 }
144
145 func (x *ListFeaturesRequest) GetOrderBy() string {
146 if x != nil {
147 return x.OrderBy
148 }
149 return ""
150 }
151
152 // Response message for the `GkeHub.ListFeatures` method.
153 type ListFeaturesResponse struct {
154 state protoimpl.MessageState
155 sizeCache protoimpl.SizeCache
156 unknownFields protoimpl.UnknownFields
157
158 // The list of matching Features
159 Resources []*Feature `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
160 // A token to request the next page of resources from the
161 // `ListFeatures` method. The value of an empty string means
162 // that there are no more resources to return.
163 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
164 }
165
166 func (x *ListFeaturesResponse) Reset() {
167 *x = ListFeaturesResponse{}
168 if protoimpl.UnsafeEnabled {
169 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[1]
170 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
171 ms.StoreMessageInfo(mi)
172 }
173 }
174
175 func (x *ListFeaturesResponse) String() string {
176 return protoimpl.X.MessageStringOf(x)
177 }
178
179 func (*ListFeaturesResponse) ProtoMessage() {}
180
181 func (x *ListFeaturesResponse) ProtoReflect() protoreflect.Message {
182 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[1]
183 if protoimpl.UnsafeEnabled && x != nil {
184 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
185 if ms.LoadMessageInfo() == nil {
186 ms.StoreMessageInfo(mi)
187 }
188 return ms
189 }
190 return mi.MessageOf(x)
191 }
192
193 // Deprecated: Use ListFeaturesResponse.ProtoReflect.Descriptor instead.
194 func (*ListFeaturesResponse) Descriptor() ([]byte, []int) {
195 return file_google_cloud_gkehub_v1beta_service_proto_rawDescGZIP(), []int{1}
196 }
197
198 func (x *ListFeaturesResponse) GetResources() []*Feature {
199 if x != nil {
200 return x.Resources
201 }
202 return nil
203 }
204
205 func (x *ListFeaturesResponse) GetNextPageToken() string {
206 if x != nil {
207 return x.NextPageToken
208 }
209 return ""
210 }
211
212 // Request message for `GkeHub.GetFeature` method.
213 type GetFeatureRequest struct {
214 state protoimpl.MessageState
215 sizeCache protoimpl.SizeCache
216 unknownFields protoimpl.UnknownFields
217
218 // The Feature resource name in the format
219 // `projects/*/locations/*/features/*`
220 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
221 }
222
223 func (x *GetFeatureRequest) Reset() {
224 *x = GetFeatureRequest{}
225 if protoimpl.UnsafeEnabled {
226 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[2]
227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
228 ms.StoreMessageInfo(mi)
229 }
230 }
231
232 func (x *GetFeatureRequest) String() string {
233 return protoimpl.X.MessageStringOf(x)
234 }
235
236 func (*GetFeatureRequest) ProtoMessage() {}
237
238 func (x *GetFeatureRequest) ProtoReflect() protoreflect.Message {
239 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[2]
240 if protoimpl.UnsafeEnabled && x != nil {
241 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
242 if ms.LoadMessageInfo() == nil {
243 ms.StoreMessageInfo(mi)
244 }
245 return ms
246 }
247 return mi.MessageOf(x)
248 }
249
250 // Deprecated: Use GetFeatureRequest.ProtoReflect.Descriptor instead.
251 func (*GetFeatureRequest) Descriptor() ([]byte, []int) {
252 return file_google_cloud_gkehub_v1beta_service_proto_rawDescGZIP(), []int{2}
253 }
254
255 func (x *GetFeatureRequest) GetName() string {
256 if x != nil {
257 return x.Name
258 }
259 return ""
260 }
261
262 // Request message for the `GkeHub.CreateFeature` method.
263 type CreateFeatureRequest struct {
264 state protoimpl.MessageState
265 sizeCache protoimpl.SizeCache
266 unknownFields protoimpl.UnknownFields
267
268 // The parent (project and location) where the Feature will be created.
269 // Specified in the format `projects/*/locations/*`.
270 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
271 // The ID of the feature to create.
272 FeatureId string `protobuf:"bytes,2,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"`
273 // The Feature resource to create.
274 Resource *Feature `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
275 // Optional. A request ID to identify requests. Specify a unique request ID
276 // so that if you must retry your request, the server will know to ignore
277 // the request if it has already been completed. The server will guarantee
278 // that for at least 60 minutes after the first request.
279 //
280 // For example, consider a situation where you make an initial request and
281 // the request times out. If you make the request again with the same request
282 // ID, the server can check if original operation with the same request ID
283 // was received, and if so, will ignore the second request. This prevents
284 // clients from accidentally creating duplicate commitments.
285 //
286 // The request ID must be a valid UUID with the exception that zero UUID is
287 // not supported (00000000-0000-0000-0000-000000000000).
288 RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
289 }
290
291 func (x *CreateFeatureRequest) Reset() {
292 *x = CreateFeatureRequest{}
293 if protoimpl.UnsafeEnabled {
294 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[3]
295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
296 ms.StoreMessageInfo(mi)
297 }
298 }
299
300 func (x *CreateFeatureRequest) String() string {
301 return protoimpl.X.MessageStringOf(x)
302 }
303
304 func (*CreateFeatureRequest) ProtoMessage() {}
305
306 func (x *CreateFeatureRequest) ProtoReflect() protoreflect.Message {
307 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[3]
308 if protoimpl.UnsafeEnabled && x != nil {
309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
310 if ms.LoadMessageInfo() == nil {
311 ms.StoreMessageInfo(mi)
312 }
313 return ms
314 }
315 return mi.MessageOf(x)
316 }
317
318 // Deprecated: Use CreateFeatureRequest.ProtoReflect.Descriptor instead.
319 func (*CreateFeatureRequest) Descriptor() ([]byte, []int) {
320 return file_google_cloud_gkehub_v1beta_service_proto_rawDescGZIP(), []int{3}
321 }
322
323 func (x *CreateFeatureRequest) GetParent() string {
324 if x != nil {
325 return x.Parent
326 }
327 return ""
328 }
329
330 func (x *CreateFeatureRequest) GetFeatureId() string {
331 if x != nil {
332 return x.FeatureId
333 }
334 return ""
335 }
336
337 func (x *CreateFeatureRequest) GetResource() *Feature {
338 if x != nil {
339 return x.Resource
340 }
341 return nil
342 }
343
344 func (x *CreateFeatureRequest) GetRequestId() string {
345 if x != nil {
346 return x.RequestId
347 }
348 return ""
349 }
350
351 // Request message for `GkeHub.DeleteFeature` method.
352 type DeleteFeatureRequest struct {
353 state protoimpl.MessageState
354 sizeCache protoimpl.SizeCache
355 unknownFields protoimpl.UnknownFields
356
357 // The Feature resource name in the format
358 // `projects/*/locations/*/features/*`.
359 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
360 // If set to true, the delete will ignore any outstanding resources for
361 // this Feature (that is, `FeatureState.has_resources` is set to true). These
362 // resources will NOT be cleaned up or modified in any way.
363 Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
364 // Optional. A request ID to identify requests. Specify a unique request ID
365 // so that if you must retry your request, the server will know to ignore
366 // the request if it has already been completed. The server will guarantee
367 // that for at least 60 minutes after the first request.
368 //
369 // For example, consider a situation where you make an initial request and
370 // the request times out. If you make the request again with the same request
371 // ID, the server can check if original operation with the same request ID
372 // was received, and if so, will ignore the second request. This prevents
373 // clients from accidentally creating duplicate commitments.
374 //
375 // The request ID must be a valid UUID with the exception that zero UUID is
376 // not supported (00000000-0000-0000-0000-000000000000).
377 RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
378 }
379
380 func (x *DeleteFeatureRequest) Reset() {
381 *x = DeleteFeatureRequest{}
382 if protoimpl.UnsafeEnabled {
383 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[4]
384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
385 ms.StoreMessageInfo(mi)
386 }
387 }
388
389 func (x *DeleteFeatureRequest) String() string {
390 return protoimpl.X.MessageStringOf(x)
391 }
392
393 func (*DeleteFeatureRequest) ProtoMessage() {}
394
395 func (x *DeleteFeatureRequest) ProtoReflect() protoreflect.Message {
396 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[4]
397 if protoimpl.UnsafeEnabled && x != nil {
398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
399 if ms.LoadMessageInfo() == nil {
400 ms.StoreMessageInfo(mi)
401 }
402 return ms
403 }
404 return mi.MessageOf(x)
405 }
406
407 // Deprecated: Use DeleteFeatureRequest.ProtoReflect.Descriptor instead.
408 func (*DeleteFeatureRequest) Descriptor() ([]byte, []int) {
409 return file_google_cloud_gkehub_v1beta_service_proto_rawDescGZIP(), []int{4}
410 }
411
412 func (x *DeleteFeatureRequest) GetName() string {
413 if x != nil {
414 return x.Name
415 }
416 return ""
417 }
418
419 func (x *DeleteFeatureRequest) GetForce() bool {
420 if x != nil {
421 return x.Force
422 }
423 return false
424 }
425
426 func (x *DeleteFeatureRequest) GetRequestId() string {
427 if x != nil {
428 return x.RequestId
429 }
430 return ""
431 }
432
433 // Request message for `GkeHub.UpdateFeature` method.
434 type UpdateFeatureRequest struct {
435 state protoimpl.MessageState
436 sizeCache protoimpl.SizeCache
437 unknownFields protoimpl.UnknownFields
438
439 // The Feature resource name in the format
440 // `projects/*/locations/*/features/*`.
441 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
442 // Mask of fields to update.
443 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
444 // Only fields specified in update_mask are updated.
445 // If you specify a field in the update_mask but don't specify its value here
446 // that field will be deleted.
447 // If you are updating a map field, set the value of a key to null or empty
448 // string to delete the key from the map. It's not possible to update a key's
449 // value to the empty string.
450 // If you specify the update_mask to be a special path "*", fully replaces all
451 // user-modifiable fields to match `resource`.
452 Resource *Feature `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
453 // Optional. A request ID to identify requests. Specify a unique request ID
454 // so that if you must retry your request, the server will know to ignore
455 // the request if it has already been completed. The server will guarantee
456 // that for at least 60 minutes after the first request.
457 //
458 // For example, consider a situation where you make an initial request and
459 // the request times out. If you make the request again with the same request
460 // ID, the server can check if original operation with the same request ID
461 // was received, and if so, will ignore the second request. This prevents
462 // clients from accidentally creating duplicate commitments.
463 //
464 // The request ID must be a valid UUID with the exception that zero UUID is
465 // not supported (00000000-0000-0000-0000-000000000000).
466 RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
467 }
468
469 func (x *UpdateFeatureRequest) Reset() {
470 *x = UpdateFeatureRequest{}
471 if protoimpl.UnsafeEnabled {
472 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[5]
473 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
474 ms.StoreMessageInfo(mi)
475 }
476 }
477
478 func (x *UpdateFeatureRequest) String() string {
479 return protoimpl.X.MessageStringOf(x)
480 }
481
482 func (*UpdateFeatureRequest) ProtoMessage() {}
483
484 func (x *UpdateFeatureRequest) ProtoReflect() protoreflect.Message {
485 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[5]
486 if protoimpl.UnsafeEnabled && x != nil {
487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
488 if ms.LoadMessageInfo() == nil {
489 ms.StoreMessageInfo(mi)
490 }
491 return ms
492 }
493 return mi.MessageOf(x)
494 }
495
496 // Deprecated: Use UpdateFeatureRequest.ProtoReflect.Descriptor instead.
497 func (*UpdateFeatureRequest) Descriptor() ([]byte, []int) {
498 return file_google_cloud_gkehub_v1beta_service_proto_rawDescGZIP(), []int{5}
499 }
500
501 func (x *UpdateFeatureRequest) GetName() string {
502 if x != nil {
503 return x.Name
504 }
505 return ""
506 }
507
508 func (x *UpdateFeatureRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
509 if x != nil {
510 return x.UpdateMask
511 }
512 return nil
513 }
514
515 func (x *UpdateFeatureRequest) GetResource() *Feature {
516 if x != nil {
517 return x.Resource
518 }
519 return nil
520 }
521
522 func (x *UpdateFeatureRequest) GetRequestId() string {
523 if x != nil {
524 return x.RequestId
525 }
526 return ""
527 }
528
529 // Represents the metadata of the long-running operation.
530 type OperationMetadata struct {
531 state protoimpl.MessageState
532 sizeCache protoimpl.SizeCache
533 unknownFields protoimpl.UnknownFields
534
535 // Output only. The time the operation was created.
536 CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
537 // Output only. The time the operation finished running.
538 EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
539 // Output only. Server-defined resource path for the target of the operation.
540 Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
541 // Output only. Name of the verb executed by the operation.
542 Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
543 // Output only. Human-readable status of the operation, if any.
544 StatusDetail string `protobuf:"bytes,5,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`
545 // Output only. Identifies whether the user has requested cancellation
546 // of the operation. Operations that have successfully been cancelled
547 // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
548 // corresponding to `Code.CANCELLED`.
549 CancelRequested bool `protobuf:"varint,6,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
550 // Output only. API version used to start the operation.
551 ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
552 }
553
554 func (x *OperationMetadata) Reset() {
555 *x = OperationMetadata{}
556 if protoimpl.UnsafeEnabled {
557 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[6]
558 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
559 ms.StoreMessageInfo(mi)
560 }
561 }
562
563 func (x *OperationMetadata) String() string {
564 return protoimpl.X.MessageStringOf(x)
565 }
566
567 func (*OperationMetadata) ProtoMessage() {}
568
569 func (x *OperationMetadata) ProtoReflect() protoreflect.Message {
570 mi := &file_google_cloud_gkehub_v1beta_service_proto_msgTypes[6]
571 if protoimpl.UnsafeEnabled && x != nil {
572 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
573 if ms.LoadMessageInfo() == nil {
574 ms.StoreMessageInfo(mi)
575 }
576 return ms
577 }
578 return mi.MessageOf(x)
579 }
580
581 // Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
582 func (*OperationMetadata) Descriptor() ([]byte, []int) {
583 return file_google_cloud_gkehub_v1beta_service_proto_rawDescGZIP(), []int{6}
584 }
585
586 func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp {
587 if x != nil {
588 return x.CreateTime
589 }
590 return nil
591 }
592
593 func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp {
594 if x != nil {
595 return x.EndTime
596 }
597 return nil
598 }
599
600 func (x *OperationMetadata) GetTarget() string {
601 if x != nil {
602 return x.Target
603 }
604 return ""
605 }
606
607 func (x *OperationMetadata) GetVerb() string {
608 if x != nil {
609 return x.Verb
610 }
611 return ""
612 }
613
614 func (x *OperationMetadata) GetStatusDetail() string {
615 if x != nil {
616 return x.StatusDetail
617 }
618 return ""
619 }
620
621 func (x *OperationMetadata) GetCancelRequested() bool {
622 if x != nil {
623 return x.CancelRequested
624 }
625 return false
626 }
627
628 func (x *OperationMetadata) GetApiVersion() string {
629 if x != nil {
630 return x.ApiVersion
631 }
632 return ""
633 }
634
635 var File_google_cloud_gkehub_v1beta_service_proto protoreflect.FileDescriptor
636
637 var file_google_cloud_gkehub_v1beta_service_proto_rawDesc = []byte{
638 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
639 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x72,
640 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67,
641 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e,
642 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
643 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
644 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
645 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
646 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
647 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28,
648 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65,
649 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x66, 0x65, 0x61, 0x74, 0x75,
650 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
651 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65,
652 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
653 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
654 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
655 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
656 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
657 0x22, 0x9c, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
658 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
659 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
660 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20,
661 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a,
662 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
663 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06,
664 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69,
665 0x6c, 0x74, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79,
666 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22,
667 0x81, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
668 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f,
669 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f,
670 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75,
671 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
672 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e,
673 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02,
674 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f,
675 0x6b, 0x65, 0x6e, 0x22, 0x27, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
676 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
677 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xb2, 0x01, 0x0a,
678 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65,
679 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,
680 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a,
681 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
682 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x08,
683 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23,
684 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b,
685 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x46, 0x65, 0x61, 0x74,
686 0x75, 0x72, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x0a,
687 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
688 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49,
689 0x64, 0x22, 0x64, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x65, 0x61, 0x74, 0x75,
690 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
691 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a,
692 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f,
693 0x72, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69,
694 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65,
695 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0xcc, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61,
696 0x74, 0x65, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
697 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
698 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,
699 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
700 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,
701 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73,
702 0x6b, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20,
703 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
704 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
705 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
706 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64,
707 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71,
708 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0xc7, 0x02, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61,
709 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0b,
710 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
711 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
712 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
713 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a,
714 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
715 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
716 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41,
717 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x74, 0x61,
718 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
719 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x76, 0x65, 0x72, 0x62, 0x18,
720 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x76, 0x65, 0x72, 0x62,
721 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69,
722 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x73, 0x74,
723 0x61, 0x74, 0x75, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x61,
724 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06,
725 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x63, 0x61, 0x6e, 0x63, 0x65,
726 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0b, 0x61, 0x70,
727 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42,
728 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
729 0x32, 0xc4, 0x08, 0x0a, 0x06, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x12, 0xb4, 0x01, 0x0a, 0x0c,
730 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x67,
731 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68,
732 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65,
733 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e,
734 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65,
735 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46,
736 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
737 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
738 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
739 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d,
740 0x2f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65,
741 0x6e, 0x74, 0x12, 0xa1, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
742 0x65, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
743 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47,
744 0x65, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
745 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
746 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x46, 0x65,
747 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f,
748 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,
749 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
750 0x73, 0x2f, 0x2a, 0x2f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda,
751 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xe0, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74,
752 0x65, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
753 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76,
754 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x65, 0x61, 0x74,
755 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f,
756 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
757 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7e, 0x82, 0xd3, 0xe4, 0x93, 0x02,
758 0x3c, 0x22, 0x30, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
759 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
760 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x66, 0x65, 0x61, 0x74, 0x75,
761 0x72, 0x65, 0x73, 0x3a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0xda, 0x41, 0x1a,
762 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2c,
763 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0xca, 0x41, 0x1c, 0x0a, 0x07, 0x46,
764 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
765 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xce, 0x01, 0x0a, 0x0d, 0x44, 0x65,
766 0x6c, 0x65, 0x74, 0x65, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x30, 0x2e, 0x67, 0x6f,
767 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75,
768 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46,
769 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e,
770 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69,
771 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6c, 0x82, 0xd3,
772 0xe4, 0x93, 0x02, 0x32, 0x2a, 0x30, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e,
773 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c,
774 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x66, 0x65, 0x61, 0x74, 0x75,
775 0x72, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 0x2a,
776 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
777 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
778 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xdf, 0x01, 0x0a, 0x0d, 0x55,
779 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x30, 0x2e, 0x67,
780 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68,
781 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
782 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d,
783 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e,
784 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7d, 0x82,
785 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x32, 0x30, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b,
786 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
787 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x66, 0x65, 0x61, 0x74,
788 0x75, 0x72, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
789 0x65, 0xda, 0x41, 0x19, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
790 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0xca, 0x41, 0x1c,
791 0x0a, 0x07, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61,
792 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x49, 0xca, 0x41,
793 0x15, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
794 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f,
795 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
796 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70,
797 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xcc, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e,
798 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65,
799 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76,
800 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67,
801 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
802 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
803 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x76,
804 0x31, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0xaa, 0x02, 0x1a, 0x47,
805 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x47, 0x6b, 0x65, 0x48,
806 0x75, 0x62, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67,
807 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x5c,
808 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
809 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x3a, 0x3a,
810 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
811 }
812
813 var (
814 file_google_cloud_gkehub_v1beta_service_proto_rawDescOnce sync.Once
815 file_google_cloud_gkehub_v1beta_service_proto_rawDescData = file_google_cloud_gkehub_v1beta_service_proto_rawDesc
816 )
817
818 func file_google_cloud_gkehub_v1beta_service_proto_rawDescGZIP() []byte {
819 file_google_cloud_gkehub_v1beta_service_proto_rawDescOnce.Do(func() {
820 file_google_cloud_gkehub_v1beta_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkehub_v1beta_service_proto_rawDescData)
821 })
822 return file_google_cloud_gkehub_v1beta_service_proto_rawDescData
823 }
824
825 var file_google_cloud_gkehub_v1beta_service_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
826 var file_google_cloud_gkehub_v1beta_service_proto_goTypes = []interface{}{
827 (*ListFeaturesRequest)(nil), // 0: google.cloud.gkehub.v1beta.ListFeaturesRequest
828 (*ListFeaturesResponse)(nil), // 1: google.cloud.gkehub.v1beta.ListFeaturesResponse
829 (*GetFeatureRequest)(nil), // 2: google.cloud.gkehub.v1beta.GetFeatureRequest
830 (*CreateFeatureRequest)(nil), // 3: google.cloud.gkehub.v1beta.CreateFeatureRequest
831 (*DeleteFeatureRequest)(nil), // 4: google.cloud.gkehub.v1beta.DeleteFeatureRequest
832 (*UpdateFeatureRequest)(nil), // 5: google.cloud.gkehub.v1beta.UpdateFeatureRequest
833 (*OperationMetadata)(nil), // 6: google.cloud.gkehub.v1beta.OperationMetadata
834 (*Feature)(nil), // 7: google.cloud.gkehub.v1beta.Feature
835 (*fieldmaskpb.FieldMask)(nil), // 8: google.protobuf.FieldMask
836 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
837 (*longrunning.Operation)(nil), // 10: google.longrunning.Operation
838 }
839 var file_google_cloud_gkehub_v1beta_service_proto_depIdxs = []int32{
840 7, // 0: google.cloud.gkehub.v1beta.ListFeaturesResponse.resources:type_name -> google.cloud.gkehub.v1beta.Feature
841 7, // 1: google.cloud.gkehub.v1beta.CreateFeatureRequest.resource:type_name -> google.cloud.gkehub.v1beta.Feature
842 8, // 2: google.cloud.gkehub.v1beta.UpdateFeatureRequest.update_mask:type_name -> google.protobuf.FieldMask
843 7, // 3: google.cloud.gkehub.v1beta.UpdateFeatureRequest.resource:type_name -> google.cloud.gkehub.v1beta.Feature
844 9, // 4: google.cloud.gkehub.v1beta.OperationMetadata.create_time:type_name -> google.protobuf.Timestamp
845 9, // 5: google.cloud.gkehub.v1beta.OperationMetadata.end_time:type_name -> google.protobuf.Timestamp
846 0, // 6: google.cloud.gkehub.v1beta.GkeHub.ListFeatures:input_type -> google.cloud.gkehub.v1beta.ListFeaturesRequest
847 2, // 7: google.cloud.gkehub.v1beta.GkeHub.GetFeature:input_type -> google.cloud.gkehub.v1beta.GetFeatureRequest
848 3, // 8: google.cloud.gkehub.v1beta.GkeHub.CreateFeature:input_type -> google.cloud.gkehub.v1beta.CreateFeatureRequest
849 4, // 9: google.cloud.gkehub.v1beta.GkeHub.DeleteFeature:input_type -> google.cloud.gkehub.v1beta.DeleteFeatureRequest
850 5, // 10: google.cloud.gkehub.v1beta.GkeHub.UpdateFeature:input_type -> google.cloud.gkehub.v1beta.UpdateFeatureRequest
851 1, // 11: google.cloud.gkehub.v1beta.GkeHub.ListFeatures:output_type -> google.cloud.gkehub.v1beta.ListFeaturesResponse
852 7, // 12: google.cloud.gkehub.v1beta.GkeHub.GetFeature:output_type -> google.cloud.gkehub.v1beta.Feature
853 10, // 13: google.cloud.gkehub.v1beta.GkeHub.CreateFeature:output_type -> google.longrunning.Operation
854 10, // 14: google.cloud.gkehub.v1beta.GkeHub.DeleteFeature:output_type -> google.longrunning.Operation
855 10, // 15: google.cloud.gkehub.v1beta.GkeHub.UpdateFeature:output_type -> google.longrunning.Operation
856 11, // [11:16] is the sub-list for method output_type
857 6, // [6:11] is the sub-list for method input_type
858 6, // [6:6] is the sub-list for extension type_name
859 6, // [6:6] is the sub-list for extension extendee
860 0, // [0:6] is the sub-list for field type_name
861 }
862
863 func init() { file_google_cloud_gkehub_v1beta_service_proto_init() }
864 func file_google_cloud_gkehub_v1beta_service_proto_init() {
865 if File_google_cloud_gkehub_v1beta_service_proto != nil {
866 return
867 }
868 file_google_cloud_gkehub_v1beta_feature_proto_init()
869 if !protoimpl.UnsafeEnabled {
870 file_google_cloud_gkehub_v1beta_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
871 switch v := v.(*ListFeaturesRequest); i {
872 case 0:
873 return &v.state
874 case 1:
875 return &v.sizeCache
876 case 2:
877 return &v.unknownFields
878 default:
879 return nil
880 }
881 }
882 file_google_cloud_gkehub_v1beta_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
883 switch v := v.(*ListFeaturesResponse); i {
884 case 0:
885 return &v.state
886 case 1:
887 return &v.sizeCache
888 case 2:
889 return &v.unknownFields
890 default:
891 return nil
892 }
893 }
894 file_google_cloud_gkehub_v1beta_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
895 switch v := v.(*GetFeatureRequest); i {
896 case 0:
897 return &v.state
898 case 1:
899 return &v.sizeCache
900 case 2:
901 return &v.unknownFields
902 default:
903 return nil
904 }
905 }
906 file_google_cloud_gkehub_v1beta_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
907 switch v := v.(*CreateFeatureRequest); i {
908 case 0:
909 return &v.state
910 case 1:
911 return &v.sizeCache
912 case 2:
913 return &v.unknownFields
914 default:
915 return nil
916 }
917 }
918 file_google_cloud_gkehub_v1beta_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
919 switch v := v.(*DeleteFeatureRequest); i {
920 case 0:
921 return &v.state
922 case 1:
923 return &v.sizeCache
924 case 2:
925 return &v.unknownFields
926 default:
927 return nil
928 }
929 }
930 file_google_cloud_gkehub_v1beta_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
931 switch v := v.(*UpdateFeatureRequest); i {
932 case 0:
933 return &v.state
934 case 1:
935 return &v.sizeCache
936 case 2:
937 return &v.unknownFields
938 default:
939 return nil
940 }
941 }
942 file_google_cloud_gkehub_v1beta_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
943 switch v := v.(*OperationMetadata); i {
944 case 0:
945 return &v.state
946 case 1:
947 return &v.sizeCache
948 case 2:
949 return &v.unknownFields
950 default:
951 return nil
952 }
953 }
954 }
955 type x struct{}
956 out := protoimpl.TypeBuilder{
957 File: protoimpl.DescBuilder{
958 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
959 RawDescriptor: file_google_cloud_gkehub_v1beta_service_proto_rawDesc,
960 NumEnums: 0,
961 NumMessages: 7,
962 NumExtensions: 0,
963 NumServices: 1,
964 },
965 GoTypes: file_google_cloud_gkehub_v1beta_service_proto_goTypes,
966 DependencyIndexes: file_google_cloud_gkehub_v1beta_service_proto_depIdxs,
967 MessageInfos: file_google_cloud_gkehub_v1beta_service_proto_msgTypes,
968 }.Build()
969 File_google_cloud_gkehub_v1beta_service_proto = out.File
970 file_google_cloud_gkehub_v1beta_service_proto_rawDesc = nil
971 file_google_cloud_gkehub_v1beta_service_proto_goTypes = nil
972 file_google_cloud_gkehub_v1beta_service_proto_depIdxs = nil
973 }
974
975 // Reference imports to suppress errors if they are not otherwise used.
976 var _ context.Context
977 var _ grpc.ClientConnInterface
978
979 // This is a compile-time assertion to ensure that this generated file
980 // is compatible with the grpc package it is being compiled against.
981 const _ = grpc.SupportPackageIsVersion6
982
983 // GkeHubClient is the client API for GkeHub service.
984 //
985 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
986 type GkeHubClient interface {
987 // Lists Features in a given project and location.
988 ListFeatures(ctx context.Context, in *ListFeaturesRequest, opts ...grpc.CallOption) (*ListFeaturesResponse, error)
989 // Gets details of a single Feature.
990 GetFeature(ctx context.Context, in *GetFeatureRequest, opts ...grpc.CallOption) (*Feature, error)
991 // Adds a new Feature.
992 CreateFeature(ctx context.Context, in *CreateFeatureRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
993 // Removes a Feature.
994 DeleteFeature(ctx context.Context, in *DeleteFeatureRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
995 // Updates an existing Feature.
996 UpdateFeature(ctx context.Context, in *UpdateFeatureRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
997 }
998
999 type gkeHubClient struct {
1000 cc grpc.ClientConnInterface
1001 }
1002
1003 func NewGkeHubClient(cc grpc.ClientConnInterface) GkeHubClient {
1004 return &gkeHubClient{cc}
1005 }
1006
1007 func (c *gkeHubClient) ListFeatures(ctx context.Context, in *ListFeaturesRequest, opts ...grpc.CallOption) (*ListFeaturesResponse, error) {
1008 out := new(ListFeaturesResponse)
1009 err := c.cc.Invoke(ctx, "/google.cloud.gkehub.v1beta.GkeHub/ListFeatures", in, out, opts...)
1010 if err != nil {
1011 return nil, err
1012 }
1013 return out, nil
1014 }
1015
1016 func (c *gkeHubClient) GetFeature(ctx context.Context, in *GetFeatureRequest, opts ...grpc.CallOption) (*Feature, error) {
1017 out := new(Feature)
1018 err := c.cc.Invoke(ctx, "/google.cloud.gkehub.v1beta.GkeHub/GetFeature", in, out, opts...)
1019 if err != nil {
1020 return nil, err
1021 }
1022 return out, nil
1023 }
1024
1025 func (c *gkeHubClient) CreateFeature(ctx context.Context, in *CreateFeatureRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1026 out := new(longrunning.Operation)
1027 err := c.cc.Invoke(ctx, "/google.cloud.gkehub.v1beta.GkeHub/CreateFeature", in, out, opts...)
1028 if err != nil {
1029 return nil, err
1030 }
1031 return out, nil
1032 }
1033
1034 func (c *gkeHubClient) DeleteFeature(ctx context.Context, in *DeleteFeatureRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1035 out := new(longrunning.Operation)
1036 err := c.cc.Invoke(ctx, "/google.cloud.gkehub.v1beta.GkeHub/DeleteFeature", in, out, opts...)
1037 if err != nil {
1038 return nil, err
1039 }
1040 return out, nil
1041 }
1042
1043 func (c *gkeHubClient) UpdateFeature(ctx context.Context, in *UpdateFeatureRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1044 out := new(longrunning.Operation)
1045 err := c.cc.Invoke(ctx, "/google.cloud.gkehub.v1beta.GkeHub/UpdateFeature", in, out, opts...)
1046 if err != nil {
1047 return nil, err
1048 }
1049 return out, nil
1050 }
1051
1052 // GkeHubServer is the server API for GkeHub service.
1053 type GkeHubServer interface {
1054 // Lists Features in a given project and location.
1055 ListFeatures(context.Context, *ListFeaturesRequest) (*ListFeaturesResponse, error)
1056 // Gets details of a single Feature.
1057 GetFeature(context.Context, *GetFeatureRequest) (*Feature, error)
1058 // Adds a new Feature.
1059 CreateFeature(context.Context, *CreateFeatureRequest) (*longrunning.Operation, error)
1060 // Removes a Feature.
1061 DeleteFeature(context.Context, *DeleteFeatureRequest) (*longrunning.Operation, error)
1062 // Updates an existing Feature.
1063 UpdateFeature(context.Context, *UpdateFeatureRequest) (*longrunning.Operation, error)
1064 }
1065
1066 // UnimplementedGkeHubServer can be embedded to have forward compatible implementations.
1067 type UnimplementedGkeHubServer struct {
1068 }
1069
1070 func (*UnimplementedGkeHubServer) ListFeatures(context.Context, *ListFeaturesRequest) (*ListFeaturesResponse, error) {
1071 return nil, status.Errorf(codes.Unimplemented, "method ListFeatures not implemented")
1072 }
1073 func (*UnimplementedGkeHubServer) GetFeature(context.Context, *GetFeatureRequest) (*Feature, error) {
1074 return nil, status.Errorf(codes.Unimplemented, "method GetFeature not implemented")
1075 }
1076 func (*UnimplementedGkeHubServer) CreateFeature(context.Context, *CreateFeatureRequest) (*longrunning.Operation, error) {
1077 return nil, status.Errorf(codes.Unimplemented, "method CreateFeature not implemented")
1078 }
1079 func (*UnimplementedGkeHubServer) DeleteFeature(context.Context, *DeleteFeatureRequest) (*longrunning.Operation, error) {
1080 return nil, status.Errorf(codes.Unimplemented, "method DeleteFeature not implemented")
1081 }
1082 func (*UnimplementedGkeHubServer) UpdateFeature(context.Context, *UpdateFeatureRequest) (*longrunning.Operation, error) {
1083 return nil, status.Errorf(codes.Unimplemented, "method UpdateFeature not implemented")
1084 }
1085
1086 func RegisterGkeHubServer(s *grpc.Server, srv GkeHubServer) {
1087 s.RegisterService(&_GkeHub_serviceDesc, srv)
1088 }
1089
1090 func _GkeHub_ListFeatures_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1091 in := new(ListFeaturesRequest)
1092 if err := dec(in); err != nil {
1093 return nil, err
1094 }
1095 if interceptor == nil {
1096 return srv.(GkeHubServer).ListFeatures(ctx, in)
1097 }
1098 info := &grpc.UnaryServerInfo{
1099 Server: srv,
1100 FullMethod: "/google.cloud.gkehub.v1beta.GkeHub/ListFeatures",
1101 }
1102 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1103 return srv.(GkeHubServer).ListFeatures(ctx, req.(*ListFeaturesRequest))
1104 }
1105 return interceptor(ctx, in, info, handler)
1106 }
1107
1108 func _GkeHub_GetFeature_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1109 in := new(GetFeatureRequest)
1110 if err := dec(in); err != nil {
1111 return nil, err
1112 }
1113 if interceptor == nil {
1114 return srv.(GkeHubServer).GetFeature(ctx, in)
1115 }
1116 info := &grpc.UnaryServerInfo{
1117 Server: srv,
1118 FullMethod: "/google.cloud.gkehub.v1beta.GkeHub/GetFeature",
1119 }
1120 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1121 return srv.(GkeHubServer).GetFeature(ctx, req.(*GetFeatureRequest))
1122 }
1123 return interceptor(ctx, in, info, handler)
1124 }
1125
1126 func _GkeHub_CreateFeature_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1127 in := new(CreateFeatureRequest)
1128 if err := dec(in); err != nil {
1129 return nil, err
1130 }
1131 if interceptor == nil {
1132 return srv.(GkeHubServer).CreateFeature(ctx, in)
1133 }
1134 info := &grpc.UnaryServerInfo{
1135 Server: srv,
1136 FullMethod: "/google.cloud.gkehub.v1beta.GkeHub/CreateFeature",
1137 }
1138 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1139 return srv.(GkeHubServer).CreateFeature(ctx, req.(*CreateFeatureRequest))
1140 }
1141 return interceptor(ctx, in, info, handler)
1142 }
1143
1144 func _GkeHub_DeleteFeature_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1145 in := new(DeleteFeatureRequest)
1146 if err := dec(in); err != nil {
1147 return nil, err
1148 }
1149 if interceptor == nil {
1150 return srv.(GkeHubServer).DeleteFeature(ctx, in)
1151 }
1152 info := &grpc.UnaryServerInfo{
1153 Server: srv,
1154 FullMethod: "/google.cloud.gkehub.v1beta.GkeHub/DeleteFeature",
1155 }
1156 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1157 return srv.(GkeHubServer).DeleteFeature(ctx, req.(*DeleteFeatureRequest))
1158 }
1159 return interceptor(ctx, in, info, handler)
1160 }
1161
1162 func _GkeHub_UpdateFeature_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1163 in := new(UpdateFeatureRequest)
1164 if err := dec(in); err != nil {
1165 return nil, err
1166 }
1167 if interceptor == nil {
1168 return srv.(GkeHubServer).UpdateFeature(ctx, in)
1169 }
1170 info := &grpc.UnaryServerInfo{
1171 Server: srv,
1172 FullMethod: "/google.cloud.gkehub.v1beta.GkeHub/UpdateFeature",
1173 }
1174 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1175 return srv.(GkeHubServer).UpdateFeature(ctx, req.(*UpdateFeatureRequest))
1176 }
1177 return interceptor(ctx, in, info, handler)
1178 }
1179
1180 var _GkeHub_serviceDesc = grpc.ServiceDesc{
1181 ServiceName: "google.cloud.gkehub.v1beta.GkeHub",
1182 HandlerType: (*GkeHubServer)(nil),
1183 Methods: []grpc.MethodDesc{
1184 {
1185 MethodName: "ListFeatures",
1186 Handler: _GkeHub_ListFeatures_Handler,
1187 },
1188 {
1189 MethodName: "GetFeature",
1190 Handler: _GkeHub_GetFeature_Handler,
1191 },
1192 {
1193 MethodName: "CreateFeature",
1194 Handler: _GkeHub_CreateFeature_Handler,
1195 },
1196 {
1197 MethodName: "DeleteFeature",
1198 Handler: _GkeHub_DeleteFeature_Handler,
1199 },
1200 {
1201 MethodName: "UpdateFeature",
1202 Handler: _GkeHub_UpdateFeature_Handler,
1203 },
1204 },
1205 Streams: []grpc.StreamDesc{},
1206 Metadata: "google/cloud/gkehub/v1beta/service.proto",
1207 }