Debian Codegraph @

googleapis/cloud/gkehub/v1/membership.pb.go

raw symbols SCIP
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/v1/membership.proto
20
21 package gkehub
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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 // Code describes the state of a Membership resource.
41 type MembershipState_Code int32
42
43 const (
44 // The code is not set.
45 MembershipState_CODE_UNSPECIFIED MembershipState_Code = 0
46 // The cluster is being registered.
47 MembershipState_CREATING MembershipState_Code = 1
48 // The cluster is registered.
49 MembershipState_READY MembershipState_Code = 2
50 // The cluster is being unregistered.
51 MembershipState_DELETING MembershipState_Code = 3
52 // The Membership is being updated.
53 MembershipState_UPDATING MembershipState_Code = 4
54 // The Membership is being updated by the Hub Service.
55 MembershipState_SERVICE_UPDATING MembershipState_Code = 5
56 )
57
58 // Enum value maps for MembershipState_Code.
59 var (
60 MembershipState_Code_name = map[int32]string{
61 0: "CODE_UNSPECIFIED",
62 1: "CREATING",
63 2: "READY",
64 3: "DELETING",
65 4: "UPDATING",
66 5: "SERVICE_UPDATING",
67 }
68 MembershipState_Code_value = map[string]int32{
69 "CODE_UNSPECIFIED": 0,
70 "CREATING": 1,
71 "READY": 2,
72 "DELETING": 3,
73 "UPDATING": 4,
74 "SERVICE_UPDATING": 5,
75 }
76 )
77
78 func (x MembershipState_Code) Enum() *MembershipState_Code {
79 p := new(MembershipState_Code)
80 *p = x
81 return p
82 }
83
84 func (x MembershipState_Code) String() string {
85 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
86 }
87
88 func (MembershipState_Code) Descriptor() protoreflect.EnumDescriptor {
89 return file_google_cloud_gkehub_v1_membership_proto_enumTypes[0].Descriptor()
90 }
91
92 func (MembershipState_Code) Type() protoreflect.EnumType {
93 return &file_google_cloud_gkehub_v1_membership_proto_enumTypes[0]
94 }
95
96 func (x MembershipState_Code) Number() protoreflect.EnumNumber {
97 return protoreflect.EnumNumber(x)
98 }
99
100 // Deprecated: Use MembershipState_Code.Descriptor instead.
101 func (MembershipState_Code) EnumDescriptor() ([]byte, []int) {
102 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{7, 0}
103 }
104
105 // Membership contains information about a member cluster.
106 type Membership struct {
107 state protoimpl.MessageState
108 sizeCache protoimpl.SizeCache
109 unknownFields protoimpl.UnknownFields
110
111 // Type of resource represented by this Membership
112 //
113 // Types that are assignable to Type:
114 // *Membership_Endpoint
115 Type isMembership_Type `protobuf_oneof:"type"`
116 // Output only. The full, unique name of this Membership resource in the format
117 // `projects/*/locations/*/memberships/{membership_id}`, set during creation.
118 //
119 // `membership_id` must be a valid RFC 1123 compliant DNS label:
120 //
121 // 1. At most 63 characters in length
122 // 2. It must consist of lower case alphanumeric characters or `-`
123 // 3. It must start and end with an alphanumeric character
124 //
125 // Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`,
126 // with a maximum length of 63 characters.
127 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
128 // Optional. GCP labels for this membership.
129 Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
130 // Output only. Description of this membership, limited to 63 characters.
131 // Must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.\ ]*`
132 //
133 // This field is present for legacy purposes.
134 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
135 // Output only. State of the Membership resource.
136 State *MembershipState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
137 // Output only. When the Membership was created.
138 CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
139 // Output only. When the Membership was last updated.
140 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
141 // Output only. When the Membership was deleted.
142 DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
143 // Optional. An externally-generated and managed ID for this Membership. This ID may
144 // be modified after creation, but this is not recommended.
145 //
146 // The ID must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.]*`
147 //
148 // If this Membership represents a Kubernetes cluster, this value should be
149 // set to the UID of the `kube-system` namespace object.
150 ExternalId string `protobuf:"bytes,9,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
151 // Output only. For clusters using Connect, the timestamp of the most recent connection
152 // established with Google Cloud. This time is updated every several minutes,
153 // not continuously. For clusters that do not use GKE Connect, or that have
154 // never connected successfully, this field will be unset.
155 LastConnectionTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_connection_time,json=lastConnectionTime,proto3" json:"last_connection_time,omitempty"`
156 // Output only. Google-generated UUID for this resource. This is unique across all
157 // Membership resources. If a Membership resource is deleted and another
158 // resource with the same name is created, it gets a different unique_id.
159 UniqueId string `protobuf:"bytes,11,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
160 // Optional. How to identify workloads from this Membership.
161 // See the documentation on Workload Identity for more details:
162 // https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
163 Authority *Authority `protobuf:"bytes,12,opt,name=authority,proto3" json:"authority,omitempty"`
164 }
165
166 func (x *Membership) Reset() {
167 *x = Membership{}
168 if protoimpl.UnsafeEnabled {
169 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[0]
170 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
171 ms.StoreMessageInfo(mi)
172 }
173 }
174
175 func (x *Membership) String() string {
176 return protoimpl.X.MessageStringOf(x)
177 }
178
179 func (*Membership) ProtoMessage() {}
180
181 func (x *Membership) ProtoReflect() protoreflect.Message {
182 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[0]
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 Membership.ProtoReflect.Descriptor instead.
194 func (*Membership) Descriptor() ([]byte, []int) {
195 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{0}
196 }
197
198 func (m *Membership) GetType() isMembership_Type {
199 if m != nil {
200 return m.Type
201 }
202 return nil
203 }
204
205 func (x *Membership) GetEndpoint() *MembershipEndpoint {
206 if x, ok := x.GetType().(*Membership_Endpoint); ok {
207 return x.Endpoint
208 }
209 return nil
210 }
211
212 func (x *Membership) GetName() string {
213 if x != nil {
214 return x.Name
215 }
216 return ""
217 }
218
219 func (x *Membership) GetLabels() map[string]string {
220 if x != nil {
221 return x.Labels
222 }
223 return nil
224 }
225
226 func (x *Membership) GetDescription() string {
227 if x != nil {
228 return x.Description
229 }
230 return ""
231 }
232
233 func (x *Membership) GetState() *MembershipState {
234 if x != nil {
235 return x.State
236 }
237 return nil
238 }
239
240 func (x *Membership) GetCreateTime() *timestamppb.Timestamp {
241 if x != nil {
242 return x.CreateTime
243 }
244 return nil
245 }
246
247 func (x *Membership) GetUpdateTime() *timestamppb.Timestamp {
248 if x != nil {
249 return x.UpdateTime
250 }
251 return nil
252 }
253
254 func (x *Membership) GetDeleteTime() *timestamppb.Timestamp {
255 if x != nil {
256 return x.DeleteTime
257 }
258 return nil
259 }
260
261 func (x *Membership) GetExternalId() string {
262 if x != nil {
263 return x.ExternalId
264 }
265 return ""
266 }
267
268 func (x *Membership) GetLastConnectionTime() *timestamppb.Timestamp {
269 if x != nil {
270 return x.LastConnectionTime
271 }
272 return nil
273 }
274
275 func (x *Membership) GetUniqueId() string {
276 if x != nil {
277 return x.UniqueId
278 }
279 return ""
280 }
281
282 func (x *Membership) GetAuthority() *Authority {
283 if x != nil {
284 return x.Authority
285 }
286 return nil
287 }
288
289 type isMembership_Type interface {
290 isMembership_Type()
291 }
292
293 type Membership_Endpoint struct {
294 // Optional. Endpoint information to reach this member.
295 Endpoint *MembershipEndpoint `protobuf:"bytes,4,opt,name=endpoint,proto3,oneof"`
296 }
297
298 func (*Membership_Endpoint) isMembership_Type() {}
299
300 // MembershipEndpoint contains information needed to contact a Kubernetes API,
301 // endpoint and any additional Kubernetes metadata.
302 type MembershipEndpoint struct {
303 state protoimpl.MessageState
304 sizeCache protoimpl.SizeCache
305 unknownFields protoimpl.UnknownFields
306
307 // Optional. GKE-specific information. Only present if this Membership is a GKE cluster.
308 GkeCluster *GkeCluster `protobuf:"bytes,1,opt,name=gke_cluster,json=gkeCluster,proto3" json:"gke_cluster,omitempty"`
309 // Output only. Useful Kubernetes-specific metadata.
310 KubernetesMetadata *KubernetesMetadata `protobuf:"bytes,2,opt,name=kubernetes_metadata,json=kubernetesMetadata,proto3" json:"kubernetes_metadata,omitempty"`
311 // Optional. The in-cluster Kubernetes Resources that should be applied for a correctly
312 // registered cluster, in the steady state. These resources:
313 //
314 // * Ensure that the cluster is exclusively registered to one and only one
315 // Hub Membership.
316 // * Propagate Workload Pool Information available in the Membership
317 // Authority field.
318 // * Ensure proper initial configuration of default Hub Features.
319 KubernetesResource *KubernetesResource `protobuf:"bytes,3,opt,name=kubernetes_resource,json=kubernetesResource,proto3" json:"kubernetes_resource,omitempty"`
320 }
321
322 func (x *MembershipEndpoint) Reset() {
323 *x = MembershipEndpoint{}
324 if protoimpl.UnsafeEnabled {
325 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[1]
326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
327 ms.StoreMessageInfo(mi)
328 }
329 }
330
331 func (x *MembershipEndpoint) String() string {
332 return protoimpl.X.MessageStringOf(x)
333 }
334
335 func (*MembershipEndpoint) ProtoMessage() {}
336
337 func (x *MembershipEndpoint) ProtoReflect() protoreflect.Message {
338 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[1]
339 if protoimpl.UnsafeEnabled && x != nil {
340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
341 if ms.LoadMessageInfo() == nil {
342 ms.StoreMessageInfo(mi)
343 }
344 return ms
345 }
346 return mi.MessageOf(x)
347 }
348
349 // Deprecated: Use MembershipEndpoint.ProtoReflect.Descriptor instead.
350 func (*MembershipEndpoint) Descriptor() ([]byte, []int) {
351 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{1}
352 }
353
354 func (x *MembershipEndpoint) GetGkeCluster() *GkeCluster {
355 if x != nil {
356 return x.GkeCluster
357 }
358 return nil
359 }
360
361 func (x *MembershipEndpoint) GetKubernetesMetadata() *KubernetesMetadata {
362 if x != nil {
363 return x.KubernetesMetadata
364 }
365 return nil
366 }
367
368 func (x *MembershipEndpoint) GetKubernetesResource() *KubernetesResource {
369 if x != nil {
370 return x.KubernetesResource
371 }
372 return nil
373 }
374
375 // KubernetesResource contains the YAML manifests and configuration for
376 // Membership Kubernetes resources in the cluster. After CreateMembership or
377 // UpdateMembership, these resources should be re-applied in the cluster.
378 type KubernetesResource struct {
379 state protoimpl.MessageState
380 sizeCache protoimpl.SizeCache
381 unknownFields protoimpl.UnknownFields
382
383 // Input only. The YAML representation of the Membership CR. This field is ignored for GKE
384 // clusters where Hub can read the CR directly.
385 //
386 // Callers should provide the CR that is currently present in the cluster
387 // during CreateMembership or UpdateMembership, or leave this field empty if
388 // none exists. The CR manifest is used to validate the cluster has not been
389 // registered with another Membership.
390 MembershipCrManifest string `protobuf:"bytes,1,opt,name=membership_cr_manifest,json=membershipCrManifest,proto3" json:"membership_cr_manifest,omitempty"`
391 // Output only. Additional Kubernetes resources that need to be applied to the cluster
392 // after Membership creation, and after every update.
393 //
394 // This field is only populated in the Membership returned from a successful
395 // long-running operation from CreateMembership or UpdateMembership. It is not
396 // populated during normal GetMembership or ListMemberships requests. To get
397 // the resource manifest after the initial registration, the caller should
398 // make a UpdateMembership call with an empty field mask.
399 MembershipResources []*ResourceManifest `protobuf:"bytes,2,rep,name=membership_resources,json=membershipResources,proto3" json:"membership_resources,omitempty"`
400 // Output only. The Kubernetes resources for installing the GKE Connect agent
401 //
402 // This field is only populated in the Membership returned from a successful
403 // long-running operation from CreateMembership or UpdateMembership. It is not
404 // populated during normal GetMembership or ListMemberships requests. To get
405 // the resource manifest after the initial registration, the caller should
406 // make a UpdateMembership call with an empty field mask.
407 ConnectResources []*ResourceManifest `protobuf:"bytes,3,rep,name=connect_resources,json=connectResources,proto3" json:"connect_resources,omitempty"`
408 // Optional. Options for Kubernetes resource generation.
409 ResourceOptions *ResourceOptions `protobuf:"bytes,4,opt,name=resource_options,json=resourceOptions,proto3" json:"resource_options,omitempty"`
410 }
411
412 func (x *KubernetesResource) Reset() {
413 *x = KubernetesResource{}
414 if protoimpl.UnsafeEnabled {
415 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[2]
416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
417 ms.StoreMessageInfo(mi)
418 }
419 }
420
421 func (x *KubernetesResource) String() string {
422 return protoimpl.X.MessageStringOf(x)
423 }
424
425 func (*KubernetesResource) ProtoMessage() {}
426
427 func (x *KubernetesResource) ProtoReflect() protoreflect.Message {
428 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[2]
429 if protoimpl.UnsafeEnabled && x != nil {
430 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
431 if ms.LoadMessageInfo() == nil {
432 ms.StoreMessageInfo(mi)
433 }
434 return ms
435 }
436 return mi.MessageOf(x)
437 }
438
439 // Deprecated: Use KubernetesResource.ProtoReflect.Descriptor instead.
440 func (*KubernetesResource) Descriptor() ([]byte, []int) {
441 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{2}
442 }
443
444 func (x *KubernetesResource) GetMembershipCrManifest() string {
445 if x != nil {
446 return x.MembershipCrManifest
447 }
448 return ""
449 }
450
451 func (x *KubernetesResource) GetMembershipResources() []*ResourceManifest {
452 if x != nil {
453 return x.MembershipResources
454 }
455 return nil
456 }
457
458 func (x *KubernetesResource) GetConnectResources() []*ResourceManifest {
459 if x != nil {
460 return x.ConnectResources
461 }
462 return nil
463 }
464
465 func (x *KubernetesResource) GetResourceOptions() *ResourceOptions {
466 if x != nil {
467 return x.ResourceOptions
468 }
469 return nil
470 }
471
472 // ResourceOptions represent options for Kubernetes resource generation.
473 type ResourceOptions struct {
474 state protoimpl.MessageState
475 sizeCache protoimpl.SizeCache
476 unknownFields protoimpl.UnknownFields
477
478 // Optional. The Connect agent version to use for connect_resources. Defaults to the
479 // latest GKE Connect version. The version must be a currently supported
480 // version, obsolete versions will be rejected.
481 ConnectVersion string `protobuf:"bytes,1,opt,name=connect_version,json=connectVersion,proto3" json:"connect_version,omitempty"`
482 // Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
483 // CustomResourceDefinition resources.
484 // This option should be set for clusters with Kubernetes apiserver versions
485 // <1.16.
486 V1Beta1Crd bool `protobuf:"varint,2,opt,name=v1beta1_crd,json=v1beta1Crd,proto3" json:"v1beta1_crd,omitempty"`
487 // Optional. Major version of the Kubernetes cluster. This is only used to determine
488 // which version to use for the CustomResourceDefinition resources,
489 // `apiextensions/v1beta1` or`apiextensions/v1`.
490 K8SVersion string `protobuf:"bytes,3,opt,name=k8s_version,json=k8sVersion,proto3" json:"k8s_version,omitempty"`
491 }
492
493 func (x *ResourceOptions) Reset() {
494 *x = ResourceOptions{}
495 if protoimpl.UnsafeEnabled {
496 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[3]
497 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
498 ms.StoreMessageInfo(mi)
499 }
500 }
501
502 func (x *ResourceOptions) String() string {
503 return protoimpl.X.MessageStringOf(x)
504 }
505
506 func (*ResourceOptions) ProtoMessage() {}
507
508 func (x *ResourceOptions) ProtoReflect() protoreflect.Message {
509 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[3]
510 if protoimpl.UnsafeEnabled && x != nil {
511 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
512 if ms.LoadMessageInfo() == nil {
513 ms.StoreMessageInfo(mi)
514 }
515 return ms
516 }
517 return mi.MessageOf(x)
518 }
519
520 // Deprecated: Use ResourceOptions.ProtoReflect.Descriptor instead.
521 func (*ResourceOptions) Descriptor() ([]byte, []int) {
522 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{3}
523 }
524
525 func (x *ResourceOptions) GetConnectVersion() string {
526 if x != nil {
527 return x.ConnectVersion
528 }
529 return ""
530 }
531
532 func (x *ResourceOptions) GetV1Beta1Crd() bool {
533 if x != nil {
534 return x.V1Beta1Crd
535 }
536 return false
537 }
538
539 func (x *ResourceOptions) GetK8SVersion() string {
540 if x != nil {
541 return x.K8SVersion
542 }
543 return ""
544 }
545
546 // ResourceManifest represents a single Kubernetes resource to be applied to
547 // the cluster.
548 type ResourceManifest struct {
549 state protoimpl.MessageState
550 sizeCache protoimpl.SizeCache
551 unknownFields protoimpl.UnknownFields
552
553 // YAML manifest of the resource.
554 Manifest string `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"`
555 // Whether the resource provided in the manifest is `cluster_scoped`.
556 // If unset, the manifest is assumed to be namespace scoped.
557 //
558 // This field is used for REST mapping when applying the resource in a
559 // cluster.
560 ClusterScoped bool `protobuf:"varint,2,opt,name=cluster_scoped,json=clusterScoped,proto3" json:"cluster_scoped,omitempty"`
561 }
562
563 func (x *ResourceManifest) Reset() {
564 *x = ResourceManifest{}
565 if protoimpl.UnsafeEnabled {
566 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[4]
567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
568 ms.StoreMessageInfo(mi)
569 }
570 }
571
572 func (x *ResourceManifest) String() string {
573 return protoimpl.X.MessageStringOf(x)
574 }
575
576 func (*ResourceManifest) ProtoMessage() {}
577
578 func (x *ResourceManifest) ProtoReflect() protoreflect.Message {
579 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[4]
580 if protoimpl.UnsafeEnabled && x != nil {
581 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
582 if ms.LoadMessageInfo() == nil {
583 ms.StoreMessageInfo(mi)
584 }
585 return ms
586 }
587 return mi.MessageOf(x)
588 }
589
590 // Deprecated: Use ResourceManifest.ProtoReflect.Descriptor instead.
591 func (*ResourceManifest) Descriptor() ([]byte, []int) {
592 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{4}
593 }
594
595 func (x *ResourceManifest) GetManifest() string {
596 if x != nil {
597 return x.Manifest
598 }
599 return ""
600 }
601
602 func (x *ResourceManifest) GetClusterScoped() bool {
603 if x != nil {
604 return x.ClusterScoped
605 }
606 return false
607 }
608
609 // GkeCluster contains information specific to GKE clusters.
610 type GkeCluster struct {
611 state protoimpl.MessageState
612 sizeCache protoimpl.SizeCache
613 unknownFields protoimpl.UnknownFields
614
615 // Immutable. Self-link of the GCP resource for the GKE cluster. For example:
616 //
617 // //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster
618 //
619 // Zonal clusters are also supported.
620 ResourceLink string `protobuf:"bytes,1,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"`
621 }
622
623 func (x *GkeCluster) Reset() {
624 *x = GkeCluster{}
625 if protoimpl.UnsafeEnabled {
626 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[5]
627 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
628 ms.StoreMessageInfo(mi)
629 }
630 }
631
632 func (x *GkeCluster) String() string {
633 return protoimpl.X.MessageStringOf(x)
634 }
635
636 func (*GkeCluster) ProtoMessage() {}
637
638 func (x *GkeCluster) ProtoReflect() protoreflect.Message {
639 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[5]
640 if protoimpl.UnsafeEnabled && x != nil {
641 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
642 if ms.LoadMessageInfo() == nil {
643 ms.StoreMessageInfo(mi)
644 }
645 return ms
646 }
647 return mi.MessageOf(x)
648 }
649
650 // Deprecated: Use GkeCluster.ProtoReflect.Descriptor instead.
651 func (*GkeCluster) Descriptor() ([]byte, []int) {
652 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{5}
653 }
654
655 func (x *GkeCluster) GetResourceLink() string {
656 if x != nil {
657 return x.ResourceLink
658 }
659 return ""
660 }
661
662 // KubernetesMetadata provides informational metadata for Memberships
663 // representing Kubernetes clusters.
664 type KubernetesMetadata struct {
665 state protoimpl.MessageState
666 sizeCache protoimpl.SizeCache
667 unknownFields protoimpl.UnknownFields
668
669 // Output only. Kubernetes API server version string as reported by `/version`.
670 KubernetesApiServerVersion string `protobuf:"bytes,1,opt,name=kubernetes_api_server_version,json=kubernetesApiServerVersion,proto3" json:"kubernetes_api_server_version,omitempty"`
671 // Output only. Node providerID as reported by the first node in the list of nodes on
672 // the Kubernetes endpoint. On Kubernetes platforms that support zero-node
673 // clusters (like GKE-on-GCP), the node_count will be zero and the
674 // node_provider_id will be empty.
675 NodeProviderId string `protobuf:"bytes,2,opt,name=node_provider_id,json=nodeProviderId,proto3" json:"node_provider_id,omitempty"`
676 // Output only. Node count as reported by Kubernetes nodes resources.
677 NodeCount int32 `protobuf:"varint,3,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
678 // Output only. vCPU count as reported by Kubernetes nodes resources.
679 VcpuCount int32 `protobuf:"varint,4,opt,name=vcpu_count,json=vcpuCount,proto3" json:"vcpu_count,omitempty"`
680 // Output only. The total memory capacity as reported by the sum of all Kubernetes nodes
681 // resources, defined in MB.
682 MemoryMb int32 `protobuf:"varint,5,opt,name=memory_mb,json=memoryMb,proto3" json:"memory_mb,omitempty"`
683 // Output only. The time at which these details were last updated. This update_time is
684 // different from the Membership-level update_time since EndpointDetails are
685 // updated internally for API consumers.
686 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
687 }
688
689 func (x *KubernetesMetadata) Reset() {
690 *x = KubernetesMetadata{}
691 if protoimpl.UnsafeEnabled {
692 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[6]
693 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
694 ms.StoreMessageInfo(mi)
695 }
696 }
697
698 func (x *KubernetesMetadata) String() string {
699 return protoimpl.X.MessageStringOf(x)
700 }
701
702 func (*KubernetesMetadata) ProtoMessage() {}
703
704 func (x *KubernetesMetadata) ProtoReflect() protoreflect.Message {
705 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[6]
706 if protoimpl.UnsafeEnabled && x != nil {
707 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
708 if ms.LoadMessageInfo() == nil {
709 ms.StoreMessageInfo(mi)
710 }
711 return ms
712 }
713 return mi.MessageOf(x)
714 }
715
716 // Deprecated: Use KubernetesMetadata.ProtoReflect.Descriptor instead.
717 func (*KubernetesMetadata) Descriptor() ([]byte, []int) {
718 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{6}
719 }
720
721 func (x *KubernetesMetadata) GetKubernetesApiServerVersion() string {
722 if x != nil {
723 return x.KubernetesApiServerVersion
724 }
725 return ""
726 }
727
728 func (x *KubernetesMetadata) GetNodeProviderId() string {
729 if x != nil {
730 return x.NodeProviderId
731 }
732 return ""
733 }
734
735 func (x *KubernetesMetadata) GetNodeCount() int32 {
736 if x != nil {
737 return x.NodeCount
738 }
739 return 0
740 }
741
742 func (x *KubernetesMetadata) GetVcpuCount() int32 {
743 if x != nil {
744 return x.VcpuCount
745 }
746 return 0
747 }
748
749 func (x *KubernetesMetadata) GetMemoryMb() int32 {
750 if x != nil {
751 return x.MemoryMb
752 }
753 return 0
754 }
755
756 func (x *KubernetesMetadata) GetUpdateTime() *timestamppb.Timestamp {
757 if x != nil {
758 return x.UpdateTime
759 }
760 return nil
761 }
762
763 // MembershipState describes the state of a Membership resource.
764 type MembershipState struct {
765 state protoimpl.MessageState
766 sizeCache protoimpl.SizeCache
767 unknownFields protoimpl.UnknownFields
768
769 // Output only. The current state of the Membership resource.
770 Code MembershipState_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.gkehub.v1.MembershipState_Code" json:"code,omitempty"`
771 }
772
773 func (x *MembershipState) Reset() {
774 *x = MembershipState{}
775 if protoimpl.UnsafeEnabled {
776 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[7]
777 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
778 ms.StoreMessageInfo(mi)
779 }
780 }
781
782 func (x *MembershipState) String() string {
783 return protoimpl.X.MessageStringOf(x)
784 }
785
786 func (*MembershipState) ProtoMessage() {}
787
788 func (x *MembershipState) ProtoReflect() protoreflect.Message {
789 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[7]
790 if protoimpl.UnsafeEnabled && x != nil {
791 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
792 if ms.LoadMessageInfo() == nil {
793 ms.StoreMessageInfo(mi)
794 }
795 return ms
796 }
797 return mi.MessageOf(x)
798 }
799
800 // Deprecated: Use MembershipState.ProtoReflect.Descriptor instead.
801 func (*MembershipState) Descriptor() ([]byte, []int) {
802 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{7}
803 }
804
805 func (x *MembershipState) GetCode() MembershipState_Code {
806 if x != nil {
807 return x.Code
808 }
809 return MembershipState_CODE_UNSPECIFIED
810 }
811
812 // Authority encodes how Google will recognize identities from this Membership.
813 // See the workload identity documentation for more details:
814 // https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
815 type Authority struct {
816 state protoimpl.MessageState
817 sizeCache protoimpl.SizeCache
818 unknownFields protoimpl.UnknownFields
819
820 // Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and
821 // be a valid URL with length <2000 characters.
822 //
823 // If set, then Google will allow valid OIDC tokens from this issuer to
824 // authenticate within the workload_identity_pool. OIDC discovery will be
825 // performed on this URI to validate tokens from the issuer.
826 //
827 // Clearing `issuer` disables Workload Identity. `issuer` cannot be directly
828 // modified; it must be cleared (and Workload Identity disabled) before using
829 // a new issuer (and re-enabling Workload Identity).
830 Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
831 // Output only. The name of the workload identity pool in which `issuer` will be
832 // recognized.
833 //
834 // There is a single Workload Identity Pool per Hub that is shared
835 // between all Memberships that belong to that Hub. For a Hub hosted in
836 // {PROJECT_ID}, the workload pool format is `{PROJECT_ID}.hub.id.goog`,
837 // although this is subject to change in newer versions of this API.
838 WorkloadIdentityPool string `protobuf:"bytes,2,opt,name=workload_identity_pool,json=workloadIdentityPool,proto3" json:"workload_identity_pool,omitempty"`
839 // Output only. An identity provider that reflects the `issuer` in the workload identity
840 // pool.
841 IdentityProvider string `protobuf:"bytes,3,opt,name=identity_provider,json=identityProvider,proto3" json:"identity_provider,omitempty"`
842 // Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517).
843 //
844 // When this field is set, OIDC discovery will NOT be performed on `issuer`,
845 // and instead OIDC tokens will be validated using this field.
846 OidcJwks []byte `protobuf:"bytes,4,opt,name=oidc_jwks,json=oidcJwks,proto3" json:"oidc_jwks,omitempty"`
847 }
848
849 func (x *Authority) Reset() {
850 *x = Authority{}
851 if protoimpl.UnsafeEnabled {
852 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[8]
853 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
854 ms.StoreMessageInfo(mi)
855 }
856 }
857
858 func (x *Authority) String() string {
859 return protoimpl.X.MessageStringOf(x)
860 }
861
862 func (*Authority) ProtoMessage() {}
863
864 func (x *Authority) ProtoReflect() protoreflect.Message {
865 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[8]
866 if protoimpl.UnsafeEnabled && x != nil {
867 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
868 if ms.LoadMessageInfo() == nil {
869 ms.StoreMessageInfo(mi)
870 }
871 return ms
872 }
873 return mi.MessageOf(x)
874 }
875
876 // Deprecated: Use Authority.ProtoReflect.Descriptor instead.
877 func (*Authority) Descriptor() ([]byte, []int) {
878 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{8}
879 }
880
881 func (x *Authority) GetIssuer() string {
882 if x != nil {
883 return x.Issuer
884 }
885 return ""
886 }
887
888 func (x *Authority) GetWorkloadIdentityPool() string {
889 if x != nil {
890 return x.WorkloadIdentityPool
891 }
892 return ""
893 }
894
895 func (x *Authority) GetIdentityProvider() string {
896 if x != nil {
897 return x.IdentityProvider
898 }
899 return ""
900 }
901
902 func (x *Authority) GetOidcJwks() []byte {
903 if x != nil {
904 return x.OidcJwks
905 }
906 return nil
907 }
908
909 var File_google_cloud_gkehub_v1_membership_proto protoreflect.FileDescriptor
910
911 var file_google_cloud_gkehub_v1_membership_proto_rawDesc = []byte{
912 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
913 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
914 0x68, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
915 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76,
916 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
917 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
918 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72,
919 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
920 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
921 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff,
922 0x06, 0x0a, 0x0a, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, 0x4d, 0x0a,
923 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
924 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
925 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
926 0x68, 0x69, 0x70, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01,
927 0x48, 0x00, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x04,
928 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
929 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,
930 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
931 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
932 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
933 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65,
934 0x6c, 0x73, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
935 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x64, 0x65,
936 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x05, 0x73, 0x74, 0x61,
937 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
938 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76,
939 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x53, 0x74, 0x61, 0x74,
940 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a,
941 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,
942 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
943 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03,
944 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
945 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07,
946 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
947 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
948 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
949 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
950 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
951 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
952 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54,
953 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f,
954 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x65,
955 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x51, 0x0a, 0x14, 0x6c, 0x61, 0x73,
956 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d,
957 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
958 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
959 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f,
960 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x09,
961 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42,
962 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x12, 0x44,
963 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28,
964 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
965 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f,
966 0x72, 0x69, 0x74, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f,
967 0x72, 0x69, 0x74, 0x79, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
968 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
969 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
970 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a,
971 0x67, 0xea, 0x41, 0x64, 0x0a, 0x20, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f,
972 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x65, 0x6d, 0x62,
973 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, 0x40, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
974 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
975 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f,
976 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x73, 0x2f, 0x7b, 0x6d, 0x65, 0x6d,
977 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x7d, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
978 0x22, 0xa2, 0x02, 0x0a, 0x12, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x45,
979 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x48, 0x0a, 0x0b, 0x67, 0x6b, 0x65, 0x5f, 0x63,
980 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67,
981 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68,
982 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x6b, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
983 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x67, 0x6b, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
984 0x72, 0x12, 0x60, 0x0a, 0x13, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f,
985 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a,
986 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b,
987 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74,
988 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
989 0x12, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64,
990 0x61, 0x74, 0x61, 0x12, 0x60, 0x0a, 0x13, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65,
991 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
992 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
993 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e,
994 0x65, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41,
995 0x01, 0x52, 0x12, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73,
996 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0xe6, 0x02, 0x0a, 0x12, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e,
997 0x65, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x16,
998 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x63, 0x72, 0x5f, 0x6d, 0x61,
999 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
1000 0x04, 0x52, 0x14, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x43, 0x72, 0x4d,
1001 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x60, 0x0a, 0x14, 0x6d, 0x65, 0x6d, 0x62, 0x65,
1002 0x72, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18,
1003 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1004 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x52,
1005 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x42,
1006 0x03, 0xe0, 0x41, 0x03, 0x52, 0x13, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70,
1007 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x11, 0x63, 0x6f, 0x6e,
1008 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x03,
1009 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
1010 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
1011 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x42, 0x03,
1012 0xe0, 0x41, 0x03, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x6f,
1013 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x57, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
1014 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
1015 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
1016 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
1017 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x72,
1018 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8b,
1019 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
1020 0x6e, 0x73, 0x12, 0x2c, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x76, 0x65,
1021 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
1022 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
1023 0x12, 0x24, 0x0a, 0x0b, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5f, 0x63, 0x72, 0x64, 0x18,
1024 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x76, 0x31, 0x62, 0x65,
1025 0x74, 0x61, 0x31, 0x43, 0x72, 0x64, 0x12, 0x24, 0x0a, 0x0b, 0x6b, 0x38, 0x73, 0x5f, 0x76, 0x65,
1026 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
1027 0x52, 0x0a, 0x6b, 0x38, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x55, 0x0a, 0x10,
1028 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74,
1029 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01,
1030 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e,
1031 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x18, 0x02,
1032 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f,
1033 0x70, 0x65, 0x64, 0x22, 0x36, 0x0a, 0x0a, 0x47, 0x6b, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
1034 0x72, 0x12, 0x28, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x69,
1035 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0c, 0x72,
1036 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x22, 0xb7, 0x02, 0x0a, 0x12,
1037 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
1038 0x74, 0x61, 0x12, 0x46, 0x0a, 0x1d, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73,
1039 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73,
1040 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x1a,
1041 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x41, 0x70, 0x69, 0x53, 0x65, 0x72,
1042 0x76, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x10, 0x6e, 0x6f,
1043 0x64, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
1044 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0e, 0x6e, 0x6f, 0x64, 0x65, 0x50,
1045 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x6e, 0x6f, 0x64,
1046 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0,
1047 0x41, 0x03, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a,
1048 0x0a, 0x76, 0x63, 0x70, 0x75, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
1049 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x76, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e,
1050 0x74, 0x12, 0x20, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6d, 0x62, 0x18, 0x05,
1051 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x6f, 0x72,
1052 0x79, 0x4d, 0x62, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
1053 0x6d, 0x65, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1054 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
1055 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
1056 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xc1, 0x01, 0x0a, 0x0f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
1057 0x73, 0x68, 0x69, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x45, 0x0a, 0x04, 0x63, 0x6f, 0x64,
1058 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1059 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31,
1060 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65,
1061 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
1062 0x22, 0x67, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x44, 0x45,
1063 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c,
1064 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05,
1065 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45, 0x54,
1066 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x50, 0x44, 0x41, 0x54, 0x49, 0x4e,
1067 0x47, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x55,
1068 0x50, 0x44, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x22, 0xb7, 0x01, 0x0a, 0x09, 0x41, 0x75,
1069 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1b, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65,
1070 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x69, 0x73,
1071 0x73, 0x75, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x16, 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64,
1072 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x02,
1073 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x6c,
1074 0x6f, 0x61, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6f, 0x6c, 0x12,
1075 0x30, 0x0a, 0x11, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x76,
1076 0x69, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
1077 0x10, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
1078 0x72, 0x12, 0x20, 0x0a, 0x09, 0x6f, 0x69, 0x64, 0x63, 0x5f, 0x6a, 0x77, 0x6b, 0x73, 0x18, 0x04,
1079 0x20, 0x01, 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x6f, 0x69, 0x64, 0x63, 0x4a,
1080 0x77, 0x6b, 0x73, 0x42, 0xbb, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1081 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e,
1082 0x76, 0x31, 0x42, 0x0f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x50, 0x72,
1083 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
1084 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74,
1085 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f,
1086 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x6b, 0x65,
1087 0x68, 0x75, 0x62, 0xaa, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
1088 0x75, 0x64, 0x2e, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47,
1089 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47, 0x6b, 0x65, 0x48,
1090 0x75, 0x62, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
1091 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x3a, 0x3a, 0x56,
1092 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1093 }
1094
1095 var (
1096 file_google_cloud_gkehub_v1_membership_proto_rawDescOnce sync.Once
1097 file_google_cloud_gkehub_v1_membership_proto_rawDescData = file_google_cloud_gkehub_v1_membership_proto_rawDesc
1098 )
1099
1100 func file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP() []byte {
1101 file_google_cloud_gkehub_v1_membership_proto_rawDescOnce.Do(func() {
1102 file_google_cloud_gkehub_v1_membership_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkehub_v1_membership_proto_rawDescData)
1103 })
1104 return file_google_cloud_gkehub_v1_membership_proto_rawDescData
1105 }
1106
1107 var file_google_cloud_gkehub_v1_membership_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
1108 var file_google_cloud_gkehub_v1_membership_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
1109 var file_google_cloud_gkehub_v1_membership_proto_goTypes = []interface{}{
1110 (MembershipState_Code)(0), // 0: google.cloud.gkehub.v1.MembershipState.Code
1111 (*Membership)(nil), // 1: google.cloud.gkehub.v1.Membership
1112 (*MembershipEndpoint)(nil), // 2: google.cloud.gkehub.v1.MembershipEndpoint
1113 (*KubernetesResource)(nil), // 3: google.cloud.gkehub.v1.KubernetesResource
1114 (*ResourceOptions)(nil), // 4: google.cloud.gkehub.v1.ResourceOptions
1115 (*ResourceManifest)(nil), // 5: google.cloud.gkehub.v1.ResourceManifest
1116 (*GkeCluster)(nil), // 6: google.cloud.gkehub.v1.GkeCluster
1117 (*KubernetesMetadata)(nil), // 7: google.cloud.gkehub.v1.KubernetesMetadata
1118 (*MembershipState)(nil), // 8: google.cloud.gkehub.v1.MembershipState
1119 (*Authority)(nil), // 9: google.cloud.gkehub.v1.Authority
1120 nil, // 10: google.cloud.gkehub.v1.Membership.LabelsEntry
1121 (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp
1122 }
1123 var file_google_cloud_gkehub_v1_membership_proto_depIdxs = []int32{
1124 2, // 0: google.cloud.gkehub.v1.Membership.endpoint:type_name -> google.cloud.gkehub.v1.MembershipEndpoint
1125 10, // 1: google.cloud.gkehub.v1.Membership.labels:type_name -> google.cloud.gkehub.v1.Membership.LabelsEntry
1126 8, // 2: google.cloud.gkehub.v1.Membership.state:type_name -> google.cloud.gkehub.v1.MembershipState
1127 11, // 3: google.cloud.gkehub.v1.Membership.create_time:type_name -> google.protobuf.Timestamp
1128 11, // 4: google.cloud.gkehub.v1.Membership.update_time:type_name -> google.protobuf.Timestamp
1129 11, // 5: google.cloud.gkehub.v1.Membership.delete_time:type_name -> google.protobuf.Timestamp
1130 11, // 6: google.cloud.gkehub.v1.Membership.last_connection_time:type_name -> google.protobuf.Timestamp
1131 9, // 7: google.cloud.gkehub.v1.Membership.authority:type_name -> google.cloud.gkehub.v1.Authority
1132 6, // 8: google.cloud.gkehub.v1.MembershipEndpoint.gke_cluster:type_name -> google.cloud.gkehub.v1.GkeCluster
1133 7, // 9: google.cloud.gkehub.v1.MembershipEndpoint.kubernetes_metadata:type_name -> google.cloud.gkehub.v1.KubernetesMetadata
1134 3, // 10: google.cloud.gkehub.v1.MembershipEndpoint.kubernetes_resource:type_name -> google.cloud.gkehub.v1.KubernetesResource
1135 5, // 11: google.cloud.gkehub.v1.KubernetesResource.membership_resources:type_name -> google.cloud.gkehub.v1.ResourceManifest
1136 5, // 12: google.cloud.gkehub.v1.KubernetesResource.connect_resources:type_name -> google.cloud.gkehub.v1.ResourceManifest
1137 4, // 13: google.cloud.gkehub.v1.KubernetesResource.resource_options:type_name -> google.cloud.gkehub.v1.ResourceOptions
1138 11, // 14: google.cloud.gkehub.v1.KubernetesMetadata.update_time:type_name -> google.protobuf.Timestamp
1139 0, // 15: google.cloud.gkehub.v1.MembershipState.code:type_name -> google.cloud.gkehub.v1.MembershipState.Code
1140 16, // [16:16] is the sub-list for method output_type
1141 16, // [16:16] is the sub-list for method input_type
1142 16, // [16:16] is the sub-list for extension type_name
1143 16, // [16:16] is the sub-list for extension extendee
1144 0, // [0:16] is the sub-list for field type_name
1145 }
1146
1147 func init() { file_google_cloud_gkehub_v1_membership_proto_init() }
1148 func file_google_cloud_gkehub_v1_membership_proto_init() {
1149 if File_google_cloud_gkehub_v1_membership_proto != nil {
1150 return
1151 }
1152 if !protoimpl.UnsafeEnabled {
1153 file_google_cloud_gkehub_v1_membership_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1154 switch v := v.(*Membership); i {
1155 case 0:
1156 return &v.state
1157 case 1:
1158 return &v.sizeCache
1159 case 2:
1160 return &v.unknownFields
1161 default:
1162 return nil
1163 }
1164 }
1165 file_google_cloud_gkehub_v1_membership_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1166 switch v := v.(*MembershipEndpoint); i {
1167 case 0:
1168 return &v.state
1169 case 1:
1170 return &v.sizeCache
1171 case 2:
1172 return &v.unknownFields
1173 default:
1174 return nil
1175 }
1176 }
1177 file_google_cloud_gkehub_v1_membership_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1178 switch v := v.(*KubernetesResource); i {
1179 case 0:
1180 return &v.state
1181 case 1:
1182 return &v.sizeCache
1183 case 2:
1184 return &v.unknownFields
1185 default:
1186 return nil
1187 }
1188 }
1189 file_google_cloud_gkehub_v1_membership_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1190 switch v := v.(*ResourceOptions); i {
1191 case 0:
1192 return &v.state
1193 case 1:
1194 return &v.sizeCache
1195 case 2:
1196 return &v.unknownFields
1197 default:
1198 return nil
1199 }
1200 }
1201 file_google_cloud_gkehub_v1_membership_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1202 switch v := v.(*ResourceManifest); i {
1203 case 0:
1204 return &v.state
1205 case 1:
1206 return &v.sizeCache
1207 case 2:
1208 return &v.unknownFields
1209 default:
1210 return nil
1211 }
1212 }
1213 file_google_cloud_gkehub_v1_membership_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1214 switch v := v.(*GkeCluster); i {
1215 case 0:
1216 return &v.state
1217 case 1:
1218 return &v.sizeCache
1219 case 2:
1220 return &v.unknownFields
1221 default:
1222 return nil
1223 }
1224 }
1225 file_google_cloud_gkehub_v1_membership_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1226 switch v := v.(*KubernetesMetadata); i {
1227 case 0:
1228 return &v.state
1229 case 1:
1230 return &v.sizeCache
1231 case 2:
1232 return &v.unknownFields
1233 default:
1234 return nil
1235 }
1236 }
1237 file_google_cloud_gkehub_v1_membership_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1238 switch v := v.(*MembershipState); i {
1239 case 0:
1240 return &v.state
1241 case 1:
1242 return &v.sizeCache
1243 case 2:
1244 return &v.unknownFields
1245 default:
1246 return nil
1247 }
1248 }
1249 file_google_cloud_gkehub_v1_membership_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1250 switch v := v.(*Authority); i {
1251 case 0:
1252 return &v.state
1253 case 1:
1254 return &v.sizeCache
1255 case 2:
1256 return &v.unknownFields
1257 default:
1258 return nil
1259 }
1260 }
1261 }
1262 file_google_cloud_gkehub_v1_membership_proto_msgTypes[0].OneofWrappers = []interface{}{
1263 (*Membership_Endpoint)(nil),
1264 }
1265 type x struct{}
1266 out := protoimpl.TypeBuilder{
1267 File: protoimpl.DescBuilder{
1268 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1269 RawDescriptor: file_google_cloud_gkehub_v1_membership_proto_rawDesc,
1270 NumEnums: 1,
1271 NumMessages: 10,
1272 NumExtensions: 0,
1273 NumServices: 0,
1274 },
1275 GoTypes: file_google_cloud_gkehub_v1_membership_proto_goTypes,
1276 DependencyIndexes: file_google_cloud_gkehub_v1_membership_proto_depIdxs,
1277 EnumInfos: file_google_cloud_gkehub_v1_membership_proto_enumTypes,
1278 MessageInfos: file_google_cloud_gkehub_v1_membership_proto_msgTypes,
1279 }.Build()
1280 File_google_cloud_gkehub_v1_membership_proto = out.File
1281 file_google_cloud_gkehub_v1_membership_proto_rawDesc = nil
1282 file_google_cloud_gkehub_v1_membership_proto_goTypes = nil
1283 file_google_cloud_gkehub_v1_membership_proto_depIdxs = nil
1284 }