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

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/field_info_pb'
require 'google/api/resource_pb'
require 'google/cloud/managedkafka/v1/resources_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/field_mask_pb'


descriptor_data = "\n8google/cloud/managedkafka/v1/managed_kafka_connect.proto\x12\x1cgoogle.cloud.managedkafka.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/managedkafka/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\\\n\x18GetConnectClusterRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*managedkafka.googleapis.com/ConnectCluster\"\xef\x01\n\x1b\x43reateConnectClusterRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*managedkafka.googleapis.com/ConnectCluster\x12\x1f\n\x12\x63onnect_cluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12J\n\x0f\x63onnect_cluster\x18\x03 \x01(\x0b\x32,.google.cloud.managedkafka.v1.ConnectClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xc0\x01\n\x1bUpdateConnectClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12J\n\x0f\x63onnect_cluster\x18\x02 \x01(\x0b\x32,.google.cloud.managedkafka.v1.ConnectClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x80\x01\n\x1b\x44\x65leteConnectClusterRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*managedkafka.googleapis.com/ConnectCluster\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xbd\x01\n\x1aListConnectClustersRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*managedkafka.googleapis.com/ConnectCluster\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\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x93\x01\n\x1bListConnectClustersResponse\x12\x46\n\x10\x63onnect_clusters\x18\x01 \x03(\x0b\x32,.google.cloud.managedkafka.v1.ConnectCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"R\n\x13GetConnectorRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%managedkafka.googleapis.com/Connector\"\xb3\x01\n\x16\x43reateConnectorRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%managedkafka.googleapis.com/Connector\x12\x19\n\x0c\x63onnector_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\tconnector\x18\x03 \x01(\x0b\x32\'.google.cloud.managedkafka.v1.ConnectorB\x03\xe0\x41\x02\"\x8f\x01\n\x16UpdateConnectorRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12?\n\tconnector\x18\x02 \x01(\x0b\x32\'.google.cloud.managedkafka.v1.ConnectorB\x03\xe0\x41\x02\"U\n\x16\x44\x65leteConnectorRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%managedkafka.googleapis.com/Connector\"\x87\x01\n\x15ListConnectorsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%managedkafka.googleapis.com/Connector\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\"n\n\x16ListConnectorsResponse\x12;\n\nconnectors\x18\x01 \x03(\x0b\x32\'.google.cloud.managedkafka.v1.Connector\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"T\n\x15PauseConnectorRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%managedkafka.googleapis.com/Connector\"\x18\n\x16PauseConnectorResponse\"U\n\x16ResumeConnectorRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%managedkafka.googleapis.com/Connector\"\x19\n\x17ResumeConnectorResponse\"V\n\x17RestartConnectorRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%managedkafka.googleapis.com/Connector\"\x1a\n\x18RestartConnectorResponse\"S\n\x14StopConnectorRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%managedkafka.googleapis.com/Connector\"\x17\n\x15StopConnectorResponse2\x83\x19\n\x13ManagedKafkaConnect\x12\xd0\x01\n\x13ListConnectClusters\x12\x38.google.cloud.managedkafka.v1.ListConnectClustersRequest\x1a\x39.google.cloud.managedkafka.v1.ListConnectClustersResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*}/connectClusters\x12\xbd\x01\n\x11GetConnectCluster\x12\x36.google.cloud.managedkafka.v1.GetConnectClusterRequest\x1a,.google.cloud.managedkafka.v1.ConnectCluster\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/connectClusters/*}\x12\x91\x02\n\x14\x43reateConnectCluster\x12\x39.google.cloud.managedkafka.v1.CreateConnectClusterRequest\x1a\x1d.google.longrunning.Operation\"\x9e\x01\xca\x41#\n\x0e\x43onnectCluster\x12\x11OperationMetadata\xda\x41)parent,connect_cluster,connect_cluster_id\x82\xd3\xe4\x93\x02\x46\"3/v1/{parent=projects/*/locations/*}/connectClusters:\x0f\x63onnect_cluster\x12\x93\x02\n\x14UpdateConnectCluster\x12\x39.google.cloud.managedkafka.v1.UpdateConnectClusterRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\xca\x41#\n\x0e\x43onnectCluster\x12\x11OperationMetadata\xda\x41\x1b\x63onnect_cluster,update_mask\x82\xd3\xe4\x93\x02V2C/v1/{connect_cluster.name=projects/*/locations/*/connectClusters/*}:\x0f\x63onnect_cluster\x12\xe1\x01\n\x14\x44\x65leteConnectCluster\x12\x39.google.cloud.managedkafka.v1.DeleteConnectClusterRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/connectClusters/*}\x12\xce\x01\n\x0eListConnectors\x12\x33.google.cloud.managedkafka.v1.ListConnectorsRequest\x1a\x34.google.cloud.managedkafka.v1.ListConnectorsResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/v1/{parent=projects/*/locations/*/connectClusters/*}/connectors\x12\xbb\x01\n\x0cGetConnector\x12\x31.google.cloud.managedkafka.v1.GetConnectorRequest\x1a\'.google.cloud.managedkafka.v1.Connector\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}\x12\xe5\x01\n\x0f\x43reateConnector\x12\x34.google.cloud.managedkafka.v1.CreateConnectorRequest\x1a\'.google.cloud.managedkafka.v1.Connector\"s\xda\x41\x1dparent,connector,connector_id\x82\xd3\xe4\x93\x02M\"@/v1/{parent=projects/*/locations/*/connectClusters/*}/connectors:\tconnector\x12\xe7\x01\n\x0fUpdateConnector\x12\x34.google.cloud.managedkafka.v1.UpdateConnectorRequest\x1a\'.google.cloud.managedkafka.v1.Connector\"u\xda\x41\x15\x63onnector,update_mask\x82\xd3\xe4\x93\x02W2J/v1/{connector.name=projects/*/locations/*/connectClusters/*/connectors/*}:\tconnector\x12\xb0\x01\n\x0f\x44\x65leteConnector\x12\x34.google.cloud.managedkafka.v1.DeleteConnectorRequest\x1a\x16.google.protobuf.Empty\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42*@/v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}\x12\xd5\x01\n\x0ePauseConnector\x12\x33.google.cloud.managedkafka.v1.PauseConnectorRequest\x1a\x34.google.cloud.managedkafka.v1.PauseConnectorResponse\"X\xda\x41\x04name\x82\xd3\xe4\x93\x02K\"F/v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}:pause:\x01*\x12\xd9\x01\n\x0fResumeConnector\x12\x34.google.cloud.managedkafka.v1.ResumeConnectorRequest\x1a\x35.google.cloud.managedkafka.v1.ResumeConnectorResponse\"Y\xda\x41\x04name\x82\xd3\xe4\x93\x02L\"G/v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}:resume:\x01*\x12\xdd\x01\n\x10RestartConnector\x12\x35.google.cloud.managedkafka.v1.RestartConnectorRequest\x1a\x36.google.cloud.managedkafka.v1.RestartConnectorResponse\"Z\xda\x41\x04name\x82\xd3\xe4\x93\x02M\"H/v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}:restart:\x01*\x12\xd1\x01\n\rStopConnector\x12\x32.google.cloud.managedkafka.v1.StopConnectorRequest\x1a\x33.google.cloud.managedkafka.v1.StopConnectorResponse\"W\xda\x41\x04name\x82\xd3\xe4\x93\x02J\"E/v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}:stop:\x01*\x1aO\xca\x41\x1bmanagedkafka.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe4\x01\n com.google.cloud.managedkafka.v1B\x18ManagedKafkaConnectProtoP\x01ZDcloud.google.com/go/managedkafka/apiv1/managedkafkapb;managedkafkapb\xaa\x02\x1cGoogle.Cloud.ManagedKafka.V1\xca\x02\x1cGoogle\\Cloud\\ManagedKafka\\V1\xea\x02\x1fGoogle::Cloud::ManagedKafka::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 = [
    ["google.cloud.managedkafka.v1.ConnectCluster", "google/cloud/managedkafka/v1/resources.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 ManagedKafka
      module V1
        GetConnectClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.GetConnectClusterRequest").msgclass
        CreateConnectClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.CreateConnectClusterRequest").msgclass
        UpdateConnectClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.UpdateConnectClusterRequest").msgclass
        DeleteConnectClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.DeleteConnectClusterRequest").msgclass
        ListConnectClustersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ListConnectClustersRequest").msgclass
        ListConnectClustersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ListConnectClustersResponse").msgclass
        GetConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.GetConnectorRequest").msgclass
        CreateConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.CreateConnectorRequest").msgclass
        UpdateConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.UpdateConnectorRequest").msgclass
        DeleteConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.DeleteConnectorRequest").msgclass
        ListConnectorsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ListConnectorsRequest").msgclass
        ListConnectorsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ListConnectorsResponse").msgclass
        PauseConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.PauseConnectorRequest").msgclass
        PauseConnectorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.PauseConnectorResponse").msgclass
        ResumeConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ResumeConnectorRequest").msgclass
        ResumeConnectorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ResumeConnectorResponse").msgclass
        RestartConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.RestartConnectorRequest").msgclass
        RestartConnectorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.RestartConnectorResponse").msgclass
        StopConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.StopConnectorRequest").msgclass
        StopConnectorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.StopConnectorResponse").msgclass
      end
    end
  end
end
