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

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n9google/cloud/discoveryengine/v1/cmek_config_service.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"p\n\x17UpdateCmekConfigRequest\x12@\n\x06\x63onfig\x18\x01 \x01(\x0b\x32+.google.cloud.discoveryengine.v1.CmekConfigB\x03\xe0\x41\x02\x12\x13\n\x0bset_default\x18\x02 \x01(\x08\"W\n\x14GetCmekConfigRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/CmekConfig\"N\n\x0fSingleRegionKey\x12;\n\x07kms_key\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"cloudkms.googleapis.com/CryptoKeys\"\xc1\x07\n\nCmekConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x07kms_key\x18\x02 \x01(\tB\'\xfa\x41$\n\"cloudkms.googleapis.com/CryptoKeys\x12G\n\x0fkms_key_version\x18\x06 \x01(\tB.\xfa\x41+\n)cloudkms.googleapis.com/CryptoKeyVersions\x12\x45\n\x05state\x18\x03 \x01(\x0e\x32\x31.google.cloud.discoveryengine.v1.CmekConfig.StateB\x03\xe0\x41\x03\x12\x17\n\nis_default\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12+\n\x1elast_rotation_timestamp_micros\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x12Q\n\x12single_region_keys\x18\x07 \x03(\x0b\x32\x30.google.cloud.discoveryengine.v1.SingleRegionKeyB\x03\xe0\x41\x01\x12Z\n\x10notebooklm_state\x18\x08 \x01(\x0e\x32;.google.cloud.discoveryengine.v1.CmekConfig.NotebookLMStateB\x03\xe0\x41\x03\"\x98\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\r\n\tKEY_ISSUE\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x11\n\rDELETE_FAILED\x10\x07\x12\x0c\n\x08UNUSABLE\x10\x05\x12\x13\n\x0f\x41\x43TIVE_ROTATING\x10\x06\x12\x0b\n\x07\x44\x45LETED\x10\x08\"\x83\x01\n\x0fNotebookLMState\x12!\n\x1dNOTEBOOK_LM_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15NOTEBOOK_LM_NOT_READY\x10\x01\x12\x15\n\x11NOTEBOOK_LM_READY\x10\x02\x12\x1b\n\x17NOTEBOOK_LM_NOT_ENABLED\x10\x03:\xbf\x01\xea\x41\xbb\x01\n)discoveryengine.googleapis.com/CmekConfig\x12\x32projects/{project}/locations/{location}/cmekConfig\x12\x41projects/{project}/locations/{location}/cmekConfigs/{cmek_config}*\x0b\x63mekConfigs2\ncmekConfig\"|\n\x18UpdateCmekConfigMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"Y\n\x16ListCmekConfigsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Location\"\\\n\x17ListCmekConfigsResponse\x12\x41\n\x0c\x63mek_configs\x18\x01 \x03(\x0b\x32+.google.cloud.discoveryengine.v1.CmekConfig\"Z\n\x17\x44\x65leteCmekConfigRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/CmekConfig\"|\n\x18\x44\x65leteCmekConfigMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\x81\t\n\x11\x43mekConfigService\x12\xe5\x02\n\x10UpdateCmekConfig\x12\x38.google.cloud.discoveryengine.v1.UpdateCmekConfigRequest\x1a\x1d.google.longrunning.Operation\"\xf7\x01\xca\x41\x66\n*google.cloud.discoveryengine.v1.CmekConfig\x12\x38google.cloud.discoveryengine.v1.UpdateCmekConfigMetadata\xda\x41\x06\x63onfig\x82\xd3\xe4\x93\x02\x7f\x32\x33/v1/{config.name=projects/*/locations/*/cmekConfig}:\x06\x63onfigZ@26/v1/{config.name=projects/*/locations/*/cmekConfigs/*}:\x06\x63onfig\x12\xe3\x01\n\rGetCmekConfig\x12\x35.google.cloud.discoveryengine.v1.GetCmekConfigRequest\x1a+.google.cloud.discoveryengine.v1.CmekConfig\"n\xda\x41\x04name\x82\xd3\xe4\x93\x02\x61\x12,/v1/{name=projects/*/locations/*/cmekConfig}Z1\x12//v1/{name=projects/*/locations/*/cmekConfigs/*}\x12\xc6\x01\n\x0fListCmekConfigs\x12\x37.google.cloud.discoveryengine.v1.ListCmekConfigsRequest\x1a\x38.google.cloud.discoveryengine.v1.ListCmekConfigsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/cmekConfigs\x12\x80\x02\n\x10\x44\x65leteCmekConfig\x12\x38.google.cloud.discoveryengine.v1.DeleteCmekConfigRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\xca\x41Q\n\x15google.protobuf.Empty\x12\x38google.cloud.discoveryengine.v1.DeleteCmekConfigMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/cmekConfigs/*}\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x89\x02\n#com.google.cloud.discoveryengine.v1B\x16\x43mekConfigServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::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"],
  ]
  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 DiscoveryEngine
      module V1
        UpdateCmekConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.UpdateCmekConfigRequest").msgclass
        GetCmekConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GetCmekConfigRequest").msgclass
        SingleRegionKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SingleRegionKey").msgclass
        CmekConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.CmekConfig").msgclass
        CmekConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.CmekConfig.State").enummodule
        CmekConfig::NotebookLMState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.CmekConfig.NotebookLMState").enummodule
        UpdateCmekConfigMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.UpdateCmekConfigMetadata").msgclass
        ListCmekConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.ListCmekConfigsRequest").msgclass
        ListCmekConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.ListCmekConfigsResponse").msgclass
        DeleteCmekConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DeleteCmekConfigRequest").msgclass
        DeleteCmekConfigMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DeleteCmekConfigMetadata").msgclass
      end
    end
  end
end
