# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/networkconnectivity/v1/data_transfer.proto for package 'Google.Cloud.NetworkConnectivity.V1'
# Original file comments:
# Copyright 2025 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/networkconnectivity/v1/data_transfer_pb'

module Google
  module Cloud
    module NetworkConnectivity
      module V1
        module DataTransferService
          # DataTransferService is the service for the Data Transfer API.
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.networkconnectivity.v1.DataTransferService'

            # Lists the `MulticloudDataTransferConfig` resources in a specified project
            # and location.
            rpc :ListMulticloudDataTransferConfigs, ::Google::Cloud::NetworkConnectivity::V1::ListMulticloudDataTransferConfigsRequest, ::Google::Cloud::NetworkConnectivity::V1::ListMulticloudDataTransferConfigsResponse
            # Gets the details of a `MulticloudDataTransferConfig` resource.
            rpc :GetMulticloudDataTransferConfig, ::Google::Cloud::NetworkConnectivity::V1::GetMulticloudDataTransferConfigRequest, ::Google::Cloud::NetworkConnectivity::V1::MulticloudDataTransferConfig
            # Creates a `MulticloudDataTransferConfig` resource in a specified project
            # and location.
            rpc :CreateMulticloudDataTransferConfig, ::Google::Cloud::NetworkConnectivity::V1::CreateMulticloudDataTransferConfigRequest, ::Google::Longrunning::Operation
            # Updates a `MulticloudDataTransferConfig` resource in a specified project
            # and location.
            rpc :UpdateMulticloudDataTransferConfig, ::Google::Cloud::NetworkConnectivity::V1::UpdateMulticloudDataTransferConfigRequest, ::Google::Longrunning::Operation
            # Deletes a `MulticloudDataTransferConfig` resource.
            rpc :DeleteMulticloudDataTransferConfig, ::Google::Cloud::NetworkConnectivity::V1::DeleteMulticloudDataTransferConfigRequest, ::Google::Longrunning::Operation
            # Lists the `Destination` resources in a specified project and location.
            rpc :ListDestinations, ::Google::Cloud::NetworkConnectivity::V1::ListDestinationsRequest, ::Google::Cloud::NetworkConnectivity::V1::ListDestinationsResponse
            # Gets the details of a `Destination` resource.
            rpc :GetDestination, ::Google::Cloud::NetworkConnectivity::V1::GetDestinationRequest, ::Google::Cloud::NetworkConnectivity::V1::Destination
            # Creates a `Destination` resource in a specified project and location.
            rpc :CreateDestination, ::Google::Cloud::NetworkConnectivity::V1::CreateDestinationRequest, ::Google::Longrunning::Operation
            # Updates a `Destination` resource in a specified project and location.
            rpc :UpdateDestination, ::Google::Cloud::NetworkConnectivity::V1::UpdateDestinationRequest, ::Google::Longrunning::Operation
            # Deletes a `Destination` resource.
            rpc :DeleteDestination, ::Google::Cloud::NetworkConnectivity::V1::DeleteDestinationRequest, ::Google::Longrunning::Operation
            # Gets the details of a service that is supported for Data Transfer
            # Essentials.
            rpc :GetMulticloudDataTransferSupportedService, ::Google::Cloud::NetworkConnectivity::V1::GetMulticloudDataTransferSupportedServiceRequest, ::Google::Cloud::NetworkConnectivity::V1::MulticloudDataTransferSupportedService
            # Lists the services in the project for a region that are supported for
            # Data Transfer Essentials.
            rpc :ListMulticloudDataTransferSupportedServices, ::Google::Cloud::NetworkConnectivity::V1::ListMulticloudDataTransferSupportedServicesRequest, ::Google::Cloud::NetworkConnectivity::V1::ListMulticloudDataTransferSupportedServicesResponse
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end
