// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: dispatch_control.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_dispatch_5fcontrol_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_dispatch_5fcontrol_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 4000000
#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 4000000 < 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/inlined_string_field.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/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "message_base.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_dispatch_5fcontrol_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_dispatch_5fcontrol_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[4]
    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_dispatch_5fcontrol_2eproto;
namespace message {
class Dispatch_control_request_msg;
class Dispatch_control_request_msgDefaultTypeInternal;
extern Dispatch_control_request_msgDefaultTypeInternal _Dispatch_control_request_msg_default_instance_;
class Dispatch_control_response_msg;
class Dispatch_control_response_msgDefaultTypeInternal;
extern Dispatch_control_response_msgDefaultTypeInternal _Dispatch_control_response_msg_default_instance_;
class Dispatch_plan_request_msg;
class Dispatch_plan_request_msgDefaultTypeInternal;
extern Dispatch_plan_request_msgDefaultTypeInternal _Dispatch_plan_request_msg_default_instance_;
class Dispatch_plan_response_msg;
class Dispatch_plan_response_msgDefaultTypeInternal;
extern Dispatch_plan_response_msgDefaultTypeInternal _Dispatch_plan_response_msg_default_instance_;
}  // namespace message
PROTOBUF_NAMESPACE_OPEN
template<> ::message::Dispatch_control_request_msg* Arena::CreateMaybeMessage<::message::Dispatch_control_request_msg>(Arena*);
template<> ::message::Dispatch_control_response_msg* Arena::CreateMaybeMessage<::message::Dispatch_control_response_msg>(Arena*);
template<> ::message::Dispatch_plan_request_msg* Arena::CreateMaybeMessage<::message::Dispatch_plan_request_msg>(Arena*);
template<> ::message::Dispatch_plan_response_msg* Arena::CreateMaybeMessage<::message::Dispatch_plan_response_msg>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace message {

enum Dispatch_task_type : int {
  DISPATCH_TASK_TYPE_UNKNOW = 0,
  DISPATCH_PLAN_STORE = 101,
  DISPATCH_PLAN_PICKUP = 102,
  ROBOT_CATCH_CAR_FROM_INLET = 1,
  ROBOT_PUT_CAR_TO_CARRIER = 2,
  ROBOT_CATCH_CAR_FROM_CARRIER = 3,
  ROBOT_PUT_CAR_TO_OUTLET = 4,
  ROBOT_MOVE = 5,
  CARRIER_RECEIVE_CAR_FROM_ROBOT = 11,
  CARRIER_STORE_CAR_TO_PARKINGSPACE = 12,
  CARRIER_STORE_CAR_TO_PARKINGSPACE_EX = 122,
  CARRIER_PICKUP_CAR_FROM_PARKINGSPACE = 13,
  CARRIER_PICKUP_CAR_FROM_PARKINGSPACE_EX = 133,
  CARRIER_DELIVER_CAR_TO_ROBOT = 14,
  CARRIER_MOVE = 15,
  PASSAGEWAY_OPEN_OUTSIDE_DOOR = 21,
  PASSAGEWAY_CLOSE_OUTSIDE_DOOR = 22,
  PASSAGEWAY_OPEN_INSIDE_DOOR = 23,
  PASSAGEWAY_CLOSE_INSIDE_DOOR = 24,
  PASSAGEWAY_ROTATE_TURNTABLE_TO_CARRIER = 25,
  PASSAGEWAY_ROTATE_TURNTABLE_TO_OUTLET = 26,
  DISPATCH_FINISH = 30,
  DISPATCH_CANCEL = 31,
  DISPATCH_PAUSE = 40,
  DISPATCH_RESERVED = 50
};
bool Dispatch_task_type_IsValid(int value);
constexpr Dispatch_task_type Dispatch_task_type_MIN = DISPATCH_TASK_TYPE_UNKNOW;
constexpr Dispatch_task_type Dispatch_task_type_MAX = CARRIER_PICKUP_CAR_FROM_PARKINGSPACE_EX;
constexpr int Dispatch_task_type_ARRAYSIZE = Dispatch_task_type_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Dispatch_task_type_descriptor();
template<typename T>
inline const std::string& Dispatch_task_type_Name(T enum_t_value) {
  static_assert(::std::is_same<T, Dispatch_task_type>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function Dispatch_task_type_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    Dispatch_task_type_descriptor(), enum_t_value);
}
inline bool Dispatch_task_type_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Dispatch_task_type* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Dispatch_task_type>(
    Dispatch_task_type_descriptor(), name, value);
}
enum Dispatch_device_target_status : int {
  E_TARGET_STATUS_UNKNOW = 0,
  E_TARGET_STATUS_IDLE = 1,
  E_TARGET_STATUS_BUSY = 2,
  E_TARGET_STATUS_READY = 3,
  E_TARGET_STATUS_WAIT = 4
};
bool Dispatch_device_target_status_IsValid(int value);
constexpr Dispatch_device_target_status Dispatch_device_target_status_MIN = E_TARGET_STATUS_UNKNOW;
constexpr Dispatch_device_target_status Dispatch_device_target_status_MAX = E_TARGET_STATUS_WAIT;
constexpr int Dispatch_device_target_status_ARRAYSIZE = Dispatch_device_target_status_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Dispatch_device_target_status_descriptor();
template<typename T>
inline const std::string& Dispatch_device_target_status_Name(T enum_t_value) {
  static_assert(::std::is_same<T, Dispatch_device_target_status>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function Dispatch_device_target_status_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    Dispatch_device_target_status_descriptor(), enum_t_value);
}
inline bool Dispatch_device_target_status_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Dispatch_device_target_status* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Dispatch_device_target_status>(
    Dispatch_device_target_status_descriptor(), name, value);
}
enum Dispatch_device_task_status : int {
  E_TASK_CREATED = 0,
  E_TASK_ISSUE = 1,
  E_TASK_SIGNED = 2,
  E_TASK_WORKING = 3,
  E_TASK_OVER = 4,
  E_TASK_STOP = 5,
  E_TASK_ERROR = 11,
  E_TASK_CANCEL = 21,
  E_TASK_DEAD = 22,
  E_TASK_WITHDRAW = 31,
  E_TASK_FREE = 32
};
bool Dispatch_device_task_status_IsValid(int value);
constexpr Dispatch_device_task_status Dispatch_device_task_status_MIN = E_TASK_CREATED;
constexpr Dispatch_device_task_status Dispatch_device_task_status_MAX = E_TASK_FREE;
constexpr int Dispatch_device_task_status_ARRAYSIZE = Dispatch_device_task_status_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Dispatch_device_task_status_descriptor();
template<typename T>
inline const std::string& Dispatch_device_task_status_Name(T enum_t_value) {
  static_assert(::std::is_same<T, Dispatch_device_task_status>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function Dispatch_device_task_status_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    Dispatch_device_task_status_descriptor(), enum_t_value);
}
inline bool Dispatch_device_task_status_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Dispatch_device_task_status* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Dispatch_device_task_status>(
    Dispatch_device_task_status_descriptor(), name, value);
}
// ===================================================================

