// Generated by the gRPC C++ plugin.
// If you make any local change, they will be lost.
// source: tensorflow/core/data/service/dispatcher.proto
#ifndef GRPC_tensorflow_2fcore_2fdata_2fservice_2fdispatcher_2eproto__INCLUDED
#define GRPC_tensorflow_2fcore_2fdata_2fservice_2fdispatcher_2eproto__INCLUDED

#include "tensorflow/core/data/service/dispatcher.pb.h"

#include <functional>
#include <grpc/impl/codegen/port_platform.h>
#include <grpcpp/impl/codegen/async_generic_service.h>
#include <grpcpp/impl/codegen/async_stream.h>
#include <grpcpp/impl/codegen/async_unary_call.h>
#include <grpcpp/impl/codegen/client_callback.h>
#include <grpcpp/impl/codegen/client_context.h>
#include <grpcpp/impl/codegen/completion_queue.h>
#include <grpcpp/impl/codegen/message_allocator.h>
#include <grpcpp/impl/codegen/method_handler.h>
#include <grpcpp/impl/codegen/proto_utils.h>
#include <grpcpp/impl/codegen/rpc_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/status.h>
#include <grpcpp/impl/codegen/stub_options.h>
#include <grpcpp/impl/codegen/sync_stream.h>

namespace tensorflow {
namespace data {

class DispatcherService final {
 public:
  static constexpr char const* service_full_name() {
    return "tensorflow.data.DispatcherService";
  }
  class StubInterface {
   public:
    virtual ~StubInterface() {}
    // Performs a periodic worker heartbeat.
    virtual ::grpc::Status WorkerHeartbeat(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest& request, ::tensorflow::data::WorkerHeartbeatResponse* response) = 0;
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::WorkerHeartbeatResponse>> AsyncWorkerHeartbeat(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::WorkerHeartbeatResponse>>(AsyncWorkerHeartbeatRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::WorkerHeartbeatResponse>> PrepareAsyncWorkerHeartbeat(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::WorkerHeartbeatResponse>>(PrepareAsyncWorkerHeartbeatRaw(context, request, cq));
    }
    // Updates the dispatcher with information about the worker's state.
    virtual ::grpc::Status WorkerUpdate(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest& request, ::tensorflow::data::WorkerUpdateResponse* response) = 0;
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::WorkerUpdateResponse>> AsyncWorkerUpdate(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::WorkerUpdateResponse>>(AsyncWorkerUpdateRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::WorkerUpdateResponse>> PrepareAsyncWorkerUpdate(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::WorkerUpdateResponse>>(PrepareAsyncWorkerUpdateRaw(context, request, cq));
    }
    // Gets a dataset defintion.
    virtual ::grpc::Status GetDatasetDef(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest& request, ::tensorflow::data::GetDatasetDefResponse* response) = 0;
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetDatasetDefResponse>> AsyncGetDatasetDef(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetDatasetDefResponse>>(AsyncGetDatasetDefRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetDatasetDefResponse>> PrepareAsyncGetDatasetDef(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetDatasetDefResponse>>(PrepareAsyncGetDatasetDefRaw(context, request, cq));
    }
    // Gets the next split for a given job.
    virtual ::grpc::Status GetSplit(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest& request, ::tensorflow::data::GetSplitResponse* response) = 0;
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetSplitResponse>> AsyncGetSplit(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetSplitResponse>>(AsyncGetSplitRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetSplitResponse>> PrepareAsyncGetSplit(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetSplitResponse>>(PrepareAsyncGetSplitRaw(context, request, cq));
    }
    // Registers a dataset with the server, or returns its id if it is already
    // registered.
    //
    // The dataset is constructed in a new graph, so it must not refer to
    // external resources or variables.
    virtual ::grpc::Status GetOrRegisterDataset(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest& request, ::tensorflow::data::GetOrRegisterDatasetResponse* response) = 0;
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetOrRegisterDatasetResponse>> AsyncGetOrRegisterDataset(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetOrRegisterDatasetResponse>>(AsyncGetOrRegisterDatasetRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetOrRegisterDatasetResponse>> PrepareAsyncGetOrRegisterDataset(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetOrRegisterDatasetResponse>>(PrepareAsyncGetOrRegisterDatasetRaw(context, request, cq));
    }
    // Gets a job if it already exists, otherwise creates it.
    virtual ::grpc::Status GetOrCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest& request, ::tensorflow::data::GetOrCreateJobResponse* response) = 0;
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetOrCreateJobResponse>> AsyncGetOrCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetOrCreateJobResponse>>(AsyncGetOrCreateJobRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetOrCreateJobResponse>> PrepareAsyncGetOrCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetOrCreateJobResponse>>(PrepareAsyncGetOrCreateJobRaw(context, request, cq));
    }
    // Creates a job for reading from the tf.data service.
    virtual ::grpc::Status CreateJob(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest& request, ::tensorflow::data::CreateJobResponse* response) = 0;
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::CreateJobResponse>> AsyncCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::CreateJobResponse>>(AsyncCreateJobRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::CreateJobResponse>> PrepareAsyncCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::CreateJobResponse>>(PrepareAsyncCreateJobRaw(context, request, cq));
    }
    // Releases a job client so that a job may eventually be cleaned up.
    virtual ::grpc::Status ReleaseJobClient(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest& request, ::tensorflow::data::ReleaseJobClientResponse* response) = 0;
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::ReleaseJobClientResponse>> AsyncReleaseJobClient(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::ReleaseJobClientResponse>>(AsyncReleaseJobClientRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::ReleaseJobClientResponse>> PrepareAsyncReleaseJobClient(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::ReleaseJobClientResponse>>(PrepareAsyncReleaseJobClientRaw(context, request, cq));
    }
    // Reports a list of all tasks for a job.
    virtual ::grpc::Status GetTasks(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest& request, ::tensorflow::data::GetTasksResponse* response) = 0;
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetTasksResponse>> AsyncGetTasks(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetTasksResponse>>(AsyncGetTasksRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetTasksResponse>> PrepareAsyncGetTasks(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetTasksResponse>>(PrepareAsyncGetTasksRaw(context, request, cq));
    }
    // Reports a list of all workers registered with the dispatcher.
    virtual ::grpc::Status GetWorkers(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest& request, ::tensorflow::data::GetWorkersResponse* response) = 0;
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetWorkersResponse>> AsyncGetWorkers(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetWorkersResponse>>(AsyncGetWorkersRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetWorkersResponse>> PrepareAsyncGetWorkers(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetWorkersResponse>>(PrepareAsyncGetWorkersRaw(context, request, cq));
    }
    class experimental_async_interface {
     public:
      virtual ~experimental_async_interface() {}
      // Performs a periodic worker heartbeat.
      virtual void WorkerHeartbeat(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest* request, ::tensorflow::data::WorkerHeartbeatResponse* response, std::function<void(::grpc::Status)>) = 0;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      virtual void WorkerHeartbeat(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest* request, ::tensorflow::data::WorkerHeartbeatResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
      #else
      virtual void WorkerHeartbeat(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest* request, ::tensorflow::data::WorkerHeartbeatResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0;
      #endif
      // Updates the dispatcher with information about the worker's state.
      virtual void WorkerUpdate(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest* request, ::tensorflow::data::WorkerUpdateResponse* response, std::function<void(::grpc::Status)>) = 0;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      virtual void WorkerUpdate(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest* request, ::tensorflow::data::WorkerUpdateResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
      #else
      virtual void WorkerUpdate(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest* request, ::tensorflow::data::WorkerUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0;
      #endif
      // Gets a dataset defintion.
      virtual void GetDatasetDef(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest* request, ::tensorflow::data::GetDatasetDefResponse* response, std::function<void(::grpc::Status)>) = 0;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      virtual void GetDatasetDef(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest* request, ::tensorflow::data::GetDatasetDefResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
      #else
      virtual void GetDatasetDef(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest* request, ::tensorflow::data::GetDatasetDefResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0;
      #endif
      // Gets the next split for a given job.
      virtual void GetSplit(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest* request, ::tensorflow::data::GetSplitResponse* response, std::function<void(::grpc::Status)>) = 0;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      virtual void GetSplit(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest* request, ::tensorflow::data::GetSplitResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
      #else
      virtual void GetSplit(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest* request, ::tensorflow::data::GetSplitResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0;
      #endif
      // Registers a dataset with the server, or returns its id if it is already
      // registered.
      //
      // The dataset is constructed in a new graph, so it must not refer to
      // external resources or variables.
      virtual void GetOrRegisterDataset(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest* request, ::tensorflow::data::GetOrRegisterDatasetResponse* response, std::function<void(::grpc::Status)>) = 0;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      virtual void GetOrRegisterDataset(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest* request, ::tensorflow::data::GetOrRegisterDatasetResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
      #else
      virtual void GetOrRegisterDataset(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest* request, ::tensorflow::data::GetOrRegisterDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0;
      #endif
      // Gets a job if it already exists, otherwise creates it.
      virtual void GetOrCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest* request, ::tensorflow::data::GetOrCreateJobResponse* response, std::function<void(::grpc::Status)>) = 0;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      virtual void GetOrCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest* request, ::tensorflow::data::GetOrCreateJobResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
      #else
      virtual void GetOrCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest* request, ::tensorflow::data::GetOrCreateJobResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0;
      #endif
      // Creates a job for reading from the tf.data service.
      virtual void CreateJob(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest* request, ::tensorflow::data::CreateJobResponse* response, std::function<void(::grpc::Status)>) = 0;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      virtual void CreateJob(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest* request, ::tensorflow::data::CreateJobResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
      #else
      virtual void CreateJob(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest* request, ::tensorflow::data::CreateJobResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0;
      #endif
      // Releases a job client so that a job may eventually be cleaned up.
      virtual void ReleaseJobClient(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest* request, ::tensorflow::data::ReleaseJobClientResponse* response, std::function<void(::grpc::Status)>) = 0;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      virtual void ReleaseJobClient(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest* request, ::tensorflow::data::ReleaseJobClientResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
      #else
      virtual void ReleaseJobClient(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest* request, ::tensorflow::data::ReleaseJobClientResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0;
      #endif
      // Reports a list of all tasks for a job.
      virtual void GetTasks(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest* request, ::tensorflow::data::GetTasksResponse* response, std::function<void(::grpc::Status)>) = 0;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      virtual void GetTasks(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest* request, ::tensorflow::data::GetTasksResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
      #else
      virtual void GetTasks(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest* request, ::tensorflow::data::GetTasksResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0;
      #endif
      // Reports a list of all workers registered with the dispatcher.
      virtual void GetWorkers(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest* request, ::tensorflow::data::GetWorkersResponse* response, std::function<void(::grpc::Status)>) = 0;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      virtual void GetWorkers(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest* request, ::tensorflow::data::GetWorkersResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
      #else
      virtual void GetWorkers(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest* request, ::tensorflow::data::GetWorkersResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0;
      #endif
    };
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    typedef class experimental_async_interface async_interface;
    #endif
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    async_interface* async() { return experimental_async(); }
    #endif
    virtual class experimental_async_interface* experimental_async() { return nullptr; }
  private:
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::WorkerHeartbeatResponse>* AsyncWorkerHeartbeatRaw(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::WorkerHeartbeatResponse>* PrepareAsyncWorkerHeartbeatRaw(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::WorkerUpdateResponse>* AsyncWorkerUpdateRaw(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::WorkerUpdateResponse>* PrepareAsyncWorkerUpdateRaw(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetDatasetDefResponse>* AsyncGetDatasetDefRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetDatasetDefResponse>* PrepareAsyncGetDatasetDefRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetSplitResponse>* AsyncGetSplitRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetSplitResponse>* PrepareAsyncGetSplitRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetOrRegisterDatasetResponse>* AsyncGetOrRegisterDatasetRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetOrRegisterDatasetResponse>* PrepareAsyncGetOrRegisterDatasetRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetOrCreateJobResponse>* AsyncGetOrCreateJobRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetOrCreateJobResponse>* PrepareAsyncGetOrCreateJobRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::CreateJobResponse>* AsyncCreateJobRaw(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::CreateJobResponse>* PrepareAsyncCreateJobRaw(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::ReleaseJobClientResponse>* AsyncReleaseJobClientRaw(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::ReleaseJobClientResponse>* PrepareAsyncReleaseJobClientRaw(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetTasksResponse>* AsyncGetTasksRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetTasksResponse>* PrepareAsyncGetTasksRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetWorkersResponse>* AsyncGetWorkersRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest& request, ::grpc::CompletionQueue* cq) = 0;
    virtual ::grpc::ClientAsyncResponseReaderInterface< ::tensorflow::data::GetWorkersResponse>* PrepareAsyncGetWorkersRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest& request, ::grpc::CompletionQueue* cq) = 0;
  };
  class Stub final : public StubInterface {
   public:
    Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel);
    ::grpc::Status WorkerHeartbeat(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest& request, ::tensorflow::data::WorkerHeartbeatResponse* response) override;
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::WorkerHeartbeatResponse>> AsyncWorkerHeartbeat(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::WorkerHeartbeatResponse>>(AsyncWorkerHeartbeatRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::WorkerHeartbeatResponse>> PrepareAsyncWorkerHeartbeat(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::WorkerHeartbeatResponse>>(PrepareAsyncWorkerHeartbeatRaw(context, request, cq));
    }
    ::grpc::Status WorkerUpdate(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest& request, ::tensorflow::data::WorkerUpdateResponse* response) override;
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::WorkerUpdateResponse>> AsyncWorkerUpdate(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::WorkerUpdateResponse>>(AsyncWorkerUpdateRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::WorkerUpdateResponse>> PrepareAsyncWorkerUpdate(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::WorkerUpdateResponse>>(PrepareAsyncWorkerUpdateRaw(context, request, cq));
    }
    ::grpc::Status GetDatasetDef(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest& request, ::tensorflow::data::GetDatasetDefResponse* response) override;
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetDatasetDefResponse>> AsyncGetDatasetDef(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetDatasetDefResponse>>(AsyncGetDatasetDefRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetDatasetDefResponse>> PrepareAsyncGetDatasetDef(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetDatasetDefResponse>>(PrepareAsyncGetDatasetDefRaw(context, request, cq));
    }
    ::grpc::Status GetSplit(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest& request, ::tensorflow::data::GetSplitResponse* response) override;
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetSplitResponse>> AsyncGetSplit(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetSplitResponse>>(AsyncGetSplitRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetSplitResponse>> PrepareAsyncGetSplit(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetSplitResponse>>(PrepareAsyncGetSplitRaw(context, request, cq));
    }
    ::grpc::Status GetOrRegisterDataset(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest& request, ::tensorflow::data::GetOrRegisterDatasetResponse* response) override;
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetOrRegisterDatasetResponse>> AsyncGetOrRegisterDataset(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetOrRegisterDatasetResponse>>(AsyncGetOrRegisterDatasetRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetOrRegisterDatasetResponse>> PrepareAsyncGetOrRegisterDataset(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetOrRegisterDatasetResponse>>(PrepareAsyncGetOrRegisterDatasetRaw(context, request, cq));
    }
    ::grpc::Status GetOrCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest& request, ::tensorflow::data::GetOrCreateJobResponse* response) override;
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetOrCreateJobResponse>> AsyncGetOrCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetOrCreateJobResponse>>(AsyncGetOrCreateJobRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetOrCreateJobResponse>> PrepareAsyncGetOrCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetOrCreateJobResponse>>(PrepareAsyncGetOrCreateJobRaw(context, request, cq));
    }
    ::grpc::Status CreateJob(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest& request, ::tensorflow::data::CreateJobResponse* response) override;
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::CreateJobResponse>> AsyncCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::CreateJobResponse>>(AsyncCreateJobRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::CreateJobResponse>> PrepareAsyncCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::CreateJobResponse>>(PrepareAsyncCreateJobRaw(context, request, cq));
    }
    ::grpc::Status ReleaseJobClient(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest& request, ::tensorflow::data::ReleaseJobClientResponse* response) override;
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::ReleaseJobClientResponse>> AsyncReleaseJobClient(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::ReleaseJobClientResponse>>(AsyncReleaseJobClientRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::ReleaseJobClientResponse>> PrepareAsyncReleaseJobClient(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::ReleaseJobClientResponse>>(PrepareAsyncReleaseJobClientRaw(context, request, cq));
    }
    ::grpc::Status GetTasks(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest& request, ::tensorflow::data::GetTasksResponse* response) override;
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetTasksResponse>> AsyncGetTasks(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetTasksResponse>>(AsyncGetTasksRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetTasksResponse>> PrepareAsyncGetTasks(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetTasksResponse>>(PrepareAsyncGetTasksRaw(context, request, cq));
    }
    ::grpc::Status GetWorkers(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest& request, ::tensorflow::data::GetWorkersResponse* response) override;
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetWorkersResponse>> AsyncGetWorkers(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetWorkersResponse>>(AsyncGetWorkersRaw(context, request, cq));
    }
    std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetWorkersResponse>> PrepareAsyncGetWorkers(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest& request, ::grpc::CompletionQueue* cq) {
      return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetWorkersResponse>>(PrepareAsyncGetWorkersRaw(context, request, cq));
    }
    class experimental_async final :
      public StubInterface::experimental_async_interface {
     public:
      void WorkerHeartbeat(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest* request, ::tensorflow::data::WorkerHeartbeatResponse* response, std::function<void(::grpc::Status)>) override;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      void WorkerHeartbeat(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest* request, ::tensorflow::data::WorkerHeartbeatResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
      #else
      void WorkerHeartbeat(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest* request, ::tensorflow::data::WorkerHeartbeatResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override;
      #endif
      void WorkerUpdate(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest* request, ::tensorflow::data::WorkerUpdateResponse* response, std::function<void(::grpc::Status)>) override;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      void WorkerUpdate(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest* request, ::tensorflow::data::WorkerUpdateResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
      #else
      void WorkerUpdate(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest* request, ::tensorflow::data::WorkerUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override;
      #endif
      void GetDatasetDef(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest* request, ::tensorflow::data::GetDatasetDefResponse* response, std::function<void(::grpc::Status)>) override;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      void GetDatasetDef(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest* request, ::tensorflow::data::GetDatasetDefResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
      #else
      void GetDatasetDef(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest* request, ::tensorflow::data::GetDatasetDefResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override;
      #endif
      void GetSplit(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest* request, ::tensorflow::data::GetSplitResponse* response, std::function<void(::grpc::Status)>) override;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      void GetSplit(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest* request, ::tensorflow::data::GetSplitResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
      #else
      void GetSplit(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest* request, ::tensorflow::data::GetSplitResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override;
      #endif
      void GetOrRegisterDataset(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest* request, ::tensorflow::data::GetOrRegisterDatasetResponse* response, std::function<void(::grpc::Status)>) override;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      void GetOrRegisterDataset(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest* request, ::tensorflow::data::GetOrRegisterDatasetResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
      #else
      void GetOrRegisterDataset(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest* request, ::tensorflow::data::GetOrRegisterDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override;
      #endif
      void GetOrCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest* request, ::tensorflow::data::GetOrCreateJobResponse* response, std::function<void(::grpc::Status)>) override;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      void GetOrCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest* request, ::tensorflow::data::GetOrCreateJobResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
      #else
      void GetOrCreateJob(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest* request, ::tensorflow::data::GetOrCreateJobResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override;
      #endif
      void CreateJob(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest* request, ::tensorflow::data::CreateJobResponse* response, std::function<void(::grpc::Status)>) override;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      void CreateJob(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest* request, ::tensorflow::data::CreateJobResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
      #else
      void CreateJob(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest* request, ::tensorflow::data::CreateJobResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override;
      #endif
      void ReleaseJobClient(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest* request, ::tensorflow::data::ReleaseJobClientResponse* response, std::function<void(::grpc::Status)>) override;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      void ReleaseJobClient(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest* request, ::tensorflow::data::ReleaseJobClientResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
      #else
      void ReleaseJobClient(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest* request, ::tensorflow::data::ReleaseJobClientResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override;
      #endif
      void GetTasks(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest* request, ::tensorflow::data::GetTasksResponse* response, std::function<void(::grpc::Status)>) override;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      void GetTasks(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest* request, ::tensorflow::data::GetTasksResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
      #else
      void GetTasks(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest* request, ::tensorflow::data::GetTasksResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override;
      #endif
      void GetWorkers(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest* request, ::tensorflow::data::GetWorkersResponse* response, std::function<void(::grpc::Status)>) override;
      #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      void GetWorkers(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest* request, ::tensorflow::data::GetWorkersResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
      #else
      void GetWorkers(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest* request, ::tensorflow::data::GetWorkersResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override;
      #endif
     private:
      friend class Stub;
      explicit experimental_async(Stub* stub): stub_(stub) { }
      Stub* stub() { return stub_; }
      Stub* stub_;
    };
    class experimental_async_interface* experimental_async() override { return &async_stub_; }

   private:
    std::shared_ptr< ::grpc::ChannelInterface> channel_;
    class experimental_async async_stub_{this};
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::WorkerHeartbeatResponse>* AsyncWorkerHeartbeatRaw(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::WorkerHeartbeatResponse>* PrepareAsyncWorkerHeartbeatRaw(::grpc::ClientContext* context, const ::tensorflow::data::WorkerHeartbeatRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::WorkerUpdateResponse>* AsyncWorkerUpdateRaw(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::WorkerUpdateResponse>* PrepareAsyncWorkerUpdateRaw(::grpc::ClientContext* context, const ::tensorflow::data::WorkerUpdateRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetDatasetDefResponse>* AsyncGetDatasetDefRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetDatasetDefResponse>* PrepareAsyncGetDatasetDefRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetDatasetDefRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetSplitResponse>* AsyncGetSplitRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetSplitResponse>* PrepareAsyncGetSplitRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetSplitRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetOrRegisterDatasetResponse>* AsyncGetOrRegisterDatasetRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetOrRegisterDatasetResponse>* PrepareAsyncGetOrRegisterDatasetRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetOrCreateJobResponse>* AsyncGetOrCreateJobRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetOrCreateJobResponse>* PrepareAsyncGetOrCreateJobRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetOrCreateJobRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::CreateJobResponse>* AsyncCreateJobRaw(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::CreateJobResponse>* PrepareAsyncCreateJobRaw(::grpc::ClientContext* context, const ::tensorflow::data::CreateJobRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::ReleaseJobClientResponse>* AsyncReleaseJobClientRaw(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::ReleaseJobClientResponse>* PrepareAsyncReleaseJobClientRaw(::grpc::ClientContext* context, const ::tensorflow::data::ReleaseJobClientRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetTasksResponse>* AsyncGetTasksRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetTasksResponse>* PrepareAsyncGetTasksRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetTasksRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetWorkersResponse>* AsyncGetWorkersRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest& request, ::grpc::CompletionQueue* cq) override;
    ::grpc::ClientAsyncResponseReader< ::tensorflow::data::GetWorkersResponse>* PrepareAsyncGetWorkersRaw(::grpc::ClientContext* context, const ::tensorflow::data::GetWorkersRequest& request, ::grpc::CompletionQueue* cq) override;
    const ::grpc::internal::RpcMethod rpcmethod_WorkerHeartbeat_;
    const ::grpc::internal::RpcMethod rpcmethod_WorkerUpdate_;
    const ::grpc::internal::RpcMethod rpcmethod_GetDatasetDef_;
    const ::grpc::internal::RpcMethod rpcmethod_GetSplit_;
    const ::grpc::internal::RpcMethod rpcmethod_GetOrRegisterDataset_;
    const ::grpc::internal::RpcMethod rpcmethod_GetOrCreateJob_;
    const ::grpc::internal::RpcMethod rpcmethod_CreateJob_;
    const ::grpc::internal::RpcMethod rpcmethod_ReleaseJobClient_;
    const ::grpc::internal::RpcMethod rpcmethod_GetTasks_;
    const ::grpc::internal::RpcMethod rpcmethod_GetWorkers_;
  };
  static std::unique_ptr<Stub> NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());

  class Service : public ::grpc::Service {
   public:
    Service();
    virtual ~Service();
    // Performs a periodic worker heartbeat.
    virtual ::grpc::Status WorkerHeartbeat(::grpc::ServerContext* context, const ::tensorflow::data::WorkerHeartbeatRequest* request, ::tensorflow::data::WorkerHeartbeatResponse* response);
    // Updates the dispatcher with information about the worker's state.
    virtual ::grpc::Status WorkerUpdate(::grpc::ServerContext* context, const ::tensorflow::data::WorkerUpdateRequest* request, ::tensorflow::data::WorkerUpdateResponse* response);
    // Gets a dataset defintion.
    virtual ::grpc::Status GetDatasetDef(::grpc::ServerContext* context, const ::tensorflow::data::GetDatasetDefRequest* request, ::tensorflow::data::GetDatasetDefResponse* response);
    // Gets the next split for a given job.
    virtual ::grpc::Status GetSplit(::grpc::ServerContext* context, const ::tensorflow::data::GetSplitRequest* request, ::tensorflow::data::GetSplitResponse* response);
    // Registers a dataset with the server, or returns its id if it is already
    // registered.
    //
    // The dataset is constructed in a new graph, so it must not refer to
    // external resources or variables.
    virtual ::grpc::Status GetOrRegisterDataset(::grpc::ServerContext* context, const ::tensorflow::data::GetOrRegisterDatasetRequest* request, ::tensorflow::data::GetOrRegisterDatasetResponse* response);
    // Gets a job if it already exists, otherwise creates it.
    virtual ::grpc::Status GetOrCreateJob(::grpc::ServerContext* context, const ::tensorflow::data::GetOrCreateJobRequest* request, ::tensorflow::data::GetOrCreateJobResponse* response);
    // Creates a job for reading from the tf.data service.
    virtual ::grpc::Status CreateJob(::grpc::ServerContext* context, const ::tensorflow::data::CreateJobRequest* request, ::tensorflow::data::CreateJobResponse* response);
    // Releases a job client so that a job may eventually be cleaned up.
    virtual ::grpc::Status ReleaseJobClient(::grpc::ServerContext* context, const ::tensorflow::data::ReleaseJobClientRequest* request, ::tensorflow::data::ReleaseJobClientResponse* response);
    // Reports a list of all tasks for a job.
    virtual ::grpc::Status GetTasks(::grpc::ServerContext* context, const ::tensorflow::data::GetTasksRequest* request, ::tensorflow::data::GetTasksResponse* response);
    // Reports a list of all workers registered with the dispatcher.
    virtual ::grpc::Status GetWorkers(::grpc::ServerContext* context, const ::tensorflow::data::GetWorkersRequest* request, ::tensorflow::data::GetWorkersResponse* response);
  };
  template <class BaseClass>
  class WithAsyncMethod_WorkerHeartbeat : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithAsyncMethod_WorkerHeartbeat() {
      ::grpc::Service::MarkMethodAsync(0);
    }
    ~WithAsyncMethod_WorkerHeartbeat() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status WorkerHeartbeat(::grpc::ServerContext* /*context*/, const ::tensorflow::data::WorkerHeartbeatRequest* /*request*/, ::tensorflow::data::WorkerHeartbeatResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestWorkerHeartbeat(::grpc::ServerContext* context, ::tensorflow::data::WorkerHeartbeatRequest* request, ::grpc::ServerAsyncResponseWriter< ::tensorflow::data::WorkerHeartbeatResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithAsyncMethod_WorkerUpdate : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithAsyncMethod_WorkerUpdate() {
      ::grpc::Service::MarkMethodAsync(1);
    }
    ~WithAsyncMethod_WorkerUpdate() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status WorkerUpdate(::grpc::ServerContext* /*context*/, const ::tensorflow::data::WorkerUpdateRequest* /*request*/, ::tensorflow::data::WorkerUpdateResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestWorkerUpdate(::grpc::ServerContext* context, ::tensorflow::data::WorkerUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::tensorflow::data::WorkerUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithAsyncMethod_GetDatasetDef : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithAsyncMethod_GetDatasetDef() {
      ::grpc::Service::MarkMethodAsync(2);
    }
    ~WithAsyncMethod_GetDatasetDef() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetDatasetDef(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetDatasetDefRequest* /*request*/, ::tensorflow::data::GetDatasetDefResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestGetDatasetDef(::grpc::ServerContext* context, ::tensorflow::data::GetDatasetDefRequest* request, ::grpc::ServerAsyncResponseWriter< ::tensorflow::data::GetDatasetDefResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithAsyncMethod_GetSplit : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithAsyncMethod_GetSplit() {
      ::grpc::Service::MarkMethodAsync(3);
    }
    ~WithAsyncMethod_GetSplit() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetSplit(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetSplitRequest* /*request*/, ::tensorflow::data::GetSplitResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestGetSplit(::grpc::ServerContext* context, ::tensorflow::data::GetSplitRequest* request, ::grpc::ServerAsyncResponseWriter< ::tensorflow::data::GetSplitResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithAsyncMethod_GetOrRegisterDataset : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithAsyncMethod_GetOrRegisterDataset() {
      ::grpc::Service::MarkMethodAsync(4);
    }
    ~WithAsyncMethod_GetOrRegisterDataset() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetOrRegisterDataset(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetOrRegisterDatasetRequest* /*request*/, ::tensorflow::data::GetOrRegisterDatasetResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestGetOrRegisterDataset(::grpc::ServerContext* context, ::tensorflow::data::GetOrRegisterDatasetRequest* request, ::grpc::ServerAsyncResponseWriter< ::tensorflow::data::GetOrRegisterDatasetResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithAsyncMethod_GetOrCreateJob : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithAsyncMethod_GetOrCreateJob() {
      ::grpc::Service::MarkMethodAsync(5);
    }
    ~WithAsyncMethod_GetOrCreateJob() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetOrCreateJob(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetOrCreateJobRequest* /*request*/, ::tensorflow::data::GetOrCreateJobResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestGetOrCreateJob(::grpc::ServerContext* context, ::tensorflow::data::GetOrCreateJobRequest* request, ::grpc::ServerAsyncResponseWriter< ::tensorflow::data::GetOrCreateJobResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithAsyncMethod_CreateJob : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithAsyncMethod_CreateJob() {
      ::grpc::Service::MarkMethodAsync(6);
    }
    ~WithAsyncMethod_CreateJob() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status CreateJob(::grpc::ServerContext* /*context*/, const ::tensorflow::data::CreateJobRequest* /*request*/, ::tensorflow::data::CreateJobResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestCreateJob(::grpc::ServerContext* context, ::tensorflow::data::CreateJobRequest* request, ::grpc::ServerAsyncResponseWriter< ::tensorflow::data::CreateJobResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithAsyncMethod_ReleaseJobClient : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithAsyncMethod_ReleaseJobClient() {
      ::grpc::Service::MarkMethodAsync(7);
    }
    ~WithAsyncMethod_ReleaseJobClient() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status ReleaseJobClient(::grpc::ServerContext* /*context*/, const ::tensorflow::data::ReleaseJobClientRequest* /*request*/, ::tensorflow::data::ReleaseJobClientResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestReleaseJobClient(::grpc::ServerContext* context, ::tensorflow::data::ReleaseJobClientRequest* request, ::grpc::ServerAsyncResponseWriter< ::tensorflow::data::ReleaseJobClientResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(7, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithAsyncMethod_GetTasks : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithAsyncMethod_GetTasks() {
      ::grpc::Service::MarkMethodAsync(8);
    }
    ~WithAsyncMethod_GetTasks() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetTasks(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetTasksRequest* /*request*/, ::tensorflow::data::GetTasksResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestGetTasks(::grpc::ServerContext* context, ::tensorflow::data::GetTasksRequest* request, ::grpc::ServerAsyncResponseWriter< ::tensorflow::data::GetTasksResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(8, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithAsyncMethod_GetWorkers : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithAsyncMethod_GetWorkers() {
      ::grpc::Service::MarkMethodAsync(9);
    }
    ~WithAsyncMethod_GetWorkers() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetWorkers(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetWorkersRequest* /*request*/, ::tensorflow::data::GetWorkersResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestGetWorkers(::grpc::ServerContext* context, ::tensorflow::data::GetWorkersRequest* request, ::grpc::ServerAsyncResponseWriter< ::tensorflow::data::GetWorkersResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  typedef WithAsyncMethod_WorkerHeartbeat<WithAsyncMethod_WorkerUpdate<WithAsyncMethod_GetDatasetDef<WithAsyncMethod_GetSplit<WithAsyncMethod_GetOrRegisterDataset<WithAsyncMethod_GetOrCreateJob<WithAsyncMethod_CreateJob<WithAsyncMethod_ReleaseJobClient<WithAsyncMethod_GetTasks<WithAsyncMethod_GetWorkers<Service > > > > > > > > > > AsyncService;
  template <class BaseClass>
  class ExperimentalWithCallbackMethod_WorkerHeartbeat : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithCallbackMethod_WorkerHeartbeat() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodCallback(0,
          new ::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::WorkerHeartbeatRequest, ::tensorflow::data::WorkerHeartbeatResponse>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::tensorflow::data::WorkerHeartbeatRequest* request, ::tensorflow::data::WorkerHeartbeatResponse* response) { return this->WorkerHeartbeat(context, request, response); }));}
    void SetMessageAllocatorFor_WorkerHeartbeat(
        ::grpc::experimental::MessageAllocator< ::tensorflow::data::WorkerHeartbeatRequest, ::tensorflow::data::WorkerHeartbeatResponse>* allocator) {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0);
    #else
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(0);
    #endif
      static_cast<::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::WorkerHeartbeatRequest, ::tensorflow::data::WorkerHeartbeatResponse>*>(handler)
              ->SetMessageAllocator(allocator);
    }
    ~ExperimentalWithCallbackMethod_WorkerHeartbeat() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status WorkerHeartbeat(::grpc::ServerContext* /*context*/, const ::tensorflow::data::WorkerHeartbeatRequest* /*request*/, ::tensorflow::data::WorkerHeartbeatResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* WorkerHeartbeat(
      ::grpc::CallbackServerContext* /*context*/, const ::tensorflow::data::WorkerHeartbeatRequest* /*request*/, ::tensorflow::data::WorkerHeartbeatResponse* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* WorkerHeartbeat(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::tensorflow::data::WorkerHeartbeatRequest* /*request*/, ::tensorflow::data::WorkerHeartbeatResponse* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithCallbackMethod_WorkerUpdate : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithCallbackMethod_WorkerUpdate() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodCallback(1,
          new ::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::WorkerUpdateRequest, ::tensorflow::data::WorkerUpdateResponse>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::tensorflow::data::WorkerUpdateRequest* request, ::tensorflow::data::WorkerUpdateResponse* response) { return this->WorkerUpdate(context, request, response); }));}
    void SetMessageAllocatorFor_WorkerUpdate(
        ::grpc::experimental::MessageAllocator< ::tensorflow::data::WorkerUpdateRequest, ::tensorflow::data::WorkerUpdateResponse>* allocator) {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(1);
    #else
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(1);
    #endif
      static_cast<::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::WorkerUpdateRequest, ::tensorflow::data::WorkerUpdateResponse>*>(handler)
              ->SetMessageAllocator(allocator);
    }
    ~ExperimentalWithCallbackMethod_WorkerUpdate() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status WorkerUpdate(::grpc::ServerContext* /*context*/, const ::tensorflow::data::WorkerUpdateRequest* /*request*/, ::tensorflow::data::WorkerUpdateResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* WorkerUpdate(
      ::grpc::CallbackServerContext* /*context*/, const ::tensorflow::data::WorkerUpdateRequest* /*request*/, ::tensorflow::data::WorkerUpdateResponse* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* WorkerUpdate(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::tensorflow::data::WorkerUpdateRequest* /*request*/, ::tensorflow::data::WorkerUpdateResponse* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithCallbackMethod_GetDatasetDef : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithCallbackMethod_GetDatasetDef() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodCallback(2,
          new ::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::GetDatasetDefRequest, ::tensorflow::data::GetDatasetDefResponse>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::tensorflow::data::GetDatasetDefRequest* request, ::tensorflow::data::GetDatasetDefResponse* response) { return this->GetDatasetDef(context, request, response); }));}
    void SetMessageAllocatorFor_GetDatasetDef(
        ::grpc::experimental::MessageAllocator< ::tensorflow::data::GetDatasetDefRequest, ::tensorflow::data::GetDatasetDefResponse>* allocator) {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2);
    #else
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(2);
    #endif
      static_cast<::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::GetDatasetDefRequest, ::tensorflow::data::GetDatasetDefResponse>*>(handler)
              ->SetMessageAllocator(allocator);
    }
    ~ExperimentalWithCallbackMethod_GetDatasetDef() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetDatasetDef(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetDatasetDefRequest* /*request*/, ::tensorflow::data::GetDatasetDefResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* GetDatasetDef(
      ::grpc::CallbackServerContext* /*context*/, const ::tensorflow::data::GetDatasetDefRequest* /*request*/, ::tensorflow::data::GetDatasetDefResponse* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* GetDatasetDef(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::tensorflow::data::GetDatasetDefRequest* /*request*/, ::tensorflow::data::GetDatasetDefResponse* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithCallbackMethod_GetSplit : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithCallbackMethod_GetSplit() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodCallback(3,
          new ::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::GetSplitRequest, ::tensorflow::data::GetSplitResponse>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::tensorflow::data::GetSplitRequest* request, ::tensorflow::data::GetSplitResponse* response) { return this->GetSplit(context, request, response); }));}
    void SetMessageAllocatorFor_GetSplit(
        ::grpc::experimental::MessageAllocator< ::tensorflow::data::GetSplitRequest, ::tensorflow::data::GetSplitResponse>* allocator) {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(3);
    #else
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(3);
    #endif
      static_cast<::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::GetSplitRequest, ::tensorflow::data::GetSplitResponse>*>(handler)
              ->SetMessageAllocator(allocator);
    }
    ~ExperimentalWithCallbackMethod_GetSplit() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetSplit(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetSplitRequest* /*request*/, ::tensorflow::data::GetSplitResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* GetSplit(
      ::grpc::CallbackServerContext* /*context*/, const ::tensorflow::data::GetSplitRequest* /*request*/, ::tensorflow::data::GetSplitResponse* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* GetSplit(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::tensorflow::data::GetSplitRequest* /*request*/, ::tensorflow::data::GetSplitResponse* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithCallbackMethod_GetOrRegisterDataset : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithCallbackMethod_GetOrRegisterDataset() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodCallback(4,
          new ::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::GetOrRegisterDatasetRequest, ::tensorflow::data::GetOrRegisterDatasetResponse>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::tensorflow::data::GetOrRegisterDatasetRequest* request, ::tensorflow::data::GetOrRegisterDatasetResponse* response) { return this->GetOrRegisterDataset(context, request, response); }));}
    void SetMessageAllocatorFor_GetOrRegisterDataset(
        ::grpc::experimental::MessageAllocator< ::tensorflow::data::GetOrRegisterDatasetRequest, ::tensorflow::data::GetOrRegisterDatasetResponse>* allocator) {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(4);
    #else
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(4);
    #endif
      static_cast<::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::GetOrRegisterDatasetRequest, ::tensorflow::data::GetOrRegisterDatasetResponse>*>(handler)
              ->SetMessageAllocator(allocator);
    }
    ~ExperimentalWithCallbackMethod_GetOrRegisterDataset() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetOrRegisterDataset(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetOrRegisterDatasetRequest* /*request*/, ::tensorflow::data::GetOrRegisterDatasetResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* GetOrRegisterDataset(
      ::grpc::CallbackServerContext* /*context*/, const ::tensorflow::data::GetOrRegisterDatasetRequest* /*request*/, ::tensorflow::data::GetOrRegisterDatasetResponse* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* GetOrRegisterDataset(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::tensorflow::data::GetOrRegisterDatasetRequest* /*request*/, ::tensorflow::data::GetOrRegisterDatasetResponse* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithCallbackMethod_GetOrCreateJob : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithCallbackMethod_GetOrCreateJob() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodCallback(5,
          new ::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::GetOrCreateJobRequest, ::tensorflow::data::GetOrCreateJobResponse>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::tensorflow::data::GetOrCreateJobRequest* request, ::tensorflow::data::GetOrCreateJobResponse* response) { return this->GetOrCreateJob(context, request, response); }));}
    void SetMessageAllocatorFor_GetOrCreateJob(
        ::grpc::experimental::MessageAllocator< ::tensorflow::data::GetOrCreateJobRequest, ::tensorflow::data::GetOrCreateJobResponse>* allocator) {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5);
    #else
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(5);
    #endif
      static_cast<::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::GetOrCreateJobRequest, ::tensorflow::data::GetOrCreateJobResponse>*>(handler)
              ->SetMessageAllocator(allocator);
    }
    ~ExperimentalWithCallbackMethod_GetOrCreateJob() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetOrCreateJob(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetOrCreateJobRequest* /*request*/, ::tensorflow::data::GetOrCreateJobResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* GetOrCreateJob(
      ::grpc::CallbackServerContext* /*context*/, const ::tensorflow::data::GetOrCreateJobRequest* /*request*/, ::tensorflow::data::GetOrCreateJobResponse* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* GetOrCreateJob(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::tensorflow::data::GetOrCreateJobRequest* /*request*/, ::tensorflow::data::GetOrCreateJobResponse* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithCallbackMethod_CreateJob : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithCallbackMethod_CreateJob() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodCallback(6,
          new ::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::CreateJobRequest, ::tensorflow::data::CreateJobResponse>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::tensorflow::data::CreateJobRequest* request, ::tensorflow::data::CreateJobResponse* response) { return this->CreateJob(context, request, response); }));}
    void SetMessageAllocatorFor_CreateJob(
        ::grpc::experimental::MessageAllocator< ::tensorflow::data::CreateJobRequest, ::tensorflow::data::CreateJobResponse>* allocator) {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(6);
    #else
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(6);
    #endif
      static_cast<::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::CreateJobRequest, ::tensorflow::data::CreateJobResponse>*>(handler)
              ->SetMessageAllocator(allocator);
    }
    ~ExperimentalWithCallbackMethod_CreateJob() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status CreateJob(::grpc::ServerContext* /*context*/, const ::tensorflow::data::CreateJobRequest* /*request*/, ::tensorflow::data::CreateJobResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* CreateJob(
      ::grpc::CallbackServerContext* /*context*/, const ::tensorflow::data::CreateJobRequest* /*request*/, ::tensorflow::data::CreateJobResponse* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* CreateJob(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::tensorflow::data::CreateJobRequest* /*request*/, ::tensorflow::data::CreateJobResponse* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithCallbackMethod_ReleaseJobClient : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithCallbackMethod_ReleaseJobClient() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodCallback(7,
          new ::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::ReleaseJobClientRequest, ::tensorflow::data::ReleaseJobClientResponse>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::tensorflow::data::ReleaseJobClientRequest* request, ::tensorflow::data::ReleaseJobClientResponse* response) { return this->ReleaseJobClient(context, request, response); }));}
    void SetMessageAllocatorFor_ReleaseJobClient(
        ::grpc::experimental::MessageAllocator< ::tensorflow::data::ReleaseJobClientRequest, ::tensorflow::data::ReleaseJobClientResponse>* allocator) {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(7);
    #else
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(7);
    #endif
      static_cast<::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::ReleaseJobClientRequest, ::tensorflow::data::ReleaseJobClientResponse>*>(handler)
              ->SetMessageAllocator(allocator);
    }
    ~ExperimentalWithCallbackMethod_ReleaseJobClient() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status ReleaseJobClient(::grpc::ServerContext* /*context*/, const ::tensorflow::data::ReleaseJobClientRequest* /*request*/, ::tensorflow::data::ReleaseJobClientResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* ReleaseJobClient(
      ::grpc::CallbackServerContext* /*context*/, const ::tensorflow::data::ReleaseJobClientRequest* /*request*/, ::tensorflow::data::ReleaseJobClientResponse* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* ReleaseJobClient(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::tensorflow::data::ReleaseJobClientRequest* /*request*/, ::tensorflow::data::ReleaseJobClientResponse* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithCallbackMethod_GetTasks : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithCallbackMethod_GetTasks() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodCallback(8,
          new ::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::GetTasksRequest, ::tensorflow::data::GetTasksResponse>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::tensorflow::data::GetTasksRequest* request, ::tensorflow::data::GetTasksResponse* response) { return this->GetTasks(context, request, response); }));}
    void SetMessageAllocatorFor_GetTasks(
        ::grpc::experimental::MessageAllocator< ::tensorflow::data::GetTasksRequest, ::tensorflow::data::GetTasksResponse>* allocator) {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(8);
    #else
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(8);
    #endif
      static_cast<::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::GetTasksRequest, ::tensorflow::data::GetTasksResponse>*>(handler)
              ->SetMessageAllocator(allocator);
    }
    ~ExperimentalWithCallbackMethod_GetTasks() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetTasks(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetTasksRequest* /*request*/, ::tensorflow::data::GetTasksResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* GetTasks(
      ::grpc::CallbackServerContext* /*context*/, const ::tensorflow::data::GetTasksRequest* /*request*/, ::tensorflow::data::GetTasksResponse* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* GetTasks(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::tensorflow::data::GetTasksRequest* /*request*/, ::tensorflow::data::GetTasksResponse* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithCallbackMethod_GetWorkers : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithCallbackMethod_GetWorkers() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodCallback(9,
          new ::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::GetWorkersRequest, ::tensorflow::data::GetWorkersResponse>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::tensorflow::data::GetWorkersRequest* request, ::tensorflow::data::GetWorkersResponse* response) { return this->GetWorkers(context, request, response); }));}
    void SetMessageAllocatorFor_GetWorkers(
        ::grpc::experimental::MessageAllocator< ::tensorflow::data::GetWorkersRequest, ::tensorflow::data::GetWorkersResponse>* allocator) {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(9);
    #else
      ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(9);
    #endif
      static_cast<::grpc::internal::CallbackUnaryHandler< ::tensorflow::data::GetWorkersRequest, ::tensorflow::data::GetWorkersResponse>*>(handler)
              ->SetMessageAllocator(allocator);
    }
    ~ExperimentalWithCallbackMethod_GetWorkers() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetWorkers(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetWorkersRequest* /*request*/, ::tensorflow::data::GetWorkersResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* GetWorkers(
      ::grpc::CallbackServerContext* /*context*/, const ::tensorflow::data::GetWorkersRequest* /*request*/, ::tensorflow::data::GetWorkersResponse* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* GetWorkers(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::tensorflow::data::GetWorkersRequest* /*request*/, ::tensorflow::data::GetWorkersResponse* /*response*/)
    #endif
      { return nullptr; }
  };
  #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
  typedef ExperimentalWithCallbackMethod_WorkerHeartbeat<ExperimentalWithCallbackMethod_WorkerUpdate<ExperimentalWithCallbackMethod_GetDatasetDef<ExperimentalWithCallbackMethod_GetSplit<ExperimentalWithCallbackMethod_GetOrRegisterDataset<ExperimentalWithCallbackMethod_GetOrCreateJob<ExperimentalWithCallbackMethod_CreateJob<ExperimentalWithCallbackMethod_ReleaseJobClient<ExperimentalWithCallbackMethod_GetTasks<ExperimentalWithCallbackMethod_GetWorkers<Service > > > > > > > > > > CallbackService;
  #endif

  typedef ExperimentalWithCallbackMethod_WorkerHeartbeat<ExperimentalWithCallbackMethod_WorkerUpdate<ExperimentalWithCallbackMethod_GetDatasetDef<ExperimentalWithCallbackMethod_GetSplit<ExperimentalWithCallbackMethod_GetOrRegisterDataset<ExperimentalWithCallbackMethod_GetOrCreateJob<ExperimentalWithCallbackMethod_CreateJob<ExperimentalWithCallbackMethod_ReleaseJobClient<ExperimentalWithCallbackMethod_GetTasks<ExperimentalWithCallbackMethod_GetWorkers<Service > > > > > > > > > > ExperimentalCallbackService;
  template <class BaseClass>
  class WithGenericMethod_WorkerHeartbeat : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithGenericMethod_WorkerHeartbeat() {
      ::grpc::Service::MarkMethodGeneric(0);
    }
    ~WithGenericMethod_WorkerHeartbeat() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status WorkerHeartbeat(::grpc::ServerContext* /*context*/, const ::tensorflow::data::WorkerHeartbeatRequest* /*request*/, ::tensorflow::data::WorkerHeartbeatResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
  };
  template <class BaseClass>
  class WithGenericMethod_WorkerUpdate : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithGenericMethod_WorkerUpdate() {
      ::grpc::Service::MarkMethodGeneric(1);
    }
    ~WithGenericMethod_WorkerUpdate() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status WorkerUpdate(::grpc::ServerContext* /*context*/, const ::tensorflow::data::WorkerUpdateRequest* /*request*/, ::tensorflow::data::WorkerUpdateResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
  };
  template <class BaseClass>
  class WithGenericMethod_GetDatasetDef : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithGenericMethod_GetDatasetDef() {
      ::grpc::Service::MarkMethodGeneric(2);
    }
    ~WithGenericMethod_GetDatasetDef() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetDatasetDef(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetDatasetDefRequest* /*request*/, ::tensorflow::data::GetDatasetDefResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
  };
  template <class BaseClass>
  class WithGenericMethod_GetSplit : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithGenericMethod_GetSplit() {
      ::grpc::Service::MarkMethodGeneric(3);
    }
    ~WithGenericMethod_GetSplit() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetSplit(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetSplitRequest* /*request*/, ::tensorflow::data::GetSplitResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
  };
  template <class BaseClass>
  class WithGenericMethod_GetOrRegisterDataset : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithGenericMethod_GetOrRegisterDataset() {
      ::grpc::Service::MarkMethodGeneric(4);
    }
    ~WithGenericMethod_GetOrRegisterDataset() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetOrRegisterDataset(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetOrRegisterDatasetRequest* /*request*/, ::tensorflow::data::GetOrRegisterDatasetResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
  };
  template <class BaseClass>
  class WithGenericMethod_GetOrCreateJob : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithGenericMethod_GetOrCreateJob() {
      ::grpc::Service::MarkMethodGeneric(5);
    }
    ~WithGenericMethod_GetOrCreateJob() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetOrCreateJob(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetOrCreateJobRequest* /*request*/, ::tensorflow::data::GetOrCreateJobResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
  };
  template <class BaseClass>
  class WithGenericMethod_CreateJob : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithGenericMethod_CreateJob() {
      ::grpc::Service::MarkMethodGeneric(6);
    }
    ~WithGenericMethod_CreateJob() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status CreateJob(::grpc::ServerContext* /*context*/, const ::tensorflow::data::CreateJobRequest* /*request*/, ::tensorflow::data::CreateJobResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
  };
  template <class BaseClass>
  class WithGenericMethod_ReleaseJobClient : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithGenericMethod_ReleaseJobClient() {
      ::grpc::Service::MarkMethodGeneric(7);
    }
    ~WithGenericMethod_ReleaseJobClient() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status ReleaseJobClient(::grpc::ServerContext* /*context*/, const ::tensorflow::data::ReleaseJobClientRequest* /*request*/, ::tensorflow::data::ReleaseJobClientResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
  };
  template <class BaseClass>
  class WithGenericMethod_GetTasks : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithGenericMethod_GetTasks() {
      ::grpc::Service::MarkMethodGeneric(8);
    }
    ~WithGenericMethod_GetTasks() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetTasks(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetTasksRequest* /*request*/, ::tensorflow::data::GetTasksResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
  };
  template <class BaseClass>
  class WithGenericMethod_GetWorkers : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithGenericMethod_GetWorkers() {
      ::grpc::Service::MarkMethodGeneric(9);
    }
    ~WithGenericMethod_GetWorkers() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetWorkers(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetWorkersRequest* /*request*/, ::tensorflow::data::GetWorkersResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
  };
  template <class BaseClass>
  class WithRawMethod_WorkerHeartbeat : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithRawMethod_WorkerHeartbeat() {
      ::grpc::Service::MarkMethodRaw(0);
    }
    ~WithRawMethod_WorkerHeartbeat() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status WorkerHeartbeat(::grpc::ServerContext* /*context*/, const ::tensorflow::data::WorkerHeartbeatRequest* /*request*/, ::tensorflow::data::WorkerHeartbeatResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestWorkerHeartbeat(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithRawMethod_WorkerUpdate : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithRawMethod_WorkerUpdate() {
      ::grpc::Service::MarkMethodRaw(1);
    }
    ~WithRawMethod_WorkerUpdate() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status WorkerUpdate(::grpc::ServerContext* /*context*/, const ::tensorflow::data::WorkerUpdateRequest* /*request*/, ::tensorflow::data::WorkerUpdateResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestWorkerUpdate(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithRawMethod_GetDatasetDef : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithRawMethod_GetDatasetDef() {
      ::grpc::Service::MarkMethodRaw(2);
    }
    ~WithRawMethod_GetDatasetDef() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetDatasetDef(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetDatasetDefRequest* /*request*/, ::tensorflow::data::GetDatasetDefResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestGetDatasetDef(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithRawMethod_GetSplit : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithRawMethod_GetSplit() {
      ::grpc::Service::MarkMethodRaw(3);
    }
    ~WithRawMethod_GetSplit() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetSplit(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetSplitRequest* /*request*/, ::tensorflow::data::GetSplitResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestGetSplit(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithRawMethod_GetOrRegisterDataset : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithRawMethod_GetOrRegisterDataset() {
      ::grpc::Service::MarkMethodRaw(4);
    }
    ~WithRawMethod_GetOrRegisterDataset() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetOrRegisterDataset(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetOrRegisterDatasetRequest* /*request*/, ::tensorflow::data::GetOrRegisterDatasetResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestGetOrRegisterDataset(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithRawMethod_GetOrCreateJob : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithRawMethod_GetOrCreateJob() {
      ::grpc::Service::MarkMethodRaw(5);
    }
    ~WithRawMethod_GetOrCreateJob() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetOrCreateJob(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetOrCreateJobRequest* /*request*/, ::tensorflow::data::GetOrCreateJobResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestGetOrCreateJob(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithRawMethod_CreateJob : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithRawMethod_CreateJob() {
      ::grpc::Service::MarkMethodRaw(6);
    }
    ~WithRawMethod_CreateJob() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status CreateJob(::grpc::ServerContext* /*context*/, const ::tensorflow::data::CreateJobRequest* /*request*/, ::tensorflow::data::CreateJobResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestCreateJob(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithRawMethod_ReleaseJobClient : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithRawMethod_ReleaseJobClient() {
      ::grpc::Service::MarkMethodRaw(7);
    }
    ~WithRawMethod_ReleaseJobClient() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status ReleaseJobClient(::grpc::ServerContext* /*context*/, const ::tensorflow::data::ReleaseJobClientRequest* /*request*/, ::tensorflow::data::ReleaseJobClientResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestReleaseJobClient(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(7, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithRawMethod_GetTasks : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithRawMethod_GetTasks() {
      ::grpc::Service::MarkMethodRaw(8);
    }
    ~WithRawMethod_GetTasks() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetTasks(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetTasksRequest* /*request*/, ::tensorflow::data::GetTasksResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestGetTasks(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(8, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class WithRawMethod_GetWorkers : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithRawMethod_GetWorkers() {
      ::grpc::Service::MarkMethodRaw(9);
    }
    ~WithRawMethod_GetWorkers() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetWorkers(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetWorkersRequest* /*request*/, ::tensorflow::data::GetWorkersResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    void RequestGetWorkers(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
      ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag);
    }
  };
  template <class BaseClass>
  class ExperimentalWithRawCallbackMethod_WorkerHeartbeat : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithRawCallbackMethod_WorkerHeartbeat() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodRawCallback(0,
          new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->WorkerHeartbeat(context, request, response); }));
    }
    ~ExperimentalWithRawCallbackMethod_WorkerHeartbeat() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status WorkerHeartbeat(::grpc::ServerContext* /*context*/, const ::tensorflow::data::WorkerHeartbeatRequest* /*request*/, ::tensorflow::data::WorkerHeartbeatResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* WorkerHeartbeat(
      ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* WorkerHeartbeat(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithRawCallbackMethod_WorkerUpdate : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithRawCallbackMethod_WorkerUpdate() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodRawCallback(1,
          new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->WorkerUpdate(context, request, response); }));
    }
    ~ExperimentalWithRawCallbackMethod_WorkerUpdate() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status WorkerUpdate(::grpc::ServerContext* /*context*/, const ::tensorflow::data::WorkerUpdateRequest* /*request*/, ::tensorflow::data::WorkerUpdateResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* WorkerUpdate(
      ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* WorkerUpdate(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithRawCallbackMethod_GetDatasetDef : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithRawCallbackMethod_GetDatasetDef() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodRawCallback(2,
          new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetDatasetDef(context, request, response); }));
    }
    ~ExperimentalWithRawCallbackMethod_GetDatasetDef() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetDatasetDef(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetDatasetDefRequest* /*request*/, ::tensorflow::data::GetDatasetDefResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* GetDatasetDef(
      ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* GetDatasetDef(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithRawCallbackMethod_GetSplit : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithRawCallbackMethod_GetSplit() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodRawCallback(3,
          new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetSplit(context, request, response); }));
    }
    ~ExperimentalWithRawCallbackMethod_GetSplit() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetSplit(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetSplitRequest* /*request*/, ::tensorflow::data::GetSplitResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* GetSplit(
      ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* GetSplit(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithRawCallbackMethod_GetOrRegisterDataset : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithRawCallbackMethod_GetOrRegisterDataset() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodRawCallback(4,
          new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetOrRegisterDataset(context, request, response); }));
    }
    ~ExperimentalWithRawCallbackMethod_GetOrRegisterDataset() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetOrRegisterDataset(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetOrRegisterDatasetRequest* /*request*/, ::tensorflow::data::GetOrRegisterDatasetResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* GetOrRegisterDataset(
      ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* GetOrRegisterDataset(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithRawCallbackMethod_GetOrCreateJob : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithRawCallbackMethod_GetOrCreateJob() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodRawCallback(5,
          new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetOrCreateJob(context, request, response); }));
    }
    ~ExperimentalWithRawCallbackMethod_GetOrCreateJob() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetOrCreateJob(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetOrCreateJobRequest* /*request*/, ::tensorflow::data::GetOrCreateJobResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* GetOrCreateJob(
      ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* GetOrCreateJob(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithRawCallbackMethod_CreateJob : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithRawCallbackMethod_CreateJob() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodRawCallback(6,
          new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreateJob(context, request, response); }));
    }
    ~ExperimentalWithRawCallbackMethod_CreateJob() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status CreateJob(::grpc::ServerContext* /*context*/, const ::tensorflow::data::CreateJobRequest* /*request*/, ::tensorflow::data::CreateJobResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* CreateJob(
      ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* CreateJob(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithRawCallbackMethod_ReleaseJobClient : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithRawCallbackMethod_ReleaseJobClient() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodRawCallback(7,
          new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ReleaseJobClient(context, request, response); }));
    }
    ~ExperimentalWithRawCallbackMethod_ReleaseJobClient() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status ReleaseJobClient(::grpc::ServerContext* /*context*/, const ::tensorflow::data::ReleaseJobClientRequest* /*request*/, ::tensorflow::data::ReleaseJobClientResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* ReleaseJobClient(
      ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* ReleaseJobClient(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithRawCallbackMethod_GetTasks : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithRawCallbackMethod_GetTasks() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodRawCallback(8,
          new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetTasks(context, request, response); }));
    }
    ~ExperimentalWithRawCallbackMethod_GetTasks() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetTasks(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetTasksRequest* /*request*/, ::tensorflow::data::GetTasksResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* GetTasks(
      ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* GetTasks(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class ExperimentalWithRawCallbackMethod_GetWorkers : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    ExperimentalWithRawCallbackMethod_GetWorkers() {
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
      ::grpc::Service::
    #else
      ::grpc::Service::experimental().
    #endif
        MarkMethodRawCallback(9,
          new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
            [this](
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
                   ::grpc::CallbackServerContext*
    #else
                   ::grpc::experimental::CallbackServerContext*
    #endif
                     context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetWorkers(context, request, response); }));
    }
    ~ExperimentalWithRawCallbackMethod_GetWorkers() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable synchronous version of this method
    ::grpc::Status GetWorkers(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetWorkersRequest* /*request*/, ::tensorflow::data::GetWorkersResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
    virtual ::grpc::ServerUnaryReactor* GetWorkers(
      ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #else
    virtual ::grpc::experimental::ServerUnaryReactor* GetWorkers(
      ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
    #endif
      { return nullptr; }
  };
  template <class BaseClass>
  class WithStreamedUnaryMethod_WorkerHeartbeat : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithStreamedUnaryMethod_WorkerHeartbeat() {
      ::grpc::Service::MarkMethodStreamed(0,
        new ::grpc::internal::StreamedUnaryHandler<
          ::tensorflow::data::WorkerHeartbeatRequest, ::tensorflow::data::WorkerHeartbeatResponse>(
            [this](::grpc::ServerContext* context,
                   ::grpc::ServerUnaryStreamer<
                     ::tensorflow::data::WorkerHeartbeatRequest, ::tensorflow::data::WorkerHeartbeatResponse>* streamer) {
                       return this->StreamedWorkerHeartbeat(context,
                         streamer);
                  }));
    }
    ~WithStreamedUnaryMethod_WorkerHeartbeat() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable regular version of this method
    ::grpc::Status WorkerHeartbeat(::grpc::ServerContext* /*context*/, const ::tensorflow::data::WorkerHeartbeatRequest* /*request*/, ::tensorflow::data::WorkerHeartbeatResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    // replace default version of method with streamed unary
    virtual ::grpc::Status StreamedWorkerHeartbeat(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::tensorflow::data::WorkerHeartbeatRequest,::tensorflow::data::WorkerHeartbeatResponse>* server_unary_streamer) = 0;
  };
  template <class BaseClass>
  class WithStreamedUnaryMethod_WorkerUpdate : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithStreamedUnaryMethod_WorkerUpdate() {
      ::grpc::Service::MarkMethodStreamed(1,
        new ::grpc::internal::StreamedUnaryHandler<
          ::tensorflow::data::WorkerUpdateRequest, ::tensorflow::data::WorkerUpdateResponse>(
            [this](::grpc::ServerContext* context,
                   ::grpc::ServerUnaryStreamer<
                     ::tensorflow::data::WorkerUpdateRequest, ::tensorflow::data::WorkerUpdateResponse>* streamer) {
                       return this->StreamedWorkerUpdate(context,
                         streamer);
                  }));
    }
    ~WithStreamedUnaryMethod_WorkerUpdate() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable regular version of this method
    ::grpc::Status WorkerUpdate(::grpc::ServerContext* /*context*/, const ::tensorflow::data::WorkerUpdateRequest* /*request*/, ::tensorflow::data::WorkerUpdateResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    // replace default version of method with streamed unary
    virtual ::grpc::Status StreamedWorkerUpdate(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::tensorflow::data::WorkerUpdateRequest,::tensorflow::data::WorkerUpdateResponse>* server_unary_streamer) = 0;
  };
  template <class BaseClass>
  class WithStreamedUnaryMethod_GetDatasetDef : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithStreamedUnaryMethod_GetDatasetDef() {
      ::grpc::Service::MarkMethodStreamed(2,
        new ::grpc::internal::StreamedUnaryHandler<
          ::tensorflow::data::GetDatasetDefRequest, ::tensorflow::data::GetDatasetDefResponse>(
            [this](::grpc::ServerContext* context,
                   ::grpc::ServerUnaryStreamer<
                     ::tensorflow::data::GetDatasetDefRequest, ::tensorflow::data::GetDatasetDefResponse>* streamer) {
                       return this->StreamedGetDatasetDef(context,
                         streamer);
                  }));
    }
    ~WithStreamedUnaryMethod_GetDatasetDef() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable regular version of this method
    ::grpc::Status GetDatasetDef(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetDatasetDefRequest* /*request*/, ::tensorflow::data::GetDatasetDefResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    // replace default version of method with streamed unary
    virtual ::grpc::Status StreamedGetDatasetDef(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::tensorflow::data::GetDatasetDefRequest,::tensorflow::data::GetDatasetDefResponse>* server_unary_streamer) = 0;
  };
  template <class BaseClass>
  class WithStreamedUnaryMethod_GetSplit : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithStreamedUnaryMethod_GetSplit() {
      ::grpc::Service::MarkMethodStreamed(3,
        new ::grpc::internal::StreamedUnaryHandler<
          ::tensorflow::data::GetSplitRequest, ::tensorflow::data::GetSplitResponse>(
            [this](::grpc::ServerContext* context,
                   ::grpc::ServerUnaryStreamer<
                     ::tensorflow::data::GetSplitRequest, ::tensorflow::data::GetSplitResponse>* streamer) {
                       return this->StreamedGetSplit(context,
                         streamer);
                  }));
    }
    ~WithStreamedUnaryMethod_GetSplit() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable regular version of this method
    ::grpc::Status GetSplit(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetSplitRequest* /*request*/, ::tensorflow::data::GetSplitResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    // replace default version of method with streamed unary
    virtual ::grpc::Status StreamedGetSplit(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::tensorflow::data::GetSplitRequest,::tensorflow::data::GetSplitResponse>* server_unary_streamer) = 0;
  };
  template <class BaseClass>
  class WithStreamedUnaryMethod_GetOrRegisterDataset : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithStreamedUnaryMethod_GetOrRegisterDataset() {
      ::grpc::Service::MarkMethodStreamed(4,
        new ::grpc::internal::StreamedUnaryHandler<
          ::tensorflow::data::GetOrRegisterDatasetRequest, ::tensorflow::data::GetOrRegisterDatasetResponse>(
            [this](::grpc::ServerContext* context,
                   ::grpc::ServerUnaryStreamer<
                     ::tensorflow::data::GetOrRegisterDatasetRequest, ::tensorflow::data::GetOrRegisterDatasetResponse>* streamer) {
                       return this->StreamedGetOrRegisterDataset(context,
                         streamer);
                  }));
    }
    ~WithStreamedUnaryMethod_GetOrRegisterDataset() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable regular version of this method
    ::grpc::Status GetOrRegisterDataset(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetOrRegisterDatasetRequest* /*request*/, ::tensorflow::data::GetOrRegisterDatasetResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    // replace default version of method with streamed unary
    virtual ::grpc::Status StreamedGetOrRegisterDataset(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::tensorflow::data::GetOrRegisterDatasetRequest,::tensorflow::data::GetOrRegisterDatasetResponse>* server_unary_streamer) = 0;
  };
  template <class BaseClass>
  class WithStreamedUnaryMethod_GetOrCreateJob : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithStreamedUnaryMethod_GetOrCreateJob() {
      ::grpc::Service::MarkMethodStreamed(5,
        new ::grpc::internal::StreamedUnaryHandler<
          ::tensorflow::data::GetOrCreateJobRequest, ::tensorflow::data::GetOrCreateJobResponse>(
            [this](::grpc::ServerContext* context,
                   ::grpc::ServerUnaryStreamer<
                     ::tensorflow::data::GetOrCreateJobRequest, ::tensorflow::data::GetOrCreateJobResponse>* streamer) {
                       return this->StreamedGetOrCreateJob(context,
                         streamer);
                  }));
    }
    ~WithStreamedUnaryMethod_GetOrCreateJob() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable regular version of this method
    ::grpc::Status GetOrCreateJob(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetOrCreateJobRequest* /*request*/, ::tensorflow::data::GetOrCreateJobResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    // replace default version of method with streamed unary
    virtual ::grpc::Status StreamedGetOrCreateJob(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::tensorflow::data::GetOrCreateJobRequest,::tensorflow::data::GetOrCreateJobResponse>* server_unary_streamer) = 0;
  };
  template <class BaseClass>
  class WithStreamedUnaryMethod_CreateJob : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithStreamedUnaryMethod_CreateJob() {
      ::grpc::Service::MarkMethodStreamed(6,
        new ::grpc::internal::StreamedUnaryHandler<
          ::tensorflow::data::CreateJobRequest, ::tensorflow::data::CreateJobResponse>(
            [this](::grpc::ServerContext* context,
                   ::grpc::ServerUnaryStreamer<
                     ::tensorflow::data::CreateJobRequest, ::tensorflow::data::CreateJobResponse>* streamer) {
                       return this->StreamedCreateJob(context,
                         streamer);
                  }));
    }
    ~WithStreamedUnaryMethod_CreateJob() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable regular version of this method
    ::grpc::Status CreateJob(::grpc::ServerContext* /*context*/, const ::tensorflow::data::CreateJobRequest* /*request*/, ::tensorflow::data::CreateJobResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    // replace default version of method with streamed unary
    virtual ::grpc::Status StreamedCreateJob(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::tensorflow::data::CreateJobRequest,::tensorflow::data::CreateJobResponse>* server_unary_streamer) = 0;
  };
  template <class BaseClass>
  class WithStreamedUnaryMethod_ReleaseJobClient : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithStreamedUnaryMethod_ReleaseJobClient() {
      ::grpc::Service::MarkMethodStreamed(7,
        new ::grpc::internal::StreamedUnaryHandler<
          ::tensorflow::data::ReleaseJobClientRequest, ::tensorflow::data::ReleaseJobClientResponse>(
            [this](::grpc::ServerContext* context,
                   ::grpc::ServerUnaryStreamer<
                     ::tensorflow::data::ReleaseJobClientRequest, ::tensorflow::data::ReleaseJobClientResponse>* streamer) {
                       return this->StreamedReleaseJobClient(context,
                         streamer);
                  }));
    }
    ~WithStreamedUnaryMethod_ReleaseJobClient() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable regular version of this method
    ::grpc::Status ReleaseJobClient(::grpc::ServerContext* /*context*/, const ::tensorflow::data::ReleaseJobClientRequest* /*request*/, ::tensorflow::data::ReleaseJobClientResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    // replace default version of method with streamed unary
    virtual ::grpc::Status StreamedReleaseJobClient(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::tensorflow::data::ReleaseJobClientRequest,::tensorflow::data::ReleaseJobClientResponse>* server_unary_streamer) = 0;
  };
  template <class BaseClass>
  class WithStreamedUnaryMethod_GetTasks : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithStreamedUnaryMethod_GetTasks() {
      ::grpc::Service::MarkMethodStreamed(8,
        new ::grpc::internal::StreamedUnaryHandler<
          ::tensorflow::data::GetTasksRequest, ::tensorflow::data::GetTasksResponse>(
            [this](::grpc::ServerContext* context,
                   ::grpc::ServerUnaryStreamer<
                     ::tensorflow::data::GetTasksRequest, ::tensorflow::data::GetTasksResponse>* streamer) {
                       return this->StreamedGetTasks(context,
                         streamer);
                  }));
    }
    ~WithStreamedUnaryMethod_GetTasks() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable regular version of this method
    ::grpc::Status GetTasks(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetTasksRequest* /*request*/, ::tensorflow::data::GetTasksResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    // replace default version of method with streamed unary
    virtual ::grpc::Status StreamedGetTasks(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::tensorflow::data::GetTasksRequest,::tensorflow::data::GetTasksResponse>* server_unary_streamer) = 0;
  };
  template <class BaseClass>
  class WithStreamedUnaryMethod_GetWorkers : public BaseClass {
   private:
    void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
   public:
    WithStreamedUnaryMethod_GetWorkers() {
      ::grpc::Service::MarkMethodStreamed(9,
        new ::grpc::internal::StreamedUnaryHandler<
          ::tensorflow::data::GetWorkersRequest, ::tensorflow::data::GetWorkersResponse>(
            [this](::grpc::ServerContext* context,
                   ::grpc::ServerUnaryStreamer<
                     ::tensorflow::data::GetWorkersRequest, ::tensorflow::data::GetWorkersResponse>* streamer) {
                       return this->StreamedGetWorkers(context,
                         streamer);
                  }));
    }
    ~WithStreamedUnaryMethod_GetWorkers() override {
      BaseClassMustBeDerivedFromService(this);
    }
    // disable regular version of this method
    ::grpc::Status GetWorkers(::grpc::ServerContext* /*context*/, const ::tensorflow::data::GetWorkersRequest* /*request*/, ::tensorflow::data::GetWorkersResponse* /*response*/) override {
      abort();
      return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
    }
    // replace default version of method with streamed unary
    virtual ::grpc::Status StreamedGetWorkers(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::tensorflow::data::GetWorkersRequest,::tensorflow::data::GetWorkersResponse>* server_unary_streamer) = 0;
  };
  typedef WithStreamedUnaryMethod_WorkerHeartbeat<WithStreamedUnaryMethod_WorkerUpdate<WithStreamedUnaryMethod_GetDatasetDef<WithStreamedUnaryMethod_GetSplit<WithStreamedUnaryMethod_GetOrRegisterDataset<WithStreamedUnaryMethod_GetOrCreateJob<WithStreamedUnaryMethod_CreateJob<WithStreamedUnaryMethod_ReleaseJobClient<WithStreamedUnaryMethod_GetTasks<WithStreamedUnaryMethod_GetWorkers<Service > > > > > > > > > > StreamedUnaryService;
  typedef Service SplitStreamedService;
  typedef WithStreamedUnaryMethod_WorkerHeartbeat<WithStreamedUnaryMethod_WorkerUpdate<WithStreamedUnaryMethod_GetDatasetDef<WithStreamedUnaryMethod_GetSplit<WithStreamedUnaryMethod_GetOrRegisterDataset<WithStreamedUnaryMethod_GetOrCreateJob<WithStreamedUnaryMethod_CreateJob<WithStreamedUnaryMethod_ReleaseJobClient<WithStreamedUnaryMethod_GetTasks<WithStreamedUnaryMethod_GetWorkers<Service > > > > > > > > > > StreamedService;
};

}  // namespace data
}  // namespace tensorflow


#endif  // GRPC_tensorflow_2fcore_2fdata_2fservice_2fdispatcher_2eproto__INCLUDED
