# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/protobuf/empty_pb'
require 'google/api/client_pb'
require 'google/cloud/recommendationengine/v1beta1/recommendationengine_resources_pb'


descriptor_data = "\nRgoogle/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/api/client.proto\x1aNgoogle/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto\"/\n\x1cPredictionApiKeyRegistration\x12\x0f\n\x07\x61pi_key\x18\x01 \x01(\t\"\xea\x01\n)CreatePredictionApiKeyRegistrationRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12u\n\x1fprediction_api_key_registration\x18\x02 \x01(\x0b\x32G.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistrationB\x03\xe0\x41\x02\"\xa3\x01\n(ListPredictionApiKeyRegistrationsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xb7\x01\n)ListPredictionApiKeyRegistrationsResponse\x12q\n prediction_api_key_registrations\x18\x01 \x03(\x0b\x32G.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x83\x01\n)DeletePredictionApiKeyRegistrationRequest\x12V\n\x04name\x18\x01 \x01(\tBH\xe0\x41\x02\xfa\x41\x42\n@recommendationengine.googleapis.com/PredictionApiKeyRegistration2\x97\x08\n\x18PredictionApiKeyRegistry\x12\xd9\x02\n\"CreatePredictionApiKeyRegistration\x12T.google.cloud.recommendationengine.v1beta1.CreatePredictionApiKeyRegistrationRequest\x1aG.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration\"\x93\x01\xda\x41&parent,prediction_api_key_registration\x82\xd3\xe4\x93\x02\x64\"_/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/predictionApiKeyRegistrations:\x01*\x12\xc0\x02\n!ListPredictionApiKeyRegistrations\x12S.google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsRequest\x1aT.google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsResponse\"p\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x61\x12_/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/predictionApiKeyRegistrations\x12\x82\x02\n\"DeletePredictionApiKeyRegistration\x12T.google.cloud.recommendationengine.v1beta1.DeletePredictionApiKeyRegistrationRequest\x1a\x16.google.protobuf.Empty\"n\xda\x41\x04name\x82\xd3\xe4\x93\x02\x61*_/v1beta1/{name=projects/*/locations/*/catalogs/*/eventStores/*/predictionApiKeyRegistrations/*}\x1aW\xca\x41#recommendationengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\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 = [
  ]
  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 RecommendationEngine
      module V1beta1
        PredictionApiKeyRegistration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration").msgclass
        CreatePredictionApiKeyRegistrationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.CreatePredictionApiKeyRegistrationRequest").msgclass
        ListPredictionApiKeyRegistrationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsRequest").msgclass
        ListPredictionApiKeyRegistrationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsResponse").msgclass
        DeletePredictionApiKeyRegistrationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.DeletePredictionApiKeyRegistrationRequest").msgclass
      end
    end
  end
end
