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

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/cloud/connectors/v1/authconfig_pb'
require 'google/cloud/connectors/v1/common_pb'
require 'google/cloud/connectors/v1/destination_config_pb'
require 'google/cloud/connectors/v1/ssl_config_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf/struct_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n+google/cloud/connectors/v1/connection.proto\x12\x1agoogle.cloud.connectors.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/connectors/v1/authconfig.proto\x1a\'google/cloud/connectors/v1/common.proto\x1a\x33google/cloud/connectors/v1/destination_config.proto\x1a+google/cloud/connectors/v1/ssl_config.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd4\x08\n\nConnection\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x06labels\x18\x04 \x03(\x0b\x32\x32.google.cloud.connectors.v1.Connection.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12M\n\x11\x63onnector_version\x18\x06 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*connectors.googleapis.com/ConnectorVersion\x12\x41\n\x06status\x18\x07 \x01(\x0b\x32,.google.cloud.connectors.v1.ConnectionStatusB\x03\xe0\x41\x03\x12I\n\x10\x63onfig_variables\x18\x08 \x03(\x0b\x32*.google.cloud.connectors.v1.ConfigVariableB\x03\xe0\x41\x01\x12@\n\x0b\x61uth_config\x18\t \x01(\x0b\x32&.google.cloud.connectors.v1.AuthConfigB\x03\xe0\x41\x01\x12@\n\x0block_config\x18\n \x01(\x0b\x32&.google.cloud.connectors.v1.LockConfigB\x03\xe0\x41\x01\x12O\n\x13\x64\x65stination_configs\x18\x12 \x03(\x0b\x32-.google.cloud.connectors.v1.DestinationConfigB\x03\xe0\x41\x01\x12\x1b\n\x0eimage_location\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fservice_account\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11service_directory\x18\r \x01(\tB\x03\xe0\x41\x03\x12!\n\x14\x65nvoy_image_location\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tsuspended\x18\x11 \x01(\x08\x42\x03\xe0\x41\x01\x12@\n\x0bnode_config\x18\x13 \x01(\x0b\x32&.google.cloud.connectors.v1.NodeConfigB\x03\xe0\x41\x01\x12>\n\nssl_config\x18\x15 \x01(\x0b\x32%.google.cloud.connectors.v1.SslConfigB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:k\xea\x41h\n$connectors.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}\"<\n\nNodeConfig\x12\x16\n\x0emin_node_count\x18\x01 \x01(\x05\x12\x16\n\x0emax_node_count\x18\x02 \x01(\x05\"\xea\x03\n\x18\x43onnectionSchemaMetadata\x12\x15\n\x08\x65ntities\x18\x01 \x03(\tB\x03\xe0\x41\x03\x12\x14\n\x07\x61\x63tions\x18\x02 \x03(\tB\x03\xe0\x41\x03\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0crefresh_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12N\n\x05state\x18\x06 \x01(\x0e\x32:.google.cloud.connectors.v1.ConnectionSchemaMetadata.StateB\x03\xe0\x41\x03\";\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nREFRESHING\x10\x01\x12\x0b\n\x07UPDATED\x10\x02:\x93\x01\xea\x41\x8f\x01\n2connectors.googleapis.com/ConnectionSchemaMetadata\x12Yprojects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata\"\xf2\x02\n\x13RuntimeEntitySchema\x12\x13\n\x06\x65ntity\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12J\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x35.google.cloud.connectors.v1.RuntimeEntitySchema.FieldB\x03\xe0\x41\x03\x1a\xf9\x01\n\x05\x46ield\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x37\n\tdata_type\x18\x03 \x01(\x0e\x32$.google.cloud.connectors.v1.DataType\x12\x0b\n\x03key\x18\x04 \x01(\x08\x12\x10\n\x08readonly\x18\x05 \x01(\x08\x12\x10\n\x08nullable\x18\x06 \x01(\x08\x12-\n\rdefault_value\x18\x07 \x01(\x0b\x32\x16.google.protobuf.Value\x12\x33\n\x12\x61\x64\x64itional_details\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x8b\x04\n\x13RuntimeActionSchema\x12\x13\n\x06\x61\x63tion\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12]\n\x10input_parameters\x18\x02 \x03(\x0b\x32>.google.cloud.connectors.v1.RuntimeActionSchema.InputParameterB\x03\xe0\x41\x03\x12\\\n\x0fresult_metadata\x18\x03 \x03(\x0b\x32>.google.cloud.connectors.v1.RuntimeActionSchema.ResultMetadataB\x03\xe0\x41\x03\x1a\xb2\x01\n\x0eInputParameter\x12\x11\n\tparameter\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x37\n\tdata_type\x18\x03 \x01(\x0e\x32$.google.cloud.connectors.v1.DataType\x12\x10\n\x08nullable\x18\x04 \x01(\x08\x12-\n\rdefault_value\x18\x05 \x01(\x0b\x32\x16.google.protobuf.Value\x1am\n\x0eResultMetadata\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x37\n\tdata_type\x18\x03 \x01(\x0e\x32$.google.cloud.connectors.v1.DataType\",\n\nLockConfig\x12\x0e\n\x06locked\x18\x01 \x01(\x08\x12\x0e\n\x06reason\x18\x02 \x01(\t\"\xd9\x01\n\x16ListConnectionsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$connectors.googleapis.com/Connection\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\x12\x38\n\x04view\x18\x06 \x01(\x0e\x32*.google.cloud.connectors.v1.ConnectionView\"\x84\x01\n\x17ListConnectionsResponse\x12;\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32&.google.cloud.connectors.v1.Connection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x8c\x01\n\x14GetConnectionRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$connectors.googleapis.com/Connection\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32*.google.cloud.connectors.v1.ConnectionView\"\xb4\x01\n\x17\x43reateConnectionRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$connectors.googleapis.com/Connection\x12\x1a\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\nconnection\x18\x03 \x01(\x0b\x32&.google.cloud.connectors.v1.ConnectionB\x03\xe0\x41\x02\"\x90\x01\n\x17UpdateConnectionRequest\x12?\n\nconnection\x18\x01 \x01(\x0b\x32&.google.cloud.connectors.v1.ConnectionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"U\n\x17\x44\x65leteConnectionRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$connectors.googleapis.com/Connection\"n\n\"GetConnectionSchemaMetadataRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2connectors.googleapis.com/ConnectionSchemaMetadata\"r\n&RefreshConnectionSchemaMetadataRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2connectors.googleapis.com/ConnectionSchemaMetadata\"\x9b\x01\n\x1fListRuntimeEntitySchemasRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$connectors.googleapis.com/Connection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x02\"\x8c\x01\n ListRuntimeEntitySchemasResponse\x12O\n\x16runtime_entity_schemas\x18\x01 \x03(\x0b\x32/.google.cloud.connectors.v1.RuntimeEntitySchema\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9b\x01\n\x1fListRuntimeActionSchemasRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$connectors.googleapis.com/Connection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x02\"\x8c\x01\n ListRuntimeActionSchemasResponse\x12O\n\x16runtime_action_schemas\x18\x01 \x03(\x0b\x32/.google.cloud.connectors.v1.RuntimeActionSchema\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x86\x02\n\x10\x43onnectionStatus\x12\x41\n\x05state\x18\x01 \x01(\x0e\x32\x32.google.cloud.connectors.v1.ConnectionStatus.State\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\"\x89\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\x0c\n\x08INACTIVE\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\x1a\n\x16\x41UTHORIZATION_REQUIRED\x10\x07*\xae\x08\n\x08\x44\x61taType\x12\x19\n\x15\x44\x41TA_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\rDATA_TYPE_INT\x10\x01\x1a\x02\x08\x01\x12\x16\n\x12\x44\x41TA_TYPE_SMALLINT\x10\x02\x12\x14\n\x10\x44\x41TA_TYPE_DOUBLE\x10\x03\x12\x12\n\x0e\x44\x41TA_TYPE_DATE\x10\x04\x12\x1a\n\x12\x44\x41TA_TYPE_DATETIME\x10\x05\x1a\x02\x08\x01\x12\x12\n\x0e\x44\x41TA_TYPE_TIME\x10\x06\x12\x18\n\x10\x44\x41TA_TYPE_STRING\x10\x07\x1a\x02\x08\x01\x12\x16\n\x0e\x44\x41TA_TYPE_LONG\x10\x08\x1a\x02\x08\x01\x12\x15\n\x11\x44\x41TA_TYPE_BOOLEAN\x10\t\x12\x15\n\x11\x44\x41TA_TYPE_DECIMAL\x10\n\x12\x16\n\x0e\x44\x41TA_TYPE_UUID\x10\x0b\x1a\x02\x08\x01\x12\x12\n\x0e\x44\x41TA_TYPE_BLOB\x10\x0c\x12\x11\n\rDATA_TYPE_BIT\x10\r\x12\x15\n\x11\x44\x41TA_TYPE_TINYINT\x10\x0e\x12\x15\n\x11\x44\x41TA_TYPE_INTEGER\x10\x0f\x12\x14\n\x10\x44\x41TA_TYPE_BIGINT\x10\x10\x12\x13\n\x0f\x44\x41TA_TYPE_FLOAT\x10\x11\x12\x12\n\x0e\x44\x41TA_TYPE_REAL\x10\x12\x12\x15\n\x11\x44\x41TA_TYPE_NUMERIC\x10\x13\x12\x12\n\x0e\x44\x41TA_TYPE_CHAR\x10\x14\x12\x15\n\x11\x44\x41TA_TYPE_VARCHAR\x10\x15\x12\x19\n\x15\x44\x41TA_TYPE_LONGVARCHAR\x10\x16\x12\x17\n\x13\x44\x41TA_TYPE_TIMESTAMP\x10\x17\x12\x13\n\x0f\x44\x41TA_TYPE_NCHAR\x10\x18\x12\x16\n\x12\x44\x41TA_TYPE_NVARCHAR\x10\x19\x12\x1a\n\x16\x44\x41TA_TYPE_LONGNVARCHAR\x10\x1a\x12\x12\n\x0e\x44\x41TA_TYPE_NULL\x10\x1b\x12\x13\n\x0f\x44\x41TA_TYPE_OTHER\x10\x1c\x12\x19\n\x15\x44\x41TA_TYPE_JAVA_OBJECT\x10\x1d\x12\x16\n\x12\x44\x41TA_TYPE_DISTINCT\x10\x1e\x12\x14\n\x10\x44\x41TA_TYPE_STRUCT\x10\x1f\x12\x13\n\x0f\x44\x41TA_TYPE_ARRAY\x10 \x12\x12\n\x0e\x44\x41TA_TYPE_CLOB\x10!\x12\x11\n\rDATA_TYPE_REF\x10\"\x12\x16\n\x12\x44\x41TA_TYPE_DATALINK\x10#\x12\x13\n\x0f\x44\x41TA_TYPE_ROWID\x10$\x12\x14\n\x10\x44\x41TA_TYPE_BINARY\x10%\x12\x17\n\x13\x44\x41TA_TYPE_VARBINARY\x10&\x12\x1b\n\x17\x44\x41TA_TYPE_LONGVARBINARY\x10\'\x12\x13\n\x0f\x44\x41TA_TYPE_NCLOB\x10(\x12\x14\n\x10\x44\x41TA_TYPE_SQLXML\x10)\x12\x18\n\x14\x44\x41TA_TYPE_REF_CURSOR\x10*\x12 \n\x1c\x44\x41TA_TYPE_TIME_WITH_TIMEZONE\x10+\x12%\n!DATA_TYPE_TIMESTAMP_WITH_TIMEZONE\x10,*F\n\x0e\x43onnectionView\x12\x1f\n\x1b\x43ONNECTION_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x42s\n\x1e\x63om.google.cloud.connectors.v1B\x0f\x43onnectionProtoP\x01Z>cloud.google.com/go/connectors/apiv1/connectorspb;connectorspbb\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.connectors.v1.ConfigVariable", "google/cloud/connectors/v1/common.proto"],
    ["google.cloud.connectors.v1.AuthConfig", "google/cloud/connectors/v1/authconfig.proto"],
    ["google.cloud.connectors.v1.DestinationConfig", "google/cloud/connectors/v1/destination_config.proto"],
    ["google.cloud.connectors.v1.SslConfig", "google/cloud/connectors/v1/ssl_config.proto"],
    ["google.protobuf.Value", "google/protobuf/struct.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 Connectors
      module V1
        Connection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.Connection").msgclass
        NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.NodeConfig").msgclass
        ConnectionSchemaMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectionSchemaMetadata").msgclass
        ConnectionSchemaMetadata::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectionSchemaMetadata.State").enummodule
        RuntimeEntitySchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.RuntimeEntitySchema").msgclass
        RuntimeEntitySchema::Field = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.RuntimeEntitySchema.Field").msgclass
        RuntimeActionSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.RuntimeActionSchema").msgclass
        RuntimeActionSchema::InputParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.RuntimeActionSchema.InputParameter").msgclass
        RuntimeActionSchema::ResultMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.RuntimeActionSchema.ResultMetadata").msgclass
        LockConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.LockConfig").msgclass
        ListConnectionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListConnectionsRequest").msgclass
        ListConnectionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListConnectionsResponse").msgclass
        GetConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.GetConnectionRequest").msgclass
        CreateConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.CreateConnectionRequest").msgclass
        UpdateConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.UpdateConnectionRequest").msgclass
        DeleteConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.DeleteConnectionRequest").msgclass
        GetConnectionSchemaMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.GetConnectionSchemaMetadataRequest").msgclass
        RefreshConnectionSchemaMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.RefreshConnectionSchemaMetadataRequest").msgclass
        ListRuntimeEntitySchemasRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListRuntimeEntitySchemasRequest").msgclass
        ListRuntimeEntitySchemasResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListRuntimeEntitySchemasResponse").msgclass
        ListRuntimeActionSchemasRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListRuntimeActionSchemasRequest").msgclass
        ListRuntimeActionSchemasResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListRuntimeActionSchemasResponse").msgclass
        ConnectionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectionStatus").msgclass
        ConnectionStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectionStatus.State").enummodule
        DataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.DataType").enummodule
        ConnectionView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectionView").enummodule
      end
    end
  end
end