class Dispatch_plan_request_msg PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_plan_request_msg) */ {
 public:
  inline Dispatch_plan_request_msg() : Dispatch_plan_request_msg(nullptr) {}
  virtual ~Dispatch_plan_request_msg();

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

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

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  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 Dispatch_plan_request_msg& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Dispatch_plan_request_msg* internal_default_instance() {
    return reinterpret_cast<const Dispatch_plan_request_msg*>(
               &_Dispatch_plan_request_msg_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

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

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

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

  Dispatch_plan_request_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<Dispatch_plan_request_msg>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const Dispatch_plan_request_msg& from);
  void MergeFrom(const Dispatch_plan_request_msg& 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(Dispatch_plan_request_msg* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "message.Dispatch_plan_request_msg";
  }
  protected:
  explicit Dispatch_plan_request_msg(::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() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_dispatch_5fcontrol_2eproto);
    return ::descriptor_table_dispatch_5fcontrol_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

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

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

  enum : int {
    kCommandKeyFieldNumber = 2,
    kBaseInfoFieldNumber = 1,
    kErrorManagerFieldNumber = 6,
    kDispatchTaskTypeFieldNumber = 3,
    kDispatchSourceFieldNumber = 4,
    kDispatchDestinationFieldNumber = 5,
  };
  // required string command_key = 2;
  bool has_command_key() const;
  private:
  bool _internal_has_command_key() const;
  public:
  void clear_command_key();
  const std::string& command_key() const;
  void set_command_key(const std::string& value);
  void set_command_key(std::string&& value);
  void set_command_key(const char* value);
  void set_command_key(const char* value, size_t size);
  std::string* mutable_command_key();
  std::string* release_command_key();
  void set_allocated_command_key(std::string* command_key);
  private:
  const std::string& _internal_command_key() const;
  void _internal_set_command_key(const std::string& value);
  std::string* _internal_mutable_command_key();
  public:

  // required .message.Base_info base_info = 1;
  bool has_base_info() const;
  private:
  bool _internal_has_base_info() const;
  public:
  void clear_base_info();
  const ::message::Base_info& base_info() const;
  ::message::Base_info* release_base_info();
  ::message::Base_info* mutable_base_info();
  void set_allocated_base_info(::message::Base_info* base_info);
  private:
  const ::message::Base_info& _internal_base_info() const;
  ::message::Base_info* _internal_mutable_base_info();
  public:
  void unsafe_arena_set_allocated_base_info(
      ::message::Base_info* base_info);
  ::message::Base_info* unsafe_arena_release_base_info();

  // optional .message.Error_manager error_manager = 6;
  bool has_error_manager() const;
  private:
  bool _internal_has_error_manager() const;
  public:
  void clear_error_manager();
  const ::message::Error_manager& error_manager() const;
  ::message::Error_manager* release_error_manager();
  ::message::Error_manager* mutable_error_manager();
  void set_allocated_error_manager(::message::Error_manager* error_manager);
  private:
  const ::message::Error_manager& _internal_error_manager() const;
  ::message::Error_manager* _internal_mutable_error_manager();
  public:
  void unsafe_arena_set_allocated_error_manager(
      ::message::Error_manager* error_manager);
  ::message::Error_manager* unsafe_arena_release_error_manager();

  // optional .message.Dispatch_task_type dispatch_task_type = 3;
  bool has_dispatch_task_type() const;
  private:
  bool _internal_has_dispatch_task_type() const;
  public:
  void clear_dispatch_task_type();
  ::message::Dispatch_task_type dispatch_task_type() const;
  void set_dispatch_task_type(::message::Dispatch_task_type value);
  private:
  ::message::Dispatch_task_type _internal_dispatch_task_type() const;
  void _internal_set_dispatch_task_type(::message::Dispatch_task_type value);
  public:

  // optional int32 dispatch_source = 4;
  bool has_dispatch_source() const;
  private:
  bool _internal_has_dispatch_source() const;
  public:
  void clear_dispatch_source();
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_source() const;
  void set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_dispatch_source() const;
  void _internal_set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // optional int32 dispatch_destination = 5;
  bool has_dispatch_destination() const;
  private:
  bool _internal_has_dispatch_destination() const;
  public:
  void clear_dispatch_destination();
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_destination() const;
  void set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_dispatch_destination() const;
  void _internal_set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // @@protoc_insertion_point(class_scope:message.Dispatch_plan_request_msg)
 private:
  class _Internal;

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
  ::message::Base_info* base_info_;
  ::message::Error_manager* error_manager_;
  int dispatch_task_type_;
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_source_;
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_destination_;
  friend struct ::TableStruct_dispatch_5fcontrol_2eproto;
};
// -------------------------------------------------------------------

class Dispatch_plan_response_msg PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_plan_response_msg) */ {
 public:
  inline Dispatch_plan_response_msg() : Dispatch_plan_response_msg(nullptr) {}
  virtual ~Dispatch_plan_response_msg();

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

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

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  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 Dispatch_plan_response_msg& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Dispatch_plan_response_msg* internal_default_instance() {
    return reinterpret_cast<const Dispatch_plan_response_msg*>(
               &_Dispatch_plan_response_msg_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

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

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

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

  Dispatch_plan_response_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<Dispatch_plan_response_msg>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const Dispatch_plan_response_msg& from);
  void MergeFrom(const Dispatch_plan_response_msg& 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(Dispatch_plan_response_msg* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "message.Dispatch_plan_response_msg";
  }
  protected:
  explicit Dispatch_plan_response_msg(::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() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_dispatch_5fcontrol_2eproto);
    return ::descriptor_table_dispatch_5fcontrol_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

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

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

  enum : int {
    kCommandKeyFieldNumber = 2,
    kBaseInfoFieldNumber = 1,
    kErrorManagerFieldNumber = 6,
    kDispatchTaskTypeFieldNumber = 3,
    kDispatchSourceFieldNumber = 4,
    kDispatchDestinationFieldNumber = 5,
  };
  // required string command_key = 2;
  bool has_command_key() const;
  private:
  bool _internal_has_command_key() const;
  public:
  void clear_command_key();
  const std::string& command_key() const;
  void set_command_key(const std::string& value);
  void set_command_key(std::string&& value);
  void set_command_key(const char* value);
  void set_command_key(const char* value, size_t size);
  std::string* mutable_command_key();
  std::string* release_command_key();
  void set_allocated_command_key(std::string* command_key);
  private:
  const std::string& _internal_command_key() const;
  void _internal_set_command_key(const std::string& value);
  std::string* _internal_mutable_command_key();
  public:

  // required .message.Base_info base_info = 1;
  bool has_base_info() const;
  private:
  bool _internal_has_base_info() const;
  public:
  void clear_base_info();
  const ::message::Base_info& base_info() const;
  ::message::Base_info* release_base_info();
  ::message::Base_info* mutable_base_info();
  void set_allocated_base_info(::message::Base_info* base_info);
  private:
  const ::message::Base_info& _internal_base_info() const;
  ::message::Base_info* _internal_mutable_base_info();
  public:
  void unsafe_arena_set_allocated_base_info(
      ::message::Base_info* base_info);
  ::message::Base_info* unsafe_arena_release_base_info();

  // optional .message.Error_manager error_manager = 6;
  bool has_error_manager() const;
  private:
  bool _internal_has_error_manager() const;
  public:
  void clear_error_manager();
  const ::message::Error_manager& error_manager() const;
  ::message::Error_manager* release_error_manager();
  ::message::Error_manager* mutable_error_manager();
  void set_allocated_error_manager(::message::Error_manager* error_manager);
  private:
  const ::message::Error_manager& _internal_error_manager() const;
  ::message::Error_manager* _internal_mutable_error_manager();
  public:
  void unsafe_arena_set_allocated_error_manager(
      ::message::Error_manager* error_manager);
  ::message::Error_manager* unsafe_arena_release_error_manager();

  // optional .message.Dispatch_task_type dispatch_task_type = 3;
  bool has_dispatch_task_type() const;
  private:
  bool _internal_has_dispatch_task_type() const;
  public:
  void clear_dispatch_task_type();
  ::message::Dispatch_task_type dispatch_task_type() const;
  void set_dispatch_task_type(::message::Dispatch_task_type value);
  private:
  ::message::Dispatch_task_type _internal_dispatch_task_type() const;
  void _internal_set_dispatch_task_type(::message::Dispatch_task_type value);
  public:

  // optional int32 dispatch_source = 4;
  bool has_dispatch_source() const;
  private:
  bool _internal_has_dispatch_source() const;
  public:
  void clear_dispatch_source();
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_source() const;
  void set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_dispatch_source() const;
  void _internal_set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // optional int32 dispatch_destination = 5;
  bool has_dispatch_destination() const;
  private:
  bool _internal_has_dispatch_destination() const;
  public:
  void clear_dispatch_destination();
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_destination() const;
  void set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_dispatch_destination() const;
  void _internal_set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // @@protoc_insertion_point(class_scope:message.Dispatch_plan_response_msg)
 private:
  class _Internal;

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
  ::message::Base_info* base_info_;
  ::message::Error_manager* error_manager_;
  int dispatch_task_type_;
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_source_;
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_destination_;
  friend struct ::TableStruct_dispatch_5fcontrol_2eproto;
};
// -------------------------------------------------------------------

class Dispatch_control_request_msg PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_control_request_msg) */ {
 public:
  inline Dispatch_control_request_msg() : Dispatch_control_request_msg(nullptr) {}
  virtual ~Dispatch_control_request_msg();

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

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

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  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 Dispatch_control_request_msg& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Dispatch_control_request_msg* internal_default_instance() {
    return reinterpret_cast<const Dispatch_control_request_msg*>(
               &_Dispatch_control_request_msg_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

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

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

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

  Dispatch_control_request_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<Dispatch_control_request_msg>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const Dispatch_control_request_msg& from);
  void MergeFrom(const Dispatch_control_request_msg& 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(Dispatch_control_request_msg* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "message.Dispatch_control_request_msg";
  }
  protected:
  explicit Dispatch_control_request_msg(::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() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_dispatch_5fcontrol_2eproto);
    return ::descriptor_table_dispatch_5fcontrol_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

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

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

  enum : int {
    kCommandKeyFieldNumber = 2,
    kBaseInfoFieldNumber = 1,
    kErrorManagerFieldNumber = 7,
    kDispatchTaskTypeFieldNumber = 3,
    kDispatchSourceFieldNumber = 5,
    kDispatchDestinationFieldNumber = 6,
    kDispatchDeviceTargetStatusFieldNumber = 8,
    kDispatchDeviceTaskStatusFieldNumber = 9,
    kDispatchDeviceTypeFieldNumber = 4,
  };
  // required string command_key = 2;
  bool has_command_key() const;
  private:
  bool _internal_has_command_key() const;
  public:
  void clear_command_key();
  const std::string& command_key() const;
  void set_command_key(const std::string& value);
  void set_command_key(std::string&& value);
  void set_command_key(const char* value);
  void set_command_key(const char* value, size_t size);
  std::string* mutable_command_key();
  std::string* release_command_key();
  void set_allocated_command_key(std::string* command_key);
  private:
  const std::string& _internal_command_key() const;
  void _internal_set_command_key(const std::string& value);
  std::string* _internal_mutable_command_key();
  public:

  // required .message.Base_info base_info = 1;
  bool has_base_info() const;
  private:
  bool _internal_has_base_info() const;
  public:
  void clear_base_info();
  const ::message::Base_info& base_info() const;
  ::message::Base_info* release_base_info();
  ::message::Base_info* mutable_base_info();
  void set_allocated_base_info(::message::Base_info* base_info);
  private:
  const ::message::Base_info& _internal_base_info() const;
  ::message::Base_info* _internal_mutable_base_info();
  public:
  void unsafe_arena_set_allocated_base_info(
      ::message::Base_info* base_info);
  ::message::Base_info* unsafe_arena_release_base_info();

  // optional .message.Error_manager error_manager = 7;
  bool has_error_manager() const;
  private:
  bool _internal_has_error_manager() const;
  public:
  void clear_error_manager();
  const ::message::Error_manager& error_manager() const;
  ::message::Error_manager* release_error_manager();
  ::message::Error_manager* mutable_error_manager();
  void set_allocated_error_manager(::message::Error_manager* error_manager);
  private:
  const ::message::Error_manager& _internal_error_manager() const;
  ::message::Error_manager* _internal_mutable_error_manager();
  public:
  void unsafe_arena_set_allocated_error_manager(
      ::message::Error_manager* error_manager);
  ::message::Error_manager* unsafe_arena_release_error_manager();

  // required .message.Dispatch_task_type dispatch_task_type = 3;
  bool has_dispatch_task_type() const;
  private:
  bool _internal_has_dispatch_task_type() const;
  public:
  void clear_dispatch_task_type();
  ::message::Dispatch_task_type dispatch_task_type() const;
  void set_dispatch_task_type(::message::Dispatch_task_type value);
  private:
  ::message::Dispatch_task_type _internal_dispatch_task_type() const;
  void _internal_set_dispatch_task_type(::message::Dispatch_task_type value);
  public:

  // optional int32 dispatch_source = 5;
  bool has_dispatch_source() const;
  private:
  bool _internal_has_dispatch_source() const;
  public:
  void clear_dispatch_source();
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_source() const;
  void set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_dispatch_source() const;
  void _internal_set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // optional int32 dispatch_destination = 6;
  bool has_dispatch_destination() const;
  private:
  bool _internal_has_dispatch_destination() const;
  public:
  void clear_dispatch_destination();
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_destination() const;
  void set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_dispatch_destination() const;
  void _internal_set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
  bool has_dispatch_device_target_status() const;
  private:
  bool _internal_has_dispatch_device_target_status() const;
  public:
  void clear_dispatch_device_target_status();
  ::message::Dispatch_device_target_status dispatch_device_target_status() const;
  void set_dispatch_device_target_status(::message::Dispatch_device_target_status value);
  private:
  ::message::Dispatch_device_target_status _internal_dispatch_device_target_status() const;
  void _internal_set_dispatch_device_target_status(::message::Dispatch_device_target_status value);
  public:

  // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
  bool has_dispatch_device_task_status() const;
  private:
  bool _internal_has_dispatch_device_task_status() const;
  public:
  void clear_dispatch_device_task_status();
  ::message::Dispatch_device_task_status dispatch_device_task_status() const;
  void set_dispatch_device_task_status(::message::Dispatch_device_task_status value);
  private:
  ::message::Dispatch_device_task_status _internal_dispatch_device_task_status() const;
  void _internal_set_dispatch_device_task_status(::message::Dispatch_device_task_status value);
  public:

  // optional .message.Dispatch_device_type dispatch_device_type = 4;
  bool has_dispatch_device_type() const;
  private:
  bool _internal_has_dispatch_device_type() const;
  public:
  void clear_dispatch_device_type();
  ::message::Dispatch_device_type dispatch_device_type() const;
  void set_dispatch_device_type(::message::Dispatch_device_type value);
  private:
  ::message::Dispatch_device_type _internal_dispatch_device_type() const;
  void _internal_set_dispatch_device_type(::message::Dispatch_device_type value);
  public:

  // @@protoc_insertion_point(class_scope:message.Dispatch_control_request_msg)
 private:
  class _Internal;

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
  ::message::Base_info* base_info_;
  ::message::Error_manager* error_manager_;
  int dispatch_task_type_;
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_source_;
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_destination_;
  int dispatch_device_target_status_;
  int dispatch_device_task_status_;
  int dispatch_device_type_;
  friend struct ::TableStruct_dispatch_5fcontrol_2eproto;
};
// -------------------------------------------------------------------

class Dispatch_control_response_msg PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_control_response_msg) */ {
 public:
  inline Dispatch_control_response_msg() : Dispatch_control_response_msg(nullptr) {}
  virtual ~Dispatch_control_response_msg();

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

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

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  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 Dispatch_control_response_msg& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Dispatch_control_response_msg* internal_default_instance() {
    return reinterpret_cast<const Dispatch_control_response_msg*>(
               &_Dispatch_control_response_msg_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

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

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

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

  Dispatch_control_response_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<Dispatch_control_response_msg>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const Dispatch_control_response_msg& from);
  void MergeFrom(const Dispatch_control_response_msg& 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(Dispatch_control_response_msg* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "message.Dispatch_control_response_msg";
  }
  protected:
  explicit Dispatch_control_response_msg(::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() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_dispatch_5fcontrol_2eproto);
    return ::descriptor_table_dispatch_5fcontrol_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

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

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

  enum : int {
    kCommandKeyFieldNumber = 2,
    kBaseInfoFieldNumber = 1,
    kErrorManagerFieldNumber = 7,
    kDispatchTaskTypeFieldNumber = 3,
    kDispatchSourceFieldNumber = 5,
    kDispatchDestinationFieldNumber = 6,
    kDispatchDeviceTargetStatusFieldNumber = 8,
    kDispatchDeviceTaskStatusFieldNumber = 9,
    kDispatchDeviceTypeFieldNumber = 4,
  };
  // required string command_key = 2;
  bool has_command_key() const;
  private:
  bool _internal_has_command_key() const;
  public:
  void clear_command_key();
  const std::string& command_key() const;
  void set_command_key(const std::string& value);
  void set_command_key(std::string&& value);
  void set_command_key(const char* value);
  void set_command_key(const char* value, size_t size);
  std::string* mutable_command_key();
  std::string* release_command_key();
  void set_allocated_command_key(std::string* command_key);
  private:
  const std::string& _internal_command_key() const;
  void _internal_set_command_key(const std::string& value);
  std::string* _internal_mutable_command_key();
  public:

  // required .message.Base_info base_info = 1;
  bool has_base_info() const;
  private:
  bool _internal_has_base_info() const;
  public:
  void clear_base_info();
  const ::message::Base_info& base_info() const;
  ::message::Base_info* release_base_info();
  ::message::Base_info* mutable_base_info();
  void set_allocated_base_info(::message::Base_info* base_info);
  private:
  const ::message::Base_info& _internal_base_info() const;
  ::message::Base_info* _internal_mutable_base_info();
  public:
  void unsafe_arena_set_allocated_base_info(
      ::message::Base_info* base_info);
  ::message::Base_info* unsafe_arena_release_base_info();

  // optional .message.Error_manager error_manager = 7;
  bool has_error_manager() const;
  private:
  bool _internal_has_error_manager() const;
  public:
  void clear_error_manager();
  const ::message::Error_manager& error_manager() const;
  ::message::Error_manager* release_error_manager();
  ::message::Error_manager* mutable_error_manager();
  void set_allocated_error_manager(::message::Error_manager* error_manager);
  private:
  const ::message::Error_manager& _internal_error_manager() const;
  ::message::Error_manager* _internal_mutable_error_manager();
  public:
  void unsafe_arena_set_allocated_error_manager(
      ::message::Error_manager* error_manager);
  ::message::Error_manager* unsafe_arena_release_error_manager();

  // optional .message.Dispatch_task_type dispatch_task_type = 3;
  bool has_dispatch_task_type() const;
  private:
  bool _internal_has_dispatch_task_type() const;
  public:
  void clear_dispatch_task_type();
  ::message::Dispatch_task_type dispatch_task_type() const;
  void set_dispatch_task_type(::message::Dispatch_task_type value);
  private:
  ::message::Dispatch_task_type _internal_dispatch_task_type() const;
  void _internal_set_dispatch_task_type(::message::Dispatch_task_type value);
  public:

  // optional int32 dispatch_source = 5;
  bool has_dispatch_source() const;
  private:
  bool _internal_has_dispatch_source() const;
  public:
  void clear_dispatch_source();
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_source() const;
  void set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_dispatch_source() const;
  void _internal_set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // optional int32 dispatch_destination = 6;
  bool has_dispatch_destination() const;
  private:
  bool _internal_has_dispatch_destination() const;
  public:
  void clear_dispatch_destination();
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_destination() const;
  void set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_dispatch_destination() const;
  void _internal_set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
  bool has_dispatch_device_target_status() const;
  private:
  bool _internal_has_dispatch_device_target_status() const;
  public:
  void clear_dispatch_device_target_status();
  ::message::Dispatch_device_target_status dispatch_device_target_status() const;
  void set_dispatch_device_target_status(::message::Dispatch_device_target_status value);
  private:
  ::message::Dispatch_device_target_status _internal_dispatch_device_target_status() const;
  void _internal_set_dispatch_device_target_status(::message::Dispatch_device_target_status value);
  public:

  // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
  bool has_dispatch_device_task_status() const;
  private:
  bool _internal_has_dispatch_device_task_status() const;
  public:
  void clear_dispatch_device_task_status();
  ::message::Dispatch_device_task_status dispatch_device_task_status() const;
  void set_dispatch_device_task_status(::message::Dispatch_device_task_status value);
  private:
  ::message::Dispatch_device_task_status _internal_dispatch_device_task_status() const;
  void _internal_set_dispatch_device_task_status(::message::Dispatch_device_task_status value);
  public:

  // optional .message.Dispatch_device_type dispatch_device_type = 4;
  bool has_dispatch_device_type() const;
  private:
  bool _internal_has_dispatch_device_type() const;
  public:
  void clear_dispatch_device_type();
  ::message::Dispatch_device_type dispatch_device_type() const;
  void set_dispatch_device_type(::message::Dispatch_device_type value);
  private:
  ::message::Dispatch_device_type _internal_dispatch_device_type() const;
  void _internal_set_dispatch_device_type(::message::Dispatch_device_type value);
  public:

  // @@protoc_insertion_point(class_scope:message.Dispatch_control_response_msg)
 private:
  class _Internal;

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
  ::message::Base_info* base_info_;
  ::message::Error_manager* error_manager_;
  int dispatch_task_type_;
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_source_;
  ::PROTOBUF_NAMESPACE_ID::int32 dispatch_destination_;
  int dispatch_device_target_status_;
  int dispatch_device_task_status_;
  int dispatch_device_type_;
  friend struct ::TableStruct_dispatch_5fcontrol_2eproto;
};
// ===================================================================


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

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

// required .message.Base_info base_info = 1;
inline bool Dispatch_plan_request_msg::_internal_has_base_info() const {
  bool value = (_has_bits_[0] & 0x00000002u) != 0;
  PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  return value;
}
inline bool Dispatch_plan_request_msg::has_base_info() const {
  return _internal_has_base_info();
}
inline const ::message::Base_info& Dispatch_plan_request_msg::_internal_base_info() const {
  const ::message::Base_info* p = base_info_;
  return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
      &::message::_Base_info_default_instance_);
}
inline const ::message::Base_info& Dispatch_plan_request_msg::base_info() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_plan_request_msg.base_info)
  return _internal_base_info();
}
inline void Dispatch_plan_request_msg::unsafe_arena_set_allocated_base_info(
    ::message::Base_info* base_info) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  }
  base_info_ = base_info;
  if (base_info) {
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Dispatch_plan_request_msg.base_info)
}
inline ::message::Base_info* Dispatch_plan_request_msg::release_base_info() {
  _has_bits_[0] &= ~0x00000002u;
  ::message::Base_info* temp = base_info_;
  base_info_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::message::Base_info* Dispatch_plan_request_msg::unsafe_arena_release_base_info() {
  // @@protoc_insertion_point(field_release:message.Dispatch_plan_request_msg.base_info)
  _has_bits_[0] &= ~0x00000002u;
  ::message::Base_info* temp = base_info_;
  base_info_ = nullptr;
  return temp;
}
inline ::message::Base_info* Dispatch_plan_request_msg::_internal_mutable_base_info() {
  _has_bits_[0] |= 0x00000002u;
  if (base_info_ == nullptr) {
    auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
    base_info_ = p;
  }
  return base_info_;
}
inline ::message::Base_info* Dispatch_plan_request_msg::mutable_base_info() {
  // @@protoc_insertion_point(field_mutable:message.Dispatch_plan_request_msg.base_info)
  return _internal_mutable_base_info();
}
inline void Dispatch_plan_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  }
  if (base_info) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
    if (message_arena != submessage_arena) {
      base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, base_info, submessage_arena);
    }
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  base_info_ = base_info;
  // @@protoc_insertion_point(field_set_allocated:message.Dispatch_plan_request_msg.base_info)
}

