// 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/securesourcemanager/v1/secure_source_manager.proto

#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SECURESOURCEMANAGER_V1_INTERNAL_SECURE_SOURCE_MANAGER_AUTH_DECORATOR_H
#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SECURESOURCEMANAGER_V1_INTERNAL_SECURE_SOURCE_MANAGER_AUTH_DECORATOR_H

#include "google/cloud/securesourcemanager/v1/internal/secure_source_manager_stub.h"
#include "google/cloud/internal/unified_grpc_credentials.h"
#include "google/cloud/version.h"
#include "google/longrunning/operations.grpc.pb.h"
#include <memory>
#include <set>
#include <string>

// Must be included last.
#include "google/cloud/ports_def.inc"

namespace google {
namespace cloud {
namespace securesourcemanager_v1_internal {
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN

class SecureSourceManagerAuth : public SecureSourceManagerStub {
 public:
  ~SecureSourceManagerAuth() override = default;
  SecureSourceManagerAuth(
      std::shared_ptr<google::cloud::internal::GrpcAuthenticationStrategy> auth,
      std::shared_ptr<SecureSourceManagerStub> child);

  StatusOr<google::cloud::securesourcemanager::v1::ListInstancesResponse>
  ListInstances(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::ListInstancesRequest const&
          request) override;

  StatusOr<google::cloud::securesourcemanager::v1::Instance> GetInstance(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::GetInstanceRequest const& request)
      override;

