# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/aiplatform/v1/feature_registry_service.proto for package 'Google.Cloud.AIPlatform.V1'
# Original file comments:
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require 'grpc'
require 'google/cloud/aiplatform/v1/feature_registry_service_pb'

module Google
  module Cloud
    module AIPlatform
      module V1
        module FeatureRegistryService
          # The service that handles CRUD and List for resources for
          # FeatureRegistry.
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.aiplatform.v1.FeatureRegistryService'

            # Creates a new FeatureGroup in a given project and location.
            rpc :CreateFeatureGroup, ::Google::Cloud::AIPlatform::V1::CreateFeatureGroupRequest, ::Google::Longrunning::Operation
            # Gets details of a single FeatureGroup.
            rpc :GetFeatureGroup, ::Google::Cloud::AIPlatform::V1::GetFeatureGroupRequest, ::Google::Cloud::AIPlatform::V1::FeatureGroup
            # Lists FeatureGroups in a given project and location.
            rpc :ListFeatureGroups, ::Google::Cloud::AIPlatform::V1::ListFeatureGroupsRequest, ::Google::Cloud::AIPlatform::V1::ListFeatureGroupsResponse
            # Updates the parameters of a single FeatureGroup.
            rpc :UpdateFeatureGroup, ::Google::Cloud::AIPlatform::V1::UpdateFeatureGroupRequest, ::Google::Longrunning::Operation
            # Deletes a single FeatureGroup.
            rpc :DeleteFeatureGroup, ::Google::Cloud::AIPlatform::V1::DeleteFeatureGroupRequest, ::Google::Longrunning::Operation
            # Creates a new Feature in a given FeatureGroup.
            rpc :CreateFeature, ::Google::Cloud::AIPlatform::V1::CreateFeatureRequest, ::Google::Longrunning::Operation
            # Creates a batch of Features in a given FeatureGroup.
            rpc :BatchCreateFeatures, ::Google::Cloud::AIPlatform::V1::BatchCreateFeaturesRequest, ::Google::Longrunning::Operation
            # Gets details of a single Feature.
            rpc :GetFeature, ::Google::Cloud::AIPlatform::V1::GetFeatureRequest, ::Google::Cloud::AIPlatform::V1::Feature
            # Lists Features in a given FeatureGroup.
            rpc :ListFeatures, ::Google::Cloud::AIPlatform::V1::ListFeaturesRequest, ::Google::Cloud::AIPlatform::V1::ListFeaturesResponse
            # Updates the parameters of a single Feature.
            rpc :UpdateFeature, ::Google::Cloud::AIPlatform::V1::UpdateFeatureRequest, ::Google::Longrunning::Operation
            # Deletes a single Feature.
            rpc :DeleteFeature, ::Google::Cloud::AIPlatform::V1::DeleteFeatureRequest, ::Google::Longrunning::Operation
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end
