// 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
//
//      https://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.

// Generated by the Codegen C++ plugin.
// If you make any local changes, they will be lost.
// source: google/cloud/telcoautomation/v1/telcoautomation.proto

#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_TELCOAUTOMATION_V1_INTERNAL_TELCO_AUTOMATION_STUB_H
#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_TELCOAUTOMATION_V1_INTERNAL_TELCO_AUTOMATION_STUB_H

#include "google/cloud/completion_queue.h"
#include "google/cloud/future.h"
#include "google/cloud/options.h"
#include "google/cloud/status_or.h"
#include "google/cloud/version.h"
#include <google/cloud/telcoautomation/v1/telcoautomation.grpc.pb.h>
#include <google/longrunning/operations.grpc.pb.h>
#include <memory>

namespace google {
namespace cloud {
namespace telcoautomation_v1_internal {
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN

class TelcoAutomationStub {
 public:
  virtual ~TelcoAutomationStub() = 0;

  virtual StatusOr<
      google::cloud::telcoautomation::v1::ListOrchestrationClustersResponse>
  ListOrchestrationClusters(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::
          ListOrchestrationClustersRequest const& request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::OrchestrationCluster>
  GetOrchestrationCluster(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::GetOrchestrationClusterRequest const&
          request) = 0;

  virtual future<StatusOr<google::longrunning::Operation>>
  AsyncCreateOrchestrationCluster(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context, Options const& options,
      google::cloud::telcoautomation::v1::
          CreateOrchestrationClusterRequest const& request) = 0;

  virtual future<StatusOr<google::longrunning::Operation>>
  AsyncDeleteOrchestrationCluster(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context, Options const& options,
      google::cloud::telcoautomation::v1::
          DeleteOrchestrationClusterRequest const& request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::ListEdgeSlmsResponse>
  ListEdgeSlms(grpc::ClientContext& context,
               google::cloud::telcoautomation::v1::ListEdgeSlmsRequest const&
                   request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::EdgeSlm> GetEdgeSlm(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::GetEdgeSlmRequest const& request) = 0;

  virtual future<StatusOr<google::longrunning::Operation>> AsyncCreateEdgeSlm(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context, Options const& options,
      google::cloud::telcoautomation::v1::CreateEdgeSlmRequest const&
          request) = 0;

  virtual future<StatusOr<google::longrunning::Operation>> AsyncDeleteEdgeSlm(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context, Options const& options,
      google::cloud::telcoautomation::v1::DeleteEdgeSlmRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::Blueprint>
  CreateBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::CreateBlueprintRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::Blueprint>
  UpdateBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::UpdateBlueprintRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::Blueprint> GetBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::GetBlueprintRequest const&
          request) = 0;

  virtual Status DeleteBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::DeleteBlueprintRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::ListBlueprintsResponse>
  ListBlueprints(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ListBlueprintsRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::Blueprint>
  ApproveBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ApproveBlueprintRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::Blueprint>
  ProposeBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ProposeBlueprintRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::Blueprint>
  RejectBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::RejectBlueprintRequest const&
          request) = 0;

  virtual StatusOr<
      google::cloud::telcoautomation::v1::ListBlueprintRevisionsResponse>
  ListBlueprintRevisions(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ListBlueprintRevisionsRequest const&
          request) = 0;

  virtual StatusOr<
      google::cloud::telcoautomation::v1::SearchBlueprintRevisionsResponse>
  SearchBlueprintRevisions(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::SearchBlueprintRevisionsRequest const&
          request) = 0;

  virtual StatusOr<
      google::cloud::telcoautomation::v1::SearchDeploymentRevisionsResponse>
  SearchDeploymentRevisions(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::
          SearchDeploymentRevisionsRequest const& request) = 0;

  virtual StatusOr<
      google::cloud::telcoautomation::v1::DiscardBlueprintChangesResponse>
  DiscardBlueprintChanges(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::DiscardBlueprintChangesRequest const&
          request) = 0;

  virtual StatusOr<
      google::cloud::telcoautomation::v1::ListPublicBlueprintsResponse>
  ListPublicBlueprints(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ListPublicBlueprintsRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::PublicBlueprint>
  GetPublicBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::GetPublicBlueprintRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::Deployment>
  CreateDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::CreateDeploymentRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::Deployment>
  UpdateDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::UpdateDeploymentRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::Deployment>
  GetDeployment(grpc::ClientContext& context,
                google::cloud::telcoautomation::v1::GetDeploymentRequest const&
                    request) = 0;

  virtual Status RemoveDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::RemoveDeploymentRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::ListDeploymentsResponse>
  ListDeployments(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ListDeploymentsRequest const&
          request) = 0;

  virtual StatusOr<
      google::cloud::telcoautomation::v1::ListDeploymentRevisionsResponse>
  ListDeploymentRevisions(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ListDeploymentRevisionsRequest const&
          request) = 0;

  virtual StatusOr<
      google::cloud::telcoautomation::v1::DiscardDeploymentChangesResponse>
  DiscardDeploymentChanges(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::DiscardDeploymentChangesRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::Deployment>
  ApplyDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ApplyDeploymentRequest const&
          request) = 0;

  virtual StatusOr<
      google::cloud::telcoautomation::v1::ComputeDeploymentStatusResponse>
  ComputeDeploymentStatus(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ComputeDeploymentStatusRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::Deployment>
  RollbackDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::RollbackDeploymentRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::HydratedDeployment>
  GetHydratedDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::GetHydratedDeploymentRequest const&
          request) = 0;

  virtual StatusOr<
      google::cloud::telcoautomation::v1::ListHydratedDeploymentsResponse>
  ListHydratedDeployments(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ListHydratedDeploymentsRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::HydratedDeployment>
  UpdateHydratedDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::UpdateHydratedDeploymentRequest const&
          request) = 0;

  virtual StatusOr<google::cloud::telcoautomation::v1::HydratedDeployment>
  ApplyHydratedDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ApplyHydratedDeploymentRequest const&
          request) = 0;

  virtual future<StatusOr<google::longrunning::Operation>> AsyncGetOperation(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context, Options const& options,
      google::longrunning::GetOperationRequest const& request) = 0;

  virtual future<Status> AsyncCancelOperation(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context, Options const& options,
      google::longrunning::CancelOperationRequest const& request) = 0;
};

class DefaultTelcoAutomationStub : public TelcoAutomationStub {
 public:
  DefaultTelcoAutomationStub(
      std::unique_ptr<
          google::cloud::telcoautomation::v1::TelcoAutomation::StubInterface>
          grpc_stub,
      std::unique_ptr<google::longrunning::Operations::StubInterface>
          operations)
      : grpc_stub_(std::move(grpc_stub)), operations_(std::move(operations)) {}

  StatusOr<
      google::cloud::telcoautomation::v1::ListOrchestrationClustersResponse>
  ListOrchestrationClusters(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::
          ListOrchestrationClustersRequest const& request) override;

  StatusOr<google::cloud::telcoautomation::v1::OrchestrationCluster>
  GetOrchestrationCluster(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::GetOrchestrationClusterRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>>
  AsyncCreateOrchestrationCluster(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context, Options const& options,
      google::cloud::telcoautomation::v1::
          CreateOrchestrationClusterRequest const& request) override;

  future<StatusOr<google::longrunning::Operation>>
  AsyncDeleteOrchestrationCluster(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context, Options const& options,
      google::cloud::telcoautomation::v1::
          DeleteOrchestrationClusterRequest const& request) override;

  StatusOr<google::cloud::telcoautomation::v1::ListEdgeSlmsResponse>
  ListEdgeSlms(grpc::ClientContext& context,
               google::cloud::telcoautomation::v1::ListEdgeSlmsRequest const&
                   request) override;

  StatusOr<google::cloud::telcoautomation::v1::EdgeSlm> GetEdgeSlm(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::GetEdgeSlmRequest const& request)
      override;

  future<StatusOr<google::longrunning::Operation>> AsyncCreateEdgeSlm(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context, Options const& options,
      google::cloud::telcoautomation::v1::CreateEdgeSlmRequest const& request)
      override;

  future<StatusOr<google::longrunning::Operation>> AsyncDeleteEdgeSlm(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context, Options const& options,
      google::cloud::telcoautomation::v1::DeleteEdgeSlmRequest const& request)
      override;

  StatusOr<google::cloud::telcoautomation::v1::Blueprint> CreateBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::CreateBlueprintRequest const& request)
      override;

  StatusOr<google::cloud::telcoautomation::v1::Blueprint> UpdateBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::UpdateBlueprintRequest const& request)
      override;

  StatusOr<google::cloud::telcoautomation::v1::Blueprint> GetBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::GetBlueprintRequest const& request)
      override;

  Status DeleteBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::DeleteBlueprintRequest const& request)
      override;

