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

#ifndef GOOGLE_PROTOBUF_INCLUDED_CommandDataPb_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_CommandDataPb_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3010000
#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 3010001 < 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.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
#include "ParameterContainerPb.pb.h"
#include "CommandTypesPb.pb.h"
#include "ResultCodesPb.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_CommandDataPb_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_CommandDataPb_2eproto {
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
    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_CommandDataPb_2eproto;
namespace OpenTestSystem {
namespace OtxDiagManager {
namespace Common {
class CommandDataPb;
class CommandDataPbDefaultTypeInternal;
extern CommandDataPbDefaultTypeInternal _CommandDataPb_default_instance_;
}  // namespace Common
}  // namespace OtxDiagManager
}  // namespace OpenTestSystem
PROTOBUF_NAMESPACE_OPEN
template<> ::OpenTestSystem::OtxDiagManager::Common::CommandDataPb* Arena::CreateMaybeMessage<::OpenTestSystem::OtxDiagManager::Common::CommandDataPb>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace OpenTestSystem {
namespace OtxDiagManager {
namespace Common {

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

class CommandDataPb :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OpenTestSystem.OtxDiagManager.Common.CommandDataPb) */ {
 public:
  CommandDataPb();
  virtual ~CommandDataPb();

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

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

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const CommandDataPb& default_instance();

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

  friend void swap(CommandDataPb& a, CommandDataPb& b) {
    a.Swap(&b);
  }
  inline void Swap(CommandDataPb* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

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

  CommandDataPb* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<CommandDataPb>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const CommandDataPb& from);
  void MergeFrom(const CommandDataPb& 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* InternalSerializeWithCachedSizesToArray(
      ::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(CommandDataPb* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "OpenTestSystem.OtxDiagManager.Common.CommandDataPb";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_CommandDataPb_2eproto);
    return ::descriptor_table_CommandDataPb_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

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

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

  enum : int {
    kCommandNameFieldNumber = 3,
    kParametersFieldNumber = 4,
    kCommandIdFieldNumber = 1,
    kCommandTypeFieldNumber = 2,
    kResultCodeFieldNumber = 5,
  };
  // string CommandName = 3;
  void clear_commandname();
  const std::string& commandname() const;
  void set_commandname(const std::string& value);
  void set_commandname(std::string&& value);
  void set_commandname(const char* value);
  void set_commandname(const char* value, size_t size);
  std::string* mutable_commandname();
  std::string* release_commandname();
  void set_allocated_commandname(std::string* commandname);
  private:
  const std::string& _internal_commandname() const;
  void _internal_set_commandname(const std::string& value);
  std::string* _internal_mutable_commandname();
  public:

  // .OpenTestSystem.OtxDiagManager.Common.ParameterContainerPb Parameters = 4;
  bool has_parameters() const;
  private:
  bool _internal_has_parameters() const;
  public:
  void clear_parameters();
  const ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb& parameters() const;
  ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb* release_parameters();
  ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb* mutable_parameters();
  void set_allocated_parameters(::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb* parameters);
  private:
  const ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb& _internal_parameters() const;
  ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb* _internal_mutable_parameters();
  public:

  // int32 CommandId = 1;
  void clear_commandid();
  ::PROTOBUF_NAMESPACE_ID::int32 commandid() const;
  void set_commandid(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_commandid() const;
  void _internal_set_commandid(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // .OpenTestSystem.OtxDiagManager.Common.CommandTypesPb CommandType = 2;
  void clear_commandtype();
  ::OpenTestSystem::OtxDiagManager::Common::CommandTypesPb commandtype() const;
  void set_commandtype(::OpenTestSystem::OtxDiagManager::Common::CommandTypesPb value);
  private:
  ::OpenTestSystem::OtxDiagManager::Common::CommandTypesPb _internal_commandtype() const;
  void _internal_set_commandtype(::OpenTestSystem::OtxDiagManager::Common::CommandTypesPb value);
  public:

  // .OpenTestSystem.OtxDiagManager.Common.ResultCodesPb ResultCode = 5;
  void clear_resultcode();
  ::OpenTestSystem::OtxDiagManager::Common::ResultCodesPb resultcode() const;
  void set_resultcode(::OpenTestSystem::OtxDiagManager::Common::ResultCodesPb value);
  private:
  ::OpenTestSystem::OtxDiagManager::Common::ResultCodesPb _internal_resultcode() const;
  void _internal_set_resultcode(::OpenTestSystem::OtxDiagManager::Common::ResultCodesPb value);
  public:

  // @@protoc_insertion_point(class_scope:OpenTestSystem.OtxDiagManager.Common.CommandDataPb)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr commandname_;
  ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb* parameters_;
  ::PROTOBUF_NAMESPACE_ID::int32 commandid_;
  int commandtype_;
  int resultcode_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_CommandDataPb_2eproto;
};
// ===================================================================


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

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

// int32 CommandId = 1;
inline void CommandDataPb::clear_commandid() {
  commandid_ = 0;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 CommandDataPb::_internal_commandid() const {
  return commandid_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 CommandDataPb::commandid() const {
  // @@protoc_insertion_point(field_get:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.CommandId)
  return _internal_commandid();
}
inline void CommandDataPb::_internal_set_commandid(::PROTOBUF_NAMESPACE_ID::int32 value) {
  
  commandid_ = value;
}
inline void CommandDataPb::set_commandid(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_commandid(value);
  // @@protoc_insertion_point(field_set:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.CommandId)
}

// .OpenTestSystem.OtxDiagManager.Common.CommandTypesPb CommandType = 2;
inline void CommandDataPb::clear_commandtype() {
  commandtype_ = 0;
}
inline ::OpenTestSystem::OtxDiagManager::Common::CommandTypesPb CommandDataPb::_internal_commandtype() const {
  return static_cast< ::OpenTestSystem::OtxDiagManager::Common::CommandTypesPb >(commandtype_);
}
inline ::OpenTestSystem::OtxDiagManager::Common::CommandTypesPb CommandDataPb::commandtype() const {
  // @@protoc_insertion_point(field_get:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.CommandType)
  return _internal_commandtype();
}
inline void CommandDataPb::_internal_set_commandtype(::OpenTestSystem::OtxDiagManager::Common::CommandTypesPb value) {
  
  commandtype_ = value;
}
inline void CommandDataPb::set_commandtype(::OpenTestSystem::OtxDiagManager::Common::CommandTypesPb value) {
  _internal_set_commandtype(value);
  // @@protoc_insertion_point(field_set:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.CommandType)
}

// string CommandName = 3;
inline void CommandDataPb::clear_commandname() {
  commandname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& CommandDataPb::commandname() const {
  // @@protoc_insertion_point(field_get:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.CommandName)
  return _internal_commandname();
}
inline void CommandDataPb::set_commandname(const std::string& value) {
  _internal_set_commandname(value);
  // @@protoc_insertion_point(field_set:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.CommandName)
}
inline std::string* CommandDataPb::mutable_commandname() {
  // @@protoc_insertion_point(field_mutable:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.CommandName)
  return _internal_mutable_commandname();
}
inline const std::string& CommandDataPb::_internal_commandname() const {
  return commandname_.GetNoArena();
}
inline void CommandDataPb::_internal_set_commandname(const std::string& value) {
  
  commandname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void CommandDataPb::set_commandname(std::string&& value) {
  
  commandname_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.CommandName)
}
inline void CommandDataPb::set_commandname(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  commandname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.CommandName)
}
inline void CommandDataPb::set_commandname(const char* value, size_t size) {
  
  commandname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.CommandName)
}
inline std::string* CommandDataPb::_internal_mutable_commandname() {
  
  return commandname_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* CommandDataPb::release_commandname() {
  // @@protoc_insertion_point(field_release:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.CommandName)
  
  return commandname_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void CommandDataPb::set_allocated_commandname(std::string* commandname) {
  if (commandname != nullptr) {
    
  } else {
    
  }
  commandname_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), commandname);
  // @@protoc_insertion_point(field_set_allocated:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.CommandName)
}

// .OpenTestSystem.OtxDiagManager.Common.ParameterContainerPb Parameters = 4;
inline bool CommandDataPb::_internal_has_parameters() const {
  return this != internal_default_instance() && parameters_ != nullptr;
}
inline bool CommandDataPb::has_parameters() const {
  return _internal_has_parameters();
}
inline const ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb& CommandDataPb::_internal_parameters() const {
  const ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb* p = parameters_;
  return p != nullptr ? *p : *reinterpret_cast<const ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb*>(
      &::OpenTestSystem::OtxDiagManager::Common::_ParameterContainerPb_default_instance_);
}
inline const ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb& CommandDataPb::parameters() const {
  // @@protoc_insertion_point(field_get:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.Parameters)
  return _internal_parameters();
}
inline ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb* CommandDataPb::release_parameters() {
  // @@protoc_insertion_point(field_release:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.Parameters)
  
  ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb* temp = parameters_;
  parameters_ = nullptr;
  return temp;
}
inline ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb* CommandDataPb::_internal_mutable_parameters() {
  
  if (parameters_ == nullptr) {
    auto* p = CreateMaybeMessage<::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb>(GetArenaNoVirtual());
    parameters_ = p;
  }
  return parameters_;
}
inline ::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb* CommandDataPb::mutable_parameters() {
  // @@protoc_insertion_point(field_mutable:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.Parameters)
  return _internal_mutable_parameters();
}
inline void CommandDataPb::set_allocated_parameters(::OpenTestSystem::OtxDiagManager::Common::ParameterContainerPb* parameters) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(parameters_);
  }
  if (parameters) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      parameters = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, parameters, submessage_arena);
    }
    
  } else {
    
  }
  parameters_ = parameters;
  // @@protoc_insertion_point(field_set_allocated:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.Parameters)
}

// .OpenTestSystem.OtxDiagManager.Common.ResultCodesPb ResultCode = 5;
inline void CommandDataPb::clear_resultcode() {
  resultcode_ = 0;
}
inline ::OpenTestSystem::OtxDiagManager::Common::ResultCodesPb CommandDataPb::_internal_resultcode() const {
  return static_cast< ::OpenTestSystem::OtxDiagManager::Common::ResultCodesPb >(resultcode_);
}
inline ::OpenTestSystem::OtxDiagManager::Common::ResultCodesPb CommandDataPb::resultcode() const {
  // @@protoc_insertion_point(field_get:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.ResultCode)
  return _internal_resultcode();
}
inline void CommandDataPb::_internal_set_resultcode(::OpenTestSystem::OtxDiagManager::Common::ResultCodesPb value) {
  
  resultcode_ = value;
}
inline void CommandDataPb::set_resultcode(::OpenTestSystem::OtxDiagManager::Common::ResultCodesPb value) {
  _internal_set_resultcode(value);
  // @@protoc_insertion_point(field_set:OpenTestSystem.OtxDiagManager.Common.CommandDataPb.ResultCode)
}

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

// @@protoc_insertion_point(namespace_scope)

}  // namespace Common
}  // namespace OtxDiagManager
}  // namespace OpenTestSystem

// @@protoc_insertion_point(global_scope)

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