# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/datafusion/v1/datafusion.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/field_mask_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n+google/cloud/datafusion/v1/datafusion.proto\x12\x1agoogle.cloud.datafusion.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 google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\rNetworkConfig\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x15\n\rip_allocation\x18\x02 \x01(\t\"\xdd\x01\n\x07Version\x12\x16\n\x0eversion_number\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_version\x18\x02 \x01(\x08\x12\x1a\n\x12\x61vailable_features\x18\x03 \x03(\t\x12\x36\n\x04type\x18\x04 \x01(\x0e\x32(.google.cloud.datafusion.v1.Version.Type\"M\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cTYPE_PREVIEW\x10\x01\x12\x1d\n\x19TYPE_GENERAL_AVAILABILITY\x10\x02\"\xc7\x02\n\x0b\x41\x63\x63\x65lerator\x12Q\n\x10\x61\x63\x63\x65lerator_type\x18\x01 \x01(\x0e\x32\x37.google.cloud.datafusion.v1.Accelerator.AcceleratorType\x12<\n\x05state\x18\x02 \x01(\x0e\x32-.google.cloud.datafusion.v1.Accelerator.State\"_\n\x0f\x41\x63\x63\x65leratorType\x12 \n\x1c\x41\x43\x43\x45LERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x43\x44\x43\x10\x01\x12\x0e\n\nHEALTHCARE\x10\x02\x12\x11\n\rCCAI_INSIGHTS\x10\x03\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x0b\n\x07UNKNOWN\x10\x03\"P\n\x0f\x43ryptoKeyConfig\x12=\n\rkey_reference\x18\x01 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"\xd2\r\n\x08Instance\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x03\xfa\x41$\n\"datafusion.googleapis.com/Instance\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12<\n\x04type\x18\x03 \x01(\x0e\x32).google.cloud.datafusion.v1.Instance.TypeB\x03\xe0\x41\x02\x12\"\n\x1a\x65nable_stackdriver_logging\x18\x04 \x01(\x08\x12%\n\x1d\x65nable_stackdriver_monitoring\x18\x05 \x01(\x08\x12\x18\n\x10private_instance\x18\x06 \x01(\x08\x12\x41\n\x0enetwork_config\x18\x07 \x01(\x0b\x32).google.cloud.datafusion.v1.NetworkConfig\x12@\n\x06labels\x18\x08 \x03(\x0b\x32\x30.google.cloud.datafusion.v1.Instance.LabelsEntry\x12\x42\n\x07options\x18\t \x03(\x0b\x32\x31.google.cloud.datafusion.v1.Instance.OptionsEntry\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x05state\x18\x0c \x01(\x0e\x32*.google.cloud.datafusion.v1.Instance.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10service_endpoint\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12\x0c\n\x04zone\x18\x0f \x01(\t\x12\x0f\n\x07version\x18\x10 \x01(\t\x12\x1e\n\x0fservice_account\x18\x11 \x01(\tB\x05\x18\x01\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x12 \x01(\t\x12>\n\x11\x61vailable_version\x18\x13 \x03(\x0b\x32#.google.cloud.datafusion.v1.Version\x12\x19\n\x0c\x61pi_endpoint\x18\x14 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\ngcs_bucket\x18\x15 \x01(\tB\x03\xe0\x41\x03\x12=\n\x0c\x61\x63\x63\x65lerators\x18\x16 \x03(\x0b\x32\'.google.cloud.datafusion.v1.Accelerator\x12\x1f\n\x12p4_service_account\x18\x17 \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x11tenant_project_id\x18\x18 \x01(\tB\x03\xe0\x41\x03\x12 \n\x18\x64\x61taproc_service_account\x18\x19 \x01(\t\x12\x13\n\x0b\x65nable_rbac\x18\x1b \x01(\x08\x12\x46\n\x11\x63rypto_key_config\x18\x1c \x01(\x0b\x32+.google.cloud.datafusion.v1.CryptoKeyConfig\x12Q\n\x0f\x64isabled_reason\x18\x1d \x03(\x0e\x32\x33.google.cloud.datafusion.v1.Instance.DisabledReasonB\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.\n\x0cOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"F\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0e\n\nENTERPRISE\x10\x02\x12\r\n\tDEVELOPER\x10\x03\"\xb4\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\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\r\n\tUPGRADING\x10\x05\x12\x0e\n\nRESTARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\x12\x11\n\rAUTO_UPDATING\x10\x08\x12\x12\n\x0e\x41UTO_UPGRADING\x10\t\x12\x0c\n\x08\x44ISABLED\x10\n\"D\n\x0e\x44isabledReason\x12\x1f\n\x1b\x44ISABLED_REASON_UNSPECIFIED\x10\x00\x12\x11\n\rKMS_KEY_ISSUE\x10\x01:e\xea\x41\x62\n\"datafusion.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}\"\x9a\x01\n\x14ListInstancesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"~\n\x15ListInstancesResponse\x12\x37\n\tinstances\x18\x01 \x03(\x0b\x32$.google.cloud.datafusion.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x9b\x01\n\x1cListAvailableVersionsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x19\n\x11latest_patch_only\x18\x04 \x01(\x08\"y\n\x1dListAvailableVersionsResponse\x12?\n\x12\x61vailable_versions\x18\x01 \x03(\x0b\x32#.google.cloud.datafusion.v1.Version\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"N\n\x12GetInstanceRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"datafusion.googleapis.com/Instance\"\xa4\x01\n\x15\x43reateInstanceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x08instance\x18\x03 \x01(\x0b\x32$.google.cloud.datafusion.v1.Instance\"Q\n\x15\x44\x65leteInstanceRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"datafusion.googleapis.com/Instance\"\x85\x01\n\x15UpdateInstanceRequest\x12;\n\x08instance\x18\x01 \x01(\x0b\x32$.google.cloud.datafusion.v1.InstanceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"R\n\x16RestartInstanceRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"datafusion.googleapis.com/Instance\"\xf5\x02\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x15\n\rstatus_detail\x18\x05 \x01(\t\x12\x1e\n\x16requested_cancellation\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t\x12^\n\x11\x61\x64\x64itional_status\x18\x08 \x03(\x0b\x32\x43.google.cloud.datafusion.v1.OperationMetadata.AdditionalStatusEntry\x1a\x37\n\x15\x41\x64\x64itionalStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x32\xd7\x0b\n\nDataFusion\x12\xcb\x01\n\x15ListAvailableVersions\x12\x38.google.cloud.datafusion.v1.ListAvailableVersionsRequest\x1a\x39.google.cloud.datafusion.v1.ListAvailableVersionsResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/versions\x12\xab\x01\n\rListInstances\x12\x30.google.cloud.datafusion.v1.ListInstancesRequest\x1a\x31.google.cloud.datafusion.v1.ListInstancesResponse\"5\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\x12\x9a\x01\n\x0bGetInstance\x12..google.cloud.datafusion.v1.GetInstanceRequest\x1a$.google.cloud.datafusion.v1.Instance\"5\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x12\xe1\x01\n\x0e\x43reateInstance\x12\x31.google.cloud.datafusion.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xcd\x01\n\x0e\x44\x65leteInstance\x12\x31.google.cloud.datafusion.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\xe3\x01\n\x0eUpdateInstance\x12\x31.google.cloud.datafusion.v1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xc6\x01\n\x0fRestartInstance\x12\x32.google.cloud.datafusion.v1.RestartInstanceRequest\x1a\x1d.google.longrunning.Operation\"`\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/instances/*}:restart:\x01*\x1aM\xca\x41\x19\x64\x61tafusion.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb7\x02\n\x1e\x63om.google.cloud.datafusion.v1P\x01Z>cloud.google.com/go/datafusion/apiv1/datafusionpb;datafusionpb\xaa\x02\x1aGoogle.Cloud.DataFusion.V1\xca\x02\x1aGoogle\\Cloud\\DataFusion\\V1\xea\x02\x1dGoogle::Cloud::DataFusion::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\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.protobuf.FieldMask", "google/protobuf/field_mask.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 DataFusion
      module V1
        NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.NetworkConfig").msgclass
        Version = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.Version").msgclass
        Version::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.Version.Type").enummodule
        Accelerator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.Accelerator").msgclass
        Accelerator::AcceleratorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.Accelerator.AcceleratorType").enummodule
        Accelerator::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.Accelerator.State").enummodule
        CryptoKeyConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.CryptoKeyConfig").msgclass
        Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.Instance").msgclass
        Instance::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.Instance.Type").enummodule
        Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.Instance.State").enummodule
        Instance::DisabledReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.Instance.DisabledReason").enummodule
        ListInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.ListInstancesRequest").msgclass
        ListInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.ListInstancesResponse").msgclass
        ListAvailableVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.ListAvailableVersionsRequest").msgclass
        ListAvailableVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.ListAvailableVersionsResponse").msgclass
        GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.GetInstanceRequest").msgclass
        CreateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.CreateInstanceRequest").msgclass
        DeleteInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.DeleteInstanceRequest").msgclass
        UpdateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.UpdateInstanceRequest").msgclass
        RestartInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.RestartInstanceRequest").msgclass
        OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datafusion.v1.OperationMetadata").msgclass
      end
    end
  end
end
