# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/automl/v1beta1/io.proto

require 'google/api/annotations_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/automl/v1beta1/io.proto", :syntax => :proto3) do
    add_message "google.cloud.automl.v1beta1.InputConfig" do
      map :params, :string, :string, 2
      oneof :source do
        optional :gcs_source, :message, 1, "google.cloud.automl.v1beta1.GcsSource"
        optional :bigquery_source, :message, 3, "google.cloud.automl.v1beta1.BigQuerySource"
      end
    end
    add_message "google.cloud.automl.v1beta1.BatchPredictInputConfig" do
      oneof :source do
        optional :gcs_source, :message, 1, "google.cloud.automl.v1beta1.GcsSource"
        optional :bigquery_source, :message, 2, "google.cloud.automl.v1beta1.BigQuerySource"
      end
    end
    add_message "google.cloud.automl.v1beta1.DocumentInputConfig" do
      optional :gcs_source, :message, 1, "google.cloud.automl.v1beta1.GcsSource"
    end
    add_message "google.cloud.automl.v1beta1.OutputConfig" do
      oneof :destination do
        optional :gcs_destination, :message, 1, "google.cloud.automl.v1beta1.GcsDestination"
        optional :bigquery_destination, :message, 2, "google.cloud.automl.v1beta1.BigQueryDestination"
      end
    end
    add_message "google.cloud.automl.v1beta1.BatchPredictOutputConfig" do
      oneof :destination do
        optional :gcs_destination, :message, 1, "google.cloud.automl.v1beta1.GcsDestination"
        optional :bigquery_destination, :message, 2, "google.cloud.automl.v1beta1.BigQueryDestination"
      end
    end
    add_message "google.cloud.automl.v1beta1.ModelExportOutputConfig" do
      optional :model_format, :string, 4
      map :params, :string, :string, 2
      oneof :destination do
        optional :gcs_destination, :message, 1, "google.cloud.automl.v1beta1.GcsDestination"
        optional :gcr_destination, :message, 3, "google.cloud.automl.v1beta1.GcrDestination"
      end
    end
    add_message "google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig" do
      oneof :destination do
        optional :bigquery_destination, :message, 2, "google.cloud.automl.v1beta1.BigQueryDestination"
      end
    end
    add_message "google.cloud.automl.v1beta1.GcsSource" do
      repeated :input_uris, :string, 1
    end
    add_message "google.cloud.automl.v1beta1.BigQuerySource" do
      optional :input_uri, :string, 1
    end
    add_message "google.cloud.automl.v1beta1.GcsDestination" do
      optional :output_uri_prefix, :string, 1
    end
    add_message "google.cloud.automl.v1beta1.BigQueryDestination" do
      optional :output_uri, :string, 1
    end
    add_message "google.cloud.automl.v1beta1.GcrDestination" do
      optional :output_uri, :string, 1
    end
  end
end

module Google
  module Cloud
    module AutoML
      module V1beta1
        InputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.InputConfig").msgclass
        BatchPredictInputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.BatchPredictInputConfig").msgclass
        DocumentInputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.DocumentInputConfig").msgclass
        OutputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.OutputConfig").msgclass
        BatchPredictOutputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.BatchPredictOutputConfig").msgclass
        ModelExportOutputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.ModelExportOutputConfig").msgclass
        ExportEvaluatedExamplesOutputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig").msgclass
        GcsSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.GcsSource").msgclass
        BigQuerySource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.BigQuerySource").msgclass
        GcsDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.GcsDestination").msgclass
        BigQueryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.BigQueryDestination").msgclass
        GcrDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1beta1.GcrDestination").msgclass
      end
    end
  end
end