# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/aiplatform/v1/genai_tuning_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/io_pb' require 'google/cloud/aiplatform/v1/operation_pb' require 'google/cloud/aiplatform/v1/tuning_job_pb' require 'google/longrunning/operations_pb' require 'google/protobuf/empty_pb' descriptor_data = "\n5google/cloud/aiplatform/v1/genai_tuning_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/io.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a+google/cloud/aiplatform/v1/tuning_job.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x93\x01\n\x16\x43reateTuningJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12>\n\ntuning_job\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.TuningJobB\x03\xe0\x41\x02\"P\n\x13GetTuningJobRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/TuningJob\"\x98\x01\n\x15ListTuningJobsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"m\n\x16ListTuningJobsResponse\x12:\n\x0btuning_jobs\x18\x01 \x03(\x0b\x32%.google.cloud.aiplatform.v1.TuningJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x16\x43\x61ncelTuningJobRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/TuningJob\"\xd2\x02\n\x17RebaseTunedModelRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12G\n\x0ftuned_model_ref\x18\x02 \x01(\x0b\x32).google.cloud.aiplatform.v1.TunedModelRefB\x03\xe0\x41\x02\x12>\n\ntuning_job\x18\x03 \x01(\x0b\x32%.google.cloud.aiplatform.v1.TuningJobB\x03\xe0\x41\x01\x12M\n\x14\x61rtifact_destination\x18\x04 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationB\x03\xe0\x41\x01\x12$\n\x17\x64\x65ploy_to_same_endpoint\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"s\n!RebaseTunedModelOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata2\xb6\x08\n\x12GenAiTuningService\x12\xc4\x01\n\x0f\x43reateTuningJob\x12\x32.google.cloud.aiplatform.v1.CreateTuningJobRequest\x1a%.google.cloud.aiplatform.v1.TuningJob\"V\xda\x41\x11parent,tuning_job\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/tuningJobs:\ntuning_job\x12\xa5\x01\n\x0cGetTuningJob\x12/.google.cloud.aiplatform.v1.GetTuningJobRequest\x1a%.google.cloud.aiplatform.v1.TuningJob\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/tuningJobs/*}\x12\xb8\x01\n\x0eListTuningJobs\x12\x31.google.cloud.aiplatform.v1.ListTuningJobsRequest\x1a\x32.google.cloud.aiplatform.v1.ListTuningJobsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/tuningJobs\x12\xa6\x01\n\x0f\x43\x61ncelTuningJob\x12\x32.google.cloud.aiplatform.v1.CancelTuningJobRequest\x1a\x16.google.protobuf.Empty\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/tuningJobs/*}:cancel:\x01*\x12\xfd\x01\n\x10RebaseTunedModel\x12\x33.google.cloud.aiplatform.v1.RebaseTunedModelRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\xca\x41.\n\tTuningJob\x12!RebaseTunedModelOperationMetadata\xda\x41\x16parent,tuned_model_ref\x82\xd3\xe4\x93\x02\x44\"?/v1/{parent=projects/*/locations/*}/tuningJobs:rebaseTunedModel:\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\x17GenAiTuningServiceProtoP\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.TuningJob", "google/cloud/aiplatform/v1/tuning_job.proto"], ["google.cloud.aiplatform.v1.GcsDestination", "google/cloud/aiplatform/v1/io.proto"], ["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.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 CreateTuningJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateTuningJobRequest").msgclass GetTuningJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetTuningJobRequest").msgclass ListTuningJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListTuningJobsRequest").msgclass ListTuningJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListTuningJobsResponse").msgclass CancelTuningJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CancelTuningJobRequest").msgclass RebaseTunedModelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RebaseTunedModelRequest").msgclass RebaseTunedModelOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RebaseTunedModelOperationMetadata").msgclass end end end end