// required string command_key = 2;
inline bool Dispatch_plan_request_msg::_internal_has_command_key() const {
  bool value = (_has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool Dispatch_plan_request_msg::has_command_key() const {
  return _internal_has_command_key();
}
inline void Dispatch_plan_request_msg::clear_command_key() {
  command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  _has_bits_[0] &= ~0x00000001u;
}
inline const std::string& Dispatch_plan_request_msg::command_key() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_plan_request_msg.command_key)
  return _internal_command_key();
}
inline void Dispatch_plan_request_msg::set_command_key(const std::string& value) {
  _internal_set_command_key(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_plan_request_msg.command_key)
}
inline std::string* Dispatch_plan_request_msg::mutable_command_key() {
  // @@protoc_insertion_point(field_mutable:message.Dispatch_plan_request_msg.command_key)
  return _internal_mutable_command_key();
}
inline const std::string& Dispatch_plan_request_msg::_internal_command_key() const {
  return command_key_.Get();
}
inline void Dispatch_plan_request_msg::_internal_set_command_key(const std::string& value) {
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
}
inline void Dispatch_plan_request_msg::set_command_key(std::string&& value) {
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  // @@protoc_insertion_point(field_set_rvalue:message.Dispatch_plan_request_msg.command_key)
}
inline void Dispatch_plan_request_msg::set_command_key(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
              GetArena());
  // @@protoc_insertion_point(field_set_char:message.Dispatch_plan_request_msg.command_key)
}
inline void Dispatch_plan_request_msg::set_command_key(const char* value,
    size_t size) {
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
      reinterpret_cast<const char*>(value), size), GetArena());
  // @@protoc_insertion_point(field_set_pointer:message.Dispatch_plan_request_msg.command_key)
}
inline std::string* Dispatch_plan_request_msg::_internal_mutable_command_key() {
  _has_bits_[0] |= 0x00000001u;
  return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline std::string* Dispatch_plan_request_msg::release_command_key() {
  // @@protoc_insertion_point(field_release:message.Dispatch_plan_request_msg.command_key)
  if (!_internal_has_command_key()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000001u;
  return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline void Dispatch_plan_request_msg::set_allocated_command_key(std::string* command_key) {
  if (command_key != nullptr) {
    _has_bits_[0] |= 0x00000001u;
  } else {
    _has_bits_[0] &= ~0x00000001u;
  }
  command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
      GetArena());
  // @@protoc_insertion_point(field_set_allocated:message.Dispatch_plan_request_msg.command_key)
}

// optional .message.Dispatch_task_type dispatch_task_type = 3;
inline bool Dispatch_plan_request_msg::_internal_has_dispatch_task_type() const {
  bool value = (_has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool Dispatch_plan_request_msg::has_dispatch_task_type() const {
  return _internal_has_dispatch_task_type();
}
inline void Dispatch_plan_request_msg::clear_dispatch_task_type() {
  dispatch_task_type_ = 0;
  _has_bits_[0] &= ~0x00000008u;
}
inline ::message::Dispatch_task_type Dispatch_plan_request_msg::_internal_dispatch_task_type() const {
  return static_cast< ::message::Dispatch_task_type >(dispatch_task_type_);
}
inline ::message::Dispatch_task_type Dispatch_plan_request_msg::dispatch_task_type() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_plan_request_msg.dispatch_task_type)
  return _internal_dispatch_task_type();
}
inline void Dispatch_plan_request_msg::_internal_set_dispatch_task_type(::message::Dispatch_task_type value) {
  assert(::message::Dispatch_task_type_IsValid(value));
  _has_bits_[0] |= 0x00000008u;
  dispatch_task_type_ = value;
}
inline void Dispatch_plan_request_msg::set_dispatch_task_type(::message::Dispatch_task_type value) {
  _internal_set_dispatch_task_type(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_plan_request_msg.dispatch_task_type)
}

// optional int32 dispatch_source = 4;
inline bool Dispatch_plan_request_msg::_internal_has_dispatch_source() const {
  bool value = (_has_bits_[0] & 0x00000010u) != 0;
  return value;
}
inline bool Dispatch_plan_request_msg::has_dispatch_source() const {
  return _internal_has_dispatch_source();
}
inline void Dispatch_plan_request_msg::clear_dispatch_source() {
  dispatch_source_ = 0;
  _has_bits_[0] &= ~0x00000010u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_plan_request_msg::_internal_dispatch_source() const {
  return dispatch_source_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_plan_request_msg::dispatch_source() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_plan_request_msg.dispatch_source)
  return _internal_dispatch_source();
}
inline void Dispatch_plan_request_msg::_internal_set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000010u;
  dispatch_source_ = value;
}
inline void Dispatch_plan_request_msg::set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_dispatch_source(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_plan_request_msg.dispatch_source)
}

