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 21package gkehub 22 23import ( 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 33const ( 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. 41type MembershipState_Code int32 42 43const ( 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. 59var ( 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 78func (x MembershipState_Code) Enum() *MembershipState_Code { 79 p := new(MembershipState_Code) 80 *p = x 81 return p 82} 83 84func (x MembershipState_Code) String() string { 85 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 86} 87 88func (MembershipState_Code) Descriptor() protoreflect.EnumDescriptor { 89 return file_google_cloud_gkehub_v1_membership_proto_enumTypes[0].Descriptor() 90} 91 92func (MembershipState_Code) Type() protoreflect.EnumType { 93 return &file_google_cloud_gkehub_v1_membership_proto_enumTypes[0] 94} 95 96func (x MembershipState_Code) Number() protoreflect.EnumNumber { 97 return protoreflect.EnumNumber(x) 98} 99 100// Deprecated: Use MembershipState_Code.Descriptor instead. 101func (MembershipState_Code) EnumDescriptor() ([]byte, []int) { 102 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{4, 0} 103} 104 105// Membership contains information about a member cluster. 106type 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 166func (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 175func (x *Membership) String() string { 176 return protoimpl.X.MessageStringOf(x) 177} 178 179func (*Membership) ProtoMessage() {} 180 181func (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. 194func (*Membership) Descriptor() ([]byte, []int) { 195 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{0} 196} 197 198func (m *Membership) GetType() isMembership_Type { 199 if m != nil { 200 return m.Type 201 } 202 return nil 203} 204 205func (x *Membership) GetEndpoint() *MembershipEndpoint { 206 if x, ok := x.GetType().(*Membership_Endpoint); ok { 207 return x.Endpoint 208 } 209 return nil 210} 211 212func (x *Membership) GetName() string { 213 if x != nil { 214 return x.Name 215 } 216 return "" 217} 218 219func (x *Membership) GetLabels() map[string]string { 220 if x != nil { 221 return x.Labels 222 } 223 return nil 224} 225 226func (x *Membership) GetDescription() string { 227 if x != nil { 228 return x.Description 229 } 230 return "" 231} 232 233func (x *Membership) GetState() *MembershipState { 234 if x != nil { 235 return x.State 236 } 237 return nil 238} 239 240func (x *Membership) GetCreateTime() *timestamppb.Timestamp { 241 if x != nil { 242 return x.CreateTime 243 } 244 return nil 245} 246 247func (x *Membership) GetUpdateTime() *timestamppb.Timestamp { 248 if x != nil { 249 return x.UpdateTime 250 } 251 return nil 252} 253 254func (x *Membership) GetDeleteTime() *timestamppb.Timestamp { 255 if x != nil { 256 return x.DeleteTime 257 } 258 return nil 259} 260 261func (x *Membership) GetExternalId() string { 262 if x != nil { 263 return x.ExternalId 264 } 265 return "" 266} 267 268func (x *Membership) GetLastConnectionTime() *timestamppb.Timestamp { 269 if x != nil { 270 return x.LastConnectionTime 271 } 272 return nil 273} 274 275func (x *Membership) GetUniqueId() string { 276 if x != nil { 277 return x.UniqueId 278 } 279 return "" 280} 281 282func (x *Membership) GetAuthority() *Authority { 283 if x != nil { 284 return x.Authority 285 } 286 return nil 287} 288 289type isMembership_Type interface { 290 isMembership_Type() 291} 292 293type Membership_Endpoint struct { 294 // Optional. Endpoint information to reach this member. 295 Endpoint *MembershipEndpoint `protobuf:"bytes,4,opt,name=endpoint,proto3,oneof"` 296} 297 298func (*Membership_Endpoint) isMembership_Type() {} 299 300// MembershipEndpoint contains information needed to contact a Kubernetes API, 301// endpoint and any additional Kubernetes metadata. 302type 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} 312 313func (x *MembershipEndpoint) Reset() { 314 *x = MembershipEndpoint{} 315 if protoimpl.UnsafeEnabled { 316 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[1] 317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 318 ms.StoreMessageInfo(mi) 319 } 320} 321 322func (x *MembershipEndpoint) String() string { 323 return protoimpl.X.MessageStringOf(x) 324} 325 326func (*MembershipEndpoint) ProtoMessage() {} 327 328func (x *MembershipEndpoint) ProtoReflect() protoreflect.Message { 329 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[1] 330 if protoimpl.UnsafeEnabled && x != nil { 331 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 332 if ms.LoadMessageInfo() == nil { 333 ms.StoreMessageInfo(mi) 334 } 335 return ms 336 } 337 return mi.MessageOf(x) 338} 339 340// Deprecated: Use MembershipEndpoint.ProtoReflect.Descriptor instead. 341func (*MembershipEndpoint) Descriptor() ([]byte, []int) { 342 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{1} 343} 344 345func (x *MembershipEndpoint) GetGkeCluster() *GkeCluster { 346 if x != nil { 347 return x.GkeCluster 348 } 349 return nil 350} 351 352func (x *MembershipEndpoint) GetKubernetesMetadata() *KubernetesMetadata { 353 if x != nil { 354 return x.KubernetesMetadata 355 } 356 return nil 357} 358 359// GkeCluster contains information specific to GKE clusters. 360type GkeCluster struct { 361 state protoimpl.MessageState 362 sizeCache protoimpl.SizeCache 363 unknownFields protoimpl.UnknownFields 364 365 // Immutable. Self-link of the GCP resource for the GKE cluster. For example: 366 // 367 // //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster 368 // 369 // Zonal clusters are also supported. 370 ResourceLink string `protobuf:"bytes,1,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"` 371} 372 373func (x *GkeCluster) Reset() { 374 *x = GkeCluster{} 375 if protoimpl.UnsafeEnabled { 376 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[2] 377 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 378 ms.StoreMessageInfo(mi) 379 } 380} 381 382func (x *GkeCluster) String() string { 383 return protoimpl.X.MessageStringOf(x) 384} 385 386func (*GkeCluster) ProtoMessage() {} 387 388func (x *GkeCluster) ProtoReflect() protoreflect.Message { 389 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[2] 390 if protoimpl.UnsafeEnabled && x != nil { 391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 392 if ms.LoadMessageInfo() == nil { 393 ms.StoreMessageInfo(mi) 394 } 395 return ms 396 } 397 return mi.MessageOf(x) 398} 399 400// Deprecated: Use GkeCluster.ProtoReflect.Descriptor instead. 401func (*GkeCluster) Descriptor() ([]byte, []int) { 402 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{2} 403} 404 405func (x *GkeCluster) GetResourceLink() string { 406 if x != nil { 407 return x.ResourceLink 408 } 409 return "" 410} 411 412// KubernetesMetadata provides informational metadata for Memberships 413// representing Kubernetes clusters. 414type KubernetesMetadata struct { 415 state protoimpl.MessageState 416 sizeCache protoimpl.SizeCache 417 unknownFields protoimpl.UnknownFields 418 419 // Output only. Kubernetes API server version string as reported by `/version`. 420 KubernetesApiServerVersion string `protobuf:"bytes,1,opt,name=kubernetes_api_server_version,json=kubernetesApiServerVersion,proto3" json:"kubernetes_api_server_version,omitempty"` 421 // Output only. Node providerID as reported by the first node in the list of nodes on 422 // the Kubernetes endpoint. On Kubernetes platforms that support zero-node 423 // clusters (like GKE-on-GCP), the node_count will be zero and the 424 // node_provider_id will be empty. 425 NodeProviderId string `protobuf:"bytes,2,opt,name=node_provider_id,json=nodeProviderId,proto3" json:"node_provider_id,omitempty"` 426 // Output only. Node count as reported by Kubernetes nodes resources. 427 NodeCount int32 `protobuf:"varint,3,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"` 428 // Output only. vCPU count as reported by Kubernetes nodes resources. 429 VcpuCount int32 `protobuf:"varint,4,opt,name=vcpu_count,json=vcpuCount,proto3" json:"vcpu_count,omitempty"` 430 // Output only. The total memory capacity as reported by the sum of all Kubernetes nodes 431 // resources, defined in MB. 432 MemoryMb int32 `protobuf:"varint,5,opt,name=memory_mb,json=memoryMb,proto3" json:"memory_mb,omitempty"` 433 // Output only. The time at which these details were last updated. This update_time is 434 // different from the Membership-level update_time since EndpointDetails are 435 // updated internally for API consumers. 436 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 437} 438 439func (x *KubernetesMetadata) Reset() { 440 *x = KubernetesMetadata{} 441 if protoimpl.UnsafeEnabled { 442 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[3] 443 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 444 ms.StoreMessageInfo(mi) 445 } 446} 447 448func (x *KubernetesMetadata) String() string { 449 return protoimpl.X.MessageStringOf(x) 450} 451 452func (*KubernetesMetadata) ProtoMessage() {} 453 454func (x *KubernetesMetadata) ProtoReflect() protoreflect.Message { 455 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[3] 456 if protoimpl.UnsafeEnabled && x != nil { 457 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 458 if ms.LoadMessageInfo() == nil { 459 ms.StoreMessageInfo(mi) 460 } 461 return ms 462 } 463 return mi.MessageOf(x) 464} 465 466// Deprecated: Use KubernetesMetadata.ProtoReflect.Descriptor instead. 467func (*KubernetesMetadata) Descriptor() ([]byte, []int) { 468 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{3} 469} 470 471func (x *KubernetesMetadata) GetKubernetesApiServerVersion() string { 472 if x != nil { 473 return x.KubernetesApiServerVersion 474 } 475 return "" 476} 477 478func (x *KubernetesMetadata) GetNodeProviderId() string { 479 if x != nil { 480 return x.NodeProviderId 481 } 482 return "" 483} 484 485func (x *KubernetesMetadata) GetNodeCount() int32 { 486 if x != nil { 487 return x.NodeCount 488 } 489 return 0 490} 491 492func (x *KubernetesMetadata) GetVcpuCount() int32 { 493 if x != nil { 494 return x.VcpuCount 495 } 496 return 0 497} 498 499func (x *KubernetesMetadata) GetMemoryMb() int32 { 500 if x != nil { 501 return x.MemoryMb 502 } 503 return 0 504} 505 506func (x *KubernetesMetadata) GetUpdateTime() *timestamppb.Timestamp { 507 if x != nil { 508 return x.UpdateTime 509 } 510 return nil 511} 512 513// MembershipState describes the state of a Membership resource. 514type MembershipState struct { 515 state protoimpl.MessageState 516 sizeCache protoimpl.SizeCache 517 unknownFields protoimpl.UnknownFields 518 519 // Output only. The current state of the Membership resource. 520 Code MembershipState_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.gkehub.v1.MembershipState_Code" json:"code,omitempty"` 521} 522 523func (x *MembershipState) Reset() { 524 *x = MembershipState{} 525 if protoimpl.UnsafeEnabled { 526 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[4] 527 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 528 ms.StoreMessageInfo(mi) 529 } 530} 531 532func (x *MembershipState) String() string { 533 return protoimpl.X.MessageStringOf(x) 534} 535 536func (*MembershipState) ProtoMessage() {} 537 538func (x *MembershipState) ProtoReflect() protoreflect.Message { 539 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[4] 540 if protoimpl.UnsafeEnabled && x != nil { 541 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 542 if ms.LoadMessageInfo() == nil { 543 ms.StoreMessageInfo(mi) 544 } 545 return ms 546 } 547 return mi.MessageOf(x) 548} 549 550// Deprecated: Use MembershipState.ProtoReflect.Descriptor instead. 551func (*MembershipState) Descriptor() ([]byte, []int) { 552 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{4} 553} 554 555func (x *MembershipState) GetCode() MembershipState_Code { 556 if x != nil { 557 return x.Code 558 } 559 return MembershipState_CODE_UNSPECIFIED 560} 561 562// Authority encodes how Google will recognize identities from this Membership. 563// See the workload identity documentation for more details: 564// https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity 565type Authority struct { 566 state protoimpl.MessageState 567 sizeCache protoimpl.SizeCache 568 unknownFields protoimpl.UnknownFields 569 570 // Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and 571 // be a valid URL with length <2000 characters. 572 // 573 // If set, then Google will allow valid OIDC tokens from this issuer to 574 // authenticate within the workload_identity_pool. OIDC discovery will be 575 // performed on this URI to validate tokens from the issuer. 576 // 577 // Clearing `issuer` disables Workload Identity. `issuer` cannot be directly 578 // modified; it must be cleared (and Workload Identity disabled) before using 579 // a new issuer (and re-enabling Workload Identity). 580 Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` 581 // Output only. The name of the workload identity pool in which `issuer` will be 582 // recognized. 583 // 584 // There is a single Workload Identity Pool per Hub that is shared 585 // between all Memberships that belong to that Hub. For a Hub hosted in 586 // {PROJECT_ID}, the workload pool format is `{PROJECT_ID}.hub.id.goog`, 587 // although this is subject to change in newer versions of this API. 588 WorkloadIdentityPool string `protobuf:"bytes,2,opt,name=workload_identity_pool,json=workloadIdentityPool,proto3" json:"workload_identity_pool,omitempty"` 589 // Output only. An identity provider that reflects the `issuer` in the workload identity 590 // pool. 591 IdentityProvider string `protobuf:"bytes,3,opt,name=identity_provider,json=identityProvider,proto3" json:"identity_provider,omitempty"` 592 // Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517). 593 // 594 // When this field is set, OIDC discovery will NOT be performed on `issuer`, 595 // and instead OIDC tokens will be validated using this field. 596 OidcJwks []byte `protobuf:"bytes,4,opt,name=oidc_jwks,json=oidcJwks,proto3" json:"oidc_jwks,omitempty"` 597} 598 599func (x *Authority) Reset() { 600 *x = Authority{} 601 if protoimpl.UnsafeEnabled { 602 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[5] 603 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 604 ms.StoreMessageInfo(mi) 605 } 606} 607 608func (x *Authority) String() string { 609 return protoimpl.X.MessageStringOf(x) 610} 611 612func (*Authority) ProtoMessage() {} 613 614func (x *Authority) ProtoReflect() protoreflect.Message { 615 mi := &file_google_cloud_gkehub_v1_membership_proto_msgTypes[5] 616 if protoimpl.UnsafeEnabled && x != nil { 617 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 618 if ms.LoadMessageInfo() == nil { 619 ms.StoreMessageInfo(mi) 620 } 621 return ms 622 } 623 return mi.MessageOf(x) 624} 625 626// Deprecated: Use Authority.ProtoReflect.Descriptor instead. 627func (*Authority) Descriptor() ([]byte, []int) { 628 return file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP(), []int{5} 629} 630 631func (x *Authority) GetIssuer() string { 632 if x != nil { 633 return x.Issuer 634 } 635 return "" 636} 637 638func (x *Authority) GetWorkloadIdentityPool() string { 639 if x != nil { 640 return x.WorkloadIdentityPool 641 } 642 return "" 643} 644 645func (x *Authority) GetIdentityProvider() string { 646 if x != nil { 647 return x.IdentityProvider 648 } 649 return "" 650} 651 652func (x *Authority) GetOidcJwks() []byte { 653 if x != nil { 654 return x.OidcJwks 655 } 656 return nil 657} 658 659var File_google_cloud_gkehub_v1_membership_proto protoreflect.FileDescriptor 660 661var file_google_cloud_gkehub_v1_membership_proto_rawDesc = []byte{ 662 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 663 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 664 0x68, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 665 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 666 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 667 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 668 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 669 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 670 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 671 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 672 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 673 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x06, 0x0a, 674 0x0a, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, 0x4d, 0x0a, 0x08, 0x65, 675 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 676 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 677 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 678 0x70, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 679 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 680 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 681 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 682 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 683 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 684 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 685 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 686 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 687 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 688 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 689 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 690 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 691 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 692 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 693 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 694 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 695 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 696 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 697 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 698 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 699 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 700 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 701 0x40, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 702 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 703 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 704 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 705 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 706 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x65, 0x78, 0x74, 707 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x51, 0x0a, 0x14, 0x6c, 0x61, 0x73, 0x74, 0x5f, 708 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 709 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 710 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 711 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 712 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x75, 0x6e, 713 0x69, 0x71, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 714 0x41, 0x03, 0x52, 0x08, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x09, 715 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 716 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 717 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 718 0x74, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 719 0x74, 0x79, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 720 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 721 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 722 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x67, 0xea, 723 0x41, 0x64, 0x0a, 0x20, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 724 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 725 0x73, 0x68, 0x69, 0x70, 0x12, 0x40, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 726 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 727 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6d, 0x65, 728 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x73, 0x2f, 0x7b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 729 0x72, 0x73, 0x68, 0x69, 0x70, 0x7d, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xc0, 730 0x01, 0x0a, 0x12, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x45, 0x6e, 0x64, 731 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x48, 0x0a, 0x0b, 0x67, 0x6b, 0x65, 0x5f, 0x63, 0x6c, 0x75, 732 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 733 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 734 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x6b, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x03, 735 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x67, 0x6b, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 736 0x60, 0x0a, 0x13, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x6d, 0x65, 737 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 738 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 739 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 740 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x12, 0x6b, 741 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 742 0x61, 0x22, 0x36, 0x0a, 0x0a, 0x47, 0x6b, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 743 0x28, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 744 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x73, 745 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x22, 0xb7, 0x02, 0x0a, 0x12, 0x4b, 0x75, 746 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 747 0x12, 0x46, 0x0a, 0x1d, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x61, 748 0x70, 0x69, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 749 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x1a, 0x6b, 0x75, 750 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x41, 0x70, 0x69, 0x53, 0x65, 0x72, 0x76, 0x65, 751 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x10, 0x6e, 0x6f, 0x64, 0x65, 752 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 753 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0e, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f, 754 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 755 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 756 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x76, 757 0x63, 0x70, 0x75, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x42, 758 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x76, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 759 0x20, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6d, 0x62, 0x18, 0x05, 0x20, 0x01, 760 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 761 0x62, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 762 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 763 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 764 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 765 0x69, 0x6d, 0x65, 0x22, 0xc1, 0x01, 0x0a, 0x0f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 766 0x69, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x45, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 767 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 768 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 769 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x43, 770 0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x67, 771 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 772 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 773 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 774 0x41, 0x44, 0x59, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 775 0x47, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x50, 0x44, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 776 0x04, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x55, 0x50, 0x44, 777 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x22, 0xb7, 0x01, 0x0a, 0x09, 0x41, 0x75, 0x74, 0x68, 778 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1b, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x18, 779 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 780 0x65, 0x72, 0x12, 0x39, 0x0a, 0x16, 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x69, 781 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 782 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 783 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x30, 0x0a, 784 0x11, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 785 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x69, 786 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 787 0x20, 0x0a, 0x09, 0x6f, 0x69, 0x64, 0x63, 0x5f, 0x6a, 0x77, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x01, 788 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x6f, 0x69, 0x64, 0x63, 0x4a, 0x77, 0x6b, 789 0x73, 0x42, 0xbb, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 790 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x76, 0x31, 791 0x42, 0x0f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x50, 0x72, 0x6f, 0x74, 792 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 793 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 794 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 795 0x2f, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x6b, 0x65, 0x68, 0x75, 796 0x62, 0xaa, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 797 0x2e, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 798 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 799 0x5c, 0x56, 0x31, 0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 800 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x3a, 0x3a, 0x56, 0x31, 0x62, 801 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 802} 803 804var ( 805 file_google_cloud_gkehub_v1_membership_proto_rawDescOnce sync.Once 806 file_google_cloud_gkehub_v1_membership_proto_rawDescData = file_google_cloud_gkehub_v1_membership_proto_rawDesc 807) 808 809func file_google_cloud_gkehub_v1_membership_proto_rawDescGZIP() []byte { 810 file_google_cloud_gkehub_v1_membership_proto_rawDescOnce.Do(func() { 811 file_google_cloud_gkehub_v1_membership_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkehub_v1_membership_proto_rawDescData) 812 }) 813 return file_google_cloud_gkehub_v1_membership_proto_rawDescData 814} 815 816var file_google_cloud_gkehub_v1_membership_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 817var file_google_cloud_gkehub_v1_membership_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 818var file_google_cloud_gkehub_v1_membership_proto_goTypes = []interface{}{ 819 (MembershipState_Code)(0), // 0: google.cloud.gkehub.v1.MembershipState.Code 820 (*Membership)(nil), // 1: google.cloud.gkehub.v1.Membership 821 (*MembershipEndpoint)(nil), // 2: google.cloud.gkehub.v1.MembershipEndpoint 822 (*GkeCluster)(nil), // 3: google.cloud.gkehub.v1.GkeCluster 823 (*KubernetesMetadata)(nil), // 4: google.cloud.gkehub.v1.KubernetesMetadata 824 (*MembershipState)(nil), // 5: google.cloud.gkehub.v1.MembershipState 825 (*Authority)(nil), // 6: google.cloud.gkehub.v1.Authority 826 nil, // 7: google.cloud.gkehub.v1.Membership.LabelsEntry 827 (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp 828} 829var file_google_cloud_gkehub_v1_membership_proto_depIdxs = []int32{ 830 2, // 0: google.cloud.gkehub.v1.Membership.endpoint:type_name -> google.cloud.gkehub.v1.MembershipEndpoint 831 7, // 1: google.cloud.gkehub.v1.Membership.labels:type_name -> google.cloud.gkehub.v1.Membership.LabelsEntry 832 5, // 2: google.cloud.gkehub.v1.Membership.state:type_name -> google.cloud.gkehub.v1.MembershipState 833 8, // 3: google.cloud.gkehub.v1.Membership.create_time:type_name -> google.protobuf.Timestamp 834 8, // 4: google.cloud.gkehub.v1.Membership.update_time:type_name -> google.protobuf.Timestamp 835 8, // 5: google.cloud.gkehub.v1.Membership.delete_time:type_name -> google.protobuf.Timestamp 836 8, // 6: google.cloud.gkehub.v1.Membership.last_connection_time:type_name -> google.protobuf.Timestamp 837 6, // 7: google.cloud.gkehub.v1.Membership.authority:type_name -> google.cloud.gkehub.v1.Authority 838 3, // 8: google.cloud.gkehub.v1.MembershipEndpoint.gke_cluster:type_name -> google.cloud.gkehub.v1.GkeCluster 839 4, // 9: google.cloud.gkehub.v1.MembershipEndpoint.kubernetes_metadata:type_name -> google.cloud.gkehub.v1.KubernetesMetadata 840 8, // 10: google.cloud.gkehub.v1.KubernetesMetadata.update_time:type_name -> google.protobuf.Timestamp 841 0, // 11: google.cloud.gkehub.v1.MembershipState.code:type_name -> google.cloud.gkehub.v1.MembershipState.Code 842 12, // [12:12] is the sub-list for method output_type 843 12, // [12:12] is the sub-list for method input_type 844 12, // [12:12] is the sub-list for extension type_name 845 12, // [12:12] is the sub-list for extension extendee 846 0, // [0:12] is the sub-list for field type_name 847} 848 849func init() { file_google_cloud_gkehub_v1_membership_proto_init() } 850func file_google_cloud_gkehub_v1_membership_proto_init() { 851 if File_google_cloud_gkehub_v1_membership_proto != nil { 852 return 853 } 854 if !protoimpl.UnsafeEnabled { 855 file_google_cloud_gkehub_v1_membership_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 856 switch v := v.(*Membership); i { 857 case 0: 858 return &v.state 859 case 1: 860 return &v.sizeCache 861 case 2: 862 return &v.unknownFields 863 default: 864 return nil 865 } 866 } 867 file_google_cloud_gkehub_v1_membership_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 868 switch v := v.(*MembershipEndpoint); i { 869 case 0: 870 return &v.state 871 case 1: 872 return &v.sizeCache 873 case 2: 874 return &v.unknownFields 875 default: 876 return nil 877 } 878 } 879 file_google_cloud_gkehub_v1_membership_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 880 switch v := v.(*GkeCluster); i { 881 case 0: 882 return &v.state 883 case 1: 884 return &v.sizeCache 885 case 2: 886 return &v.unknownFields 887 default: 888 return nil 889 } 890 } 891 file_google_cloud_gkehub_v1_membership_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 892 switch v := v.(*KubernetesMetadata); i { 893 case 0: 894 return &v.state 895 case 1: 896 return &v.sizeCache 897 case 2: 898 return &v.unknownFields 899 default: 900 return nil 901 } 902 } 903 file_google_cloud_gkehub_v1_membership_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 904 switch v := v.(*MembershipState); i { 905 case 0: 906 return &v.state 907 case 1: 908 return &v.sizeCache 909 case 2: 910 return &v.unknownFields 911 default: 912 return nil 913 } 914 } 915 file_google_cloud_gkehub_v1_membership_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 916 switch v := v.(*Authority); i { 917 case 0: 918 return &v.state 919 case 1: 920 return &v.sizeCache 921 case 2: 922 return &v.unknownFields 923 default: 924 return nil 925 } 926 } 927 } 928 file_google_cloud_gkehub_v1_membership_proto_msgTypes[0].OneofWrappers = []interface{}{ 929 (*Membership_Endpoint)(nil), 930 } 931 type x struct{} 932 out := protoimpl.TypeBuilder{ 933 File: protoimpl.DescBuilder{ 934 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 935 RawDescriptor: file_google_cloud_gkehub_v1_membership_proto_rawDesc, 936 NumEnums: 1, 937 NumMessages: 7, 938 NumExtensions: 0, 939 NumServices: 0, 940 }, 941 GoTypes: file_google_cloud_gkehub_v1_membership_proto_goTypes, 942 DependencyIndexes: file_google_cloud_gkehub_v1_membership_proto_depIdxs, 943 EnumInfos: file_google_cloud_gkehub_v1_membership_proto_enumTypes, 944 MessageInfos: file_google_cloud_gkehub_v1_membership_proto_msgTypes, 945 }.Build() 946 File_google_cloud_gkehub_v1_membership_proto = out.File 947 file_google_cloud_gkehub_v1_membership_proto_rawDesc = nil 948 file_google_cloud_gkehub_v1_membership_proto_goTypes = nil 949 file_google_cloud_gkehub_v1_membership_proto_depIdxs = nil 950} 951