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


descriptor_data = "\n<google/cloud/aiplatform/v1/persistent_resource_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/operation.proto\x1a\x34google/cloud/aiplatform/v1/persistent_resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xd3\x01\n\x1f\x43reatePersistentResourceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12P\n\x13persistent_resource\x18\x02 \x01(\x0b\x32..google.cloud.aiplatform.v1.PersistentResourceB\x03\xe0\x41\x02\x12#\n\x16persistent_resource_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x95\x01\n)CreatePersistentResourceOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"\x95\x01\n)UpdatePersistentResourceOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"\x95\x01\n)RebootPersistentResourceOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"b\n\x1cGetPersistentResourceRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/PersistentResource\"\x8c\x01\n\x1eListPersistentResourcesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\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\"\x88\x01\n\x1fListPersistentResourcesResponse\x12L\n\x14persistent_resources\x18\x01 \x03(\x0b\x32..google.cloud.aiplatform.v1.PersistentResource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"e\n\x1f\x44\x65letePersistentResourceRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/PersistentResource\"\xa9\x01\n\x1fUpdatePersistentResourceRequest\x12P\n\x13persistent_resource\x18\x01 \x01(\x0b\x32..google.cloud.aiplatform.v1.PersistentResourceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"e\n\x1fRebootPersistentResourceRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/PersistentResource2\xa5\r\n\x19PersistentResourceService\x12\xc3\x02\n\x18\x43reatePersistentResource\x12;.google.cloud.aiplatform.v1.CreatePersistentResourceRequest\x1a\x1d.google.longrunning.Operation\"\xca\x01\xca\x41?\n\x12PersistentResource\x12)CreatePersistentResourceOperationMetadata\xda\x41\x31parent,persistent_resource,persistent_resource_id\x82\xd3\xe4\x93\x02N\"7/v1/{parent=projects/*/locations/*}/persistentResources:\x13persistent_resource\x12\xc9\x01\n\x15GetPersistentResource\x12\x38.google.cloud.aiplatform.v1.GetPersistentResourceRequest\x1a..google.cloud.aiplatform.v1.PersistentResource\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/persistentResources/*}\x12\xdc\x01\n\x17ListPersistentResources\x12:.google.cloud.aiplatform.v1.ListPersistentResourcesRequest\x1a;.google.cloud.aiplatform.v1.ListPersistentResourcesResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/persistentResources\x12\xf1\x01\n\x18\x44\x65letePersistentResource\x12;.google.cloud.aiplatform.v1.DeletePersistentResourceRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/persistentResources/*}\x12\xc5\x02\n\x18UpdatePersistentResource\x12;.google.cloud.aiplatform.v1.UpdatePersistentResourceRequest\x1a\x1d.google.longrunning.Operation\"\xcc\x01\xca\x41?\n\x12PersistentResource\x12)UpdatePersistentResourceOperationMetadata\xda\x41\x1fpersistent_resource,update_mask\x82\xd3\xe4\x93\x02\x62\x32K/v1/{persistent_resource.name=projects/*/locations/*/persistentResources/*}:\x13persistent_resource\x12\x8b\x02\n\x18RebootPersistentResource\x12;.google.cloud.aiplatform.v1.RebootPersistentResourceRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\xca\x41?\n\x12PersistentResource\x12)RebootPersistentResourceOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\">/v1/{name=projects/*/locations/*/persistentResources/*}:reboot:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdc\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x1ePersistentResourceServiceProtoP\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.PersistentResource", "google/cloud/aiplatform/v1/persistent_resource.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
        CreatePersistentResourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreatePersistentResourceRequest").msgclass
        CreatePersistentResourceOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreatePersistentResourceOperationMetadata").msgclass
        UpdatePersistentResourceOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdatePersistentResourceOperationMetadata").msgclass
        RebootPersistentResourceOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RebootPersistentResourceOperationMetadata").msgclass
        GetPersistentResourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetPersistentResourceRequest").msgclass
        ListPersistentResourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListPersistentResourcesRequest").msgclass
        ListPersistentResourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListPersistentResourcesResponse").msgclass
        DeletePersistentResourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeletePersistentResourceRequest").msgclass
        UpdatePersistentResourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdatePersistentResourceRequest").msgclass
        RebootPersistentResourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RebootPersistentResourceRequest").msgclass
      end
    end
  end
end