  StatusOr<google::cloud::telcoautomation::v1::ListBlueprintsResponse>
  ListBlueprints(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ListBlueprintsRequest const& request)
      override;

  StatusOr<google::cloud::telcoautomation::v1::Blueprint> ApproveBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ApproveBlueprintRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::Blueprint> ProposeBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ProposeBlueprintRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::Blueprint> RejectBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::RejectBlueprintRequest const& request)
      override;

  StatusOr<google::cloud::telcoautomation::v1::ListBlueprintRevisionsResponse>
  ListBlueprintRevisions(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ListBlueprintRevisionsRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::SearchBlueprintRevisionsResponse>
  SearchBlueprintRevisions(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::SearchBlueprintRevisionsRequest const&
          request) override;

  StatusOr<
      google::cloud::telcoautomation::v1::SearchDeploymentRevisionsResponse>
  SearchDeploymentRevisions(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::
          SearchDeploymentRevisionsRequest const& request) override;

  StatusOr<google::cloud::telcoautomation::v1::DiscardBlueprintChangesResponse>
  DiscardBlueprintChanges(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::DiscardBlueprintChangesRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::ListPublicBlueprintsResponse>
  ListPublicBlueprints(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ListPublicBlueprintsRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::PublicBlueprint>
  GetPublicBlueprint(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::GetPublicBlueprintRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::Deployment> CreateDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::CreateDeploymentRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::Deployment> UpdateDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::UpdateDeploymentRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::Deployment> GetDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::GetDeploymentRequest const& request)
      override;

  Status RemoveDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::RemoveDeploymentRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::ListDeploymentsResponse>
  ListDeployments(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ListDeploymentsRequest const& request)
      override;

  StatusOr<google::cloud::telcoautomation::v1::ListDeploymentRevisionsResponse>
  ListDeploymentRevisions(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ListDeploymentRevisionsRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::DiscardDeploymentChangesResponse>
  DiscardDeploymentChanges(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::DiscardDeploymentChangesRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::Deployment> ApplyDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ApplyDeploymentRequest const& request)
      override;

  StatusOr<google::cloud::telcoautomation::v1::ComputeDeploymentStatusResponse>
  ComputeDeploymentStatus(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ComputeDeploymentStatusRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::Deployment> RollbackDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::RollbackDeploymentRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::HydratedDeployment>
  GetHydratedDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::GetHydratedDeploymentRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::ListHydratedDeploymentsResponse>
  ListHydratedDeployments(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ListHydratedDeploymentsRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::HydratedDeployment>
  UpdateHydratedDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::UpdateHydratedDeploymentRequest const&
          request) override;

  StatusOr<google::cloud::telcoautomation::v1::HydratedDeployment>
  ApplyHydratedDeployment(
      grpc::ClientContext& context,
      google::cloud::telcoautomation::v1::ApplyHydratedDeploymentRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncGetOperation(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context, Options const& options,
      google::longrunning::GetOperationRequest const& request) override;

  future<Status> AsyncCancelOperation(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context, Options const& options,
      google::longrunning::CancelOperationRequest const& request) override;

 private:
  std::unique_ptr<
      google::cloud::telcoautomation::v1::TelcoAutomation::StubInterface>
      grpc_stub_;
  std::unique_ptr<google::longrunning::Operations::StubInterface> operations_;
};

GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
}  // namespace telcoautomation_v1_internal
}  // namespace cloud
}  // namespace google

#endif  // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_TELCOAUTOMATION_V1_INTERNAL_TELCO_AUTOMATION_STUB_H
