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

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/cloud/gkehub/v1/configmanagement/configmanagement_pb'
require 'google/cloud/gkehub/v1/multiclusteringress/multiclusteringress_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n$google/cloud/gkehub/v1/feature.proto\x12\x16google.cloud.gkehub.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/gkehub/v1/configmanagement/configmanagement.proto\x1a\x44google/cloud/gkehub/v1/multiclusteringress/multiclusteringress.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcf\x07\n\x07\x46\x65\x61ture\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12;\n\x06labels\x18\x02 \x03(\x0b\x32+.google.cloud.gkehub.v1.Feature.LabelsEntry\x12I\n\x0eresource_state\x18\x03 \x01(\x0b\x32,.google.cloud.gkehub.v1.FeatureResourceStateB\x03\xe0\x41\x03\x12<\n\x04spec\x18\x04 \x01(\x0b\x32).google.cloud.gkehub.v1.CommonFeatureSpecB\x03\xe0\x41\x01\x12S\n\x10membership_specs\x18\x05 \x03(\x0b\x32\x34.google.cloud.gkehub.v1.Feature.MembershipSpecsEntryB\x03\xe0\x41\x01\x12>\n\x05state\x18\x06 \x01(\x0b\x32*.google.cloud.gkehub.v1.CommonFeatureStateB\x03\xe0\x41\x03\x12U\n\x11membership_states\x18\x07 \x03(\x0b\x32\x35.google.cloud.gkehub.v1.Feature.MembershipStatesEntryB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x65\n\x14MembershipSpecsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.google.cloud.gkehub.v1.MembershipFeatureSpec:\x02\x38\x01\x1ag\n\x15MembershipStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12=\n\x05value\x18\x02 \x01(\x0b\x32..google.cloud.gkehub.v1.MembershipFeatureState:\x02\x38\x01:^\xea\x41[\n\x1dgkehub.googleapis.com/Feature\x12:projects/{project}/locations/{location}/features/{feature}\"\xc6\x01\n\x14\x46\x65\x61tureResourceState\x12\x41\n\x05state\x18\x01 \x01(\x0e\x32\x32.google.cloud.gkehub.v1.FeatureResourceState.State\"k\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x14\n\x10SERVICE_UPDATING\x10\x05\"\xcb\x01\n\x0c\x46\x65\x61tureState\x12\x37\n\x04\x63ode\x18\x01 \x01(\x0e\x32).google.cloud.gkehub.v1.FeatureState.Code\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"<\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"{\n\x11\x43ommonFeatureSpec\x12V\n\x13multiclusteringress\x18\x66 \x01(\x0b\x32\x37.google.cloud.gkehub.multiclusteringress.v1.FeatureSpecH\x00\x42\x0e\n\x0c\x66\x65\x61ture_spec\"N\n\x12\x43ommonFeatureState\x12\x38\n\x05state\x18\x01 \x01(\x0b\x32$.google.cloud.gkehub.v1.FeatureStateB\x03\xe0\x41\x03\"|\n\x15MembershipFeatureSpec\x12S\n\x10\x63onfigmanagement\x18j \x01(\x0b\x32\x37.google.cloud.gkehub.configmanagement.v1.MembershipSpecH\x00\x42\x0e\n\x0c\x66\x65\x61ture_spec\"\xb4\x01\n\x16MembershipFeatureState\x12T\n\x10\x63onfigmanagement\x18j \x01(\x0b\x32\x38.google.cloud.gkehub.configmanagement.v1.MembershipStateH\x00\x12\x33\n\x05state\x18\x01 \x01(\x0b\x32$.google.cloud.gkehub.v1.FeatureStateB\x0f\n\rfeature_stateB\xae\x01\n\x1a\x63om.google.cloud.gkehub.v1B\x0c\x46\x65\x61tureProtoP\x01Z2cloud.google.com/go/gkehub/apiv1/gkehubpb;gkehubpb\xaa\x02\x16Google.Cloud.GkeHub.V1\xca\x02\x16Google\\Cloud\\GkeHub\\V1\xea\x02\x19Google::Cloud::GkeHub::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.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.cloud.gkehub.multiclusteringress.v1.FeatureSpec", "google/cloud/gkehub/v1/multiclusteringress/multiclusteringress.proto"],
    ["google.cloud.gkehub.configmanagement.v1.MembershipSpec", "google/cloud/gkehub/v1/configmanagement/configmanagement.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 GkeHub
      module V1
        Feature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.Feature").msgclass
        FeatureResourceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.FeatureResourceState").msgclass
        FeatureResourceState::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.FeatureResourceState.State").enummodule
        FeatureState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.FeatureState").msgclass
        FeatureState::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.FeatureState.Code").enummodule
        CommonFeatureSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.CommonFeatureSpec").msgclass
        CommonFeatureState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.CommonFeatureState").msgclass
        MembershipFeatureSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.MembershipFeatureSpec").msgclass
        MembershipFeatureState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.MembershipFeatureState").msgclass
      end
    end
  end
end