// optional int32 dispatch_destination = 5;
inline bool Dispatch_plan_request_msg::_internal_has_dispatch_destination() const {
  bool value = (_has_bits_[0] & 0x00000020u) != 0;
  return value;
}
inline bool Dispatch_plan_request_msg::has_dispatch_destination() const {
  return _internal_has_dispatch_destination();
}
inline void Dispatch_plan_request_msg::clear_dispatch_destination() {
  dispatch_destination_ = 0;
  _has_bits_[0] &= ~0x00000020u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_plan_request_msg::_internal_dispatch_destination() const {
  return dispatch_destination_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_plan_request_msg::dispatch_destination() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_plan_request_msg.dispatch_destination)
  return _internal_dispatch_destination();
}
inline void Dispatch_plan_request_msg::_internal_set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000020u;
  dispatch_destination_ = value;
}
inline void Dispatch_plan_request_msg::set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_dispatch_destination(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_plan_request_msg.dispatch_destination)
}

// optional .message.Error_manager error_manager = 6;
inline bool Dispatch_plan_request_msg::_internal_has_error_manager() const {
  bool value = (_has_bits_[0] & 0x00000004u) != 0;
  PROTOBUF_ASSUME(!value || error_manager_ != nullptr);
  return value;
}
inline bool Dispatch_plan_request_msg::has_error_manager() const {
  return _internal_has_error_manager();
}
inline const ::message::Error_manager& Dispatch_plan_request_msg::_internal_error_manager() const {
  const ::message::Error_manager* p = error_manager_;
  return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
      &::message::_Error_manager_default_instance_);
}
inline const ::message::Error_manager& Dispatch_plan_request_msg::error_manager() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_plan_request_msg.error_manager)
  return _internal_error_manager();
}
inline void Dispatch_plan_request_msg::unsafe_arena_set_allocated_error_manager(
    ::message::Error_manager* error_manager) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  }
  error_manager_ = error_manager;
  if (error_manager) {
    _has_bits_[0] |= 0x00000004u;
  } else {
    _has_bits_[0] &= ~0x00000004u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Dispatch_plan_request_msg.error_manager)
}
inline ::message::Error_manager* Dispatch_plan_request_msg::release_error_manager() {
  _has_bits_[0] &= ~0x00000004u;
  ::message::Error_manager* temp = error_manager_;
  error_manager_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::message::Error_manager* Dispatch_plan_request_msg::unsafe_arena_release_error_manager() {
  // @@protoc_insertion_point(field_release:message.Dispatch_plan_request_msg.error_manager)
  _has_bits_[0] &= ~0x00000004u;
  ::message::Error_manager* temp = error_manager_;
  error_manager_ = nullptr;
  return temp;
}
inline ::message::Error_manager* Dispatch_plan_request_msg::_internal_mutable_error_manager() {
  _has_bits_[0] |= 0x00000004u;
  if (error_manager_ == nullptr) {
    auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
    error_manager_ = p;
  }
  return error_manager_;
}
inline ::message::Error_manager* Dispatch_plan_request_msg::mutable_error_manager() {
  // @@protoc_insertion_point(field_mutable:message.Dispatch_plan_request_msg.error_manager)
  return _internal_mutable_error_manager();
}
inline void Dispatch_plan_request_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  }
  if (error_manager) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager)->GetArena();
    if (message_arena != submessage_arena) {
      error_manager = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, error_manager, submessage_arena);
    }
    _has_bits_[0] |= 0x00000004u;
  } else {
    _has_bits_[0] &= ~0x00000004u;
  }
  error_manager_ = error_manager;
  // @@protoc_insertion_point(field_set_allocated:message.Dispatch_plan_request_msg.error_manager)
}

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

// Dispatch_plan_response_msg

