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

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'


descriptor_data = "\n0google/cloud/oracledatabase/v1/entitlement.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x86\x04\n\x0b\x45ntitlement\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12R\n\x15\x63loud_account_details\x18\x02 \x01(\x0b\x32\x33.google.cloud.oracledatabase.v1.CloudAccountDetails\x12\x1b\n\x0e\x65ntitlement_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x05state\x18\x04 \x01(\x0e\x32\x31.google.cloud.oracledatabase.v1.Entitlement.StateB\x03\xe0\x41\x03\"\x9a\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x41\x43\x43OUNT_NOT_LINKED\x10\x01\x12\x16\n\x12\x41\x43\x43OUNT_NOT_ACTIVE\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x15\n\x11\x41\x43\x43OUNT_SUSPENDED\x10\x04\x12\'\n#NOT_APPROVED_IN_PRIVATE_MARKETPLACE\x10\x05:\x8e\x01\xea\x41\x8a\x01\n)oracledatabase.googleapis.com/Entitlement\x12\x42projects/{project}/locations/{location}/entitlements/{entitlement}*\x0c\x65ntitlements2\x0b\x65ntitlement\"\xe5\x01\n\x13\x43loudAccountDetails\x12\x1a\n\rcloud_account\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12&\n\x19\x63loud_account_home_region\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12+\n\x19link_existing_account_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12&\n\x14\x61\x63\x63ount_creation_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03H\x01\x88\x01\x01\x42\x1c\n\x1a_link_existing_account_uriB\x17\n\x15_account_creation_uriB\xea\x01\n\"com.google.cloud.oracledatabase.v1B\x10\x45ntitlementProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::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 = [
  ]
  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 OracleDatabase
      module V1
        Entitlement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.Entitlement").msgclass
        Entitlement::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.Entitlement.State").enummodule
        CloudAccountDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.CloudAccountDetails").msgclass
      end
    end
  end
end
