# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/aiplatform/v1/migration_service.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/cloud/aiplatform/v1/migratable_resource_pb'
require 'google/cloud/aiplatform/v1/operation_pb'
require 'google/longrunning/operations_pb'
require 'google/rpc/status_pb'


descriptor_data = "\n2google/cloud/aiplatform/v1/migration_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/aiplatform/v1/migratable_resource.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x17google/rpc/status.proto\"\x94\x01\n SearchMigratableResourcesRequest\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\"\x8a\x01\n!SearchMigratableResourcesResponse\x12L\n\x14migratable_resources\x18\x01 \x03(\x0b\x32..google.cloud.aiplatform.v1.MigratableResource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb5\x01\n\x1c\x42\x61tchMigrateResourcesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Z\n\x19migrate_resource_requests\x18\x02 \x03(\x0b\x32\x32.google.cloud.aiplatform.v1.MigrateResourceRequestB\x03\xe0\x41\x02\"\xe2\n\n\x16MigrateResourceRequest\x12\x86\x01\n&migrate_ml_engine_model_version_config\x18\x01 \x01(\x0b\x32T.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateMlEngineModelVersionConfigH\x00\x12r\n\x1bmigrate_automl_model_config\x18\x02 \x01(\x0b\x32K.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlModelConfigH\x00\x12v\n\x1dmigrate_automl_dataset_config\x18\x03 \x01(\x0b\x32M.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlDatasetConfigH\x00\x12\x83\x01\n$migrate_data_labeling_dataset_config\x18\x04 \x01(\x0b\x32S.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateDataLabelingDatasetConfigH\x00\x1a\x95\x01\n!MigrateMlEngineModelVersionConfig\x12\x15\n\x08\x65ndpoint\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\rmodel_version\x18\x02 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19ml.googleapis.com/Version\x12\x1f\n\x12model_display_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x1ao\n\x18MigrateAutomlModelConfig\x12\x32\n\x05model\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61utoml.googleapis.com/Model\x12\x1f\n\x12model_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1aw\n\x1aMigrateAutomlDatasetConfig\x12\x36\n\x07\x64\x61taset\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61utoml.googleapis.com/Dataset\x12!\n\x14\x64\x61taset_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a\xbf\x03\n MigrateDataLabelingDatasetConfig\x12<\n\x07\x64\x61taset\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datalabeling.googleapis.com/Dataset\x12!\n\x14\x64\x61taset_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\xbb\x01\n/migrate_data_labeling_annotated_dataset_configs\x18\x03 \x03(\x0b\x32}.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateDataLabelingDatasetConfig.MigrateDataLabelingAnnotatedDatasetConfigB\x03\xe0\x41\x01\x1a|\n)MigrateDataLabelingAnnotatedDatasetConfig\x12O\n\x11\x61nnotated_dataset\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,datalabeling.googleapis.com/AnnotatedDatasetB\t\n\x07request\"x\n\x1d\x42\x61tchMigrateResourcesResponse\x12W\n\x1amigrate_resource_responses\x18\x01 \x03(\x0b\x32\x33.google.cloud.aiplatform.v1.MigrateResourceResponse\"\xed\x01\n\x17MigrateResourceResponse\x12\x39\n\x07\x64\x61taset\x18\x01 \x01(\tB&\xfa\x41#\n!aiplatform.googleapis.com/DatasetH\x00\x12\x35\n\x05model\x18\x02 \x01(\tB$\xfa\x41!\n\x1f\x61iplatform.googleapis.com/ModelH\x00\x12K\n\x13migratable_resource\x18\x03 \x01(\x0b\x32..google.cloud.aiplatform.v1.MigratableResourceB\x13\n\x11migrated_resource\"\xdb\x03\n&BatchMigrateResourcesOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12i\n\x0fpartial_results\x18\x02 \x03(\x0b\x32P.google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata.PartialResult\x1a\xf5\x01\n\rPartialResult\x12#\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x12\x35\n\x05model\x18\x03 \x01(\tB$\xfa\x41!\n\x1f\x61iplatform.googleapis.com/ModelH\x00\x12\x39\n\x07\x64\x61taset\x18\x04 \x01(\tB&\xfa\x41#\n!aiplatform.googleapis.com/DatasetH\x00\x12\x43\n\x07request\x18\x01 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.MigrateResourceRequestB\x08\n\x06result2\x82\x05\n\x10MigrationService\x12\xec\x01\n\x19SearchMigratableResources\x12<.google.cloud.aiplatform.v1.SearchMigratableResourcesRequest\x1a=.google.cloud.aiplatform.v1.SearchMigratableResourcesResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\">/v1/{parent=projects/*/locations/*}/migratableResources:search:\x01*\x12\xaf\x02\n\x15\x42\x61tchMigrateResources\x12\x38.google.cloud.aiplatform.v1.BatchMigrateResourcesRequest\x1a\x1d.google.longrunning.Operation\"\xbc\x01\xca\x41G\n\x1d\x42\x61tchMigrateResourcesResponse\x12&BatchMigrateResourcesOperationMetadata\xda\x41 parent,migrate_resource_requests\x82\xd3\xe4\x93\x02I\"D/v1/{parent=projects/*/locations/*}/migratableResources:batchMigrate:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd3\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x15MigrationServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::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.aiplatform.v1.MigratableResource", "google/cloud/aiplatform/v1/migratable_resource.proto"],
    ["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
    ["google.rpc.Status", "google/rpc/status.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 AIPlatform
      module V1
        SearchMigratableResourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SearchMigratableResourcesRequest").msgclass
        SearchMigratableResourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SearchMigratableResourcesResponse").msgclass
        BatchMigrateResourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchMigrateResourcesRequest").msgclass
        MigrateResourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigrateResourceRequest").msgclass
        MigrateResourceRequest::MigrateMlEngineModelVersionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateMlEngineModelVersionConfig").msgclass
        MigrateResourceRequest::MigrateAutomlModelConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlModelConfig").msgclass
        MigrateResourceRequest::MigrateAutomlDatasetConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlDatasetConfig").msgclass
        MigrateResourceRequest::MigrateDataLabelingDatasetConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateDataLabelingDatasetConfig").msgclass
        MigrateResourceRequest::MigrateDataLabelingDatasetConfig::MigrateDataLabelingAnnotatedDatasetConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateDataLabelingDatasetConfig.MigrateDataLabelingAnnotatedDatasetConfig").msgclass
        BatchMigrateResourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchMigrateResourcesResponse").msgclass
        MigrateResourceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigrateResourceResponse").msgclass
        BatchMigrateResourcesOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata").msgclass
        BatchMigrateResourcesOperationMetadata::PartialResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata.PartialResult").msgclass
      end
    end
  end
end