// required .message.Base_info base_info = 1;
inline bool Dispatch_plan_response_msg::_internal_has_base_info() const {
  bool value = (_has_bits_[0] & 0x00000002u) != 0;
  PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  return value;
}
inline bool Dispatch_plan_response_msg::has_base_info() const {
  return _internal_has_base_info();
}
inline const ::message::Base_info& Dispatch_plan_response_msg::_internal_base_info() const {
  const ::message::Base_info* p = base_info_;
  return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
      &::message::_Base_info_default_instance_);
}
inline const ::message::Base_info& Dispatch_plan_response_msg::base_info() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_plan_response_msg.base_info)
  return _internal_base_info();
}
inline void Dispatch_plan_response_msg::unsafe_arena_set_allocated_base_info(
    ::message::Base_info* base_info) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  }
  base_info_ = base_info;
  if (base_info) {
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Dispatch_plan_response_msg.base_info)
}
inline ::message::Base_info* Dispatch_plan_response_msg::release_base_info() {
  _has_bits_[0] &= ~0x00000002u;
  ::message::Base_info* temp = base_info_;
  base_info_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::message::Base_info* Dispatch_plan_response_msg::unsafe_arena_release_base_info() {
  // @@protoc_insertion_point(field_release:message.Dispatch_plan_response_msg.base_info)
  _has_bits_[0] &= ~0x00000002u;
  ::message::Base_info* temp = base_info_;
  base_info_ = nullptr;
  return temp;
}
inline ::message::Base_info* Dispatch_plan_response_msg::_internal_mutable_base_info() {
  _has_bits_[0] |= 0x00000002u;
  if (base_info_ == nullptr) {
    auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
    base_info_ = p;
  }
  return base_info_;
}
inline ::message::Base_info* Dispatch_plan_response_msg::mutable_base_info() {
  // @@protoc_insertion_point(field_mutable:message.Dispatch_plan_response_msg.base_info)
  return _internal_mutable_base_info();
}
inline void Dispatch_plan_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  }
  if (base_info) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
    if (message_arena != submessage_arena) {
      base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, base_info, submessage_arena);
    }
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  base_info_ = base_info;
  // @@protoc_insertion_point(field_set_allocated:message.Dispatch_plan_response_msg.base_info)
}

// required string command_key = 2;
inline bool Dispatch_plan_response_msg::_internal_has_command_key() const {
  bool value = (_has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool Dispatch_plan_response_msg::has_command_key() const {
  return _internal_has_command_key();
}
inline void Dispatch_plan_response_msg::clear_command_key() {
  command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  _has_bits_[0] &= ~0x00000001u;
}
inline const std::string& Dispatch_plan_response_msg::command_key() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_plan_response_msg.command_key)
  return _internal_command_key();
}
inline void Dispatch_plan_response_msg::set_command_key(const std::string& value) {
  _internal_set_command_key(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_plan_response_msg.command_key)
}
inline std::string* Dispatch_plan_response_msg::mutable_command_key() {
  // @@protoc_insertion_point(field_mutable:message.Dispatch_plan_response_msg.command_key)
  return _internal_mutable_command_key();
}
inline const std::string& Dispatch_plan_response_msg::_internal_command_key() const {
  return command_key_.Get();
}
inline void Dispatch_plan_response_msg::_internal_set_command_key(const std::string& value) {
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
}
inline void Dispatch_plan_response_msg::set_command_key(std::string&& value) {
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  // @@protoc_insertion_point(field_set_rvalue:message.Dispatch_plan_response_msg.command_key)
}
inline void Dispatch_plan_response_msg::set_command_key(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
              GetArena());
  // @@protoc_insertion_point(field_set_char:message.Dispatch_plan_response_msg.command_key)
}
inline void Dispatch_plan_response_msg::set_command_key(const char* value,
    size_t size) {
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
      reinterpret_cast<const char*>(value), size), GetArena());
  // @@protoc_insertion_point(field_set_pointer:message.Dispatch_plan_response_msg.command_key)
}
inline std::string* Dispatch_plan_response_msg::_internal_mutable_command_key() {
  _has_bits_[0] |= 0x00000001u;
  return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline std::string* Dispatch_plan_response_msg::release_command_key() {
  // @@protoc_insertion_point(field_release:message.Dispatch_plan_response_msg.command_key)
  if (!_internal_has_command_key()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000001u;
  return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline void Dispatch_plan_response_msg::set_allocated_command_key(std::string* command_key) {
  if (command_key != nullptr) {
    _has_bits_[0] |= 0x00000001u;
  } else {
    _has_bits_[0] &= ~0x00000001u;
  }
  command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
      GetArena());
  // @@protoc_insertion_point(field_set_allocated:message.Dispatch_plan_response_msg.command_key)
}

// optional .message.Dispatch_task_type dispatch_task_type = 3;
inline bool Dispatch_plan_response_msg::_internal_has_dispatch_task_type() const {
  bool value = (_has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool Dispatch_plan_response_msg::has_dispatch_task_type() const {
  return _internal_has_dispatch_task_type();
}
inline void Dispatch_plan_response_msg::clear_dispatch_task_type() {
  dispatch_task_type_ = 0;
  _has_bits_[0] &= ~0x00000008u;
}
inline ::message::Dispatch_task_type Dispatch_plan_response_msg::_internal_dispatch_task_type() const {
  return static_cast< ::message::Dispatch_task_type >(dispatch_task_type_);
}
inline ::message::Dispatch_task_type Dispatch_plan_response_msg::dispatch_task_type() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_plan_response_msg.dispatch_task_type)
  return _internal_dispatch_task_type();
}
inline void Dispatch_plan_response_msg::_internal_set_dispatch_task_type(::message::Dispatch_task_type value) {
  assert(::message::Dispatch_task_type_IsValid(value));
  _has_bits_[0] |= 0x00000008u;
  dispatch_task_type_ = value;
}
inline void Dispatch_plan_response_msg::set_dispatch_task_type(::message::Dispatch_task_type value) {
  _internal_set_dispatch_task_type(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_plan_response_msg.dispatch_task_type)
}

// optional int32 dispatch_source = 4;
inline bool Dispatch_plan_response_msg::_internal_has_dispatch_source() const {
  bool value = (_has_bits_[0] & 0x00000010u) != 0;
  return value;
}
inline bool Dispatch_plan_response_msg::has_dispatch_source() const {
  return _internal_has_dispatch_source();
}
inline void Dispatch_plan_response_msg::clear_dispatch_source() {
  dispatch_source_ = 0;
  _has_bits_[0] &= ~0x00000010u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_plan_response_msg::_internal_dispatch_source() const {
  return dispatch_source_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_plan_response_msg::dispatch_source() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_plan_response_msg.dispatch_source)
  return _internal_dispatch_source();
}
inline void Dispatch_plan_response_msg::_internal_set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000010u;
  dispatch_source_ = value;
}
inline void Dispatch_plan_response_msg::set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_dispatch_source(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_plan_response_msg.dispatch_source)
}

// optional int32 dispatch_destination = 5;
inline bool Dispatch_plan_response_msg::_internal_has_dispatch_destination() const {
  bool value = (_has_bits_[0] & 0x00000020u) != 0;
  return value;
}
inline bool Dispatch_plan_response_msg::has_dispatch_destination() const {
  return _internal_has_dispatch_destination();
}
inline void Dispatch_plan_response_msg::clear_dispatch_destination() {
  dispatch_destination_ = 0;
  _has_bits_[0] &= ~0x00000020u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_plan_response_msg::_internal_dispatch_destination() const {
  return dispatch_destination_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_plan_response_msg::dispatch_destination() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_plan_response_msg.dispatch_destination)
  return _internal_dispatch_destination();
}
inline void Dispatch_plan_response_msg::_internal_set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000020u;
  dispatch_destination_ = value;
}
inline void Dispatch_plan_response_msg::set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_dispatch_destination(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_plan_response_msg.dispatch_destination)
}

// optional .message.Error_manager error_manager = 6;
inline bool Dispatch_plan_response_msg::_internal_has_error_manager() const {
  bool value = (_has_bits_[0] & 0x00000004u) != 0;
  PROTOBUF_ASSUME(!value || error_manager_ != nullptr);
  return value;
}
inline bool Dispatch_plan_response_msg::has_error_manager() const {
  return _internal_has_error_manager();
}
inline const ::message::Error_manager& Dispatch_plan_response_msg::_internal_error_manager() const {
  const ::message::Error_manager* p = error_manager_;
  return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
      &::message::_Error_manager_default_instance_);
}
inline const ::message::Error_manager& Dispatch_plan_response_msg::error_manager() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_plan_response_msg.error_manager)
  return _internal_error_manager();
}
inline void Dispatch_plan_response_msg::unsafe_arena_set_allocated_error_manager(
    ::message::Error_manager* error_manager) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  }
  error_manager_ = error_manager;
  if (error_manager) {
    _has_bits_[0] |= 0x00000004u;
  } else {
    _has_bits_[0] &= ~0x00000004u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Dispatch_plan_response_msg.error_manager)
}
inline ::message::Error_manager* Dispatch_plan_response_msg::release_error_manager() {
  _has_bits_[0] &= ~0x00000004u;
  ::message::Error_manager* temp = error_manager_;
  error_manager_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::message::Error_manager* Dispatch_plan_response_msg::unsafe_arena_release_error_manager() {
  // @@protoc_insertion_point(field_release:message.Dispatch_plan_response_msg.error_manager)
  _has_bits_[0] &= ~0x00000004u;
  ::message::Error_manager* temp = error_manager_;
  error_manager_ = nullptr;
  return temp;
}
inline ::message::Error_manager* Dispatch_plan_response_msg::_internal_mutable_error_manager() {
  _has_bits_[0] |= 0x00000004u;
  if (error_manager_ == nullptr) {
    auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
    error_manager_ = p;
  }
  return error_manager_;
}
inline ::message::Error_manager* Dispatch_plan_response_msg::mutable_error_manager() {
  // @@protoc_insertion_point(field_mutable:message.Dispatch_plan_response_msg.error_manager)
  return _internal_mutable_error_manager();
}
inline void Dispatch_plan_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  }
  if (error_manager) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager)->GetArena();
    if (message_arena != submessage_arena) {
      error_manager = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, error_manager, submessage_arena);
    }
    _has_bits_[0] |= 0x00000004u;
  } else {
    _has_bits_[0] &= ~0x00000004u;
  }
  error_manager_ = error_manager;
  // @@protoc_insertion_point(field_set_allocated:message.Dispatch_plan_response_msg.error_manager)
}

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

