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

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/cloud/aiplatform/v1/encryption_spec_pb'
require 'google/cloud/aiplatform/v1/io_pb'
require 'google/cloud/aiplatform/v1/model_pb'
require 'google/cloud/aiplatform/v1/pipeline_state_pb'
require 'google/protobuf/struct_pb'
require 'google/protobuf/timestamp_pb'
require 'google/rpc/status_pb'


descriptor_data = "\n2google/cloud/aiplatform/v1/training_pipeline.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a&google/cloud/aiplatform/v1/model.proto\x1a/google/cloud/aiplatform/v1/pipeline_state.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x8e\x08\n\x10TrainingPipeline\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x11input_data_config\x18\x03 \x01(\x0b\x32+.google.cloud.aiplatform.v1.InputDataConfig\x12%\n\x18training_task_definition\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x14training_task_inputs\x18\x05 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\x12;\n\x16training_task_metadata\x18\x06 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x03\x12:\n\x0fmodel_to_upload\x18\x07 \x01(\x0b\x32!.google.cloud.aiplatform.v1.Model\x12\x15\n\x08model_id\x18\x16 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cparent_model\x18\x15 \x01(\tB\x03\xe0\x41\x01\x12=\n\x05state\x18\t \x01(\x0e\x32).google.cloud.aiplatform.v1.PipelineStateB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\n \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12H\n\x06labels\x18\x0f \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.TrainingPipeline.LabelsEntry\x12\x43\n\x0f\x65ncryption_spec\x18\x12 \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:~\xea\x41{\n*aiplatform.googleapis.com/TrainingPipeline\x12Mprojects/{project}/locations/{location}/trainingPipelines/{training_pipeline}\"\xaf\x05\n\x0fInputDataConfig\x12\x43\n\x0e\x66raction_split\x18\x02 \x01(\x0b\x32).google.cloud.aiplatform.v1.FractionSplitH\x00\x12?\n\x0c\x66ilter_split\x18\x03 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.FilterSplitH\x00\x12G\n\x10predefined_split\x18\x04 \x01(\x0b\x32+.google.cloud.aiplatform.v1.PredefinedSplitH\x00\x12\x45\n\x0ftimestamp_split\x18\x05 \x01(\x0b\x32*.google.cloud.aiplatform.v1.TimestampSplitH\x00\x12G\n\x10stratified_split\x18\x0c \x01(\x0b\x32+.google.cloud.aiplatform.v1.StratifiedSplitH\x00\x12\x45\n\x0fgcs_destination\x18\x08 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationH\x01\x12O\n\x14\x62igquery_destination\x18\n \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationH\x01\x12\x17\n\ndataset_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\x12\x61nnotations_filter\x18\x06 \x01(\t\x12\x1d\n\x15\x61nnotation_schema_uri\x18\t \x01(\t\x12\x16\n\x0esaved_query_id\x18\x07 \x01(\t\x12!\n\x19persist_ml_use_assignment\x18\x0b \x01(\x08\x42\x07\n\x05splitB\r\n\x0b\x64\x65stination\"^\n\rFractionSplit\x12\x19\n\x11training_fraction\x18\x01 \x01(\x01\x12\x1b\n\x13validation_fraction\x18\x02 \x01(\x01\x12\x15\n\rtest_fraction\x18\x03 \x01(\x01\"e\n\x0b\x46ilterSplit\x12\x1c\n\x0ftraining_filter\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11validation_filter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0btest_filter\x18\x03 \x01(\tB\x03\xe0\x41\x02\"#\n\x0fPredefinedSplit\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x02\"q\n\x0eTimestampSplit\x12\x19\n\x11training_fraction\x18\x01 \x01(\x01\x12\x1b\n\x13validation_fraction\x18\x02 \x01(\x01\x12\x15\n\rtest_fraction\x18\x03 \x01(\x01\x12\x10\n\x03key\x18\x04 \x01(\tB\x03\xe0\x41\x02\"r\n\x0fStratifiedSplit\x12\x19\n\x11training_fraction\x18\x01 \x01(\x01\x12\x1b\n\x13validation_fraction\x18\x02 \x01(\x01\x12\x15\n\rtest_fraction\x18\x03 \x01(\x01\x12\x10\n\x03key\x18\x04 \x01(\tB\x03\xe0\x41\x02\x42\xd3\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x15TrainingPipelineProtoP\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.protobuf.Value", "google/protobuf/struct.proto"],
    ["google.cloud.aiplatform.v1.Model", "google/cloud/aiplatform/v1/model.proto"],
    ["google.rpc.Status", "google/rpc/status.proto"],
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.cloud.aiplatform.v1.EncryptionSpec", "google/cloud/aiplatform/v1/encryption_spec.proto"],
    ["google.cloud.aiplatform.v1.GcsDestination", "google/cloud/aiplatform/v1/io.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
        TrainingPipeline = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.TrainingPipeline").msgclass
        InputDataConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.InputDataConfig").msgclass
        FractionSplit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FractionSplit").msgclass
        FilterSplit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FilterSplit").msgclass
        PredefinedSplit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PredefinedSplit").msgclass
        TimestampSplit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.TimestampSplit").msgclass
        StratifiedSplit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StratifiedSplit").msgclass
      end
    end
  end
end