// Generated by the gRPC C++ plugin.
// If you make any local change, they will be lost.
// source: keyapis/vc/v1/keyapis_vc_monitoring_v1.proto

#include "keyapis/vc/v1/keyapis_vc_monitoring_v1.pb.h"
#include "keyapis/vc/v1/keyapis_vc_monitoring_v1.grpc.pb.h"

#include <functional>
#include <grpcpp/impl/codegen/async_stream.h>
#include <grpcpp/impl/codegen/async_unary_call.h>
#include <grpcpp/impl/codegen/channel_interface.h>
#include <grpcpp/impl/codegen/client_unary_call.h>
#include <grpcpp/impl/codegen/client_callback.h>
#include <grpcpp/impl/codegen/message_allocator.h>
#include <grpcpp/impl/codegen/method_handler.h>
#include <grpcpp/impl/codegen/rpc_service_method.h>
#include <grpcpp/impl/codegen/server_callback.h>
#include <grpcpp/impl/codegen/server_callback_handlers.h>
#include <grpcpp/impl/codegen/server_context.h>
#include <grpcpp/impl/codegen/service_type.h>
#include <grpcpp/impl/codegen/sync_stream.h>
namespace keyapis {
namespace vc {
namespace v1 {

static const char* MonitoringService_method_names[] = {
  "/keyapis.vc.v1.MonitoringService/GetMonitoringCompanyCamera",
};

std::unique_ptr< MonitoringService::Stub> MonitoringService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) {
  (void)options;
  std::unique_ptr< MonitoringService::Stub> stub(new MonitoringService::Stub(channel, options));
  return stub;
}

MonitoringService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options)
  : channel_(channel), rpcmethod_GetMonitoringCompanyCamera_(MonitoringService_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
  {}

::grpc::Status MonitoringService::Stub::GetMonitoringCompanyCamera(::grpc::ClientContext* context, const ::keyapis::vc::v1::GetMonitoringCompanyCameraRequest& request, ::keyapis::vc::v1::GetMonitoringCompanyCameraResponse* response) {
  return ::grpc::internal::BlockingUnaryCall< ::keyapis::vc::v1::GetMonitoringCompanyCameraRequest, ::keyapis::vc::v1::GetMonitoringCompanyCameraResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetMonitoringCompanyCamera_, context, request, response);
}

void MonitoringService::Stub::async::GetMonitoringCompanyCamera(::grpc::ClientContext* context, const ::keyapis::vc::v1::GetMonitoringCompanyCameraRequest* request, ::keyapis::vc::v1::GetMonitoringCompanyCameraResponse* response, std::function<void(::grpc::Status)> f) {
  ::grpc::internal::CallbackUnaryCall< ::keyapis::vc::v1::GetMonitoringCompanyCameraRequest, ::keyapis::vc::v1::GetMonitoringCompanyCameraResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetMonitoringCompanyCamera_, context, request, response, std::move(f));
}

void MonitoringService::Stub::async::GetMonitoringCompanyCamera(::grpc::ClientContext* context, const ::keyapis::vc::v1::GetMonitoringCompanyCameraRequest* request, ::keyapis::vc::v1::GetMonitoringCompanyCameraResponse* response, ::grpc::ClientUnaryReactor* reactor) {
  ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetMonitoringCompanyCamera_, context, request, response, reactor);
}

::grpc::ClientAsyncResponseReader< ::keyapis::vc::v1::GetMonitoringCompanyCameraResponse>* MonitoringService::Stub::PrepareAsyncGetMonitoringCompanyCameraRaw(::grpc::ClientContext* context, const ::keyapis::vc::v1::GetMonitoringCompanyCameraRequest& request, ::grpc::CompletionQueue* cq) {
  return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::keyapis::vc::v1::GetMonitoringCompanyCameraResponse, ::keyapis::vc::v1::GetMonitoringCompanyCameraRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetMonitoringCompanyCamera_, context, request);
}

::grpc::ClientAsyncResponseReader< ::keyapis::vc::v1::GetMonitoringCompanyCameraResponse>* MonitoringService::Stub::AsyncGetMonitoringCompanyCameraRaw(::grpc::ClientContext* context, const ::keyapis::vc::v1::GetMonitoringCompanyCameraRequest& request, ::grpc::CompletionQueue* cq) {
  auto* result =
    this->PrepareAsyncGetMonitoringCompanyCameraRaw(context, request, cq);
  result->StartCall();
  return result;
}

MonitoringService::Service::Service() {
  AddMethod(new ::grpc::internal::RpcServiceMethod(
      MonitoringService_method_names[0],
      ::grpc::internal::RpcMethod::NORMAL_RPC,
      new ::grpc::internal::RpcMethodHandler< MonitoringService::Service, ::keyapis::vc::v1::GetMonitoringCompanyCameraRequest, ::keyapis::vc::v1::GetMonitoringCompanyCameraResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
          [](MonitoringService::Service* service,
             ::grpc::ServerContext* ctx,
             const ::keyapis::vc::v1::GetMonitoringCompanyCameraRequest* req,
             ::keyapis::vc::v1::GetMonitoringCompanyCameraResponse* resp) {
               return service->GetMonitoringCompanyCamera(ctx, req, resp);
             }, this)));
}

MonitoringService::Service::~Service() {
}

::grpc::Status MonitoringService::Service::GetMonitoringCompanyCamera(::grpc::ServerContext* context, const ::keyapis::vc::v1::GetMonitoringCompanyCameraRequest* request, ::keyapis::vc::v1::GetMonitoringCompanyCameraResponse* response) {
  (void) context;
  (void) request;
  (void) response;
  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}


}  // namespace keyapis
}  // namespace vc
}  // namespace v1