// Dispatch_control_request_msg

// required .message.Base_info base_info = 1;
inline bool Dispatch_control_request_msg::_internal_has_base_info() const {
  bool value = (_has_bits_[0] & 0x00000002u) != 0;
  PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  return value;
}
inline bool Dispatch_control_request_msg::has_base_info() const {
  return _internal_has_base_info();
}
inline const ::message::Base_info& Dispatch_control_request_msg::_internal_base_info() const {
  const ::message::Base_info* p = base_info_;
  return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
      &::message::_Base_info_default_instance_);
}
inline const ::message::Base_info& Dispatch_control_request_msg::base_info() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.base_info)
  return _internal_base_info();
}
inline void Dispatch_control_request_msg::unsafe_arena_set_allocated_base_info(
    ::message::Base_info* base_info) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  }
  base_info_ = base_info;
  if (base_info) {
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Dispatch_control_request_msg.base_info)
}
inline ::message::Base_info* Dispatch_control_request_msg::release_base_info() {
  _has_bits_[0] &= ~0x00000002u;
  ::message::Base_info* temp = base_info_;
  base_info_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::message::Base_info* Dispatch_control_request_msg::unsafe_arena_release_base_info() {
  // @@protoc_insertion_point(field_release:message.Dispatch_control_request_msg.base_info)
  _has_bits_[0] &= ~0x00000002u;
  ::message::Base_info* temp = base_info_;
  base_info_ = nullptr;
  return temp;
}
inline ::message::Base_info* Dispatch_control_request_msg::_internal_mutable_base_info() {
  _has_bits_[0] |= 0x00000002u;
  if (base_info_ == nullptr) {
    auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
    base_info_ = p;
  }
  return base_info_;
}
inline ::message::Base_info* Dispatch_control_request_msg::mutable_base_info() {
  // @@protoc_insertion_point(field_mutable:message.Dispatch_control_request_msg.base_info)
  return _internal_mutable_base_info();
}
inline void Dispatch_control_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  }
  if (base_info) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
    if (message_arena != submessage_arena) {
      base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, base_info, submessage_arena);
    }
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  base_info_ = base_info;
  // @@protoc_insertion_point(field_set_allocated:message.Dispatch_control_request_msg.base_info)
}

// required string command_key = 2;
inline bool Dispatch_control_request_msg::_internal_has_command_key() const {
  bool value = (_has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool Dispatch_control_request_msg::has_command_key() const {
  return _internal_has_command_key();
}
inline void Dispatch_control_request_msg::clear_command_key() {
  command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  _has_bits_[0] &= ~0x00000001u;
}
inline const std::string& Dispatch_control_request_msg::command_key() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.command_key)
  return _internal_command_key();
}
inline void Dispatch_control_request_msg::set_command_key(const std::string& value) {
  _internal_set_command_key(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.command_key)
}
inline std::string* Dispatch_control_request_msg::mutable_command_key() {
  // @@protoc_insertion_point(field_mutable:message.Dispatch_control_request_msg.command_key)
  return _internal_mutable_command_key();
}
inline const std::string& Dispatch_control_request_msg::_internal_command_key() const {
  return command_key_.Get();
}
inline void Dispatch_control_request_msg::_internal_set_command_key(const std::string& value) {
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
}
inline void Dispatch_control_request_msg::set_command_key(std::string&& value) {
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  // @@protoc_insertion_point(field_set_rvalue:message.Dispatch_control_request_msg.command_key)
}
inline void Dispatch_control_request_msg::set_command_key(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
              GetArena());
  // @@protoc_insertion_point(field_set_char:message.Dispatch_control_request_msg.command_key)
}
inline void Dispatch_control_request_msg::set_command_key(const char* value,
    size_t size) {
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
      reinterpret_cast<const char*>(value), size), GetArena());
  // @@protoc_insertion_point(field_set_pointer:message.Dispatch_control_request_msg.command_key)
}
inline std::string* Dispatch_control_request_msg::_internal_mutable_command_key() {
  _has_bits_[0] |= 0x00000001u;
  return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline std::string* Dispatch_control_request_msg::release_command_key() {
  // @@protoc_insertion_point(field_release:message.Dispatch_control_request_msg.command_key)
  if (!_internal_has_command_key()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000001u;
  return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline void Dispatch_control_request_msg::set_allocated_command_key(std::string* command_key) {
  if (command_key != nullptr) {
    _has_bits_[0] |= 0x00000001u;
  } else {
    _has_bits_[0] &= ~0x00000001u;
  }
  command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
      GetArena());
  // @@protoc_insertion_point(field_set_allocated:message.Dispatch_control_request_msg.command_key)
}

// required .message.Dispatch_task_type dispatch_task_type = 3;
inline bool Dispatch_control_request_msg::_internal_has_dispatch_task_type() const {
  bool value = (_has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool Dispatch_control_request_msg::has_dispatch_task_type() const {
  return _internal_has_dispatch_task_type();
}
inline void Dispatch_control_request_msg::clear_dispatch_task_type() {
  dispatch_task_type_ = 0;
  _has_bits_[0] &= ~0x00000008u;
}
inline ::message::Dispatch_task_type Dispatch_control_request_msg::_internal_dispatch_task_type() const {
  return static_cast< ::message::Dispatch_task_type >(dispatch_task_type_);
}
inline ::message::Dispatch_task_type Dispatch_control_request_msg::dispatch_task_type() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.dispatch_task_type)
  return _internal_dispatch_task_type();
}
inline void Dispatch_control_request_msg::_internal_set_dispatch_task_type(::message::Dispatch_task_type value) {
  assert(::message::Dispatch_task_type_IsValid(value));
  _has_bits_[0] |= 0x00000008u;
  dispatch_task_type_ = value;
}
inline void Dispatch_control_request_msg::set_dispatch_task_type(::message::Dispatch_task_type value) {
  _internal_set_dispatch_task_type(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.dispatch_task_type)
}

// optional .message.Dispatch_device_type dispatch_device_type = 4;
inline bool Dispatch_control_request_msg::_internal_has_dispatch_device_type() const {
  bool value = (_has_bits_[0] & 0x00000100u) != 0;
  return value;
}
inline bool Dispatch_control_request_msg::has_dispatch_device_type() const {
  return _internal_has_dispatch_device_type();
}
inline void Dispatch_control_request_msg::clear_dispatch_device_type() {
  dispatch_device_type_ = 101;
  _has_bits_[0] &= ~0x00000100u;
}
inline ::message::Dispatch_device_type Dispatch_control_request_msg::_internal_dispatch_device_type() const {
  return static_cast< ::message::Dispatch_device_type >(dispatch_device_type_);
}
inline ::message::Dispatch_device_type Dispatch_control_request_msg::dispatch_device_type() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.dispatch_device_type)
  return _internal_dispatch_device_type();
}
inline void Dispatch_control_request_msg::_internal_set_dispatch_device_type(::message::Dispatch_device_type value) {
  assert(::message::Dispatch_device_type_IsValid(value));
  _has_bits_[0] |= 0x00000100u;
  dispatch_device_type_ = value;
}
inline void Dispatch_control_request_msg::set_dispatch_device_type(::message::Dispatch_device_type value) {
  _internal_set_dispatch_device_type(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.dispatch_device_type)
}

// optional int32 dispatch_source = 5;
inline bool Dispatch_control_request_msg::_internal_has_dispatch_source() const {
  bool value = (_has_bits_[0] & 0x00000010u) != 0;
  return value;
}
inline bool Dispatch_control_request_msg::has_dispatch_source() const {
  return _internal_has_dispatch_source();
}
inline void Dispatch_control_request_msg::clear_dispatch_source() {
  dispatch_source_ = 0;
  _has_bits_[0] &= ~0x00000010u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_control_request_msg::_internal_dispatch_source() const {
  return dispatch_source_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_control_request_msg::dispatch_source() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.dispatch_source)
  return _internal_dispatch_source();
}
inline void Dispatch_control_request_msg::_internal_set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000010u;
  dispatch_source_ = value;
}
inline void Dispatch_control_request_msg::set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_dispatch_source(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.dispatch_source)
}

// optional int32 dispatch_destination = 6;
inline bool Dispatch_control_request_msg::_internal_has_dispatch_destination() const {
  bool value = (_has_bits_[0] & 0x00000020u) != 0;
  return value;
}
inline bool Dispatch_control_request_msg::has_dispatch_destination() const {
  return _internal_has_dispatch_destination();
}
inline void Dispatch_control_request_msg::clear_dispatch_destination() {
  dispatch_destination_ = 0;
  _has_bits_[0] &= ~0x00000020u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_control_request_msg::_internal_dispatch_destination() const {
  return dispatch_destination_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_control_request_msg::dispatch_destination() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.dispatch_destination)
  return _internal_dispatch_destination();
}
inline void Dispatch_control_request_msg::_internal_set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000020u;
  dispatch_destination_ = value;
}
inline void Dispatch_control_request_msg::set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_dispatch_destination(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.dispatch_destination)
}

