# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/aiplatform/v1/data_foundry_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/content_pb'


descriptor_data = "\n5google/cloud/aiplatform/v1/data_foundry_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(google/cloud/aiplatform/v1/content.proto\"\xdf\x02\n\x1cGenerateSyntheticDataRequest\x12O\n\x10task_description\x18\x03 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.TaskDescriptionStrategyH\x00\x12;\n\x08location\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x12\n\x05\x63ount\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12L\n\x12output_field_specs\x18\x04 \x03(\x0b\x32+.google.cloud.aiplatform.v1.OutputFieldSpecB\x03\xe0\x41\x02\x12\x43\n\x08\x65xamples\x18\x05 \x03(\x0b\x32,.google.cloud.aiplatform.v1.SyntheticExampleB\x03\xe0\x41\x01\x42\n\n\x08strategy\"d\n\x0eSyntheticField\x12\x17\n\nfield_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x39\n\x07\x63ontent\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x02\"S\n\x10SyntheticExample\x12?\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.google.cloud.aiplatform.v1.SyntheticFieldB\x03\xe0\x41\x02\"\xe7\x01\n\x0fOutputFieldSpec\x12\x17\n\nfield_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08guidance\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12N\n\nfield_type\x18\x03 \x01(\x0e\x32\x35.google.cloud.aiplatform.v1.OutputFieldSpec.FieldTypeB\x03\xe0\x41\x01\"T\n\tFieldType\x12\x1a\n\x16\x46IELD_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43ONTENT\x10\x01\x12\x08\n\x04TEXT\x10\x02\x12\t\n\x05IMAGE\x10\x03\x12\t\n\x05\x41UDIO\x10\x04\"8\n\x17TaskDescriptionStrategy\x12\x1d\n\x10task_description\x18\x01 \x01(\tB\x03\xe0\x41\x02\"i\n\x1dGenerateSyntheticDataResponse\x12H\n\x12synthetic_examples\x18\x01 \x03(\x0b\x32,.google.cloud.aiplatform.v1.SyntheticExample2\xba\x02\n\x12\x44\x61taFoundryService\x12\xd4\x01\n\x15GenerateSyntheticData\x12\x38.google.cloud.aiplatform.v1.GenerateSyntheticDataRequest\x1a\x39.google.cloud.aiplatform.v1.GenerateSyntheticDataResponse\"F\x82\xd3\xe4\x93\x02@\";/v1/{location=projects/*/locations/*}:generateSyntheticData:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd5\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x17\x44\x61taFoundryServiceProtoP\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.Content", "google/cloud/aiplatform/v1/content.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
        GenerateSyntheticDataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GenerateSyntheticDataRequest").msgclass
        SyntheticField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SyntheticField").msgclass
        SyntheticExample = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SyntheticExample").msgclass
        OutputFieldSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.OutputFieldSpec").msgclass
        OutputFieldSpec::FieldType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.OutputFieldSpec.FieldType").enummodule
        TaskDescriptionStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.TaskDescriptionStrategy").msgclass
        GenerateSyntheticDataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GenerateSyntheticDataResponse").msgclass
      end
    end
  end
end
