# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/aiplatform/v1/deployment_resource_pool_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/deployed_model_ref_pb'
require 'google/cloud/aiplatform/v1/deployment_resource_pool_pb'
require 'google/cloud/aiplatform/v1/endpoint_pb'
require 'google/cloud/aiplatform/v1/operation_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/field_mask_pb'


descriptor_data = "\nAgoogle/cloud/aiplatform/v1/deployment_resource_pool_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\x33google/cloud/aiplatform/v1/deployed_model_ref.proto\x1a\x39google/cloud/aiplatform/v1/deployment_resource_pool.proto\x1a)google/cloud/aiplatform/v1/endpoint.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xe5\x01\n#CreateDeploymentResourcePoolRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Y\n\x18\x64\x65ployment_resource_pool\x18\x02 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.DeploymentResourcePoolB\x03\xe0\x41\x02\x12(\n\x1b\x64\x65ployment_resource_pool_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x7f\n-CreateDeploymentResourcePoolOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"j\n GetDeploymentResourcePoolRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0aiplatform.googleapis.com/DeploymentResourcePool\"\x86\x01\n\"ListDeploymentResourcePoolsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x95\x01\n#ListDeploymentResourcePoolsResponse\x12U\n\x19\x64\x65ployment_resource_pools\x18\x01 \x03(\x0b\x32\x32.google.cloud.aiplatform.v1.DeploymentResourcePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb6\x01\n#UpdateDeploymentResourcePoolRequest\x12Y\n\x18\x64\x65ployment_resource_pool\x18\x01 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.DeploymentResourcePoolB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x7f\n-UpdateDeploymentResourcePoolOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"m\n#DeleteDeploymentResourcePoolRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0aiplatform.googleapis.com/DeploymentResourcePool\"j\n\x1aQueryDeployedModelsRequest\x12%\n\x18\x64\x65ployment_resource_pool\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8b\x02\n\x1bQueryDeployedModelsResponse\x12\x46\n\x0f\x64\x65ployed_models\x18\x01 \x03(\x0b\x32).google.cloud.aiplatform.v1.DeployedModelB\x02\x18\x01\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12I\n\x13\x64\x65ployed_model_refs\x18\x03 \x03(\x0b\x32,.google.cloud.aiplatform.v1.DeployedModelRef\x12\"\n\x1atotal_deployed_model_count\x18\x04 \x01(\x05\x12\x1c\n\x14total_endpoint_count\x18\x05 \x01(\x05\x32\x88\x0e\n\x1d\x44\x65ploymentResourcePoolService\x12\xcf\x02\n\x1c\x43reateDeploymentResourcePool\x12?.google.cloud.aiplatform.v1.CreateDeploymentResourcePoolRequest\x1a\x1d.google.longrunning.Operation\"\xce\x01\xca\x41G\n\x16\x44\x65ploymentResourcePool\x12-CreateDeploymentResourcePoolOperationMetadata\xda\x41;parent,deployment_resource_pool,deployment_resource_pool_id\x82\xd3\xe4\x93\x02@\";/v1/{parent=projects/*/locations/*}/deploymentResourcePools:\x01*\x12\xd9\x01\n\x19GetDeploymentResourcePool\x12<.google.cloud.aiplatform.v1.GetDeploymentResourcePoolRequest\x1a\x32.google.cloud.aiplatform.v1.DeploymentResourcePool\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/deploymentResourcePools/*}\x12\xec\x01\n\x1bListDeploymentResourcePools\x12>.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsRequest\x1a?.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*}/deploymentResourcePools\x12\xe8\x02\n\x1cUpdateDeploymentResourcePool\x12?.google.cloud.aiplatform.v1.UpdateDeploymentResourcePoolRequest\x1a\x1d.google.longrunning.Operation\"\xe7\x01\xca\x41G\n\x16\x44\x65ploymentResourcePool\x12-UpdateDeploymentResourcePoolOperationMetadata\xda\x41$deployment_resource_pool,update_mask\x82\xd3\xe4\x93\x02p2T/v1/{deployment_resource_pool.name=projects/*/locations/*/deploymentResourcePools/*}:\x18\x64\x65ployment_resource_pool\x12\xfd\x01\n\x1c\x44\x65leteDeploymentResourcePool\x12?.google.cloud.aiplatform.v1.DeleteDeploymentResourcePoolRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/deploymentResourcePools/*}\x12\x8f\x02\n\x13QueryDeployedModels\x12\x36.google.cloud.aiplatform.v1.QueryDeployedModelsRequest\x1a\x37.google.cloud.aiplatform.v1.QueryDeployedModelsResponse\"\x86\x01\xda\x41\x18\x64\x65ployment_resource_pool\x82\xd3\xe4\x93\x02\x65\x12\x63/v1/{deployment_resource_pool=projects/*/locations/*/deploymentResourcePools/*}:queryDeployedModels\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe0\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\"DeploymentResourcePoolServiceProtoP\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.DeploymentResourcePool", "google/cloud/aiplatform/v1/deployment_resource_pool.proto"],
    ["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
    ["google.cloud.aiplatform.v1.DeployedModel", "google/cloud/aiplatform/v1/endpoint.proto"],
    ["google.cloud.aiplatform.v1.DeployedModelRef", "google/cloud/aiplatform/v1/deployed_model_ref.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
        CreateDeploymentResourcePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateDeploymentResourcePoolRequest").msgclass
        CreateDeploymentResourcePoolOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateDeploymentResourcePoolOperationMetadata").msgclass
        GetDeploymentResourcePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetDeploymentResourcePoolRequest").msgclass
        ListDeploymentResourcePoolsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDeploymentResourcePoolsRequest").msgclass
        ListDeploymentResourcePoolsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDeploymentResourcePoolsResponse").msgclass
        UpdateDeploymentResourcePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateDeploymentResourcePoolRequest").msgclass
        UpdateDeploymentResourcePoolOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateDeploymentResourcePoolOperationMetadata").msgclass
        DeleteDeploymentResourcePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteDeploymentResourcePoolRequest").msgclass
        QueryDeployedModelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.QueryDeployedModelsRequest").msgclass
        QueryDeployedModelsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.QueryDeployedModelsResponse").msgclass
      end
    end
  end
end