// optional .message.Error_manager error_manager = 7;
inline bool Dispatch_control_request_msg::_internal_has_error_manager() const {
  bool value = (_has_bits_[0] & 0x00000004u) != 0;
  PROTOBUF_ASSUME(!value || error_manager_ != nullptr);
  return value;
}
inline bool Dispatch_control_request_msg::has_error_manager() const {
  return _internal_has_error_manager();
}
inline const ::message::Error_manager& Dispatch_control_request_msg::_internal_error_manager() const {
  const ::message::Error_manager* p = error_manager_;
  return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
      &::message::_Error_manager_default_instance_);
}
inline const ::message::Error_manager& Dispatch_control_request_msg::error_manager() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.error_manager)
  return _internal_error_manager();
}
inline void Dispatch_control_request_msg::unsafe_arena_set_allocated_error_manager(
    ::message::Error_manager* error_manager) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  }
  error_manager_ = error_manager;
  if (error_manager) {
    _has_bits_[0] |= 0x00000004u;
  } else {
    _has_bits_[0] &= ~0x00000004u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Dispatch_control_request_msg.error_manager)
}
inline ::message::Error_manager* Dispatch_control_request_msg::release_error_manager() {
  _has_bits_[0] &= ~0x00000004u;
  ::message::Error_manager* temp = error_manager_;
  error_manager_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::message::Error_manager* Dispatch_control_request_msg::unsafe_arena_release_error_manager() {
  // @@protoc_insertion_point(field_release:message.Dispatch_control_request_msg.error_manager)
  _has_bits_[0] &= ~0x00000004u;
  ::message::Error_manager* temp = error_manager_;
  error_manager_ = nullptr;
  return temp;
}
inline ::message::Error_manager* Dispatch_control_request_msg::_internal_mutable_error_manager() {
  _has_bits_[0] |= 0x00000004u;
  if (error_manager_ == nullptr) {
    auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
    error_manager_ = p;
  }
  return error_manager_;
}
inline ::message::Error_manager* Dispatch_control_request_msg::mutable_error_manager() {
  // @@protoc_insertion_point(field_mutable:message.Dispatch_control_request_msg.error_manager)
  return _internal_mutable_error_manager();
}
inline void Dispatch_control_request_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  }
  if (error_manager) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager)->GetArena();
    if (message_arena != submessage_arena) {
      error_manager = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, error_manager, submessage_arena);
    }
    _has_bits_[0] |= 0x00000004u;
  } else {
    _has_bits_[0] &= ~0x00000004u;
  }
  error_manager_ = error_manager;
  // @@protoc_insertion_point(field_set_allocated:message.Dispatch_control_request_msg.error_manager)
}

// optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
inline bool Dispatch_control_request_msg::_internal_has_dispatch_device_target_status() const {
  bool value = (_has_bits_[0] & 0x00000040u) != 0;
  return value;
}
inline bool Dispatch_control_request_msg::has_dispatch_device_target_status() const {
  return _internal_has_dispatch_device_target_status();
}
inline void Dispatch_control_request_msg::clear_dispatch_device_target_status() {
  dispatch_device_target_status_ = 0;
  _has_bits_[0] &= ~0x00000040u;
}
inline ::message::Dispatch_device_target_status Dispatch_control_request_msg::_internal_dispatch_device_target_status() const {
  return static_cast< ::message::Dispatch_device_target_status >(dispatch_device_target_status_);
}
inline ::message::Dispatch_device_target_status Dispatch_control_request_msg::dispatch_device_target_status() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.dispatch_device_target_status)
  return _internal_dispatch_device_target_status();
}
inline void Dispatch_control_request_msg::_internal_set_dispatch_device_target_status(::message::Dispatch_device_target_status value) {
  assert(::message::Dispatch_device_target_status_IsValid(value));
  _has_bits_[0] |= 0x00000040u;
  dispatch_device_target_status_ = value;
}
inline void Dispatch_control_request_msg::set_dispatch_device_target_status(::message::Dispatch_device_target_status value) {
  _internal_set_dispatch_device_target_status(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.dispatch_device_target_status)
}

// optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
inline bool Dispatch_control_request_msg::_internal_has_dispatch_device_task_status() const {
  bool value = (_has_bits_[0] & 0x00000080u) != 0;
  return value;
}
inline bool Dispatch_control_request_msg::has_dispatch_device_task_status() const {
  return _internal_has_dispatch_device_task_status();
}
inline void Dispatch_control_request_msg::clear_dispatch_device_task_status() {
  dispatch_device_task_status_ = 0;
  _has_bits_[0] &= ~0x00000080u;
}
inline ::message::Dispatch_device_task_status Dispatch_control_request_msg::_internal_dispatch_device_task_status() const {
  return static_cast< ::message::Dispatch_device_task_status >(dispatch_device_task_status_);
}
inline ::message::Dispatch_device_task_status Dispatch_control_request_msg::dispatch_device_task_status() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.dispatch_device_task_status)
  return _internal_dispatch_device_task_status();
}
inline void Dispatch_control_request_msg::_internal_set_dispatch_device_task_status(::message::Dispatch_device_task_status value) {
  assert(::message::Dispatch_device_task_status_IsValid(value));
  _has_bits_[0] |= 0x00000080u;
  dispatch_device_task_status_ = value;
}
inline void Dispatch_control_request_msg::set_dispatch_device_task_status(::message::Dispatch_device_task_status value) {
  _internal_set_dispatch_device_task_status(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.dispatch_device_task_status)
}

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

// Dispatch_control_response_msg

// required .message.Base_info base_info = 1;
inline bool Dispatch_control_response_msg::_internal_has_base_info() const {
  bool value = (_has_bits_[0] & 0x00000002u) != 0;
  PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  return value;
}
inline bool Dispatch_control_response_msg::has_base_info() const {
  return _internal_has_base_info();
}
inline const ::message::Base_info& Dispatch_control_response_msg::_internal_base_info() const {
  const ::message::Base_info* p = base_info_;
  return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
      &::message::_Base_info_default_instance_);
}
inline const ::message::Base_info& Dispatch_control_response_msg::base_info() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.base_info)
  return _internal_base_info();
}
inline void Dispatch_control_response_msg::unsafe_arena_set_allocated_base_info(
    ::message::Base_info* base_info) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  }
  base_info_ = base_info;
  if (base_info) {
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Dispatch_control_response_msg.base_info)
}
inline ::message::Base_info* Dispatch_control_response_msg::release_base_info() {
  _has_bits_[0] &= ~0x00000002u;
  ::message::Base_info* temp = base_info_;
  base_info_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::message::Base_info* Dispatch_control_response_msg::unsafe_arena_release_base_info() {
  // @@protoc_insertion_point(field_release:message.Dispatch_control_response_msg.base_info)
  _has_bits_[0] &= ~0x00000002u;
  ::message::Base_info* temp = base_info_;
  base_info_ = nullptr;
  return temp;
}
inline ::message::Base_info* Dispatch_control_response_msg::_internal_mutable_base_info() {
  _has_bits_[0] |= 0x00000002u;
  if (base_info_ == nullptr) {
    auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
    base_info_ = p;
  }
  return base_info_;
}
inline ::message::Base_info* Dispatch_control_response_msg::mutable_base_info() {
  // @@protoc_insertion_point(field_mutable:message.Dispatch_control_response_msg.base_info)
  return _internal_mutable_base_info();
}
inline void Dispatch_control_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  }
  if (base_info) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
    if (message_arena != submessage_arena) {
      base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, base_info, submessage_arena);
    }
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  base_info_ = base_info;
  // @@protoc_insertion_point(field_set_allocated:message.Dispatch_control_response_msg.base_info)
}

// required string command_key = 2;
inline bool Dispatch_control_response_msg::_internal_has_command_key() const {
  bool value = (_has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool Dispatch_control_response_msg::has_command_key() const {
  return _internal_has_command_key();
}
inline void Dispatch_control_response_msg::clear_command_key() {
  command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  _has_bits_[0] &= ~0x00000001u;
}
inline const std::string& Dispatch_control_response_msg::command_key() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.command_key)
  return _internal_command_key();
}
inline void Dispatch_control_response_msg::set_command_key(const std::string& value) {
  _internal_set_command_key(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.command_key)
}
inline std::string* Dispatch_control_response_msg::mutable_command_key() {
  // @@protoc_insertion_point(field_mutable:message.Dispatch_control_response_msg.command_key)
  return _internal_mutable_command_key();
}
inline const std::string& Dispatch_control_response_msg::_internal_command_key() const {
  return command_key_.Get();
}
inline void Dispatch_control_response_msg::_internal_set_command_key(const std::string& value) {
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
}
inline void Dispatch_control_response_msg::set_command_key(std::string&& value) {
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  // @@protoc_insertion_point(field_set_rvalue:message.Dispatch_control_response_msg.command_key)
}
inline void Dispatch_control_response_msg::set_command_key(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
              GetArena());
  // @@protoc_insertion_point(field_set_char:message.Dispatch_control_response_msg.command_key)
}
inline void Dispatch_control_response_msg::set_command_key(const char* value,
    size_t size) {
  _has_bits_[0] |= 0x00000001u;
  command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
      reinterpret_cast<const char*>(value), size), GetArena());
  // @@protoc_insertion_point(field_set_pointer:message.Dispatch_control_response_msg.command_key)
}
inline std::string* Dispatch_control_response_msg::_internal_mutable_command_key() {
  _has_bits_[0] |= 0x00000001u;
  return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline std::string* Dispatch_control_response_msg::release_command_key() {
  // @@protoc_insertion_point(field_release:message.Dispatch_control_response_msg.command_key)
  if (!_internal_has_command_key()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000001u;
  return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline void Dispatch_control_response_msg::set_allocated_command_key(std::string* command_key) {
  if (command_key != nullptr) {
    _has_bits_[0] |= 0x00000001u;
  } else {
    _has_bits_[0] &= ~0x00000001u;
  }
  command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
      GetArena());
  // @@protoc_insertion_point(field_set_allocated:message.Dispatch_control_response_msg.command_key)
}

// optional .message.Dispatch_task_type dispatch_task_type = 3;
inline bool Dispatch_control_response_msg::_internal_has_dispatch_task_type() const {
  bool value = (_has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool Dispatch_control_response_msg::has_dispatch_task_type() const {
  return _internal_has_dispatch_task_type();
}
inline void Dispatch_control_response_msg::clear_dispatch_task_type() {
  dispatch_task_type_ = 0;
  _has_bits_[0] &= ~0x00000008u;
}
inline ::message::Dispatch_task_type Dispatch_control_response_msg::_internal_dispatch_task_type() const {
  return static_cast< ::message::Dispatch_task_type >(dispatch_task_type_);
}
inline ::message::Dispatch_task_type Dispatch_control_response_msg::dispatch_task_type() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.dispatch_task_type)
  return _internal_dispatch_task_type();
}
inline void Dispatch_control_response_msg::_internal_set_dispatch_task_type(::message::Dispatch_task_type value) {
  assert(::message::Dispatch_task_type_IsValid(value));
  _has_bits_[0] |= 0x00000008u;
  dispatch_task_type_ = value;
}
inline void Dispatch_control_response_msg::set_dispatch_task_type(::message::Dispatch_task_type value) {
  _internal_set_dispatch_task_type(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.dispatch_task_type)
}

// optional .message.Dispatch_device_type dispatch_device_type = 4;
inline bool Dispatch_control_response_msg::_internal_has_dispatch_device_type() const {
  bool value = (_has_bits_[0] & 0x00000100u) != 0;
  return value;
}
inline bool Dispatch_control_response_msg::has_dispatch_device_type() const {
  return _internal_has_dispatch_device_type();
}
inline void Dispatch_control_response_msg::clear_dispatch_device_type() {
  dispatch_device_type_ = 101;
  _has_bits_[0] &= ~0x00000100u;
}
inline ::message::Dispatch_device_type Dispatch_control_response_msg::_internal_dispatch_device_type() const {
  return static_cast< ::message::Dispatch_device_type >(dispatch_device_type_);
}
inline ::message::Dispatch_device_type Dispatch_control_response_msg::dispatch_device_type() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.dispatch_device_type)
  return _internal_dispatch_device_type();
}
inline void Dispatch_control_response_msg::_internal_set_dispatch_device_type(::message::Dispatch_device_type value) {
  assert(::message::Dispatch_device_type_IsValid(value));
  _has_bits_[0] |= 0x00000100u;
  dispatch_device_type_ = value;
}
inline void Dispatch_control_response_msg::set_dispatch_device_type(::message::Dispatch_device_type value) {
  _internal_set_dispatch_device_type(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.dispatch_device_type)
}