  future<StatusOr<google::longrunning::Operation>> AsyncCreateInstance(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::CreateInstanceRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> CreateInstance(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::CreateInstanceRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncDeleteInstance(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::DeleteInstanceRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> DeleteInstance(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::DeleteInstanceRequest const&
          request) override;

  StatusOr<google::cloud::securesourcemanager::v1::ListRepositoriesResponse>
  ListRepositories(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::ListRepositoriesRequest const&
          request) override;

  StatusOr<google::cloud::securesourcemanager::v1::Repository> GetRepository(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::GetRepositoryRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncCreateRepository(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::CreateRepositoryRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> CreateRepository(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::CreateRepositoryRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncUpdateRepository(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::UpdateRepositoryRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> UpdateRepository(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::UpdateRepositoryRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncDeleteRepository(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::DeleteRepositoryRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> DeleteRepository(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::DeleteRepositoryRequest const&
          request) override;

  StatusOr<google::cloud::securesourcemanager::v1::ListHooksResponse> ListHooks(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::ListHooksRequest const& request)
      override;

  StatusOr<google::cloud::securesourcemanager::v1::Hook> GetHook(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::GetHookRequest const& request)
      override;

  future<StatusOr<google::longrunning::Operation>> AsyncCreateHook(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::CreateHookRequest const& request)
      override;

  StatusOr<google::longrunning::Operation> CreateHook(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::CreateHookRequest const& request)
      override;

  future<StatusOr<google::longrunning::Operation>> AsyncUpdateHook(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::UpdateHookRequest const& request)
      override;

  StatusOr<google::longrunning::Operation> UpdateHook(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::UpdateHookRequest const& request)
      override;

  future<StatusOr<google::longrunning::Operation>> AsyncDeleteHook(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::DeleteHookRequest const& request)
      override;

  StatusOr<google::longrunning::Operation> DeleteHook(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::DeleteHookRequest const& request)
      override;

  StatusOr<google::iam::v1::Policy> GetIamPolicyRepo(
      grpc::ClientContext& context, Options const& options,
      google::iam::v1::GetIamPolicyRequest const& request) override;

  StatusOr<google::iam::v1::Policy> SetIamPolicyRepo(
      grpc::ClientContext& context, Options const& options,
      google::iam::v1::SetIamPolicyRequest const& request) override;

  StatusOr<google::iam::v1::TestIamPermissionsResponse> TestIamPermissionsRepo(
      grpc::ClientContext& context, Options const& options,
      google::iam::v1::TestIamPermissionsRequest const& request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncCreateBranchRule(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::CreateBranchRuleRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> CreateBranchRule(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::CreateBranchRuleRequest const&
          request) override;

  StatusOr<google::cloud::securesourcemanager::v1::ListBranchRulesResponse>
  ListBranchRules(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::ListBranchRulesRequest const&
          request) override;

  StatusOr<google::cloud::securesourcemanager::v1::BranchRule> GetBranchRule(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::GetBranchRuleRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncUpdateBranchRule(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::UpdateBranchRuleRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> UpdateBranchRule(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::UpdateBranchRuleRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncDeleteBranchRule(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::DeleteBranchRuleRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> DeleteBranchRule(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::DeleteBranchRuleRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncCreatePullRequest(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::CreatePullRequestRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> CreatePullRequest(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::CreatePullRequestRequest const&
          request) override;

  StatusOr<google::cloud::securesourcemanager::v1::PullRequest> GetPullRequest(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::GetPullRequestRequest const&
          request) override;

  StatusOr<google::cloud::securesourcemanager::v1::ListPullRequestsResponse>
  ListPullRequests(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::ListPullRequestsRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncUpdatePullRequest(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::UpdatePullRequestRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> UpdatePullRequest(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::UpdatePullRequestRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncMergePullRequest(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::MergePullRequestRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> MergePullRequest(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::MergePullRequestRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncOpenPullRequest(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::OpenPullRequestRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> OpenPullRequest(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::OpenPullRequestRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncClosePullRequest(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::ClosePullRequestRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> ClosePullRequest(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::ClosePullRequestRequest const&
          request) override;

  StatusOr<
      google::cloud::securesourcemanager::v1::ListPullRequestFileDiffsResponse>
  ListPullRequestFileDiffs(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::
          ListPullRequestFileDiffsRequest const& request) override;

  StatusOr<google::cloud::securesourcemanager::v1::FetchTreeResponse> FetchTree(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::FetchTreeRequest const& request)
      override;

  StatusOr<google::cloud::securesourcemanager::v1::FetchBlobResponse> FetchBlob(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::FetchBlobRequest const& request)
      override;

  future<StatusOr<google::longrunning::Operation>> AsyncCreateIssue(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::CreateIssueRequest const& request)
      override;

  StatusOr<google::longrunning::Operation> CreateIssue(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::CreateIssueRequest const& request)
      override;

  StatusOr<google::cloud::securesourcemanager::v1::Issue> GetIssue(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::GetIssueRequest const& request)
      override;

  StatusOr<google::cloud::securesourcemanager::v1::ListIssuesResponse>
  ListIssues(grpc::ClientContext& context, Options const& options,
             google::cloud::securesourcemanager::v1::ListIssuesRequest const&
                 request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncUpdateIssue(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::UpdateIssueRequest const& request)
      override;

  StatusOr<google::longrunning::Operation> UpdateIssue(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::UpdateIssueRequest const& request)
      override;

  future<StatusOr<google::longrunning::Operation>> AsyncDeleteIssue(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::DeleteIssueRequest const& request)
      override;

  StatusOr<google::longrunning::Operation> DeleteIssue(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::DeleteIssueRequest const& request)
      override;

  future<StatusOr<google::longrunning::Operation>> AsyncOpenIssue(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::OpenIssueRequest const& request)
      override;

  StatusOr<google::longrunning::Operation> OpenIssue(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::OpenIssueRequest const& request)
      override;

  future<StatusOr<google::longrunning::Operation>> AsyncCloseIssue(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::CloseIssueRequest const& request)
      override;

  StatusOr<google::longrunning::Operation> CloseIssue(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::CloseIssueRequest const& request)
      override;

  StatusOr<google::cloud::securesourcemanager::v1::PullRequestComment>
  GetPullRequestComment(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::
          GetPullRequestCommentRequest const& request) override;

  StatusOr<
      google::cloud::securesourcemanager::v1::ListPullRequestCommentsResponse>
  ListPullRequestComments(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::
          ListPullRequestCommentsRequest const& request) override;

  future<StatusOr<google::longrunning::Operation>>
  AsyncCreatePullRequestComment(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::
          CreatePullRequestCommentRequest const& request) override;

  StatusOr<google::longrunning::Operation> CreatePullRequestComment(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::
          CreatePullRequestCommentRequest const& request) override;

  future<StatusOr<google::longrunning::Operation>>
  AsyncUpdatePullRequestComment(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::
          UpdatePullRequestCommentRequest const& request) override;

  StatusOr<google::longrunning::Operation> UpdatePullRequestComment(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::
          UpdatePullRequestCommentRequest const& request) override;

  future<StatusOr<google::longrunning::Operation>>
  AsyncDeletePullRequestComment(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::
          DeletePullRequestCommentRequest const& request) override;

  StatusOr<google::longrunning::Operation> DeletePullRequestComment(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::
          DeletePullRequestCommentRequest const& request) override;

  future<StatusOr<google::longrunning::Operation>>
  AsyncBatchCreatePullRequestComments(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::
          BatchCreatePullRequestCommentsRequest const& request) override;

  StatusOr<google::longrunning::Operation> BatchCreatePullRequestComments(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::
          BatchCreatePullRequestCommentsRequest const& request) override;

  future<StatusOr<google::longrunning::Operation>>
  AsyncResolvePullRequestComments(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::
          ResolvePullRequestCommentsRequest const& request) override;

  StatusOr<google::longrunning::Operation> ResolvePullRequestComments(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::
          ResolvePullRequestCommentsRequest const& request) override;

  future<StatusOr<google::longrunning::Operation>>
  AsyncUnresolvePullRequestComments(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::
          UnresolvePullRequestCommentsRequest const& request) override;

  StatusOr<google::longrunning::Operation> UnresolvePullRequestComments(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::
          UnresolvePullRequestCommentsRequest const& request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncCreateIssueComment(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::CreateIssueCommentRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> CreateIssueComment(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::CreateIssueCommentRequest const&
          request) override;

  StatusOr<google::cloud::securesourcemanager::v1::IssueComment>
  GetIssueComment(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::GetIssueCommentRequest const&
          request) override;

  StatusOr<google::cloud::securesourcemanager::v1::ListIssueCommentsResponse>
  ListIssueComments(
      grpc::ClientContext& context, Options const& options,
      google::cloud::securesourcemanager::v1::ListIssueCommentsRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncUpdateIssueComment(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::UpdateIssueCommentRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> UpdateIssueComment(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::UpdateIssueCommentRequest const&
          request) override;

  future<StatusOr<google::longrunning::Operation>> AsyncDeleteIssueComment(
      google::cloud::CompletionQueue& cq,
      std::shared_ptr<grpc::ClientContext> context,
      google::cloud::internal::ImmutableOptions options,
      google::cloud::securesourcemanager::v1::DeleteIssueCommentRequest const&
          request) override;

  StatusOr<google::longrunning::Operation> DeleteIssueComment(
      grpc::ClientContext& context, Options options,
      google::cloud::securesourcemanager::v1::DeleteIssueCommentRequest const&
          request) override;

  StatusOr<google::cloud::location::ListLocationsResponse> ListLocations(
      grpc::ClientContext& context, Options const& options,
      google::cloud::location::ListLocationsRequest const& request) override;

  StatusOr<google::cloud::location::Location> GetLocation(
      grpc::ClientContext& context, Options const& options,
      google::cloud::location::GetLocationRequest const& request) override;

  StatusOr<google::iam::v1::Policy> SetIamPolicy(
      grpc::ClientContext& context, Options const& options,
      google::iam::v1::SetIamPolicyRequest const& request) override;

  StatusOr<google::iam::v1::Policy> GetIamPolicy(
      grpc::ClientContext& context, Options const& options,
      google::iam::v1::GetIamPolicyRequest const& request) override;

  StatusOr<google::iam::v1::TestIamPermissionsResponse> TestIamPermissions(
      grpc::ClientContext& context, Options const& options,
      google::iam::v1::TestIamPermissionsRequest const& request) override;

  StatusOr<google::longrunning::ListOperationsResponse> ListOperations(
      grpc::ClientContext& context, Options const& options,
      google::longrunning::ListOperationsRequest const& request) override;

  StatusOr<google::longrunning::Operation> GetOperation(
      grpc::ClientContext& context, Options const& options,
      google::longrunning::GetOperationRequest const& request) override;

  Status DeleteOperation(
      grpc::ClientContext& context, Options const& options,
      google::longrunning::DeleteOperationRequest const& request) override;

  Status CancelOperation(
      grpc::ClientContext& context, Options const& options,
      google::longrunning::CancelOperationRequest const& request) override;

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

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

 private:
  std::shared_ptr<google::cloud::internal::GrpcAuthenticationStrategy> auth_;
  std::shared_ptr<SecureSourceManagerStub> child_;
};

GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
}  // namespace securesourcemanager_v1_internal
}  // namespace cloud
}  // namespace google

#include "google/cloud/ports_undef.inc"

#endif  // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SECURESOURCEMANAGER_V1_INTERNAL_SECURE_SOURCE_MANAGER_AUTH_DECORATOR_H
