# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/aiplatform/v1/index_endpoint_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/index_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 = "\n7google/cloud/aiplatform/v1/index_endpoint_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/index_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\"\x9f\x01\n\x1a\x43reateIndexEndpointRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x46\n\x0eindex_endpoint\x18\x02 \x01(\x0b\x32).google.cloud.aiplatform.v1.IndexEndpointB\x03\xe0\x41\x02\"v\n$CreateIndexEndpointOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"X\n\x17GetIndexEndpointRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/IndexEndpoint\"\xd0\x01\n\x19ListIndexEndpointsRequest\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\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"y\n\x1aListIndexEndpointsResponse\x12\x42\n\x0findex_endpoints\x18\x01 \x03(\x0b\x32).google.cloud.aiplatform.v1.IndexEndpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9a\x01\n\x1aUpdateIndexEndpointRequest\x12\x46\n\x0eindex_endpoint\x18\x01 \x01(\x0b\x32).google.cloud.aiplatform.v1.IndexEndpointB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"[\n\x1a\x44\x65leteIndexEndpointRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/IndexEndpoint\"\xa5\x01\n\x12\x44\x65ployIndexRequest\x12G\n\x0eindex_endpoint\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/IndexEndpoint\x12\x46\n\x0e\x64\x65ployed_index\x18\x02 \x01(\x0b\x32).google.cloud.aiplatform.v1.DeployedIndexB\x03\xe0\x41\x02\"X\n\x13\x44\x65ployIndexResponse\x12\x41\n\x0e\x64\x65ployed_index\x18\x01 \x01(\x0b\x32).google.cloud.aiplatform.v1.DeployedIndex\"\x89\x01\n\x1c\x44\x65ployIndexOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x19\n\x11\x64\x65ployed_index_id\x18\x02 \x01(\t\"\x7f\n\x14UndeployIndexRequest\x12G\n\x0eindex_endpoint\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/IndexEndpoint\x12\x1e\n\x11\x64\x65ployed_index_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x17\n\x15UndeployIndexResponse\"p\n\x1eUndeployIndexOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xad\x01\n\x1aMutateDeployedIndexRequest\x12G\n\x0eindex_endpoint\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/IndexEndpoint\x12\x46\n\x0e\x64\x65ployed_index\x18\x02 \x01(\x0b\x32).google.cloud.aiplatform.v1.DeployedIndexB\x03\xe0\x41\x02\"`\n\x1bMutateDeployedIndexResponse\x12\x41\n\x0e\x64\x65ployed_index\x18\x01 \x01(\x0b\x32).google.cloud.aiplatform.v1.DeployedIndex\"\x91\x01\n$MutateDeployedIndexOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x19\n\x11\x64\x65ployed_index_id\x18\x02 \x01(\t2\xaf\x10\n\x14IndexEndpointService\x12\x89\x02\n\x13\x43reateIndexEndpoint\x12\x36.google.cloud.aiplatform.v1.CreateIndexEndpointRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\xca\x41\x35\n\rIndexEndpoint\x12$CreateIndexEndpointOperationMetadata\xda\x41\x15parent,index_endpoint\x82\xd3\xe4\x93\x02\x44\"2/v1/{parent=projects/*/locations/*}/indexEndpoints:\x0eindex_endpoint\x12\xb5\x01\n\x10GetIndexEndpoint\x12\x33.google.cloud.aiplatform.v1.GetIndexEndpointRequest\x1a).google.cloud.aiplatform.v1.IndexEndpoint\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/indexEndpoints/*}\x12\xc8\x01\n\x12ListIndexEndpoints\x12\x35.google.cloud.aiplatform.v1.ListIndexEndpointsRequest\x1a\x36.google.cloud.aiplatform.v1.ListIndexEndpointsResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/indexEndpoints\x12\xf0\x01\n\x13UpdateIndexEndpoint\x12\x36.google.cloud.aiplatform.v1.UpdateIndexEndpointRequest\x1a).google.cloud.aiplatform.v1.IndexEndpoint\"v\xda\x41\x1aindex_endpoint,update_mask\x82\xd3\xe4\x93\x02S2A/v1/{index_endpoint.name=projects/*/locations/*/indexEndpoints/*}:\x0eindex_endpoint\x12\xe2\x01\n\x13\x44\x65leteIndexEndpoint\x12\x36.google.cloud.aiplatform.v1.DeleteIndexEndpointRequest\x1a\x1d.google.longrunning.Operation\"t\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/indexEndpoints/*}\x12\x88\x02\n\x0b\x44\x65ployIndex\x12..google.cloud.aiplatform.v1.DeployIndexRequest\x1a\x1d.google.longrunning.Operation\"\xa9\x01\xca\x41\x33\n\x13\x44\x65ployIndexResponse\x12\x1c\x44\x65ployIndexOperationMetadata\xda\x41\x1dindex_endpoint,deployed_index\x82\xd3\xe4\x93\x02M\"H/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:deployIndex:\x01*\x12\x95\x02\n\rUndeployIndex\x12\x30.google.cloud.aiplatform.v1.UndeployIndexRequest\x1a\x1d.google.longrunning.Operation\"\xb2\x01\xca\x41\x37\n\x15UndeployIndexResponse\x12\x1eUndeployIndexOperationMetadata\xda\x41 index_endpoint,deployed_index_id\x82\xd3\xe4\x93\x02O\"J/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:undeployIndex:\x01*\x12\xbd\x02\n\x13MutateDeployedIndex\x12\x36.google.cloud.aiplatform.v1.MutateDeployedIndexRequest\x1a\x1d.google.longrunning.Operation\"\xce\x01\xca\x41\x43\n\x1bMutateDeployedIndexResponse\x12$MutateDeployedIndexOperationMetadata\xda\x41\x1dindex_endpoint,deployed_index\x82\xd3\xe4\x93\x02\x62\"P/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:mutateDeployedIndex:\x0e\x64\x65ployed_index\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd7\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x19IndexEndpointServiceProtoP\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.IndexEndpoint", "google/cloud/aiplatform/v1/index_endpoint.proto"],
    ["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.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
        CreateIndexEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateIndexEndpointRequest").msgclass
        CreateIndexEndpointOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateIndexEndpointOperationMetadata").msgclass
        GetIndexEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetIndexEndpointRequest").msgclass
        ListIndexEndpointsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListIndexEndpointsRequest").msgclass
        ListIndexEndpointsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListIndexEndpointsResponse").msgclass
        UpdateIndexEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateIndexEndpointRequest").msgclass
        DeleteIndexEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteIndexEndpointRequest").msgclass
        DeployIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeployIndexRequest").msgclass
        DeployIndexResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeployIndexResponse").msgclass
        DeployIndexOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeployIndexOperationMetadata").msgclass
        UndeployIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UndeployIndexRequest").msgclass
        UndeployIndexResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UndeployIndexResponse").msgclass
        UndeployIndexOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UndeployIndexOperationMetadata").msgclass
        MutateDeployedIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MutateDeployedIndexRequest").msgclass
        MutateDeployedIndexResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MutateDeployedIndexResponse").msgclass
        MutateDeployedIndexOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MutateDeployedIndexOperationMetadata").msgclass
      end
    end
  end
end