// optional int32 dispatch_source = 5;
inline bool Dispatch_control_response_msg::_internal_has_dispatch_source() const {
  bool value = (_has_bits_[0] & 0x00000010u) != 0;
  return value;
}
inline bool Dispatch_control_response_msg::has_dispatch_source() const {
  return _internal_has_dispatch_source();
}
inline void Dispatch_control_response_msg::clear_dispatch_source() {
  dispatch_source_ = 0;
  _has_bits_[0] &= ~0x00000010u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_control_response_msg::_internal_dispatch_source() const {
  return dispatch_source_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_control_response_msg::dispatch_source() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.dispatch_source)
  return _internal_dispatch_source();
}
inline void Dispatch_control_response_msg::_internal_set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000010u;
  dispatch_source_ = value;
}
inline void Dispatch_control_response_msg::set_dispatch_source(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_dispatch_source(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.dispatch_source)
}

// optional int32 dispatch_destination = 6;
inline bool Dispatch_control_response_msg::_internal_has_dispatch_destination() const {
  bool value = (_has_bits_[0] & 0x00000020u) != 0;
  return value;
}
inline bool Dispatch_control_response_msg::has_dispatch_destination() const {
  return _internal_has_dispatch_destination();
}
inline void Dispatch_control_response_msg::clear_dispatch_destination() {
  dispatch_destination_ = 0;
  _has_bits_[0] &= ~0x00000020u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_control_response_msg::_internal_dispatch_destination() const {
  return dispatch_destination_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 Dispatch_control_response_msg::dispatch_destination() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.dispatch_destination)
  return _internal_dispatch_destination();
}
inline void Dispatch_control_response_msg::_internal_set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000020u;
  dispatch_destination_ = value;
}
inline void Dispatch_control_response_msg::set_dispatch_destination(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_dispatch_destination(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.dispatch_destination)
}

// optional .message.Error_manager error_manager = 7;
inline bool Dispatch_control_response_msg::_internal_has_error_manager() const {
  bool value = (_has_bits_[0] & 0x00000004u) != 0;
  PROTOBUF_ASSUME(!value || error_manager_ != nullptr);
  return value;
}
inline bool Dispatch_control_response_msg::has_error_manager() const {
  return _internal_has_error_manager();
}
inline const ::message::Error_manager& Dispatch_control_response_msg::_internal_error_manager() const {
  const ::message::Error_manager* p = error_manager_;
  return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
      &::message::_Error_manager_default_instance_);
}
inline const ::message::Error_manager& Dispatch_control_response_msg::error_manager() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.error_manager)
  return _internal_error_manager();
}
inline void Dispatch_control_response_msg::unsafe_arena_set_allocated_error_manager(
    ::message::Error_manager* error_manager) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  }
  error_manager_ = error_manager;
  if (error_manager) {
    _has_bits_[0] |= 0x00000004u;
  } else {
    _has_bits_[0] &= ~0x00000004u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Dispatch_control_response_msg.error_manager)
}
inline ::message::Error_manager* Dispatch_control_response_msg::release_error_manager() {
  _has_bits_[0] &= ~0x00000004u;
  ::message::Error_manager* temp = error_manager_;
  error_manager_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::message::Error_manager* Dispatch_control_response_msg::unsafe_arena_release_error_manager() {
  // @@protoc_insertion_point(field_release:message.Dispatch_control_response_msg.error_manager)
  _has_bits_[0] &= ~0x00000004u;
  ::message::Error_manager* temp = error_manager_;
  error_manager_ = nullptr;
  return temp;
}
inline ::message::Error_manager* Dispatch_control_response_msg::_internal_mutable_error_manager() {
  _has_bits_[0] |= 0x00000004u;
  if (error_manager_ == nullptr) {
    auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
    error_manager_ = p;
  }
  return error_manager_;
}
inline ::message::Error_manager* Dispatch_control_response_msg::mutable_error_manager() {
  // @@protoc_insertion_point(field_mutable:message.Dispatch_control_response_msg.error_manager)
  return _internal_mutable_error_manager();
}
inline void Dispatch_control_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  }
  if (error_manager) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager)->GetArena();
    if (message_arena != submessage_arena) {
      error_manager = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, error_manager, submessage_arena);
    }
    _has_bits_[0] |= 0x00000004u;
  } else {
    _has_bits_[0] &= ~0x00000004u;
  }
  error_manager_ = error_manager;
  // @@protoc_insertion_point(field_set_allocated:message.Dispatch_control_response_msg.error_manager)
}

// optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
inline bool Dispatch_control_response_msg::_internal_has_dispatch_device_target_status() const {
  bool value = (_has_bits_[0] & 0x00000040u) != 0;
  return value;
}
inline bool Dispatch_control_response_msg::has_dispatch_device_target_status() const {
  return _internal_has_dispatch_device_target_status();
}
inline void Dispatch_control_response_msg::clear_dispatch_device_target_status() {
  dispatch_device_target_status_ = 0;
  _has_bits_[0] &= ~0x00000040u;
}
inline ::message::Dispatch_device_target_status Dispatch_control_response_msg::_internal_dispatch_device_target_status() const {
  return static_cast< ::message::Dispatch_device_target_status >(dispatch_device_target_status_);
}
inline ::message::Dispatch_device_target_status Dispatch_control_response_msg::dispatch_device_target_status() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.dispatch_device_target_status)
  return _internal_dispatch_device_target_status();
}
inline void Dispatch_control_response_msg::_internal_set_dispatch_device_target_status(::message::Dispatch_device_target_status value) {
  assert(::message::Dispatch_device_target_status_IsValid(value));
  _has_bits_[0] |= 0x00000040u;
  dispatch_device_target_status_ = value;
}
inline void Dispatch_control_response_msg::set_dispatch_device_target_status(::message::Dispatch_device_target_status value) {
  _internal_set_dispatch_device_target_status(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.dispatch_device_target_status)
}

// optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
inline bool Dispatch_control_response_msg::_internal_has_dispatch_device_task_status() const {
  bool value = (_has_bits_[0] & 0x00000080u) != 0;
  return value;
}
inline bool Dispatch_control_response_msg::has_dispatch_device_task_status() const {
  return _internal_has_dispatch_device_task_status();
}
inline void Dispatch_control_response_msg::clear_dispatch_device_task_status() {
  dispatch_device_task_status_ = 0;
  _has_bits_[0] &= ~0x00000080u;
}
inline ::message::Dispatch_device_task_status Dispatch_control_response_msg::_internal_dispatch_device_task_status() const {
  return static_cast< ::message::Dispatch_device_task_status >(dispatch_device_task_status_);
}
inline ::message::Dispatch_device_task_status Dispatch_control_response_msg::dispatch_device_task_status() const {
  // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.dispatch_device_task_status)
  return _internal_dispatch_device_task_status();
}
inline void Dispatch_control_response_msg::_internal_set_dispatch_device_task_status(::message::Dispatch_device_task_status value) {
  assert(::message::Dispatch_device_task_status_IsValid(value));
  _has_bits_[0] |= 0x00000080u;
  dispatch_device_task_status_ = value;
}
inline void Dispatch_control_response_msg::set_dispatch_device_task_status(::message::Dispatch_device_task_status value) {
  _internal_set_dispatch_device_task_status(value);
  // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.dispatch_device_task_status)
}

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

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

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace message

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::message::Dispatch_task_type> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_task_type>() {
  return ::message::Dispatch_task_type_descriptor();
}
template <> struct is_proto_enum< ::message::Dispatch_device_target_status> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_device_target_status>() {
  return ::message::Dispatch_device_target_status_descriptor();
}
template <> struct is_proto_enum< ::message::Dispatch_device_task_status> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_device_task_status>() {
  return ::message::Dispatch_device_task_status_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

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