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


descriptor_data = "\n2google/cloud/connectors/v1/connector_version.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+google/cloud/connectors/v1/ssl_config.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdd\x08\n\x10\x43onnectorVersion\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\x12M\n\x06labels\x18\x04 \x03(\x0b\x32\x38.google.cloud.connectors.v1.ConnectorVersion.LabelsEntryB\x03\xe0\x41\x03\x12\x42\n\x0claunch_stage\x18\x06 \x01(\x0e\x32\'.google.cloud.connectors.v1.LaunchStageB\x03\xe0\x41\x03\x12\x1c\n\x0frelease_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12R\n\x15\x61uth_config_templates\x18\x08 \x03(\x0b\x32..google.cloud.connectors.v1.AuthConfigTemplateB\x03\xe0\x41\x03\x12Z\n\x19\x63onfig_variable_templates\x18\t \x03(\x0b\x32\x32.google.cloud.connectors.v1.ConfigVariableTemplateB\x03\xe0\x41\x03\x12]\n\x1asupported_runtime_features\x18\n \x01(\x0b\x32\x34.google.cloud.connectors.v1.SupportedRuntimeFeaturesB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12S\n\x15\x65gress_control_config\x18\x0c \x01(\x0b\x32/.google.cloud.connectors.v1.EgressControlConfigB\x03\xe0\x41\x03\x12?\n\x0brole_grants\x18\x0e \x03(\x0b\x32%.google.cloud.connectors.v1.RoleGrantB\x03\xe0\x41\x03\x12>\n\nrole_grant\x18\x0f \x01(\x0b\x32%.google.cloud.connectors.v1.RoleGrantB\x03\xe0\x41\x03\x12O\n\x13ssl_config_template\x18\x11 \x01(\x0b\x32-.google.cloud.connectors.v1.SslConfigTemplateB\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:\x98\x01\xea\x41\x94\x01\n*connectors.googleapis.com/ConnectorVersion\x12\x66projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}\"\x9e\x01\n\x1aGetConnectorVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*connectors.googleapis.com/ConnectorVersion\x12>\n\x04view\x18\x02 \x01(\x0e\x32\x30.google.cloud.connectors.v1.ConnectorVersionView\"\xc2\x01\n\x1cListConnectorVersionsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#connectors.googleapis.com/Connector\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12>\n\x04view\x18\x04 \x01(\x0e\x32\x30.google.cloud.connectors.v1.ConnectorVersionView\"\x97\x01\n\x1dListConnectorVersionsResponse\x12H\n\x12\x63onnector_versions\x18\x01 \x03(\x0b\x32,.google.cloud.connectors.v1.ConnectorVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"W\n\x18SupportedRuntimeFeatures\x12\x13\n\x0b\x65ntity_apis\x18\x01 \x01(\x08\x12\x13\n\x0b\x61\x63tion_apis\x18\x02 \x01(\x08\x12\x11\n\tsql_query\x18\x03 \x01(\x08\"\x84\x01\n\x13\x45gressControlConfig\x12\x12\n\x08\x62\x61\x63kends\x18\x01 \x01(\tH\x00\x12G\n\x10\x65xtraction_rules\x18\x02 \x01(\x0b\x32+.google.cloud.connectors.v1.ExtractionRulesH\x00\x42\x10\n\x0eoneof_backends\"V\n\x0f\x45xtractionRules\x12\x43\n\x0f\x65xtraction_rule\x18\x01 \x03(\x0b\x32*.google.cloud.connectors.v1.ExtractionRule\"\x95\x02\n\x0e\x45xtractionRule\x12\x41\n\x06source\x18\x01 \x01(\x0b\x32\x31.google.cloud.connectors.v1.ExtractionRule.Source\x12\x18\n\x10\x65xtraction_regex\x18\x02 \x01(\t\x1a\x66\n\x06Source\x12J\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x35.google.cloud.connectors.v1.ExtractionRule.SourceType\x12\x10\n\x08\x66ield_id\x18\x02 \x01(\t\">\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43ONFIG_VARIABLE\x10\x01*\x81\x01\n\x14\x43onnectorVersionView\x12&\n\"CONNECTOR_VERSION_VIEW_UNSPECIFIED\x10\x00\x12 \n\x1c\x43ONNECTOR_VERSION_VIEW_BASIC\x10\x01\x12\x1f\n\x1b\x43ONNECTOR_VERSION_VIEW_FULL\x10\x02\x42y\n\x1e\x63om.google.cloud.connectors.v1B\x15\x43onnectorVersionProtoP\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.AuthConfigTemplate", "google/cloud/connectors/v1/authconfig.proto"],
    ["google.cloud.connectors.v1.ConfigVariableTemplate", "google/cloud/connectors/v1/common.proto"],
    ["google.cloud.connectors.v1.SslConfigTemplate", "google/cloud/connectors/v1/ssl_config.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
        ConnectorVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectorVersion").msgclass
        GetConnectorVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.GetConnectorVersionRequest").msgclass
        ListConnectorVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListConnectorVersionsRequest").msgclass
        ListConnectorVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListConnectorVersionsResponse").msgclass
        SupportedRuntimeFeatures = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.SupportedRuntimeFeatures").msgclass
        EgressControlConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.EgressControlConfig").msgclass
        ExtractionRules = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ExtractionRules").msgclass
        ExtractionRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ExtractionRule").msgclass
        ExtractionRule::Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ExtractionRule.Source").msgclass
        ExtractionRule::SourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ExtractionRule.SourceType").enummodule
        ConnectorVersionView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectorVersionView").enummodule
      end
    end
  end
end
