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

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n4google/cloud/aiplatform/v1/migratable_resource.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd3\t\n\x12MigratableResource\x12k\n\x17ml_engine_model_version\x18\x01 \x01(\x0b\x32\x43.google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersionB\x03\xe0\x41\x03H\x00\x12W\n\x0c\x61utoml_model\x18\x02 \x01(\x0b\x32:.google.cloud.aiplatform.v1.MigratableResource.AutomlModelB\x03\xe0\x41\x03H\x00\x12[\n\x0e\x61utoml_dataset\x18\x03 \x01(\x0b\x32<.google.cloud.aiplatform.v1.MigratableResource.AutomlDatasetB\x03\xe0\x41\x03H\x00\x12h\n\x15\x64\x61ta_labeling_dataset\x18\x04 \x01(\x0b\x32\x42.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDatasetB\x03\xe0\x41\x03H\x00\x12:\n\x11last_migrate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10last_update_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1aY\n\x14MlEngineModelVersion\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12/\n\x07version\x18\x02 \x01(\tB\x1e\xfa\x41\x1b\n\x19ml.googleapis.com/Version\x1aZ\n\x0b\x41utomlModel\x12/\n\x05model\x18\x01 \x01(\tB \xfa\x41\x1d\n\x1b\x61utoml.googleapis.com/Model\x12\x1a\n\x12model_display_name\x18\x03 \x01(\t\x1a\x62\n\rAutomlDataset\x12\x33\n\x07\x64\x61taset\x18\x01 \x01(\tB\"\xfa\x41\x1f\n\x1d\x61utoml.googleapis.com/Dataset\x12\x1c\n\x14\x64\x61taset_display_name\x18\x04 \x01(\t\x1a\x91\x03\n\x13\x44\x61taLabelingDataset\x12\x39\n\x07\x64\x61taset\x18\x01 \x01(\tB(\xfa\x41%\n#datalabeling.googleapis.com/Dataset\x12\x1c\n\x14\x64\x61taset_display_name\x18\x04 \x01(\t\x12\x89\x01\n data_labeling_annotated_datasets\x18\x03 \x03(\x0b\x32_.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset\x1a\x94\x01\n\x1c\x44\x61taLabelingAnnotatedDataset\x12L\n\x11\x61nnotated_dataset\x18\x01 \x01(\tB1\xfa\x41.\n,datalabeling.googleapis.com/AnnotatedDataset\x12&\n\x1e\x61nnotated_dataset_display_name\x18\x03 \x01(\tB\n\n\x08resourceB\xac\x05\n\x1e\x63om.google.cloud.aiplatform.v1B\x17MigratableResourceProtoP\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::V1\xea\x41Q\n\x19ml.googleapis.com/Version\x12\x34projects/{project}/models/{model}/versions/{version}\xea\x41U\n\x1b\x61utoml.googleapis.com/Model\x12\x36projects/{project}/locations/{location}/models/{model}\xea\x41[\n\x1d\x61utoml.googleapis.com/Dataset\x12:projects/{project}/locations/{location}/datasets/{dataset}\xea\x41L\n#datalabeling.googleapis.com/Dataset\x12%projects/{project}/datasets/{dataset}\xea\x41{\n,datalabeling.googleapis.com/AnnotatedDataset\x12Kprojects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}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"],
  ]
  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
        MigratableResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigratableResource").msgclass
        MigratableResource::MlEngineModelVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion").msgclass
        MigratableResource::AutomlModel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigratableResource.AutomlModel").msgclass
        MigratableResource::AutomlDataset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigratableResource.AutomlDataset").msgclass
        MigratableResource::DataLabelingDataset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset").msgclass
        MigratableResource::DataLabelingDataset::DataLabelingAnnotatedDataset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset").msgclass
      end
    end
  end
end
