// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/core/data/service/worker.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3015000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3015007 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif

#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
#include "tensorflow/core/data/dataset.pb.h"
#include "tensorflow/core/data/service/common.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto {
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto;
::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto_metadata_getter(int index);
namespace tensorflow {
namespace data {
class GetElementRequest;
struct GetElementRequestDefaultTypeInternal;
extern GetElementRequestDefaultTypeInternal _GetElementRequest_default_instance_;
class GetElementResponse;
struct GetElementResponseDefaultTypeInternal;
extern GetElementResponseDefaultTypeInternal _GetElementResponse_default_instance_;
class GetWorkerTasksRequest;
struct GetWorkerTasksRequestDefaultTypeInternal;
extern GetWorkerTasksRequestDefaultTypeInternal _GetWorkerTasksRequest_default_instance_;
class GetWorkerTasksResponse;
struct GetWorkerTasksResponseDefaultTypeInternal;
extern GetWorkerTasksResponseDefaultTypeInternal _GetWorkerTasksResponse_default_instance_;
class ProcessTaskRequest;
struct ProcessTaskRequestDefaultTypeInternal;
extern ProcessTaskRequestDefaultTypeInternal _ProcessTaskRequest_default_instance_;
class ProcessTaskResponse;
struct ProcessTaskResponseDefaultTypeInternal;
extern ProcessTaskResponseDefaultTypeInternal _ProcessTaskResponse_default_instance_;
}  // namespace data
}  // namespace tensorflow
PROTOBUF_NAMESPACE_OPEN
template<> ::tensorflow::data::GetElementRequest* Arena::CreateMaybeMessage<::tensorflow::data::GetElementRequest>(Arena*);
template<> ::tensorflow::data::GetElementResponse* Arena::CreateMaybeMessage<::tensorflow::data::GetElementResponse>(Arena*);
template<> ::tensorflow::data::GetWorkerTasksRequest* Arena::CreateMaybeMessage<::tensorflow::data::GetWorkerTasksRequest>(Arena*);
template<> ::tensorflow::data::GetWorkerTasksResponse* Arena::CreateMaybeMessage<::tensorflow::data::GetWorkerTasksResponse>(Arena*);
template<> ::tensorflow::data::ProcessTaskRequest* Arena::CreateMaybeMessage<::tensorflow::data::ProcessTaskRequest>(Arena*);
template<> ::tensorflow::data::ProcessTaskResponse* Arena::CreateMaybeMessage<::tensorflow::data::ProcessTaskResponse>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace tensorflow {
namespace data {

// ===================================================================

class ProcessTaskRequest PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.data.ProcessTaskRequest) */ {
 public:
  inline ProcessTaskRequest() : ProcessTaskRequest(nullptr) {}
  virtual ~ProcessTaskRequest();
  explicit constexpr ProcessTaskRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  ProcessTaskRequest(const ProcessTaskRequest& from);
  ProcessTaskRequest(ProcessTaskRequest&& from) noexcept
    : ProcessTaskRequest() {
    *this = ::std::move(from);
  }

  inline ProcessTaskRequest& operator=(const ProcessTaskRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline ProcessTaskRequest& operator=(ProcessTaskRequest&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const ProcessTaskRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const ProcessTaskRequest* internal_default_instance() {
    return reinterpret_cast<const ProcessTaskRequest*>(
               &_ProcessTaskRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(ProcessTaskRequest& a, ProcessTaskRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(ProcessTaskRequest* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ProcessTaskRequest* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline ProcessTaskRequest* New() const final {
    return CreateMaybeMessage<ProcessTaskRequest>(nullptr);
  }

  ProcessTaskRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<ProcessTaskRequest>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const ProcessTaskRequest& from);
  void MergeFrom(const ProcessTaskRequest& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(ProcessTaskRequest* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "tensorflow.data.ProcessTaskRequest";
  }
  protected:
  explicit ProcessTaskRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    return ::descriptor_table_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto_metadata_getter(kIndexInFileMessages);
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kTaskFieldNumber = 1,
  };
  // .tensorflow.data.TaskDef task = 1;
  bool has_task() const;
  private:
  bool _internal_has_task() const;
  public:
  void clear_task();
  const ::tensorflow::data::TaskDef& task() const;
  ::tensorflow::data::TaskDef* release_task();
  ::tensorflow::data::TaskDef* mutable_task();
  void set_allocated_task(::tensorflow::data::TaskDef* task);
  private:
  const ::tensorflow::data::TaskDef& _internal_task() const;
  ::tensorflow::data::TaskDef* _internal_mutable_task();
  public:
  void unsafe_arena_set_allocated_task(
      ::tensorflow::data::TaskDef* task);
  ::tensorflow::data::TaskDef* unsafe_arena_release_task();

  // @@protoc_insertion_point(class_scope:tensorflow.data.ProcessTaskRequest)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::tensorflow::data::TaskDef* task_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto;
};
// -------------------------------------------------------------------

class ProcessTaskResponse PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.data.ProcessTaskResponse) */ {
 public:
  inline ProcessTaskResponse() : ProcessTaskResponse(nullptr) {}
  virtual ~ProcessTaskResponse();
  explicit constexpr ProcessTaskResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  ProcessTaskResponse(const ProcessTaskResponse& from);
  ProcessTaskResponse(ProcessTaskResponse&& from) noexcept
    : ProcessTaskResponse() {
    *this = ::std::move(from);
  }

  inline ProcessTaskResponse& operator=(const ProcessTaskResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline ProcessTaskResponse& operator=(ProcessTaskResponse&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const ProcessTaskResponse& default_instance() {
    return *internal_default_instance();
  }
  static inline const ProcessTaskResponse* internal_default_instance() {
    return reinterpret_cast<const ProcessTaskResponse*>(
               &_ProcessTaskResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(ProcessTaskResponse& a, ProcessTaskResponse& b) {
    a.Swap(&b);
  }
  inline void Swap(ProcessTaskResponse* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ProcessTaskResponse* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline ProcessTaskResponse* New() const final {
    return CreateMaybeMessage<ProcessTaskResponse>(nullptr);
  }

  ProcessTaskResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<ProcessTaskResponse>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const ProcessTaskResponse& from);
  void MergeFrom(const ProcessTaskResponse& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(ProcessTaskResponse* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "tensorflow.data.ProcessTaskResponse";
  }
  protected:
  explicit ProcessTaskResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    return ::descriptor_table_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto_metadata_getter(kIndexInFileMessages);
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // @@protoc_insertion_point(class_scope:tensorflow.data.ProcessTaskResponse)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto;
};
// -------------------------------------------------------------------

class GetElementRequest PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.data.GetElementRequest) */ {
 public:
  inline GetElementRequest() : GetElementRequest(nullptr) {}
  virtual ~GetElementRequest();
  explicit constexpr GetElementRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  GetElementRequest(const GetElementRequest& from);
  GetElementRequest(GetElementRequest&& from) noexcept
    : GetElementRequest() {
    *this = ::std::move(from);
  }

  inline GetElementRequest& operator=(const GetElementRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline GetElementRequest& operator=(GetElementRequest&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const GetElementRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const GetElementRequest* internal_default_instance() {
    return reinterpret_cast<const GetElementRequest*>(
               &_GetElementRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(GetElementRequest& a, GetElementRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(GetElementRequest* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(GetElementRequest* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline GetElementRequest* New() const final {
    return CreateMaybeMessage<GetElementRequest>(nullptr);
  }

  GetElementRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<GetElementRequest>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const GetElementRequest& from);
  void MergeFrom(const GetElementRequest& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(GetElementRequest* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "tensorflow.data.GetElementRequest";
  }
  protected:
  explicit GetElementRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    return ::descriptor_table_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto_metadata_getter(kIndexInFileMessages);
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kTaskIdFieldNumber = 1,
  };
  // int64 task_id = 1;
  void clear_task_id();
  ::PROTOBUF_NAMESPACE_ID::int64 task_id() const;
  void set_task_id(::PROTOBUF_NAMESPACE_ID::int64 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int64 _internal_task_id() const;
  void _internal_set_task_id(::PROTOBUF_NAMESPACE_ID::int64 value);
  public:

  // @@protoc_insertion_point(class_scope:tensorflow.data.GetElementRequest)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::int64 task_id_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto;
};
// -------------------------------------------------------------------

class GetElementResponse PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.data.GetElementResponse) */ {
 public:
  inline GetElementResponse() : GetElementResponse(nullptr) {}
  virtual ~GetElementResponse();
  explicit constexpr GetElementResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  GetElementResponse(const GetElementResponse& from);
  GetElementResponse(GetElementResponse&& from) noexcept
    : GetElementResponse() {
    *this = ::std::move(from);
  }

  inline GetElementResponse& operator=(const GetElementResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline GetElementResponse& operator=(GetElementResponse&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const GetElementResponse& default_instance() {
    return *internal_default_instance();
  }
  static inline const GetElementResponse* internal_default_instance() {
    return reinterpret_cast<const GetElementResponse*>(
               &_GetElementResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

  friend void swap(GetElementResponse& a, GetElementResponse& b) {
    a.Swap(&b);
  }
  inline void Swap(GetElementResponse* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(GetElementResponse* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline GetElementResponse* New() const final {
    return CreateMaybeMessage<GetElementResponse>(nullptr);
  }

  GetElementResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<GetElementResponse>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const GetElementResponse& from);
  void MergeFrom(const GetElementResponse& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(GetElementResponse* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "tensorflow.data.GetElementResponse";
  }
  protected:
  explicit GetElementResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    return ::descriptor_table_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto_metadata_getter(kIndexInFileMessages);
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kCompressedElementFieldNumber = 3,
    kEndOfSequenceFieldNumber = 2,
  };
  // .tensorflow.data.CompressedElement compressed_element = 3;
  bool has_compressed_element() const;
  private:
  bool _internal_has_compressed_element() const;
  public:
  void clear_compressed_element();
  const ::tensorflow::data::CompressedElement& compressed_element() const;
  ::tensorflow::data::CompressedElement* release_compressed_element();
  ::tensorflow::data::CompressedElement* mutable_compressed_element();
  void set_allocated_compressed_element(::tensorflow::data::CompressedElement* compressed_element);
  private:
  const ::tensorflow::data::CompressedElement& _internal_compressed_element() const;
  ::tensorflow::data::CompressedElement* _internal_mutable_compressed_element();
  public:
  void unsafe_arena_set_allocated_compressed_element(
      ::tensorflow::data::CompressedElement* compressed_element);
  ::tensorflow::data::CompressedElement* unsafe_arena_release_compressed_element();

  // bool end_of_sequence = 2;
  void clear_end_of_sequence();
  bool end_of_sequence() const;
  void set_end_of_sequence(bool value);
  private:
  bool _internal_end_of_sequence() const;
  void _internal_set_end_of_sequence(bool value);
  public:

  // @@protoc_insertion_point(class_scope:tensorflow.data.GetElementResponse)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::tensorflow::data::CompressedElement* compressed_element_;
  bool end_of_sequence_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto;
};
// -------------------------------------------------------------------

class GetWorkerTasksRequest PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.data.GetWorkerTasksRequest) */ {
 public:
  inline GetWorkerTasksRequest() : GetWorkerTasksRequest(nullptr) {}
  virtual ~GetWorkerTasksRequest();
  explicit constexpr GetWorkerTasksRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  GetWorkerTasksRequest(const GetWorkerTasksRequest& from);
  GetWorkerTasksRequest(GetWorkerTasksRequest&& from) noexcept
    : GetWorkerTasksRequest() {
    *this = ::std::move(from);
  }

  inline GetWorkerTasksRequest& operator=(const GetWorkerTasksRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline GetWorkerTasksRequest& operator=(GetWorkerTasksRequest&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const GetWorkerTasksRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const GetWorkerTasksRequest* internal_default_instance() {
    return reinterpret_cast<const GetWorkerTasksRequest*>(
               &_GetWorkerTasksRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    4;

  friend void swap(GetWorkerTasksRequest& a, GetWorkerTasksRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(GetWorkerTasksRequest* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(GetWorkerTasksRequest* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline GetWorkerTasksRequest* New() const final {
    return CreateMaybeMessage<GetWorkerTasksRequest>(nullptr);
  }

  GetWorkerTasksRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<GetWorkerTasksRequest>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const GetWorkerTasksRequest& from);
  void MergeFrom(const GetWorkerTasksRequest& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(GetWorkerTasksRequest* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "tensorflow.data.GetWorkerTasksRequest";
  }
  protected:
  explicit GetWorkerTasksRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    return ::descriptor_table_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto_metadata_getter(kIndexInFileMessages);
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // @@protoc_insertion_point(class_scope:tensorflow.data.GetWorkerTasksRequest)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto;
};
// -------------------------------------------------------------------

class GetWorkerTasksResponse PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.data.GetWorkerTasksResponse) */ {
 public:
  inline GetWorkerTasksResponse() : GetWorkerTasksResponse(nullptr) {}
  virtual ~GetWorkerTasksResponse();
  explicit constexpr GetWorkerTasksResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  GetWorkerTasksResponse(const GetWorkerTasksResponse& from);
  GetWorkerTasksResponse(GetWorkerTasksResponse&& from) noexcept
    : GetWorkerTasksResponse() {
    *this = ::std::move(from);
  }

  inline GetWorkerTasksResponse& operator=(const GetWorkerTasksResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline GetWorkerTasksResponse& operator=(GetWorkerTasksResponse&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const GetWorkerTasksResponse& default_instance() {
    return *internal_default_instance();
  }
  static inline const GetWorkerTasksResponse* internal_default_instance() {
    return reinterpret_cast<const GetWorkerTasksResponse*>(
               &_GetWorkerTasksResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    5;

  friend void swap(GetWorkerTasksResponse& a, GetWorkerTasksResponse& b) {
    a.Swap(&b);
  }
  inline void Swap(GetWorkerTasksResponse* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(GetWorkerTasksResponse* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline GetWorkerTasksResponse* New() const final {
    return CreateMaybeMessage<GetWorkerTasksResponse>(nullptr);
  }

  GetWorkerTasksResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<GetWorkerTasksResponse>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const GetWorkerTasksResponse& from);
  void MergeFrom(const GetWorkerTasksResponse& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(GetWorkerTasksResponse* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "tensorflow.data.GetWorkerTasksResponse";
  }
  protected:
  explicit GetWorkerTasksResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    return ::descriptor_table_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto_metadata_getter(kIndexInFileMessages);
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kTasksFieldNumber = 1,
  };
  // repeated .tensorflow.data.TaskInfo tasks = 1;
  int tasks_size() const;
  private:
  int _internal_tasks_size() const;
  public:
  void clear_tasks();
  ::tensorflow::data::TaskInfo* mutable_tasks(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::data::TaskInfo >*
      mutable_tasks();
  private:
  const ::tensorflow::data::TaskInfo& _internal_tasks(int index) const;
  ::tensorflow::data::TaskInfo* _internal_add_tasks();
  public:
  const ::tensorflow::data::TaskInfo& tasks(int index) const;
  ::tensorflow::data::TaskInfo* add_tasks();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::data::TaskInfo >&
      tasks() const;

  // @@protoc_insertion_point(class_scope:tensorflow.data.GetWorkerTasksResponse)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::data::TaskInfo > tasks_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto;
};
// ===================================================================


// ===================================================================

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// ProcessTaskRequest

// .tensorflow.data.TaskDef task = 1;
inline bool ProcessTaskRequest::_internal_has_task() const {
  return this != internal_default_instance() && task_ != nullptr;
}
inline bool ProcessTaskRequest::has_task() const {
  return _internal_has_task();
}
inline const ::tensorflow::data::TaskDef& ProcessTaskRequest::_internal_task() const {
  const ::tensorflow::data::TaskDef* p = task_;
  return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::data::TaskDef&>(
      ::tensorflow::data::_TaskDef_default_instance_);
}
inline const ::tensorflow::data::TaskDef& ProcessTaskRequest::task() const {
  // @@protoc_insertion_point(field_get:tensorflow.data.ProcessTaskRequest.task)
  return _internal_task();
}
inline void ProcessTaskRequest::unsafe_arena_set_allocated_task(
    ::tensorflow::data::TaskDef* task) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(task_);
  }
  task_ = task;
  if (task) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.data.ProcessTaskRequest.task)
}
inline ::tensorflow::data::TaskDef* ProcessTaskRequest::release_task() {
  
  ::tensorflow::data::TaskDef* temp = task_;
  task_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::tensorflow::data::TaskDef* ProcessTaskRequest::unsafe_arena_release_task() {
  // @@protoc_insertion_point(field_release:tensorflow.data.ProcessTaskRequest.task)
  
  ::tensorflow::data::TaskDef* temp = task_;
  task_ = nullptr;
  return temp;
}
inline ::tensorflow::data::TaskDef* ProcessTaskRequest::_internal_mutable_task() {
  
  if (task_ == nullptr) {
    auto* p = CreateMaybeMessage<::tensorflow::data::TaskDef>(GetArena());
    task_ = p;
  }
  return task_;
}
inline ::tensorflow::data::TaskDef* ProcessTaskRequest::mutable_task() {
  // @@protoc_insertion_point(field_mutable:tensorflow.data.ProcessTaskRequest.task)
  return _internal_mutable_task();
}
inline void ProcessTaskRequest::set_allocated_task(::tensorflow::data::TaskDef* task) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(task_);
  }
  if (task) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(task)->GetArena();
    if (message_arena != submessage_arena) {
      task = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, task, submessage_arena);
    }
    
  } else {
    
  }
  task_ = task;
  // @@protoc_insertion_point(field_set_allocated:tensorflow.data.ProcessTaskRequest.task)
}

// -------------------------------------------------------------------

// ProcessTaskResponse

// -------------------------------------------------------------------

// GetElementRequest

// int64 task_id = 1;
inline void GetElementRequest::clear_task_id() {
  task_id_ = PROTOBUF_LONGLONG(0);
}
inline ::PROTOBUF_NAMESPACE_ID::int64 GetElementRequest::_internal_task_id() const {
  return task_id_;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 GetElementRequest::task_id() const {
  // @@protoc_insertion_point(field_get:tensorflow.data.GetElementRequest.task_id)
  return _internal_task_id();
}
inline void GetElementRequest::_internal_set_task_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
  
  task_id_ = value;
}
inline void GetElementRequest::set_task_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
  _internal_set_task_id(value);
  // @@protoc_insertion_point(field_set:tensorflow.data.GetElementRequest.task_id)
}

// -------------------------------------------------------------------

// GetElementResponse

// .tensorflow.data.CompressedElement compressed_element = 3;
inline bool GetElementResponse::_internal_has_compressed_element() const {
  return this != internal_default_instance() && compressed_element_ != nullptr;
}
inline bool GetElementResponse::has_compressed_element() const {
  return _internal_has_compressed_element();
}
inline const ::tensorflow::data::CompressedElement& GetElementResponse::_internal_compressed_element() const {
  const ::tensorflow::data::CompressedElement* p = compressed_element_;
  return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::data::CompressedElement&>(
      ::tensorflow::data::_CompressedElement_default_instance_);
}
inline const ::tensorflow::data::CompressedElement& GetElementResponse::compressed_element() const {
  // @@protoc_insertion_point(field_get:tensorflow.data.GetElementResponse.compressed_element)
  return _internal_compressed_element();
}
inline void GetElementResponse::unsafe_arena_set_allocated_compressed_element(
    ::tensorflow::data::CompressedElement* compressed_element) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(compressed_element_);
  }
  compressed_element_ = compressed_element;
  if (compressed_element) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.data.GetElementResponse.compressed_element)
}
inline ::tensorflow::data::CompressedElement* GetElementResponse::release_compressed_element() {
  
  ::tensorflow::data::CompressedElement* temp = compressed_element_;
  compressed_element_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::tensorflow::data::CompressedElement* GetElementResponse::unsafe_arena_release_compressed_element() {
  // @@protoc_insertion_point(field_release:tensorflow.data.GetElementResponse.compressed_element)
  
  ::tensorflow::data::CompressedElement* temp = compressed_element_;
  compressed_element_ = nullptr;
  return temp;
}
inline ::tensorflow::data::CompressedElement* GetElementResponse::_internal_mutable_compressed_element() {
  
  if (compressed_element_ == nullptr) {
    auto* p = CreateMaybeMessage<::tensorflow::data::CompressedElement>(GetArena());
    compressed_element_ = p;
  }
  return compressed_element_;
}
inline ::tensorflow::data::CompressedElement* GetElementResponse::mutable_compressed_element() {
  // @@protoc_insertion_point(field_mutable:tensorflow.data.GetElementResponse.compressed_element)
  return _internal_mutable_compressed_element();
}
inline void GetElementResponse::set_allocated_compressed_element(::tensorflow::data::CompressedElement* compressed_element) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(compressed_element_);
  }
  if (compressed_element) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(compressed_element)->GetArena();
    if (message_arena != submessage_arena) {
      compressed_element = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, compressed_element, submessage_arena);
    }
    
  } else {
    
  }
  compressed_element_ = compressed_element;
  // @@protoc_insertion_point(field_set_allocated:tensorflow.data.GetElementResponse.compressed_element)
}

// bool end_of_sequence = 2;
inline void GetElementResponse::clear_end_of_sequence() {
  end_of_sequence_ = false;
}
inline bool GetElementResponse::_internal_end_of_sequence() const {
  return end_of_sequence_;
}
inline bool GetElementResponse::end_of_sequence() const {
  // @@protoc_insertion_point(field_get:tensorflow.data.GetElementResponse.end_of_sequence)
  return _internal_end_of_sequence();
}
inline void GetElementResponse::_internal_set_end_of_sequence(bool value) {
  
  end_of_sequence_ = value;
}
inline void GetElementResponse::set_end_of_sequence(bool value) {
  _internal_set_end_of_sequence(value);
  // @@protoc_insertion_point(field_set:tensorflow.data.GetElementResponse.end_of_sequence)
}

// -------------------------------------------------------------------

// GetWorkerTasksRequest

// -------------------------------------------------------------------

// GetWorkerTasksResponse

// repeated .tensorflow.data.TaskInfo tasks = 1;
inline int GetWorkerTasksResponse::_internal_tasks_size() const {
  return tasks_.size();
}
inline int GetWorkerTasksResponse::tasks_size() const {
  return _internal_tasks_size();
}
inline ::tensorflow::data::TaskInfo* GetWorkerTasksResponse::mutable_tasks(int index) {
  // @@protoc_insertion_point(field_mutable:tensorflow.data.GetWorkerTasksResponse.tasks)
  return tasks_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::data::TaskInfo >*
GetWorkerTasksResponse::mutable_tasks() {
  // @@protoc_insertion_point(field_mutable_list:tensorflow.data.GetWorkerTasksResponse.tasks)
  return &tasks_;
}
inline const ::tensorflow::data::TaskInfo& GetWorkerTasksResponse::_internal_tasks(int index) const {
  return tasks_.Get(index);
}
inline const ::tensorflow::data::TaskInfo& GetWorkerTasksResponse::tasks(int index) const {
  // @@protoc_insertion_point(field_get:tensorflow.data.GetWorkerTasksResponse.tasks)
  return _internal_tasks(index);
}
inline ::tensorflow::data::TaskInfo* GetWorkerTasksResponse::_internal_add_tasks() {
  return tasks_.Add();
}
inline ::tensorflow::data::TaskInfo* GetWorkerTasksResponse::add_tasks() {
  // @@protoc_insertion_point(field_add:tensorflow.data.GetWorkerTasksResponse.tasks)
  return _internal_add_tasks();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::data::TaskInfo >&
GetWorkerTasksResponse::tasks() const {
  // @@protoc_insertion_point(field_list:tensorflow.data.GetWorkerTasksResponse.tasks)
  return tasks_;
}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__
// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------


// @@protoc_insertion_point(namespace_scope)

}  // namespace data
}  // namespace tensorflow

// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fdata_2fservice_2fworker_2eproto
