# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/gkemulticloud/v1/attached_resources.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/cloud/gkemulticloud/v1/common_resources_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n6google/cloud/gkemulticloud/v1/attached_resources.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/gkemulticloud/v1/common_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcb\r\n\x0f\x41ttachedCluster\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12K\n\x0boidc_config\x18\x03 \x01(\x0b\x32\x31.google.cloud.gkemulticloud.v1.AttachedOidcConfigB\x03\xe0\x41\x02\x12\x1d\n\x10platform_version\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64istribution\x18\x10 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x63luster_region\x18\x16 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x05\x66leet\x18\x05 \x01(\x0b\x32$.google.cloud.gkemulticloud.v1.FleetB\x03\xe0\x41\x02\x12H\n\x05state\x18\x06 \x01(\x0e\x32\x34.google.cloud.gkemulticloud.v1.AttachedCluster.StateB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12\x1f\n\x12kubernetes_version\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12Y\n\x0b\x61nnotations\x18\r \x03(\x0b\x32?.google.cloud.gkemulticloud.v1.AttachedCluster.AnnotationsEntryB\x03\xe0\x41\x01\x12\\\n\x18workload_identity_config\x18\x0e \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigB\x03\xe0\x41\x03\x12I\n\x0elogging_config\x18\x0f \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.LoggingConfigB\x03\xe0\x41\x01\x12H\n\x06\x65rrors\x18\x14 \x03(\x0b\x32\x33.google.cloud.gkemulticloud.v1.AttachedClusterErrorB\x03\xe0\x41\x03\x12X\n\rauthorization\x18\x15 \x01(\x0b\x32<.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationB\x03\xe0\x41\x01\x12O\n\x11monitoring_config\x18\x17 \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.MonitoringConfigB\x03\xe0\x41\x01\x12M\n\x0cproxy_config\x18\x18 \x01(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AttachedProxyConfigB\x03\xe0\x41\x01\x12U\n\x14\x62inary_authorization\x18\x19 \x01(\x0b\x32\x32.google.cloud.gkemulticloud.v1.BinaryAuthorizationB\x03\xe0\x41\x01\x12Z\n\x17security_posture_config\x18\x1a \x01(\x0b\x32\x34.google.cloud.gkemulticloud.v1.SecurityPostureConfigB\x03\xe0\x41\x01\x12N\n\x04tags\x18\x1b \x03(\x0b\x32\x38.google.cloud.gkemulticloud.v1.AttachedCluster.TagsEntryB\x06\xe0\x41\x01\xe0\x41\x04\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0f\n\x0bRECONCILING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45GRADED\x10\x06:~\xea\x41{\n,gkemulticloud.googleapis.com/AttachedCluster\x12Kprojects/{project}/locations/{location}/attachedClusters/{attached_cluster}\"\xbd\x01\n\x1d\x41ttachedClustersAuthorization\x12L\n\x0b\x61\x64min_users\x18\x01 \x03(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AttachedClusterUserB\x03\xe0\x41\x01\x12N\n\x0c\x61\x64min_groups\x18\x02 \x03(\x0b\x32\x33.google.cloud.gkemulticloud.v1.AttachedClusterGroupB\x03\xe0\x41\x01\",\n\x13\x41ttachedClusterUser\x12\x15\n\x08username\x18\x01 \x01(\tB\x03\xe0\x41\x02\"*\n\x14\x41ttachedClusterGroup\x12\x12\n\x05group\x18\x01 \x01(\tB\x03\xe0\x41\x02\";\n\x12\x41ttachedOidcConfig\x12\x12\n\nissuer_url\x18\x01 \x01(\t\x12\x11\n\x04jwks\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x01\"\xee\x01\n\x14\x41ttachedServerConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12R\n\x0evalid_versions\x18\x02 \x03(\x0b\x32:.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo:t\xea\x41q\n1gkemulticloud.googleapis.com/AttachedServerConfig\x12<projects/{project}/locations/{location}/attachedServerConfig\".\n\x1b\x41ttachedPlatformVersionInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\"\'\n\x14\x41ttachedClusterError\x12\x0f\n\x07message\x18\x01 \x01(\t\"a\n\x13\x41ttachedProxyConfig\x12J\n\x11kubernetes_secret\x18\x01 \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.KubernetesSecret\"3\n\x10KubernetesSecret\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\tB\xe9\x01\n!com.google.cloud.gkemulticloud.v1B\x16\x41ttachedResourcesProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.cloud.gkemulticloud.v1.Fleet", "google/cloud/gkemulticloud/v1/common_resources.proto"],
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Cloud
    module GkeMultiCloud
      module V1
        AttachedCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedCluster").msgclass
        AttachedCluster::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedCluster.State").enummodule
        AttachedClustersAuthorization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedClustersAuthorization").msgclass
        AttachedClusterUser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedClusterUser").msgclass
        AttachedClusterGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedClusterGroup").msgclass
        AttachedOidcConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedOidcConfig").msgclass
        AttachedServerConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedServerConfig").msgclass
        AttachedPlatformVersionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo").msgclass
        AttachedClusterError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedClusterError").msgclass
        AttachedProxyConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedProxyConfig").msgclass
        KubernetesSecret = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.KubernetesSecret").msgclass
      end
    end
  end
end
