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

#ifndef GOOGLE_PROTOBUF_INCLUDED_sns_5fdiag_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_sns_5fdiag_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#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 3021012 < 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_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "nanopb.pb.h"
#include "sns_std.pb.h"
#include "sns_std_sensor.pb.h"
#include "sns_client.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_sns_5fdiag_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_sns_5fdiag_2eproto {
  static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_sns_5fdiag_2eproto;
class sns_diag_batch_sample;
struct sns_diag_batch_sampleDefaultTypeInternal;
extern sns_diag_batch_sampleDefaultTypeInternal _sns_diag_batch_sample_default_instance_;
class sns_diag_client_api_log;
struct sns_diag_client_api_logDefaultTypeInternal;
extern sns_diag_client_api_logDefaultTypeInternal _sns_diag_client_api_log_default_instance_;
class sns_diag_client_resp_msg;
struct sns_diag_client_resp_msgDefaultTypeInternal;
extern sns_diag_client_resp_msgDefaultTypeInternal _sns_diag_client_resp_msg_default_instance_;
class sns_diag_event_service_log;
struct sns_diag_event_service_logDefaultTypeInternal;
extern sns_diag_event_service_logDefaultTypeInternal _sns_diag_event_service_log_default_instance_;
class sns_diag_event_service_log_heap_stats;
struct sns_diag_event_service_log_heap_statsDefaultTypeInternal;
extern sns_diag_event_service_log_heap_statsDefaultTypeInternal _sns_diag_event_service_log_heap_stats_default_instance_;
class sns_diag_fw_log;
struct sns_diag_fw_logDefaultTypeInternal;
extern sns_diag_fw_logDefaultTypeInternal _sns_diag_fw_log_default_instance_;
class sns_diag_instance_map_log;
struct sns_diag_instance_map_logDefaultTypeInternal;
extern sns_diag_instance_map_logDefaultTypeInternal _sns_diag_instance_map_log_default_instance_;
class sns_diag_island_debug_log;
struct sns_diag_island_debug_logDefaultTypeInternal;
extern sns_diag_island_debug_logDefaultTypeInternal _sns_diag_island_debug_log_default_instance_;
class sns_diag_island_exit_vote_log;
struct sns_diag_island_exit_vote_logDefaultTypeInternal;
extern sns_diag_island_exit_vote_logDefaultTypeInternal _sns_diag_island_exit_vote_log_default_instance_;
class sns_diag_island_log;
struct sns_diag_island_logDefaultTypeInternal;
extern sns_diag_island_logDefaultTypeInternal _sns_diag_island_log_default_instance_;
class sns_diag_island_transition_log;
struct sns_diag_island_transition_logDefaultTypeInternal;
extern sns_diag_island_transition_logDefaultTypeInternal _sns_diag_island_transition_log_default_instance_;
class sns_diag_island_tx_log;
struct sns_diag_island_tx_logDefaultTypeInternal;
extern sns_diag_island_tx_logDefaultTypeInternal _sns_diag_island_tx_log_default_instance_;
class sns_diag_mem_utilization_log;
struct sns_diag_mem_utilization_logDefaultTypeInternal;
extern sns_diag_mem_utilization_logDefaultTypeInternal _sns_diag_mem_utilization_log_default_instance_;
class sns_diag_opaque_payload;
struct sns_diag_opaque_payloadDefaultTypeInternal;
extern sns_diag_opaque_payloadDefaultTypeInternal _sns_diag_opaque_payload_default_instance_;
class sns_diag_sensor_api_log;
struct sns_diag_sensor_api_logDefaultTypeInternal;
extern sns_diag_sensor_api_logDefaultTypeInternal _sns_diag_sensor_api_log_default_instance_;
class sns_diag_sensor_log;
struct sns_diag_sensor_logDefaultTypeInternal;
extern sns_diag_sensor_logDefaultTypeInternal _sns_diag_sensor_log_default_instance_;
class sns_diag_sensor_state_interrupt;
struct sns_diag_sensor_state_interruptDefaultTypeInternal;
extern sns_diag_sensor_state_interruptDefaultTypeInternal _sns_diag_sensor_state_interrupt_default_instance_;
class sns_diag_sensor_state_raw;
struct sns_diag_sensor_state_rawDefaultTypeInternal;
extern sns_diag_sensor_state_rawDefaultTypeInternal _sns_diag_sensor_state_raw_default_instance_;
PROTOBUF_NAMESPACE_OPEN
template<> ::sns_diag_batch_sample* Arena::CreateMaybeMessage<::sns_diag_batch_sample>(Arena*);
template<> ::sns_diag_client_api_log* Arena::CreateMaybeMessage<::sns_diag_client_api_log>(Arena*);
template<> ::sns_diag_client_resp_msg* Arena::CreateMaybeMessage<::sns_diag_client_resp_msg>(Arena*);
template<> ::sns_diag_event_service_log* Arena::CreateMaybeMessage<::sns_diag_event_service_log>(Arena*);
template<> ::sns_diag_event_service_log_heap_stats* Arena::CreateMaybeMessage<::sns_diag_event_service_log_heap_stats>(Arena*);
template<> ::sns_diag_fw_log* Arena::CreateMaybeMessage<::sns_diag_fw_log>(Arena*);
template<> ::sns_diag_instance_map_log* Arena::CreateMaybeMessage<::sns_diag_instance_map_log>(Arena*);
template<> ::sns_diag_island_debug_log* Arena::CreateMaybeMessage<::sns_diag_island_debug_log>(Arena*);
template<> ::sns_diag_island_exit_vote_log* Arena::CreateMaybeMessage<::sns_diag_island_exit_vote_log>(Arena*);
template<> ::sns_diag_island_log* Arena::CreateMaybeMessage<::sns_diag_island_log>(Arena*);
template<> ::sns_diag_island_transition_log* Arena::CreateMaybeMessage<::sns_diag_island_transition_log>(Arena*);
template<> ::sns_diag_island_tx_log* Arena::CreateMaybeMessage<::sns_diag_island_tx_log>(Arena*);
template<> ::sns_diag_mem_utilization_log* Arena::CreateMaybeMessage<::sns_diag_mem_utilization_log>(Arena*);
template<> ::sns_diag_opaque_payload* Arena::CreateMaybeMessage<::sns_diag_opaque_payload>(Arena*);
template<> ::sns_diag_sensor_api_log* Arena::CreateMaybeMessage<::sns_diag_sensor_api_log>(Arena*);
template<> ::sns_diag_sensor_log* Arena::CreateMaybeMessage<::sns_diag_sensor_log>(Arena*);
template<> ::sns_diag_sensor_state_interrupt* Arena::CreateMaybeMessage<::sns_diag_sensor_state_interrupt>(Arena*);
template<> ::sns_diag_sensor_state_raw* Arena::CreateMaybeMessage<::sns_diag_sensor_state_raw>(Arena*);
PROTOBUF_NAMESPACE_CLOSE

enum sns_diag_event_service_log_heap_stats_sns_event_service_heap_id : int {
  sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_SNS_EVENT_SERVICE_HEAP_ID_ISLAND = 0,
  sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_SNS_EVENT_SERVICE_HEAP_ID_MAIN = 1
};
bool sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_IsValid(int value);
constexpr sns_diag_event_service_log_heap_stats_sns_event_service_heap_id sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_sns_event_service_heap_id_MIN = sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_SNS_EVENT_SERVICE_HEAP_ID_ISLAND;
constexpr sns_diag_event_service_log_heap_stats_sns_event_service_heap_id sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_sns_event_service_heap_id_MAX = sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_SNS_EVENT_SERVICE_HEAP_ID_MAIN;
constexpr int sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_sns_event_service_heap_id_ARRAYSIZE = sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_sns_event_service_heap_id_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_descriptor();
template<typename T>
inline const std::string& sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_Name(T enum_t_value) {
  static_assert(::std::is_same<T, sns_diag_event_service_log_heap_stats_sns_event_service_heap_id>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_descriptor(), enum_t_value);
}
inline bool sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, sns_diag_event_service_log_heap_stats_sns_event_service_heap_id* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<sns_diag_event_service_log_heap_stats_sns_event_service_heap_id>(
    sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_descriptor(), name, value);
}
enum sns_diag_batch_sample_type : int {
  SNS_DIAG_BATCH_SAMPLE_TYPE_ONLY = 0,
  SNS_DIAG_BATCH_SAMPLE_TYPE_FIRST = 1,
  SNS_DIAG_BATCH_SAMPLE_TYPE_INTERMEDIATE = 2,
  SNS_DIAG_BATCH_SAMPLE_TYPE_LAST = 3
};
bool sns_diag_batch_sample_type_IsValid(int value);
constexpr sns_diag_batch_sample_type sns_diag_batch_sample_type_MIN = SNS_DIAG_BATCH_SAMPLE_TYPE_ONLY;
constexpr sns_diag_batch_sample_type sns_diag_batch_sample_type_MAX = SNS_DIAG_BATCH_SAMPLE_TYPE_LAST;
constexpr int sns_diag_batch_sample_type_ARRAYSIZE = sns_diag_batch_sample_type_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* sns_diag_batch_sample_type_descriptor();
template<typename T>
inline const std::string& sns_diag_batch_sample_type_Name(T enum_t_value) {
  static_assert(::std::is_same<T, sns_diag_batch_sample_type>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function sns_diag_batch_sample_type_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    sns_diag_batch_sample_type_descriptor(), enum_t_value);
}
inline bool sns_diag_batch_sample_type_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, sns_diag_batch_sample_type* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<sns_diag_batch_sample_type>(
    sns_diag_batch_sample_type_descriptor(), name, value);
}
enum sns_diag_interrupt : int {
  SNS_DIAG_INTERRUPT_THRESHOLD = 0,
  SNS_DIAG_INTERRUPT_MOTION = 1,
  SNS_DIAG_INTERRUPT_TILT = 2,
  SNS_DIAG_INTERRUPT_FREE_FALL = 3,
  SNS_DIAG_INTERRUPT_DOUBLE_TAP = 4,
  SNS_DIAG_INTERRUPT_SHOCK = 5,
  SNS_DIAG_INTERRUPT_CCD_AMD = 6,
  SNS_DIAG_INTERRUPT_CCD_WALK = 7,
  SNS_DIAG_INTERRUPT_CCD_TILT = 8,
  SNS_DIAG_INTERRUPT_CCD_TE0 = 9,
  SNS_DIAG_INTERRUPT_CCD_TE1 = 10,
  SNS_DIAG_INTERRUPT_CCD_TE2 = 11,
  SNS_DIAG_INTERRUPT_CCD_TE3 = 12,
  SNS_DIAG_INTERRUPT_CCD_CD0 = 13,
  SNS_DIAG_INTERRUPT_CCD_CD1 = 14,
  SNS_DIAG_INTERRUPT_CCD_CD2 = 15,
  SNS_DIAG_INTERRUPT_CCD_CD3 = 16,
  SNS_DIAG_INTERRUPT_CCD_GBE1 = 17,
  SNS_DIAG_INTERRUPT_CCD_GBE2 = 18,
  SNS_DIAG_INTERRUPT_CCD_OGV0 = 19,
  SNS_DIAG_INTERRUPT_CCD_OGV1 = 20,
  SNS_DIAG_INTERRUPT_CCD_OGV2 = 21,
  SNS_DIAG_INTERRUPT_CCD_OGV3 = 22,
  SNS_DIAG_INTERRUPT_CCD_TE4 = 23,
  SNS_DIAG_INTERRUPT_CCD_PPE = 24,
  SNS_DIAG_INTERRUPT_CCD_PPE1 = 25,
  SNS_DIAG_INTERRUPT_CCD_PPE2 = 26
};
bool sns_diag_interrupt_IsValid(int value);
constexpr sns_diag_interrupt sns_diag_interrupt_MIN = SNS_DIAG_INTERRUPT_THRESHOLD;
constexpr sns_diag_interrupt sns_diag_interrupt_MAX = SNS_DIAG_INTERRUPT_CCD_PPE2;
constexpr int sns_diag_interrupt_ARRAYSIZE = sns_diag_interrupt_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* sns_diag_interrupt_descriptor();
template<typename T>
inline const std::string& sns_diag_interrupt_Name(T enum_t_value) {
  static_assert(::std::is_same<T, sns_diag_interrupt>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function sns_diag_interrupt_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    sns_diag_interrupt_descriptor(), enum_t_value);
}
inline bool sns_diag_interrupt_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, sns_diag_interrupt* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<sns_diag_interrupt>(
    sns_diag_interrupt_descriptor(), name, value);
}
enum sns_diag_island_state : int {
  SNS_DIAG_ISLAND_STATE_IN_ISLAND_MODE = 0,
  SNS_DIAG_ISLAND_STATE_NOT_IN_ISLAND_MODE = 1,
  SNS_DIAG_ISLAND_STATE_ISLAND_DISABLED = 2
};
bool sns_diag_island_state_IsValid(int value);
constexpr sns_diag_island_state sns_diag_island_state_MIN = SNS_DIAG_ISLAND_STATE_IN_ISLAND_MODE;
constexpr sns_diag_island_state sns_diag_island_state_MAX = SNS_DIAG_ISLAND_STATE_ISLAND_DISABLED;
constexpr int sns_diag_island_state_ARRAYSIZE = sns_diag_island_state_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* sns_diag_island_state_descriptor();
template<typename T>
inline const std::string& sns_diag_island_state_Name(T enum_t_value) {
  static_assert(::std::is_same<T, sns_diag_island_state>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function sns_diag_island_state_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    sns_diag_island_state_descriptor(), enum_t_value);
}
inline bool sns_diag_island_state_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, sns_diag_island_state* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<sns_diag_island_state>(
    sns_diag_island_state_descriptor(), name, value);
}
enum sns_diag_heap_id : int {
  SNS_DIAG_HEAP_ID_HEAP_MAIN = 0,
  SNS_DIAG_HEAP_ID_HEAP_ISLAND = 1,
  SNS_DIAG_HEAP_ID_HEAP_PRAM = 2,
  SNS_DIAG_HEAP_ID_HEAP_EVENT = 3,
  SNS_DIAG_HEAP_ID_HEAP_BATCH = 4,
  SNS_DIAG_HEAP_ID_EVENT_BUFFER = 100
};
bool sns_diag_heap_id_IsValid(int value);
constexpr sns_diag_heap_id sns_diag_heap_id_MIN = SNS_DIAG_HEAP_ID_HEAP_MAIN;
constexpr sns_diag_heap_id sns_diag_heap_id_MAX = SNS_DIAG_HEAP_ID_EVENT_BUFFER;
constexpr int sns_diag_heap_id_ARRAYSIZE = sns_diag_heap_id_MAX + 1;

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

class sns_diag_opaque_payload final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_opaque_payload) */ {
 public:
  inline sns_diag_opaque_payload() : sns_diag_opaque_payload(nullptr) {}
  ~sns_diag_opaque_payload() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_opaque_payload(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_opaque_payload& operator=(const sns_diag_opaque_payload& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_opaque_payload& operator=(sns_diag_opaque_payload&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_opaque_payload& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_opaque_payload* internal_default_instance() {
    return reinterpret_cast<const sns_diag_opaque_payload*>(
               &_sns_diag_opaque_payload_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(sns_diag_opaque_payload& a, sns_diag_opaque_payload& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_opaque_payload* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_opaque_payload* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_opaque_payload* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_opaque_payload>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_opaque_payload& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_opaque_payload& from) {
    sns_diag_opaque_payload::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_opaque_payload* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_opaque_payload";
  }
  protected:
  explicit sns_diag_opaque_payload(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kPayloadFieldNumber = 1,
  };
  // required bytes payload = 1;
  bool has_payload() const;
  private:
  bool _internal_has_payload() const;
  public:
  void clear_payload();
  const std::string& payload() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_payload(ArgT0&& arg0, ArgT... args);
  std::string* mutable_payload();
  PROTOBUF_NODISCARD std::string* release_payload();
  void set_allocated_payload(std::string* payload);
  private:
  const std::string& _internal_payload() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_payload(const std::string& value);
  std::string* _internal_mutable_payload();
  public:

  // @@protoc_insertion_point(class_scope:sns_diag_opaque_payload)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr payload_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_batch_sample final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_batch_sample) */ {
 public:
  inline sns_diag_batch_sample() : sns_diag_batch_sample(nullptr) {}
  ~sns_diag_batch_sample() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_batch_sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_batch_sample& operator=(const sns_diag_batch_sample& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_batch_sample& operator=(sns_diag_batch_sample&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_batch_sample& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_batch_sample* internal_default_instance() {
    return reinterpret_cast<const sns_diag_batch_sample*>(
               &_sns_diag_batch_sample_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(sns_diag_batch_sample& a, sns_diag_batch_sample& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_batch_sample* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_batch_sample* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_batch_sample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_batch_sample>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_batch_sample& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_batch_sample& from) {
    sns_diag_batch_sample::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_batch_sample* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_batch_sample";
  }
  protected:
  explicit sns_diag_batch_sample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kSampleFieldNumber = 3,
    kTimestampFieldNumber = 2,
    kSampleTypeFieldNumber = 1,
    kStatusFieldNumber = 4,
  };
  // repeated float sample = 3;
  int sample_size() const;
  private:
  int _internal_sample_size() const;
  public:
  void clear_sample();
  private:
  float _internal_sample(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
      _internal_sample() const;
  void _internal_add_sample(float value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
      _internal_mutable_sample();
  public:
  float sample(int index) const;
  void set_sample(int index, float value);
  void add_sample(float value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
      sample() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
      mutable_sample();

  // required fixed64 timestamp = 2;
  bool has_timestamp() const;
  private:
  bool _internal_has_timestamp() const;
  public:
  void clear_timestamp();
  uint64_t timestamp() const;
  void set_timestamp(uint64_t value);
  private:
  uint64_t _internal_timestamp() const;
  void _internal_set_timestamp(uint64_t value);
  public:

  // required .sns_diag_batch_sample_type sample_type = 1 [default = SNS_DIAG_BATCH_SAMPLE_TYPE_ONLY];
  bool has_sample_type() const;
  private:
  bool _internal_has_sample_type() const;
  public:
  void clear_sample_type();
  ::sns_diag_batch_sample_type sample_type() const;
  void set_sample_type(::sns_diag_batch_sample_type value);
  private:
  ::sns_diag_batch_sample_type _internal_sample_type() const;
  void _internal_set_sample_type(::sns_diag_batch_sample_type value);
  public:

  // required .sns_std_sensor_sample_status status = 4 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE];
  bool has_status() const;
  private:
  bool _internal_has_status() const;
  public:
  void clear_status();
  ::sns_std_sensor_sample_status status() const;
  void set_status(::sns_std_sensor_sample_status value);
  private:
  ::sns_std_sensor_sample_status _internal_status() const;
  void _internal_set_status(::sns_std_sensor_sample_status value);
  public:

  // @@protoc_insertion_point(class_scope:sns_diag_batch_sample)
 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_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > sample_;
    uint64_t timestamp_;
    int sample_type_;
    int status_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_sensor_state_interrupt final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_sensor_state_interrupt) */ {
 public:
  inline sns_diag_sensor_state_interrupt() : sns_diag_sensor_state_interrupt(nullptr) {}
  ~sns_diag_sensor_state_interrupt() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_sensor_state_interrupt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_sensor_state_interrupt& operator=(const sns_diag_sensor_state_interrupt& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_sensor_state_interrupt& operator=(sns_diag_sensor_state_interrupt&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_sensor_state_interrupt& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_sensor_state_interrupt* internal_default_instance() {
    return reinterpret_cast<const sns_diag_sensor_state_interrupt*>(
               &_sns_diag_sensor_state_interrupt_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(sns_diag_sensor_state_interrupt& a, sns_diag_sensor_state_interrupt& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_sensor_state_interrupt* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_sensor_state_interrupt* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_sensor_state_interrupt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_sensor_state_interrupt>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_sensor_state_interrupt& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_sensor_state_interrupt& from) {
    sns_diag_sensor_state_interrupt::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_sensor_state_interrupt* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_sensor_state_interrupt";
  }
  protected:
  explicit sns_diag_sensor_state_interrupt(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kTimestampFieldNumber = 2,
    kInterruptFieldNumber = 1,
  };
  // required fixed64 timestamp = 2;
  bool has_timestamp() const;
  private:
  bool _internal_has_timestamp() const;
  public:
  void clear_timestamp();
  uint64_t timestamp() const;
  void set_timestamp(uint64_t value);
  private:
  uint64_t _internal_timestamp() const;
  void _internal_set_timestamp(uint64_t value);
  public:

  // required .sns_diag_interrupt interrupt = 1;
  bool has_interrupt() const;
  private:
  bool _internal_has_interrupt() const;
  public:
  void clear_interrupt();
  ::sns_diag_interrupt interrupt() const;
  void set_interrupt(::sns_diag_interrupt value);
  private:
  ::sns_diag_interrupt _internal_interrupt() const;
  void _internal_set_interrupt(::sns_diag_interrupt value);
  public:

  // @@protoc_insertion_point(class_scope:sns_diag_sensor_state_interrupt)
 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_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    uint64_t timestamp_;
    int interrupt_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_sensor_state_raw final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_sensor_state_raw) */ {
 public:
  inline sns_diag_sensor_state_raw() : sns_diag_sensor_state_raw(nullptr) {}
  ~sns_diag_sensor_state_raw() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_sensor_state_raw(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_sensor_state_raw& operator=(const sns_diag_sensor_state_raw& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_sensor_state_raw& operator=(sns_diag_sensor_state_raw&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_sensor_state_raw& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_sensor_state_raw* internal_default_instance() {
    return reinterpret_cast<const sns_diag_sensor_state_raw*>(
               &_sns_diag_sensor_state_raw_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

  friend void swap(sns_diag_sensor_state_raw& a, sns_diag_sensor_state_raw& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_sensor_state_raw* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_sensor_state_raw* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_sensor_state_raw* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_sensor_state_raw>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_sensor_state_raw& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_sensor_state_raw& from) {
    sns_diag_sensor_state_raw::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_sensor_state_raw* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_sensor_state_raw";
  }
  protected:
  explicit sns_diag_sensor_state_raw(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kSampleFieldNumber = 1,
  };
  // repeated .sns_diag_batch_sample sample = 1;
  int sample_size() const;
  private:
  int _internal_sample_size() const;
  public:
  void clear_sample();
  ::sns_diag_batch_sample* mutable_sample(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_diag_batch_sample >*
      mutable_sample();
  private:
  const ::sns_diag_batch_sample& _internal_sample(int index) const;
  ::sns_diag_batch_sample* _internal_add_sample();
  public:
  const ::sns_diag_batch_sample& sample(int index) const;
  ::sns_diag_batch_sample* add_sample();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_diag_batch_sample >&
      sample() const;

  // @@protoc_insertion_point(class_scope:sns_diag_sensor_state_raw)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_diag_batch_sample > sample_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_client_resp_msg final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_client_resp_msg) */ {
 public:
  inline sns_diag_client_resp_msg() : sns_diag_client_resp_msg(nullptr) {}
  ~sns_diag_client_resp_msg() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_client_resp_msg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_client_resp_msg& operator=(const sns_diag_client_resp_msg& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_client_resp_msg& operator=(sns_diag_client_resp_msg&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_client_resp_msg& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_client_resp_msg* internal_default_instance() {
    return reinterpret_cast<const sns_diag_client_resp_msg*>(
               &_sns_diag_client_resp_msg_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    4;

  friend void swap(sns_diag_client_resp_msg& a, sns_diag_client_resp_msg& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_client_resp_msg* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_client_resp_msg* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_client_resp_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_client_resp_msg>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_client_resp_msg& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_client_resp_msg& from) {
    sns_diag_client_resp_msg::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_client_resp_msg* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_client_resp_msg";
  }
  protected:
  explicit sns_diag_client_resp_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kErrorFieldNumber = 1,
  };
  // required .sns_std_error error = 1;
  bool has_error() const;
  private:
  bool _internal_has_error() const;
  public:
  void clear_error();
  ::sns_std_error error() const;
  void set_error(::sns_std_error value);
  private:
  ::sns_std_error _internal_error() const;
  void _internal_set_error(::sns_std_error value);
  public:

  // @@protoc_insertion_point(class_scope:sns_diag_client_resp_msg)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    int error_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_client_api_log final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_client_api_log) */ {
 public:
  inline sns_diag_client_api_log() : sns_diag_client_api_log(nullptr) {}
  ~sns_diag_client_api_log() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_client_api_log(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_client_api_log& operator=(const sns_diag_client_api_log& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_client_api_log& operator=(sns_diag_client_api_log&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_client_api_log& default_instance() {
    return *internal_default_instance();
  }
  enum ClientApiLogPayloadCase {
    kRequestPayload = 100,
    kEventPayload = 101,
    kRespPayload = 102,
    CLIENT_API_LOG_PAYLOAD_NOT_SET = 0,
  };

  static inline const sns_diag_client_api_log* internal_default_instance() {
    return reinterpret_cast<const sns_diag_client_api_log*>(
               &_sns_diag_client_api_log_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    5;

  friend void swap(sns_diag_client_api_log& a, sns_diag_client_api_log& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_client_api_log* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_client_api_log* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_client_api_log* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_client_api_log>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_client_api_log& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_client_api_log& from) {
    sns_diag_client_api_log::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_client_api_log* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_client_api_log";
  }
  protected:
  explicit sns_diag_client_api_log(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kSrcSensorTypeFieldNumber = 2,
    kClientIdFieldNumber = 1,
    kRequestPayloadFieldNumber = 100,
    kEventPayloadFieldNumber = 101,
    kRespPayloadFieldNumber = 102,
  };
  // required string src_sensor_type = 2;
  bool has_src_sensor_type() const;
  private:
  bool _internal_has_src_sensor_type() const;
  public:
  void clear_src_sensor_type();
  const std::string& src_sensor_type() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_src_sensor_type(ArgT0&& arg0, ArgT... args);
  std::string* mutable_src_sensor_type();
  PROTOBUF_NODISCARD std::string* release_src_sensor_type();
  void set_allocated_src_sensor_type(std::string* src_sensor_type);
  private:
  const std::string& _internal_src_sensor_type() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_src_sensor_type(const std::string& value);
  std::string* _internal_mutable_src_sensor_type();
  public:

  // required fixed64 client_id = 1;
  bool has_client_id() const;
  private:
  bool _internal_has_client_id() const;
  public:
  void clear_client_id();
  uint64_t client_id() const;
  void set_client_id(uint64_t value);
  private:
  uint64_t _internal_client_id() const;
  void _internal_set_client_id(uint64_t value);
  public:

  // .sns_client_request_msg request_payload = 100;
  bool has_request_payload() const;
  private:
  bool _internal_has_request_payload() const;
  public:
  void clear_request_payload();
  const ::sns_client_request_msg& request_payload() const;
  PROTOBUF_NODISCARD ::sns_client_request_msg* release_request_payload();
  ::sns_client_request_msg* mutable_request_payload();
  void set_allocated_request_payload(::sns_client_request_msg* request_payload);
  private:
  const ::sns_client_request_msg& _internal_request_payload() const;
  ::sns_client_request_msg* _internal_mutable_request_payload();
  public:
  void unsafe_arena_set_allocated_request_payload(
      ::sns_client_request_msg* request_payload);
  ::sns_client_request_msg* unsafe_arena_release_request_payload();

  // .sns_client_event_msg event_payload = 101;
  bool has_event_payload() const;
  private:
  bool _internal_has_event_payload() const;
  public:
  void clear_event_payload();
  const ::sns_client_event_msg& event_payload() const;
  PROTOBUF_NODISCARD ::sns_client_event_msg* release_event_payload();
  ::sns_client_event_msg* mutable_event_payload();
  void set_allocated_event_payload(::sns_client_event_msg* event_payload);
  private:
  const ::sns_client_event_msg& _internal_event_payload() const;
  ::sns_client_event_msg* _internal_mutable_event_payload();
  public:
  void unsafe_arena_set_allocated_event_payload(
      ::sns_client_event_msg* event_payload);
  ::sns_client_event_msg* unsafe_arena_release_event_payload();

  // .sns_diag_client_resp_msg resp_payload = 102;
  bool has_resp_payload() const;
  private:
  bool _internal_has_resp_payload() const;
  public:
  void clear_resp_payload();
  const ::sns_diag_client_resp_msg& resp_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_client_resp_msg* release_resp_payload();
  ::sns_diag_client_resp_msg* mutable_resp_payload();
  void set_allocated_resp_payload(::sns_diag_client_resp_msg* resp_payload);
  private:
  const ::sns_diag_client_resp_msg& _internal_resp_payload() const;
  ::sns_diag_client_resp_msg* _internal_mutable_resp_payload();
  public:
  void unsafe_arena_set_allocated_resp_payload(
      ::sns_diag_client_resp_msg* resp_payload);
  ::sns_diag_client_resp_msg* unsafe_arena_release_resp_payload();

  void clear_client_api_log_payload();
  ClientApiLogPayloadCase client_api_log_payload_case() const;
  // @@protoc_insertion_point(class_scope:sns_diag_client_api_log)
 private:
  class _Internal;
  void set_has_request_payload();
  void set_has_event_payload();
  void set_has_resp_payload();

  inline bool has_client_api_log_payload() const;
  inline void clear_has_client_api_log_payload();

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

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr src_sensor_type_;
    uint64_t client_id_;
    union ClientApiLogPayloadUnion {
      constexpr ClientApiLogPayloadUnion() : _constinit_{} {}
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
      ::sns_client_request_msg* request_payload_;
      ::sns_client_event_msg* event_payload_;
      ::sns_diag_client_resp_msg* resp_payload_;
    } client_api_log_payload_;
    uint32_t _oneof_case_[1];

  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_sensor_api_log final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_sensor_api_log) */ {
 public:
  inline sns_diag_sensor_api_log() : sns_diag_sensor_api_log(nullptr) {}
  ~sns_diag_sensor_api_log() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_sensor_api_log(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_sensor_api_log& operator=(const sns_diag_sensor_api_log& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_sensor_api_log& operator=(sns_diag_sensor_api_log&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_sensor_api_log& default_instance() {
    return *internal_default_instance();
  }
  enum SensorApiLogPayloadCase {
    kOpaquePayload = 100,
    kRequestPayload = 101,
    SENSOR_API_LOG_PAYLOAD_NOT_SET = 0,
  };

  static inline const sns_diag_sensor_api_log* internal_default_instance() {
    return reinterpret_cast<const sns_diag_sensor_api_log*>(
               &_sns_diag_sensor_api_log_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    6;

  friend void swap(sns_diag_sensor_api_log& a, sns_diag_sensor_api_log& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_sensor_api_log* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_sensor_api_log* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_sensor_api_log* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_sensor_api_log>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_sensor_api_log& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_sensor_api_log& from) {
    sns_diag_sensor_api_log::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_sensor_api_log* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_sensor_api_log";
  }
  protected:
  explicit sns_diag_sensor_api_log(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kTimestampFieldNumber = 2,
    kStreamIdFieldNumber = 3,
    kMessageIdFieldNumber = 1,
    kOpaquePayloadFieldNumber = 100,
    kRequestPayloadFieldNumber = 101,
  };
  // required fixed64 timestamp = 2;
  bool has_timestamp() const;
  private:
  bool _internal_has_timestamp() const;
  public:
  void clear_timestamp();
  uint64_t timestamp() const;
  void set_timestamp(uint64_t value);
  private:
  uint64_t _internal_timestamp() const;
  void _internal_set_timestamp(uint64_t value);
  public:

  // optional fixed64 stream_id = 3;
  bool has_stream_id() const;
  private:
  bool _internal_has_stream_id() const;
  public:
  void clear_stream_id();
  uint64_t stream_id() const;
  void set_stream_id(uint64_t value);
  private:
  uint64_t _internal_stream_id() const;
  void _internal_set_stream_id(uint64_t value);
  public:

  // required fixed32 message_id = 1;
  bool has_message_id() const;
  private:
  bool _internal_has_message_id() const;
  public:
  void clear_message_id();
  uint32_t message_id() const;
  void set_message_id(uint32_t value);
  private:
  uint32_t _internal_message_id() const;
  void _internal_set_message_id(uint32_t value);
  public:

  // .sns_diag_opaque_payload opaque_payload = 100;
  bool has_opaque_payload() const;
  private:
  bool _internal_has_opaque_payload() const;
  public:
  void clear_opaque_payload();
  const ::sns_diag_opaque_payload& opaque_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_opaque_payload* release_opaque_payload();
  ::sns_diag_opaque_payload* mutable_opaque_payload();
  void set_allocated_opaque_payload(::sns_diag_opaque_payload* opaque_payload);
  private:
  const ::sns_diag_opaque_payload& _internal_opaque_payload() const;
  ::sns_diag_opaque_payload* _internal_mutable_opaque_payload();
  public:
  void unsafe_arena_set_allocated_opaque_payload(
      ::sns_diag_opaque_payload* opaque_payload);
  ::sns_diag_opaque_payload* unsafe_arena_release_opaque_payload();

  // .sns_std_request request_payload = 101;
  bool has_request_payload() const;
  private:
  bool _internal_has_request_payload() const;
  public:
  void clear_request_payload();
  const ::sns_std_request& request_payload() const;
  PROTOBUF_NODISCARD ::sns_std_request* release_request_payload();
  ::sns_std_request* mutable_request_payload();
  void set_allocated_request_payload(::sns_std_request* request_payload);
  private:
  const ::sns_std_request& _internal_request_payload() const;
  ::sns_std_request* _internal_mutable_request_payload();
  public:
  void unsafe_arena_set_allocated_request_payload(
      ::sns_std_request* request_payload);
  ::sns_std_request* unsafe_arena_release_request_payload();

  void clear_sensor_api_log_payload();
  SensorApiLogPayloadCase sensor_api_log_payload_case() const;
  // @@protoc_insertion_point(class_scope:sns_diag_sensor_api_log)
 private:
  class _Internal;
  void set_has_opaque_payload();
  void set_has_request_payload();

  inline bool has_sensor_api_log_payload() const;
  inline void clear_has_sensor_api_log_payload();

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

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    uint64_t timestamp_;
    uint64_t stream_id_;
    uint32_t message_id_;
    union SensorApiLogPayloadUnion {
      constexpr SensorApiLogPayloadUnion() : _constinit_{} {}
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
      ::sns_diag_opaque_payload* opaque_payload_;
      ::sns_std_request* request_payload_;
    } sensor_api_log_payload_;
    uint32_t _oneof_case_[1];

  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_sensor_log final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_sensor_log) */ {
 public:
  inline sns_diag_sensor_log() : sns_diag_sensor_log(nullptr) {}
  ~sns_diag_sensor_log() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_sensor_log(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_sensor_log& operator=(const sns_diag_sensor_log& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_sensor_log& operator=(sns_diag_sensor_log&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_sensor_log& default_instance() {
    return *internal_default_instance();
  }
  enum SensorLogPayloadCase {
    kOpaquePayload = 100,
    kSensorApiPayload = 101,
    kClientApiPayload = 102,
    kSensorStateRawPayload = 103,
    kSensorStateInterruptPayload = 104,
    SENSOR_LOG_PAYLOAD_NOT_SET = 0,
  };

  static inline const sns_diag_sensor_log* internal_default_instance() {
    return reinterpret_cast<const sns_diag_sensor_log*>(
               &_sns_diag_sensor_log_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    7;

  friend void swap(sns_diag_sensor_log& a, sns_diag_sensor_log& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_sensor_log* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_sensor_log* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_sensor_log* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_sensor_log>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_sensor_log& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_sensor_log& from) {
    sns_diag_sensor_log::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_sensor_log* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_sensor_log";
  }
  protected:
  explicit sns_diag_sensor_log(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kSensorTypeFieldNumber = 4,
    kSuidFieldNumber = 3,
    kTimestampFieldNumber = 2,
    kInstanceIdFieldNumber = 5,
    kLogIdFieldNumber = 1,
    kOpaquePayloadFieldNumber = 100,
    kSensorApiPayloadFieldNumber = 101,
    kClientApiPayloadFieldNumber = 102,
    kSensorStateRawPayloadFieldNumber = 103,
    kSensorStateInterruptPayloadFieldNumber = 104,
  };
  // required string sensor_type = 4;
  bool has_sensor_type() const;
  private:
  bool _internal_has_sensor_type() const;
  public:
  void clear_sensor_type();
  const std::string& sensor_type() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_sensor_type(ArgT0&& arg0, ArgT... args);
  std::string* mutable_sensor_type();
  PROTOBUF_NODISCARD std::string* release_sensor_type();
  void set_allocated_sensor_type(std::string* sensor_type);
  private:
  const std::string& _internal_sensor_type() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_sensor_type(const std::string& value);
  std::string* _internal_mutable_sensor_type();
  public:

  // required .sns_std_suid suid = 3;
  bool has_suid() const;
  private:
  bool _internal_has_suid() const;
  public:
  void clear_suid();
  const ::sns_std_suid& suid() const;
  PROTOBUF_NODISCARD ::sns_std_suid* release_suid();
  ::sns_std_suid* mutable_suid();
  void set_allocated_suid(::sns_std_suid* suid);
  private:
  const ::sns_std_suid& _internal_suid() const;
  ::sns_std_suid* _internal_mutable_suid();
  public:
  void unsafe_arena_set_allocated_suid(
      ::sns_std_suid* suid);
  ::sns_std_suid* unsafe_arena_release_suid();

  // required fixed64 timestamp = 2;
  bool has_timestamp() const;
  private:
  bool _internal_has_timestamp() const;
  public:
  void clear_timestamp();
  uint64_t timestamp() const;
  void set_timestamp(uint64_t value);
  private:
  uint64_t _internal_timestamp() const;
  void _internal_set_timestamp(uint64_t value);
  public:

  // required fixed64 instance_id = 5;
  bool has_instance_id() const;
  private:
  bool _internal_has_instance_id() const;
  public:
  void clear_instance_id();
  uint64_t instance_id() const;
  void set_instance_id(uint64_t value);
  private:
  uint64_t _internal_instance_id() const;
  void _internal_set_instance_id(uint64_t value);
  public:

  // required fixed32 log_id = 1;
  bool has_log_id() const;
  private:
  bool _internal_has_log_id() const;
  public:
  void clear_log_id();
  uint32_t log_id() const;
  void set_log_id(uint32_t value);
  private:
  uint32_t _internal_log_id() const;
  void _internal_set_log_id(uint32_t value);
  public:

  // .sns_diag_opaque_payload opaque_payload = 100;
  bool has_opaque_payload() const;
  private:
  bool _internal_has_opaque_payload() const;
  public:
  void clear_opaque_payload();
  const ::sns_diag_opaque_payload& opaque_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_opaque_payload* release_opaque_payload();
  ::sns_diag_opaque_payload* mutable_opaque_payload();
  void set_allocated_opaque_payload(::sns_diag_opaque_payload* opaque_payload);
  private:
  const ::sns_diag_opaque_payload& _internal_opaque_payload() const;
  ::sns_diag_opaque_payload* _internal_mutable_opaque_payload();
  public:
  void unsafe_arena_set_allocated_opaque_payload(
      ::sns_diag_opaque_payload* opaque_payload);
  ::sns_diag_opaque_payload* unsafe_arena_release_opaque_payload();

  // .sns_diag_sensor_api_log sensor_api_payload = 101;
  bool has_sensor_api_payload() const;
  private:
  bool _internal_has_sensor_api_payload() const;
  public:
  void clear_sensor_api_payload();
  const ::sns_diag_sensor_api_log& sensor_api_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_sensor_api_log* release_sensor_api_payload();
  ::sns_diag_sensor_api_log* mutable_sensor_api_payload();
  void set_allocated_sensor_api_payload(::sns_diag_sensor_api_log* sensor_api_payload);
  private:
  const ::sns_diag_sensor_api_log& _internal_sensor_api_payload() const;
  ::sns_diag_sensor_api_log* _internal_mutable_sensor_api_payload();
  public:
  void unsafe_arena_set_allocated_sensor_api_payload(
      ::sns_diag_sensor_api_log* sensor_api_payload);
  ::sns_diag_sensor_api_log* unsafe_arena_release_sensor_api_payload();

  // .sns_diag_client_api_log client_api_payload = 102;
  bool has_client_api_payload() const;
  private:
  bool _internal_has_client_api_payload() const;
  public:
  void clear_client_api_payload();
  const ::sns_diag_client_api_log& client_api_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_client_api_log* release_client_api_payload();
  ::sns_diag_client_api_log* mutable_client_api_payload();
  void set_allocated_client_api_payload(::sns_diag_client_api_log* client_api_payload);
  private:
  const ::sns_diag_client_api_log& _internal_client_api_payload() const;
  ::sns_diag_client_api_log* _internal_mutable_client_api_payload();
  public:
  void unsafe_arena_set_allocated_client_api_payload(
      ::sns_diag_client_api_log* client_api_payload);
  ::sns_diag_client_api_log* unsafe_arena_release_client_api_payload();

  // .sns_diag_sensor_state_raw sensor_state_raw_payload = 103;
  bool has_sensor_state_raw_payload() const;
  private:
  bool _internal_has_sensor_state_raw_payload() const;
  public:
  void clear_sensor_state_raw_payload();
  const ::sns_diag_sensor_state_raw& sensor_state_raw_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_sensor_state_raw* release_sensor_state_raw_payload();
  ::sns_diag_sensor_state_raw* mutable_sensor_state_raw_payload();
  void set_allocated_sensor_state_raw_payload(::sns_diag_sensor_state_raw* sensor_state_raw_payload);
  private:
  const ::sns_diag_sensor_state_raw& _internal_sensor_state_raw_payload() const;
  ::sns_diag_sensor_state_raw* _internal_mutable_sensor_state_raw_payload();
  public:
  void unsafe_arena_set_allocated_sensor_state_raw_payload(
      ::sns_diag_sensor_state_raw* sensor_state_raw_payload);
  ::sns_diag_sensor_state_raw* unsafe_arena_release_sensor_state_raw_payload();

  // .sns_diag_sensor_state_interrupt sensor_state_interrupt_payload = 104;
  bool has_sensor_state_interrupt_payload() const;
  private:
  bool _internal_has_sensor_state_interrupt_payload() const;
  public:
  void clear_sensor_state_interrupt_payload();
  const ::sns_diag_sensor_state_interrupt& sensor_state_interrupt_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_sensor_state_interrupt* release_sensor_state_interrupt_payload();
  ::sns_diag_sensor_state_interrupt* mutable_sensor_state_interrupt_payload();
  void set_allocated_sensor_state_interrupt_payload(::sns_diag_sensor_state_interrupt* sensor_state_interrupt_payload);
  private:
  const ::sns_diag_sensor_state_interrupt& _internal_sensor_state_interrupt_payload() const;
  ::sns_diag_sensor_state_interrupt* _internal_mutable_sensor_state_interrupt_payload();
  public:
  void unsafe_arena_set_allocated_sensor_state_interrupt_payload(
      ::sns_diag_sensor_state_interrupt* sensor_state_interrupt_payload);
  ::sns_diag_sensor_state_interrupt* unsafe_arena_release_sensor_state_interrupt_payload();

  void clear_sensor_log_payload();
  SensorLogPayloadCase sensor_log_payload_case() const;
  // @@protoc_insertion_point(class_scope:sns_diag_sensor_log)
 private:
  class _Internal;
  void set_has_opaque_payload();
  void set_has_sensor_api_payload();
  void set_has_client_api_payload();
  void set_has_sensor_state_raw_payload();
  void set_has_sensor_state_interrupt_payload();

  inline bool has_sensor_log_payload() const;
  inline void clear_has_sensor_log_payload();

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

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sensor_type_;
    ::sns_std_suid* suid_;
    uint64_t timestamp_;
    uint64_t instance_id_;
    uint32_t log_id_;
    union SensorLogPayloadUnion {
      constexpr SensorLogPayloadUnion() : _constinit_{} {}
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
      ::sns_diag_opaque_payload* opaque_payload_;
      ::sns_diag_sensor_api_log* sensor_api_payload_;
      ::sns_diag_client_api_log* client_api_payload_;
      ::sns_diag_sensor_state_raw* sensor_state_raw_payload_;
      ::sns_diag_sensor_state_interrupt* sensor_state_interrupt_payload_;
    } sensor_log_payload_;
    uint32_t _oneof_case_[1];

  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_instance_map_log final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_instance_map_log) */ {
 public:
  inline sns_diag_instance_map_log() : sns_diag_instance_map_log(nullptr) {}
  ~sns_diag_instance_map_log() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_instance_map_log(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_instance_map_log& operator=(const sns_diag_instance_map_log& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_instance_map_log& operator=(sns_diag_instance_map_log&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_instance_map_log& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_instance_map_log* internal_default_instance() {
    return reinterpret_cast<const sns_diag_instance_map_log*>(
               &_sns_diag_instance_map_log_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    8;

  friend void swap(sns_diag_instance_map_log& a, sns_diag_instance_map_log& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_instance_map_log* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_instance_map_log* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_instance_map_log* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_instance_map_log>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_instance_map_log& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_instance_map_log& from) {
    sns_diag_instance_map_log::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_instance_map_log* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_instance_map_log";
  }
  protected:
  explicit sns_diag_instance_map_log(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kDestInstanceIdFieldNumber = 2,
    kStreamIdFieldNumber = 3,
    kSrcInstanceIdFieldNumber = 1,
  };
  // repeated fixed64 dest_instance_id = 2;
  int dest_instance_id_size() const;
  private:
  int _internal_dest_instance_id_size() const;
  public:
  void clear_dest_instance_id();
  private:
  uint64_t _internal_dest_instance_id(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
      _internal_dest_instance_id() const;
  void _internal_add_dest_instance_id(uint64_t value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
      _internal_mutable_dest_instance_id();
  public:
  uint64_t dest_instance_id(int index) const;
  void set_dest_instance_id(int index, uint64_t value);
  void add_dest_instance_id(uint64_t value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
      dest_instance_id() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
      mutable_dest_instance_id();

  // repeated fixed64 stream_id = 3;
  int stream_id_size() const;
  private:
  int _internal_stream_id_size() const;
  public:
  void clear_stream_id();
  private:
  uint64_t _internal_stream_id(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
      _internal_stream_id() const;
  void _internal_add_stream_id(uint64_t value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
      _internal_mutable_stream_id();
  public:
  uint64_t stream_id(int index) const;
  void set_stream_id(int index, uint64_t value);
  void add_stream_id(uint64_t value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
      stream_id() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
      mutable_stream_id();

  // required fixed64 src_instance_id = 1;
  bool has_src_instance_id() const;
  private:
  bool _internal_has_src_instance_id() const;
  public:
  void clear_src_instance_id();
  uint64_t src_instance_id() const;
  void set_src_instance_id(uint64_t value);
  private:
  uint64_t _internal_src_instance_id() const;
  void _internal_set_src_instance_id(uint64_t value);
  public:

  // @@protoc_insertion_point(class_scope:sns_diag_instance_map_log)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > dest_instance_id_;
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > stream_id_;
    uint64_t src_instance_id_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_island_transition_log final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_island_transition_log) */ {
 public:
  inline sns_diag_island_transition_log() : sns_diag_island_transition_log(nullptr) {}
  ~sns_diag_island_transition_log() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_island_transition_log(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_island_transition_log& operator=(const sns_diag_island_transition_log& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_island_transition_log& operator=(sns_diag_island_transition_log&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_island_transition_log& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_island_transition_log* internal_default_instance() {
    return reinterpret_cast<const sns_diag_island_transition_log*>(
               &_sns_diag_island_transition_log_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    9;

  friend void swap(sns_diag_island_transition_log& a, sns_diag_island_transition_log& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_island_transition_log* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_island_transition_log* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_island_transition_log* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_island_transition_log>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_island_transition_log& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_island_transition_log& from) {
    sns_diag_island_transition_log::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_island_transition_log* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_island_transition_log";
  }
  protected:
  explicit sns_diag_island_transition_log(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kTimestampFieldNumber = 1,
    kCookieFieldNumber = 3,
    kTotalIslandTimeFieldNumber = 4,
    kIslandStateFieldNumber = 2,
  };
  // required fixed64 timestamp = 1;
  bool has_timestamp() const;
  private:
  bool _internal_has_timestamp() const;
  public:
  void clear_timestamp();
  uint64_t timestamp() const;
  void set_timestamp(uint64_t value);
  private:
  uint64_t _internal_timestamp() const;
  void _internal_set_timestamp(uint64_t value);
  public:

  // optional fixed64 cookie = 3;
  bool has_cookie() const;
  private:
  bool _internal_has_cookie() const;
  public:
  void clear_cookie();
  uint64_t cookie() const;
  void set_cookie(uint64_t value);
  private:
  uint64_t _internal_cookie() const;
  void _internal_set_cookie(uint64_t value);
  public:

  // optional fixed64 total_island_time = 4;
  bool has_total_island_time() const;
  private:
  bool _internal_has_total_island_time() const;
  public:
  void clear_total_island_time();
  uint64_t total_island_time() const;
  void set_total_island_time(uint64_t value);
  private:
  uint64_t _internal_total_island_time() const;
  void _internal_set_total_island_time(uint64_t value);
  public:

  // required .sns_diag_island_state island_state = 2;
  bool has_island_state() const;
  private:
  bool _internal_has_island_state() const;
  public:
  void clear_island_state();
  ::sns_diag_island_state island_state() const;
  void set_island_state(::sns_diag_island_state value);
  private:
  ::sns_diag_island_state _internal_island_state() const;
  void _internal_set_island_state(::sns_diag_island_state value);
  public:

  // @@protoc_insertion_point(class_scope:sns_diag_island_transition_log)
 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_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    uint64_t timestamp_;
    uint64_t cookie_;
    uint64_t total_island_time_;
    int island_state_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_island_tx_log final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_island_tx_log) */ {
 public:
  inline sns_diag_island_tx_log() : sns_diag_island_tx_log(nullptr) {}
  ~sns_diag_island_tx_log() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_island_tx_log(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_island_tx_log& operator=(const sns_diag_island_tx_log& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_island_tx_log& operator=(sns_diag_island_tx_log&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_island_tx_log& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_island_tx_log* internal_default_instance() {
    return reinterpret_cast<const sns_diag_island_tx_log*>(
               &_sns_diag_island_tx_log_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    10;

  friend void swap(sns_diag_island_tx_log& a, sns_diag_island_tx_log& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_island_tx_log* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_island_tx_log* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_island_tx_log* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_island_tx_log>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_island_tx_log& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_island_tx_log& from) {
    sns_diag_island_tx_log::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_island_tx_log* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_island_tx_log";
  }
  protected:
  explicit sns_diag_island_tx_log(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kCookieFieldNumber = 2,
    kTotalIslandTimeFieldNumber = 3,
    kIslandStateFieldNumber = 1,
  };
  // optional fixed64 cookie = 2;
  bool has_cookie() const;
  private:
  bool _internal_has_cookie() const;
  public:
  void clear_cookie();
  uint64_t cookie() const;
  void set_cookie(uint64_t value);
  private:
  uint64_t _internal_cookie() const;
  void _internal_set_cookie(uint64_t value);
  public:

  // optional fixed64 total_island_time = 3;
  bool has_total_island_time() const;
  private:
  bool _internal_has_total_island_time() const;
  public:
  void clear_total_island_time();
  uint64_t total_island_time() const;
  void set_total_island_time(uint64_t value);
  private:
  uint64_t _internal_total_island_time() const;
  void _internal_set_total_island_time(uint64_t value);
  public:

  // optional .sns_diag_island_state island_state = 1;
  bool has_island_state() const;
  private:
  bool _internal_has_island_state() const;
  public:
  void clear_island_state();
  ::sns_diag_island_state island_state() const;
  void set_island_state(::sns_diag_island_state value);
  private:
  ::sns_diag_island_state _internal_island_state() const;
  void _internal_set_island_state(::sns_diag_island_state value);
  public:

  // @@protoc_insertion_point(class_scope:sns_diag_island_tx_log)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    uint64_t cookie_;
    uint64_t total_island_time_;
    int island_state_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_island_debug_log final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_island_debug_log) */ {
 public:
  inline sns_diag_island_debug_log() : sns_diag_island_debug_log(nullptr) {}
  ~sns_diag_island_debug_log() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_island_debug_log(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_island_debug_log& operator=(const sns_diag_island_debug_log& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_island_debug_log& operator=(sns_diag_island_debug_log&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_island_debug_log& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_island_debug_log* internal_default_instance() {
    return reinterpret_cast<const sns_diag_island_debug_log*>(
               &_sns_diag_island_debug_log_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    11;

  friend void swap(sns_diag_island_debug_log& a, sns_diag_island_debug_log& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_island_debug_log* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_island_debug_log* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_island_debug_log* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_island_debug_log>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_island_debug_log& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_island_debug_log& from) {
    sns_diag_island_debug_log::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_island_debug_log* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_island_debug_log";
  }
  protected:
  explicit sns_diag_island_debug_log(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kCallersFieldNumber = 3,
    kPreviousIslandStateFieldNumber = 1,
    kCurrentIslandStateFieldNumber = 2,
  };
  // repeated fixed32 callers = 3;
  int callers_size() const;
  private:
  int _internal_callers_size() const;
  public:
  void clear_callers();
  private:
  uint32_t _internal_callers(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
      _internal_callers() const;
  void _internal_add_callers(uint32_t value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
      _internal_mutable_callers();
  public:
  uint32_t callers(int index) const;
  void set_callers(int index, uint32_t value);
  void add_callers(uint32_t value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
      callers() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
      mutable_callers();

  // optional fixed32 previous_island_state = 1;
  bool has_previous_island_state() const;
  private:
  bool _internal_has_previous_island_state() const;
  public:
  void clear_previous_island_state();
  uint32_t previous_island_state() const;
  void set_previous_island_state(uint32_t value);
  private:
  uint32_t _internal_previous_island_state() const;
  void _internal_set_previous_island_state(uint32_t value);
  public:

  // optional fixed32 current_island_state = 2;
  bool has_current_island_state() const;
  private:
  bool _internal_has_current_island_state() const;
  public:
  void clear_current_island_state();
  uint32_t current_island_state() const;
  void set_current_island_state(uint32_t value);
  private:
  uint32_t _internal_current_island_state() const;
  void _internal_set_current_island_state(uint32_t value);
  public:

  // @@protoc_insertion_point(class_scope:sns_diag_island_debug_log)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > callers_;
    uint32_t previous_island_state_;
    uint32_t current_island_state_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_island_log final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_island_log) */ {
 public:
  inline sns_diag_island_log() : sns_diag_island_log(nullptr) {}
  ~sns_diag_island_log() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_island_log(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_island_log& operator=(const sns_diag_island_log& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_island_log& operator=(sns_diag_island_log&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_island_log& default_instance() {
    return *internal_default_instance();
  }
  enum SnsDiagIslandLogPayloadsCase {
    kLogPayload = 2,
    kDbgLogPayload = 3,
    SNS_DIAG_ISLAND_LOG_PAYLOADS_NOT_SET = 0,
  };

  static inline const sns_diag_island_log* internal_default_instance() {
    return reinterpret_cast<const sns_diag_island_log*>(
               &_sns_diag_island_log_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    12;

  friend void swap(sns_diag_island_log& a, sns_diag_island_log& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_island_log* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_island_log* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_island_log* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_island_log>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_island_log& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_island_log& from) {
    sns_diag_island_log::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_island_log* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_island_log";
  }
  protected:
  explicit sns_diag_island_log(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kTimestampFieldNumber = 1,
    kLogPayloadFieldNumber = 2,
    kDbgLogPayloadFieldNumber = 3,
  };
  // optional fixed64 timestamp = 1;
  bool has_timestamp() const;
  private:
  bool _internal_has_timestamp() const;
  public:
  void clear_timestamp();
  uint64_t timestamp() const;
  void set_timestamp(uint64_t value);
  private:
  uint64_t _internal_timestamp() const;
  void _internal_set_timestamp(uint64_t value);
  public:

  // .sns_diag_island_tx_log log_payload = 2;
  bool has_log_payload() const;
  private:
  bool _internal_has_log_payload() const;
  public:
  void clear_log_payload();
  const ::sns_diag_island_tx_log& log_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_island_tx_log* release_log_payload();
  ::sns_diag_island_tx_log* mutable_log_payload();
  void set_allocated_log_payload(::sns_diag_island_tx_log* log_payload);
  private:
  const ::sns_diag_island_tx_log& _internal_log_payload() const;
  ::sns_diag_island_tx_log* _internal_mutable_log_payload();
  public:
  void unsafe_arena_set_allocated_log_payload(
      ::sns_diag_island_tx_log* log_payload);
  ::sns_diag_island_tx_log* unsafe_arena_release_log_payload();

  // .sns_diag_island_debug_log dbg_log_payload = 3;
  bool has_dbg_log_payload() const;
  private:
  bool _internal_has_dbg_log_payload() const;
  public:
  void clear_dbg_log_payload();
  const ::sns_diag_island_debug_log& dbg_log_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_island_debug_log* release_dbg_log_payload();
  ::sns_diag_island_debug_log* mutable_dbg_log_payload();
  void set_allocated_dbg_log_payload(::sns_diag_island_debug_log* dbg_log_payload);
  private:
  const ::sns_diag_island_debug_log& _internal_dbg_log_payload() const;
  ::sns_diag_island_debug_log* _internal_mutable_dbg_log_payload();
  public:
  void unsafe_arena_set_allocated_dbg_log_payload(
      ::sns_diag_island_debug_log* dbg_log_payload);
  ::sns_diag_island_debug_log* unsafe_arena_release_dbg_log_payload();

  void clear_sns_diag_island_log_payloads();
  SnsDiagIslandLogPayloadsCase sns_diag_island_log_payloads_case() const;
  // @@protoc_insertion_point(class_scope:sns_diag_island_log)
 private:
  class _Internal;
  void set_has_log_payload();
  void set_has_dbg_log_payload();

  inline bool has_sns_diag_island_log_payloads() const;
  inline void clear_has_sns_diag_island_log_payloads();

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    uint64_t timestamp_;
    union SnsDiagIslandLogPayloadsUnion {
      constexpr SnsDiagIslandLogPayloadsUnion() : _constinit_{} {}
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
      ::sns_diag_island_tx_log* log_payload_;
      ::sns_diag_island_debug_log* dbg_log_payload_;
    } sns_diag_island_log_payloads_;
    uint32_t _oneof_case_[1];

  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_island_exit_vote_log final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_island_exit_vote_log) */ {
 public:
  inline sns_diag_island_exit_vote_log() : sns_diag_island_exit_vote_log(nullptr) {}
  ~sns_diag_island_exit_vote_log() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_island_exit_vote_log(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_island_exit_vote_log& operator=(const sns_diag_island_exit_vote_log& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_island_exit_vote_log& operator=(sns_diag_island_exit_vote_log&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_island_exit_vote_log& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_island_exit_vote_log* internal_default_instance() {
    return reinterpret_cast<const sns_diag_island_exit_vote_log*>(
               &_sns_diag_island_exit_vote_log_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    13;

  friend void swap(sns_diag_island_exit_vote_log& a, sns_diag_island_exit_vote_log& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_island_exit_vote_log* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_island_exit_vote_log* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_island_exit_vote_log* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_island_exit_vote_log>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_island_exit_vote_log& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_island_exit_vote_log& from) {
    sns_diag_island_exit_vote_log::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_island_exit_vote_log* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_island_exit_vote_log";
  }
  protected:
  explicit sns_diag_island_exit_vote_log(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kSensorFieldNumber = 2,
    kTimestampFieldNumber = 1,
  };
  // optional .sns_std_suid sensor = 2;
  bool has_sensor() const;
  private:
  bool _internal_has_sensor() const;
  public:
  void clear_sensor();
  const ::sns_std_suid& sensor() const;
  PROTOBUF_NODISCARD ::sns_std_suid* release_sensor();
  ::sns_std_suid* mutable_sensor();
  void set_allocated_sensor(::sns_std_suid* sensor);
  private:
  const ::sns_std_suid& _internal_sensor() const;
  ::sns_std_suid* _internal_mutable_sensor();
  public:
  void unsafe_arena_set_allocated_sensor(
      ::sns_std_suid* sensor);
  ::sns_std_suid* unsafe_arena_release_sensor();

  // required fixed64 timestamp = 1;
  bool has_timestamp() const;
  private:
  bool _internal_has_timestamp() const;
  public:
  void clear_timestamp();
  uint64_t timestamp() const;
  void set_timestamp(uint64_t value);
  private:
  uint64_t _internal_timestamp() const;
  void _internal_set_timestamp(uint64_t value);
  public:

  // @@protoc_insertion_point(class_scope:sns_diag_island_exit_vote_log)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::sns_std_suid* sensor_;
    uint64_t timestamp_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_mem_utilization_log final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_mem_utilization_log) */ {
 public:
  inline sns_diag_mem_utilization_log() : sns_diag_mem_utilization_log(nullptr) {}
  ~sns_diag_mem_utilization_log() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_mem_utilization_log(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_mem_utilization_log& operator=(const sns_diag_mem_utilization_log& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_mem_utilization_log& operator=(sns_diag_mem_utilization_log&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_mem_utilization_log& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_mem_utilization_log* internal_default_instance() {
    return reinterpret_cast<const sns_diag_mem_utilization_log*>(
               &_sns_diag_mem_utilization_log_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    14;

  friend void swap(sns_diag_mem_utilization_log& a, sns_diag_mem_utilization_log& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_mem_utilization_log* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_mem_utilization_log* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_mem_utilization_log* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_mem_utilization_log>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_mem_utilization_log& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_mem_utilization_log& from) {
    sns_diag_mem_utilization_log::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_mem_utilization_log* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_mem_utilization_log";
  }
  protected:
  explicit sns_diag_mem_utilization_log(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kTimestampFieldNumber = 1,
    kHeapIdFieldNumber = 2,
    kTotalMemoryFieldNumber = 3,
    kCookieFieldNumber = 5,
    kUsedMemoryFieldNumber = 4,
  };
  // required fixed64 timestamp = 1;
  bool has_timestamp() const;
  private:
  bool _internal_has_timestamp() const;
  public:
  void clear_timestamp();
  uint64_t timestamp() const;
  void set_timestamp(uint64_t value);
  private:
  uint64_t _internal_timestamp() const;
  void _internal_set_timestamp(uint64_t value);
  public:

  // required .sns_diag_heap_id heap_id = 2;
  bool has_heap_id() const;
  private:
  bool _internal_has_heap_id() const;
  public:
  void clear_heap_id();
  ::sns_diag_heap_id heap_id() const;
  void set_heap_id(::sns_diag_heap_id value);
  private:
  ::sns_diag_heap_id _internal_heap_id() const;
  void _internal_set_heap_id(::sns_diag_heap_id value);
  public:

  // required fixed32 total_memory = 3;
  bool has_total_memory() const;
  private:
  bool _internal_has_total_memory() const;
  public:
  void clear_total_memory();
  uint32_t total_memory() const;
  void set_total_memory(uint32_t value);
  private:
  uint32_t _internal_total_memory() const;
  void _internal_set_total_memory(uint32_t value);
  public:

  // optional fixed64 cookie = 5;
  bool has_cookie() const;
  private:
  bool _internal_has_cookie() const;
  public:
  void clear_cookie();
  uint64_t cookie() const;
  void set_cookie(uint64_t value);
  private:
  uint64_t _internal_cookie() const;
  void _internal_set_cookie(uint64_t value);
  public:

  // required fixed32 used_memory = 4;
  bool has_used_memory() const;
  private:
  bool _internal_has_used_memory() const;
  public:
  void clear_used_memory();
  uint32_t used_memory() const;
  void set_used_memory(uint32_t value);
  private:
  uint32_t _internal_used_memory() const;
  void _internal_set_used_memory(uint32_t value);
  public:

  // @@protoc_insertion_point(class_scope:sns_diag_mem_utilization_log)
 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_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    uint64_t timestamp_;
    int heap_id_;
    uint32_t total_memory_;
    uint64_t cookie_;
    uint32_t used_memory_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_event_service_log_heap_stats final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_event_service_log.heap_stats) */ {
 public:
  inline sns_diag_event_service_log_heap_stats() : sns_diag_event_service_log_heap_stats(nullptr) {}
  ~sns_diag_event_service_log_heap_stats() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_event_service_log_heap_stats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_event_service_log_heap_stats& operator=(const sns_diag_event_service_log_heap_stats& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_event_service_log_heap_stats& operator=(sns_diag_event_service_log_heap_stats&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_event_service_log_heap_stats& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_event_service_log_heap_stats* internal_default_instance() {
    return reinterpret_cast<const sns_diag_event_service_log_heap_stats*>(
               &_sns_diag_event_service_log_heap_stats_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    15;

  friend void swap(sns_diag_event_service_log_heap_stats& a, sns_diag_event_service_log_heap_stats& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_event_service_log_heap_stats* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_event_service_log_heap_stats* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_event_service_log_heap_stats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_event_service_log_heap_stats>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_event_service_log_heap_stats& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_event_service_log_heap_stats& from) {
    sns_diag_event_service_log_heap_stats::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_event_service_log_heap_stats* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_event_service_log.heap_stats";
  }
  protected:
  explicit sns_diag_event_service_log_heap_stats(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

  typedef sns_diag_event_service_log_heap_stats_sns_event_service_heap_id sns_event_service_heap_id;
  static constexpr sns_event_service_heap_id SNS_EVENT_SERVICE_HEAP_ID_ISLAND =
    sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_SNS_EVENT_SERVICE_HEAP_ID_ISLAND;
  static constexpr sns_event_service_heap_id SNS_EVENT_SERVICE_HEAP_ID_MAIN =
    sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_SNS_EVENT_SERVICE_HEAP_ID_MAIN;
  static inline bool sns_event_service_heap_id_IsValid(int value) {
    return sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_IsValid(value);
  }
  static constexpr sns_event_service_heap_id sns_event_service_heap_id_MIN =
    sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_sns_event_service_heap_id_MIN;
  static constexpr sns_event_service_heap_id sns_event_service_heap_id_MAX =
    sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_sns_event_service_heap_id_MAX;
  static constexpr int sns_event_service_heap_id_ARRAYSIZE =
    sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_sns_event_service_heap_id_ARRAYSIZE;
  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  sns_event_service_heap_id_descriptor() {
    return sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_descriptor();
  }
  template<typename T>
  static inline const std::string& sns_event_service_heap_id_Name(T enum_t_value) {
    static_assert(::std::is_same<T, sns_event_service_heap_id>::value ||
      ::std::is_integral<T>::value,
      "Incorrect type passed to function sns_event_service_heap_id_Name.");
    return sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_Name(enum_t_value);
  }
  static inline bool sns_event_service_heap_id_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
      sns_event_service_heap_id* value) {
    return sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_Parse(name, value);
  }

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

  enum : int {
    kHeapIdFieldNumber = 1,
    kTotalMemoryFieldNumber = 2,
    kUsedMemoryFieldNumber = 3,
    kMaxMemoryFieldNumber = 4,
    kTotalClustersFieldNumber = 5,
    kUsedClustersFieldNumber = 6,
    kMaxClustersFieldNumber = 7,
    kAllocFailuresFieldNumber = 8,
    kMaxSizeFieldNumber = 9,
  };
  // required .sns_diag_event_service_log.heap_stats.sns_event_service_heap_id heap_id = 1;
  bool has_heap_id() const;
  private:
  bool _internal_has_heap_id() const;
  public:
  void clear_heap_id();
  ::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id heap_id() const;
  void set_heap_id(::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id value);
  private:
  ::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id _internal_heap_id() const;
  void _internal_set_heap_id(::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id value);
  public:

  // required fixed32 total_memory = 2;
  bool has_total_memory() const;
  private:
  bool _internal_has_total_memory() const;
  public:
  void clear_total_memory();
  uint32_t total_memory() const;
  void set_total_memory(uint32_t value);
  private:
  uint32_t _internal_total_memory() const;
  void _internal_set_total_memory(uint32_t value);
  public:

  // required fixed32 used_memory = 3;
  bool has_used_memory() const;
  private:
  bool _internal_has_used_memory() const;
  public:
  void clear_used_memory();
  uint32_t used_memory() const;
  void set_used_memory(uint32_t value);
  private:
  uint32_t _internal_used_memory() const;
  void _internal_set_used_memory(uint32_t value);
  public:

  // required fixed32 max_memory = 4;
  bool has_max_memory() const;
  private:
  bool _internal_has_max_memory() const;
  public:
  void clear_max_memory();
  uint32_t max_memory() const;
  void set_max_memory(uint32_t value);
  private:
  uint32_t _internal_max_memory() const;
  void _internal_set_max_memory(uint32_t value);
  public:

  // required fixed32 total_clusters = 5;
  bool has_total_clusters() const;
  private:
  bool _internal_has_total_clusters() const;
  public:
  void clear_total_clusters();
  uint32_t total_clusters() const;
  void set_total_clusters(uint32_t value);
  private:
  uint32_t _internal_total_clusters() const;
  void _internal_set_total_clusters(uint32_t value);
  public:

  // required fixed32 used_clusters = 6;
  bool has_used_clusters() const;
  private:
  bool _internal_has_used_clusters() const;
  public:
  void clear_used_clusters();
  uint32_t used_clusters() const;
  void set_used_clusters(uint32_t value);
  private:
  uint32_t _internal_used_clusters() const;
  void _internal_set_used_clusters(uint32_t value);
  public:

  // required fixed32 max_clusters = 7;
  bool has_max_clusters() const;
  private:
  bool _internal_has_max_clusters() const;
  public:
  void clear_max_clusters();
  uint32_t max_clusters() const;
  void set_max_clusters(uint32_t value);
  private:
  uint32_t _internal_max_clusters() const;
  void _internal_set_max_clusters(uint32_t value);
  public:

  // required fixed32 alloc_failures = 8;
  bool has_alloc_failures() const;
  private:
  bool _internal_has_alloc_failures() const;
  public:
  void clear_alloc_failures();
  uint32_t alloc_failures() const;
  void set_alloc_failures(uint32_t value);
  private:
  uint32_t _internal_alloc_failures() const;
  void _internal_set_alloc_failures(uint32_t value);
  public:

  // required fixed32 max_size = 9;
  bool has_max_size() const;
  private:
  bool _internal_has_max_size() const;
  public:
  void clear_max_size();
  uint32_t max_size() const;
  void set_max_size(uint32_t value);
  private:
  uint32_t _internal_max_size() const;
  void _internal_set_max_size(uint32_t value);
  public:

  // @@protoc_insertion_point(class_scope:sns_diag_event_service_log.heap_stats)
 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_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    int heap_id_;
    uint32_t total_memory_;
    uint32_t used_memory_;
    uint32_t max_memory_;
    uint32_t total_clusters_;
    uint32_t used_clusters_;
    uint32_t max_clusters_;
    uint32_t alloc_failures_;
    uint32_t max_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_event_service_log final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_event_service_log) */ {
 public:
  inline sns_diag_event_service_log() : sns_diag_event_service_log(nullptr) {}
  ~sns_diag_event_service_log() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_event_service_log(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_event_service_log& operator=(const sns_diag_event_service_log& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_event_service_log& operator=(sns_diag_event_service_log&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_event_service_log& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_diag_event_service_log* internal_default_instance() {
    return reinterpret_cast<const sns_diag_event_service_log*>(
               &_sns_diag_event_service_log_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    16;

  friend void swap(sns_diag_event_service_log& a, sns_diag_event_service_log& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_event_service_log* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_event_service_log* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_event_service_log* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_event_service_log>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_event_service_log& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_event_service_log& from) {
    sns_diag_event_service_log::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_event_service_log* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_event_service_log";
  }
  protected:
  explicit sns_diag_event_service_log(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

  typedef sns_diag_event_service_log_heap_stats heap_stats;

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

  enum : int {
    kStatsFieldNumber = 3,
    kTimestampFieldNumber = 1,
    kCookieFieldNumber = 2,
  };
  // repeated .sns_diag_event_service_log.heap_stats stats = 3;
  int stats_size() const;
  private:
  int _internal_stats_size() const;
  public:
  void clear_stats();
  ::sns_diag_event_service_log_heap_stats* mutable_stats(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_diag_event_service_log_heap_stats >*
      mutable_stats();
  private:
  const ::sns_diag_event_service_log_heap_stats& _internal_stats(int index) const;
  ::sns_diag_event_service_log_heap_stats* _internal_add_stats();
  public:
  const ::sns_diag_event_service_log_heap_stats& stats(int index) const;
  ::sns_diag_event_service_log_heap_stats* add_stats();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_diag_event_service_log_heap_stats >&
      stats() const;

  // required fixed64 timestamp = 1;
  bool has_timestamp() const;
  private:
  bool _internal_has_timestamp() const;
  public:
  void clear_timestamp();
  uint64_t timestamp() const;
  void set_timestamp(uint64_t value);
  private:
  uint64_t _internal_timestamp() const;
  void _internal_set_timestamp(uint64_t value);
  public:

  // optional fixed64 cookie = 2;
  bool has_cookie() const;
  private:
  bool _internal_has_cookie() const;
  public:
  void clear_cookie();
  uint64_t cookie() const;
  void set_cookie(uint64_t value);
  private:
  uint64_t _internal_cookie() const;
  void _internal_set_cookie(uint64_t value);
  public:

  // @@protoc_insertion_point(class_scope:sns_diag_event_service_log)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_diag_event_service_log_heap_stats > stats_;
    uint64_t timestamp_;
    uint64_t cookie_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// -------------------------------------------------------------------

class sns_diag_fw_log final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_diag_fw_log) */ {
 public:
  inline sns_diag_fw_log() : sns_diag_fw_log(nullptr) {}
  ~sns_diag_fw_log() override;
  explicit PROTOBUF_CONSTEXPR sns_diag_fw_log(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_diag_fw_log& operator=(const sns_diag_fw_log& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_diag_fw_log& operator=(sns_diag_fw_log&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_diag_fw_log& default_instance() {
    return *internal_default_instance();
  }
  enum FwLogPayloadCase {
    kInstanceMapPayload = 100,
    kIslandModePayload = 101,
    kIslandExitVotePayload = 102,
    kMemoryUtilizationPayload = 103,
    kEventServicePayload = 104,
    kIslandPayload = 105,
    FW_LOG_PAYLOAD_NOT_SET = 0,
  };

  static inline const sns_diag_fw_log* internal_default_instance() {
    return reinterpret_cast<const sns_diag_fw_log*>(
               &_sns_diag_fw_log_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    17;

  friend void swap(sns_diag_fw_log& a, sns_diag_fw_log& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_diag_fw_log* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_diag_fw_log* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_diag_fw_log* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_diag_fw_log>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_diag_fw_log& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_diag_fw_log& from) {
    sns_diag_fw_log::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_diag_fw_log* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_diag_fw_log";
  }
  protected:
  explicit sns_diag_fw_log(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kTimestampFieldNumber = 2,
    kLogIdFieldNumber = 1,
    kInstanceMapPayloadFieldNumber = 100,
    kIslandModePayloadFieldNumber = 101,
    kIslandExitVotePayloadFieldNumber = 102,
    kMemoryUtilizationPayloadFieldNumber = 103,
    kEventServicePayloadFieldNumber = 104,
    kIslandPayloadFieldNumber = 105,
  };
  // required fixed64 timestamp = 2;
  bool has_timestamp() const;
  private:
  bool _internal_has_timestamp() const;
  public:
  void clear_timestamp();
  uint64_t timestamp() const;
  void set_timestamp(uint64_t value);
  private:
  uint64_t _internal_timestamp() const;
  void _internal_set_timestamp(uint64_t value);
  public:

  // required fixed32 log_id = 1;
  bool has_log_id() const;
  private:
  bool _internal_has_log_id() const;
  public:
  void clear_log_id();
  uint32_t log_id() const;
  void set_log_id(uint32_t value);
  private:
  uint32_t _internal_log_id() const;
  void _internal_set_log_id(uint32_t value);
  public:

  // .sns_diag_instance_map_log instance_map_payload = 100;
  bool has_instance_map_payload() const;
  private:
  bool _internal_has_instance_map_payload() const;
  public:
  void clear_instance_map_payload();
  const ::sns_diag_instance_map_log& instance_map_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_instance_map_log* release_instance_map_payload();
  ::sns_diag_instance_map_log* mutable_instance_map_payload();
  void set_allocated_instance_map_payload(::sns_diag_instance_map_log* instance_map_payload);
  private:
  const ::sns_diag_instance_map_log& _internal_instance_map_payload() const;
  ::sns_diag_instance_map_log* _internal_mutable_instance_map_payload();
  public:
  void unsafe_arena_set_allocated_instance_map_payload(
      ::sns_diag_instance_map_log* instance_map_payload);
  ::sns_diag_instance_map_log* unsafe_arena_release_instance_map_payload();

  // .sns_diag_island_transition_log island_mode_payload = 101;
  bool has_island_mode_payload() const;
  private:
  bool _internal_has_island_mode_payload() const;
  public:
  void clear_island_mode_payload();
  const ::sns_diag_island_transition_log& island_mode_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_island_transition_log* release_island_mode_payload();
  ::sns_diag_island_transition_log* mutable_island_mode_payload();
  void set_allocated_island_mode_payload(::sns_diag_island_transition_log* island_mode_payload);
  private:
  const ::sns_diag_island_transition_log& _internal_island_mode_payload() const;
  ::sns_diag_island_transition_log* _internal_mutable_island_mode_payload();
  public:
  void unsafe_arena_set_allocated_island_mode_payload(
      ::sns_diag_island_transition_log* island_mode_payload);
  ::sns_diag_island_transition_log* unsafe_arena_release_island_mode_payload();

  // .sns_diag_island_exit_vote_log island_exit_vote_payload = 102;
  bool has_island_exit_vote_payload() const;
  private:
  bool _internal_has_island_exit_vote_payload() const;
  public:
  void clear_island_exit_vote_payload();
  const ::sns_diag_island_exit_vote_log& island_exit_vote_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_island_exit_vote_log* release_island_exit_vote_payload();
  ::sns_diag_island_exit_vote_log* mutable_island_exit_vote_payload();
  void set_allocated_island_exit_vote_payload(::sns_diag_island_exit_vote_log* island_exit_vote_payload);
  private:
  const ::sns_diag_island_exit_vote_log& _internal_island_exit_vote_payload() const;
  ::sns_diag_island_exit_vote_log* _internal_mutable_island_exit_vote_payload();
  public:
  void unsafe_arena_set_allocated_island_exit_vote_payload(
      ::sns_diag_island_exit_vote_log* island_exit_vote_payload);
  ::sns_diag_island_exit_vote_log* unsafe_arena_release_island_exit_vote_payload();

  // .sns_diag_mem_utilization_log memory_utilization_payload = 103;
  bool has_memory_utilization_payload() const;
  private:
  bool _internal_has_memory_utilization_payload() const;
  public:
  void clear_memory_utilization_payload();
  const ::sns_diag_mem_utilization_log& memory_utilization_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_mem_utilization_log* release_memory_utilization_payload();
  ::sns_diag_mem_utilization_log* mutable_memory_utilization_payload();
  void set_allocated_memory_utilization_payload(::sns_diag_mem_utilization_log* memory_utilization_payload);
  private:
  const ::sns_diag_mem_utilization_log& _internal_memory_utilization_payload() const;
  ::sns_diag_mem_utilization_log* _internal_mutable_memory_utilization_payload();
  public:
  void unsafe_arena_set_allocated_memory_utilization_payload(
      ::sns_diag_mem_utilization_log* memory_utilization_payload);
  ::sns_diag_mem_utilization_log* unsafe_arena_release_memory_utilization_payload();

  // .sns_diag_event_service_log event_service_payload = 104;
  bool has_event_service_payload() const;
  private:
  bool _internal_has_event_service_payload() const;
  public:
  void clear_event_service_payload();
  const ::sns_diag_event_service_log& event_service_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_event_service_log* release_event_service_payload();
  ::sns_diag_event_service_log* mutable_event_service_payload();
  void set_allocated_event_service_payload(::sns_diag_event_service_log* event_service_payload);
  private:
  const ::sns_diag_event_service_log& _internal_event_service_payload() const;
  ::sns_diag_event_service_log* _internal_mutable_event_service_payload();
  public:
  void unsafe_arena_set_allocated_event_service_payload(
      ::sns_diag_event_service_log* event_service_payload);
  ::sns_diag_event_service_log* unsafe_arena_release_event_service_payload();

  // .sns_diag_island_log island_payload = 105;
  bool has_island_payload() const;
  private:
  bool _internal_has_island_payload() const;
  public:
  void clear_island_payload();
  const ::sns_diag_island_log& island_payload() const;
  PROTOBUF_NODISCARD ::sns_diag_island_log* release_island_payload();
  ::sns_diag_island_log* mutable_island_payload();
  void set_allocated_island_payload(::sns_diag_island_log* island_payload);
  private:
  const ::sns_diag_island_log& _internal_island_payload() const;
  ::sns_diag_island_log* _internal_mutable_island_payload();
  public:
  void unsafe_arena_set_allocated_island_payload(
      ::sns_diag_island_log* island_payload);
  ::sns_diag_island_log* unsafe_arena_release_island_payload();

  void clear_fw_log_payload();
  FwLogPayloadCase fw_log_payload_case() const;
  // @@protoc_insertion_point(class_scope:sns_diag_fw_log)
 private:
  class _Internal;
  void set_has_instance_map_payload();
  void set_has_island_mode_payload();
  void set_has_island_exit_vote_payload();
  void set_has_memory_utilization_payload();
  void set_has_event_service_payload();
  void set_has_island_payload();

  inline bool has_fw_log_payload() const;
  inline void clear_has_fw_log_payload();

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

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    uint64_t timestamp_;
    uint32_t log_id_;
    union FwLogPayloadUnion {
      constexpr FwLogPayloadUnion() : _constinit_{} {}
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
      ::sns_diag_instance_map_log* instance_map_payload_;
      ::sns_diag_island_transition_log* island_mode_payload_;
      ::sns_diag_island_exit_vote_log* island_exit_vote_payload_;
      ::sns_diag_mem_utilization_log* memory_utilization_payload_;
      ::sns_diag_event_service_log* event_service_payload_;
      ::sns_diag_island_log* island_payload_;
    } fw_log_payload_;
    uint32_t _oneof_case_[1];

  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdiag_2eproto;
};
// ===================================================================


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

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

// required bytes payload = 1;
inline bool sns_diag_opaque_payload::_internal_has_payload() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_opaque_payload::has_payload() const {
  return _internal_has_payload();
}
inline void sns_diag_opaque_payload::clear_payload() {
  _impl_.payload_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& sns_diag_opaque_payload::payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_opaque_payload.payload)
  return _internal_payload();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void sns_diag_opaque_payload::set_payload(ArgT0&& arg0, ArgT... args) {
 _impl_._has_bits_[0] |= 0x00000001u;
 _impl_.payload_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:sns_diag_opaque_payload.payload)
}
inline std::string* sns_diag_opaque_payload::mutable_payload() {
  std::string* _s = _internal_mutable_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_opaque_payload.payload)
  return _s;
}
inline const std::string& sns_diag_opaque_payload::_internal_payload() const {
  return _impl_.payload_.Get();
}
inline void sns_diag_opaque_payload::_internal_set_payload(const std::string& value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.payload_.Set(value, GetArenaForAllocation());
}
inline std::string* sns_diag_opaque_payload::_internal_mutable_payload() {
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.payload_.Mutable(GetArenaForAllocation());
}
inline std::string* sns_diag_opaque_payload::release_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_opaque_payload.payload)
  if (!_internal_has_payload()) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* p = _impl_.payload_.Release();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.payload_.IsDefault()) {
    _impl_.payload_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  return p;
}
inline void sns_diag_opaque_payload::set_allocated_payload(std::string* payload) {
  if (payload != nullptr) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.payload_.SetAllocated(payload, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.payload_.IsDefault()) {
    _impl_.payload_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:sns_diag_opaque_payload.payload)
}

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

// sns_diag_batch_sample

// required .sns_diag_batch_sample_type sample_type = 1 [default = SNS_DIAG_BATCH_SAMPLE_TYPE_ONLY];
inline bool sns_diag_batch_sample::_internal_has_sample_type() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_diag_batch_sample::has_sample_type() const {
  return _internal_has_sample_type();
}
inline void sns_diag_batch_sample::clear_sample_type() {
  _impl_.sample_type_ = 0;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline ::sns_diag_batch_sample_type sns_diag_batch_sample::_internal_sample_type() const {
  return static_cast< ::sns_diag_batch_sample_type >(_impl_.sample_type_);
}
inline ::sns_diag_batch_sample_type sns_diag_batch_sample::sample_type() const {
  // @@protoc_insertion_point(field_get:sns_diag_batch_sample.sample_type)
  return _internal_sample_type();
}
inline void sns_diag_batch_sample::_internal_set_sample_type(::sns_diag_batch_sample_type value) {
  assert(::sns_diag_batch_sample_type_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.sample_type_ = value;
}
inline void sns_diag_batch_sample::set_sample_type(::sns_diag_batch_sample_type value) {
  _internal_set_sample_type(value);
  // @@protoc_insertion_point(field_set:sns_diag_batch_sample.sample_type)
}

// required fixed64 timestamp = 2;
inline bool sns_diag_batch_sample::_internal_has_timestamp() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_batch_sample::has_timestamp() const {
  return _internal_has_timestamp();
}
inline void sns_diag_batch_sample::clear_timestamp() {
  _impl_.timestamp_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint64_t sns_diag_batch_sample::_internal_timestamp() const {
  return _impl_.timestamp_;
}
inline uint64_t sns_diag_batch_sample::timestamp() const {
  // @@protoc_insertion_point(field_get:sns_diag_batch_sample.timestamp)
  return _internal_timestamp();
}
inline void sns_diag_batch_sample::_internal_set_timestamp(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.timestamp_ = value;
}
inline void sns_diag_batch_sample::set_timestamp(uint64_t value) {
  _internal_set_timestamp(value);
  // @@protoc_insertion_point(field_set:sns_diag_batch_sample.timestamp)
}

// repeated float sample = 3;
inline int sns_diag_batch_sample::_internal_sample_size() const {
  return _impl_.sample_.size();
}
inline int sns_diag_batch_sample::sample_size() const {
  return _internal_sample_size();
}
inline void sns_diag_batch_sample::clear_sample() {
  _impl_.sample_.Clear();
}
inline float sns_diag_batch_sample::_internal_sample(int index) const {
  return _impl_.sample_.Get(index);
}
inline float sns_diag_batch_sample::sample(int index) const {
  // @@protoc_insertion_point(field_get:sns_diag_batch_sample.sample)
  return _internal_sample(index);
}
inline void sns_diag_batch_sample::set_sample(int index, float value) {
  _impl_.sample_.Set(index, value);
  // @@protoc_insertion_point(field_set:sns_diag_batch_sample.sample)
}
inline void sns_diag_batch_sample::_internal_add_sample(float value) {
  _impl_.sample_.Add(value);
}
inline void sns_diag_batch_sample::add_sample(float value) {
  _internal_add_sample(value);
  // @@protoc_insertion_point(field_add:sns_diag_batch_sample.sample)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
sns_diag_batch_sample::_internal_sample() const {
  return _impl_.sample_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
sns_diag_batch_sample::sample() const {
  // @@protoc_insertion_point(field_list:sns_diag_batch_sample.sample)
  return _internal_sample();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
sns_diag_batch_sample::_internal_mutable_sample() {
  return &_impl_.sample_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
sns_diag_batch_sample::mutable_sample() {
  // @@protoc_insertion_point(field_mutable_list:sns_diag_batch_sample.sample)
  return _internal_mutable_sample();
}

// required .sns_std_sensor_sample_status status = 4 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE];
inline bool sns_diag_batch_sample::_internal_has_status() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool sns_diag_batch_sample::has_status() const {
  return _internal_has_status();
}
inline void sns_diag_batch_sample::clear_status() {
  _impl_.status_ = 0;
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline ::sns_std_sensor_sample_status sns_diag_batch_sample::_internal_status() const {
  return static_cast< ::sns_std_sensor_sample_status >(_impl_.status_);
}
inline ::sns_std_sensor_sample_status sns_diag_batch_sample::status() const {
  // @@protoc_insertion_point(field_get:sns_diag_batch_sample.status)
  return _internal_status();
}
inline void sns_diag_batch_sample::_internal_set_status(::sns_std_sensor_sample_status value) {
  assert(::sns_std_sensor_sample_status_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000004u;
  _impl_.status_ = value;
}
inline void sns_diag_batch_sample::set_status(::sns_std_sensor_sample_status value) {
  _internal_set_status(value);
  // @@protoc_insertion_point(field_set:sns_diag_batch_sample.status)
}

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

// sns_diag_sensor_state_interrupt

// required .sns_diag_interrupt interrupt = 1;
inline bool sns_diag_sensor_state_interrupt::_internal_has_interrupt() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_diag_sensor_state_interrupt::has_interrupt() const {
  return _internal_has_interrupt();
}
inline void sns_diag_sensor_state_interrupt::clear_interrupt() {
  _impl_.interrupt_ = 0;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline ::sns_diag_interrupt sns_diag_sensor_state_interrupt::_internal_interrupt() const {
  return static_cast< ::sns_diag_interrupt >(_impl_.interrupt_);
}
inline ::sns_diag_interrupt sns_diag_sensor_state_interrupt::interrupt() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_state_interrupt.interrupt)
  return _internal_interrupt();
}
inline void sns_diag_sensor_state_interrupt::_internal_set_interrupt(::sns_diag_interrupt value) {
  assert(::sns_diag_interrupt_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.interrupt_ = value;
}
inline void sns_diag_sensor_state_interrupt::set_interrupt(::sns_diag_interrupt value) {
  _internal_set_interrupt(value);
  // @@protoc_insertion_point(field_set:sns_diag_sensor_state_interrupt.interrupt)
}

// required fixed64 timestamp = 2;
inline bool sns_diag_sensor_state_interrupt::_internal_has_timestamp() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_sensor_state_interrupt::has_timestamp() const {
  return _internal_has_timestamp();
}
inline void sns_diag_sensor_state_interrupt::clear_timestamp() {
  _impl_.timestamp_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint64_t sns_diag_sensor_state_interrupt::_internal_timestamp() const {
  return _impl_.timestamp_;
}
inline uint64_t sns_diag_sensor_state_interrupt::timestamp() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_state_interrupt.timestamp)
  return _internal_timestamp();
}
inline void sns_diag_sensor_state_interrupt::_internal_set_timestamp(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.timestamp_ = value;
}
inline void sns_diag_sensor_state_interrupt::set_timestamp(uint64_t value) {
  _internal_set_timestamp(value);
  // @@protoc_insertion_point(field_set:sns_diag_sensor_state_interrupt.timestamp)
}

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

// sns_diag_sensor_state_raw

// repeated .sns_diag_batch_sample sample = 1;
inline int sns_diag_sensor_state_raw::_internal_sample_size() const {
  return _impl_.sample_.size();
}
inline int sns_diag_sensor_state_raw::sample_size() const {
  return _internal_sample_size();
}
inline void sns_diag_sensor_state_raw::clear_sample() {
  _impl_.sample_.Clear();
}
inline ::sns_diag_batch_sample* sns_diag_sensor_state_raw::mutable_sample(int index) {
  // @@protoc_insertion_point(field_mutable:sns_diag_sensor_state_raw.sample)
  return _impl_.sample_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_diag_batch_sample >*
sns_diag_sensor_state_raw::mutable_sample() {
  // @@protoc_insertion_point(field_mutable_list:sns_diag_sensor_state_raw.sample)
  return &_impl_.sample_;
}
inline const ::sns_diag_batch_sample& sns_diag_sensor_state_raw::_internal_sample(int index) const {
  return _impl_.sample_.Get(index);
}
inline const ::sns_diag_batch_sample& sns_diag_sensor_state_raw::sample(int index) const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_state_raw.sample)
  return _internal_sample(index);
}
inline ::sns_diag_batch_sample* sns_diag_sensor_state_raw::_internal_add_sample() {
  return _impl_.sample_.Add();
}
inline ::sns_diag_batch_sample* sns_diag_sensor_state_raw::add_sample() {
  ::sns_diag_batch_sample* _add = _internal_add_sample();
  // @@protoc_insertion_point(field_add:sns_diag_sensor_state_raw.sample)
  return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_diag_batch_sample >&
sns_diag_sensor_state_raw::sample() const {
  // @@protoc_insertion_point(field_list:sns_diag_sensor_state_raw.sample)
  return _impl_.sample_;
}

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

// sns_diag_client_resp_msg

// required .sns_std_error error = 1;
inline bool sns_diag_client_resp_msg::_internal_has_error() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_client_resp_msg::has_error() const {
  return _internal_has_error();
}
inline void sns_diag_client_resp_msg::clear_error() {
  _impl_.error_ = 0;
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline ::sns_std_error sns_diag_client_resp_msg::_internal_error() const {
  return static_cast< ::sns_std_error >(_impl_.error_);
}
inline ::sns_std_error sns_diag_client_resp_msg::error() const {
  // @@protoc_insertion_point(field_get:sns_diag_client_resp_msg.error)
  return _internal_error();
}
inline void sns_diag_client_resp_msg::_internal_set_error(::sns_std_error value) {
  assert(::sns_std_error_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.error_ = value;
}
inline void sns_diag_client_resp_msg::set_error(::sns_std_error value) {
  _internal_set_error(value);
  // @@protoc_insertion_point(field_set:sns_diag_client_resp_msg.error)
}

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

// sns_diag_client_api_log

// required fixed64 client_id = 1;
inline bool sns_diag_client_api_log::_internal_has_client_id() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_diag_client_api_log::has_client_id() const {
  return _internal_has_client_id();
}
inline void sns_diag_client_api_log::clear_client_id() {
  _impl_.client_id_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint64_t sns_diag_client_api_log::_internal_client_id() const {
  return _impl_.client_id_;
}
inline uint64_t sns_diag_client_api_log::client_id() const {
  // @@protoc_insertion_point(field_get:sns_diag_client_api_log.client_id)
  return _internal_client_id();
}
inline void sns_diag_client_api_log::_internal_set_client_id(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.client_id_ = value;
}
inline void sns_diag_client_api_log::set_client_id(uint64_t value) {
  _internal_set_client_id(value);
  // @@protoc_insertion_point(field_set:sns_diag_client_api_log.client_id)
}

// required string src_sensor_type = 2;
inline bool sns_diag_client_api_log::_internal_has_src_sensor_type() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_client_api_log::has_src_sensor_type() const {
  return _internal_has_src_sensor_type();
}
inline void sns_diag_client_api_log::clear_src_sensor_type() {
  _impl_.src_sensor_type_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& sns_diag_client_api_log::src_sensor_type() const {
  // @@protoc_insertion_point(field_get:sns_diag_client_api_log.src_sensor_type)
  return _internal_src_sensor_type();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void sns_diag_client_api_log::set_src_sensor_type(ArgT0&& arg0, ArgT... args) {
 _impl_._has_bits_[0] |= 0x00000001u;
 _impl_.src_sensor_type_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:sns_diag_client_api_log.src_sensor_type)
}
inline std::string* sns_diag_client_api_log::mutable_src_sensor_type() {
  std::string* _s = _internal_mutable_src_sensor_type();
  // @@protoc_insertion_point(field_mutable:sns_diag_client_api_log.src_sensor_type)
  return _s;
}
inline const std::string& sns_diag_client_api_log::_internal_src_sensor_type() const {
  return _impl_.src_sensor_type_.Get();
}
inline void sns_diag_client_api_log::_internal_set_src_sensor_type(const std::string& value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.src_sensor_type_.Set(value, GetArenaForAllocation());
}
inline std::string* sns_diag_client_api_log::_internal_mutable_src_sensor_type() {
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.src_sensor_type_.Mutable(GetArenaForAllocation());
}
inline std::string* sns_diag_client_api_log::release_src_sensor_type() {
  // @@protoc_insertion_point(field_release:sns_diag_client_api_log.src_sensor_type)
  if (!_internal_has_src_sensor_type()) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* p = _impl_.src_sensor_type_.Release();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.src_sensor_type_.IsDefault()) {
    _impl_.src_sensor_type_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  return p;
}
inline void sns_diag_client_api_log::set_allocated_src_sensor_type(std::string* src_sensor_type) {
  if (src_sensor_type != nullptr) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.src_sensor_type_.SetAllocated(src_sensor_type, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.src_sensor_type_.IsDefault()) {
    _impl_.src_sensor_type_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:sns_diag_client_api_log.src_sensor_type)
}

// .sns_client_request_msg request_payload = 100;
inline bool sns_diag_client_api_log::_internal_has_request_payload() const {
  return client_api_log_payload_case() == kRequestPayload;
}
inline bool sns_diag_client_api_log::has_request_payload() const {
  return _internal_has_request_payload();
}
inline void sns_diag_client_api_log::set_has_request_payload() {
  _impl_._oneof_case_[0] = kRequestPayload;
}
inline ::sns_client_request_msg* sns_diag_client_api_log::release_request_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_client_api_log.request_payload)
  if (_internal_has_request_payload()) {
    clear_has_client_api_log_payload();
    ::sns_client_request_msg* temp = _impl_.client_api_log_payload_.request_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.client_api_log_payload_.request_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_client_request_msg& sns_diag_client_api_log::_internal_request_payload() const {
  return _internal_has_request_payload()
      ? *_impl_.client_api_log_payload_.request_payload_
      : reinterpret_cast< ::sns_client_request_msg&>(::_sns_client_request_msg_default_instance_);
}
inline const ::sns_client_request_msg& sns_diag_client_api_log::request_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_client_api_log.request_payload)
  return _internal_request_payload();
}
inline ::sns_client_request_msg* sns_diag_client_api_log::unsafe_arena_release_request_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_client_api_log.request_payload)
  if (_internal_has_request_payload()) {
    clear_has_client_api_log_payload();
    ::sns_client_request_msg* temp = _impl_.client_api_log_payload_.request_payload_;
    _impl_.client_api_log_payload_.request_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_client_api_log::unsafe_arena_set_allocated_request_payload(::sns_client_request_msg* request_payload) {
  clear_client_api_log_payload();
  if (request_payload) {
    set_has_request_payload();
    _impl_.client_api_log_payload_.request_payload_ = request_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_client_api_log.request_payload)
}
inline ::sns_client_request_msg* sns_diag_client_api_log::_internal_mutable_request_payload() {
  if (!_internal_has_request_payload()) {
    clear_client_api_log_payload();
    set_has_request_payload();
    _impl_.client_api_log_payload_.request_payload_ = CreateMaybeMessage< ::sns_client_request_msg >(GetArenaForAllocation());
  }
  return _impl_.client_api_log_payload_.request_payload_;
}
inline ::sns_client_request_msg* sns_diag_client_api_log::mutable_request_payload() {
  ::sns_client_request_msg* _msg = _internal_mutable_request_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_client_api_log.request_payload)
  return _msg;
}

// .sns_client_event_msg event_payload = 101;
inline bool sns_diag_client_api_log::_internal_has_event_payload() const {
  return client_api_log_payload_case() == kEventPayload;
}
inline bool sns_diag_client_api_log::has_event_payload() const {
  return _internal_has_event_payload();
}
inline void sns_diag_client_api_log::set_has_event_payload() {
  _impl_._oneof_case_[0] = kEventPayload;
}
inline ::sns_client_event_msg* sns_diag_client_api_log::release_event_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_client_api_log.event_payload)
  if (_internal_has_event_payload()) {
    clear_has_client_api_log_payload();
    ::sns_client_event_msg* temp = _impl_.client_api_log_payload_.event_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.client_api_log_payload_.event_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_client_event_msg& sns_diag_client_api_log::_internal_event_payload() const {
  return _internal_has_event_payload()
      ? *_impl_.client_api_log_payload_.event_payload_
      : reinterpret_cast< ::sns_client_event_msg&>(::_sns_client_event_msg_default_instance_);
}
inline const ::sns_client_event_msg& sns_diag_client_api_log::event_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_client_api_log.event_payload)
  return _internal_event_payload();
}
inline ::sns_client_event_msg* sns_diag_client_api_log::unsafe_arena_release_event_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_client_api_log.event_payload)
  if (_internal_has_event_payload()) {
    clear_has_client_api_log_payload();
    ::sns_client_event_msg* temp = _impl_.client_api_log_payload_.event_payload_;
    _impl_.client_api_log_payload_.event_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_client_api_log::unsafe_arena_set_allocated_event_payload(::sns_client_event_msg* event_payload) {
  clear_client_api_log_payload();
  if (event_payload) {
    set_has_event_payload();
    _impl_.client_api_log_payload_.event_payload_ = event_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_client_api_log.event_payload)
}
inline ::sns_client_event_msg* sns_diag_client_api_log::_internal_mutable_event_payload() {
  if (!_internal_has_event_payload()) {
    clear_client_api_log_payload();
    set_has_event_payload();
    _impl_.client_api_log_payload_.event_payload_ = CreateMaybeMessage< ::sns_client_event_msg >(GetArenaForAllocation());
  }
  return _impl_.client_api_log_payload_.event_payload_;
}
inline ::sns_client_event_msg* sns_diag_client_api_log::mutable_event_payload() {
  ::sns_client_event_msg* _msg = _internal_mutable_event_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_client_api_log.event_payload)
  return _msg;
}

// .sns_diag_client_resp_msg resp_payload = 102;
inline bool sns_diag_client_api_log::_internal_has_resp_payload() const {
  return client_api_log_payload_case() == kRespPayload;
}
inline bool sns_diag_client_api_log::has_resp_payload() const {
  return _internal_has_resp_payload();
}
inline void sns_diag_client_api_log::set_has_resp_payload() {
  _impl_._oneof_case_[0] = kRespPayload;
}
inline void sns_diag_client_api_log::clear_resp_payload() {
  if (_internal_has_resp_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.client_api_log_payload_.resp_payload_;
    }
    clear_has_client_api_log_payload();
  }
}
inline ::sns_diag_client_resp_msg* sns_diag_client_api_log::release_resp_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_client_api_log.resp_payload)
  if (_internal_has_resp_payload()) {
    clear_has_client_api_log_payload();
    ::sns_diag_client_resp_msg* temp = _impl_.client_api_log_payload_.resp_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.client_api_log_payload_.resp_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_client_resp_msg& sns_diag_client_api_log::_internal_resp_payload() const {
  return _internal_has_resp_payload()
      ? *_impl_.client_api_log_payload_.resp_payload_
      : reinterpret_cast< ::sns_diag_client_resp_msg&>(::_sns_diag_client_resp_msg_default_instance_);
}
inline const ::sns_diag_client_resp_msg& sns_diag_client_api_log::resp_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_client_api_log.resp_payload)
  return _internal_resp_payload();
}
inline ::sns_diag_client_resp_msg* sns_diag_client_api_log::unsafe_arena_release_resp_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_client_api_log.resp_payload)
  if (_internal_has_resp_payload()) {
    clear_has_client_api_log_payload();
    ::sns_diag_client_resp_msg* temp = _impl_.client_api_log_payload_.resp_payload_;
    _impl_.client_api_log_payload_.resp_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_client_api_log::unsafe_arena_set_allocated_resp_payload(::sns_diag_client_resp_msg* resp_payload) {
  clear_client_api_log_payload();
  if (resp_payload) {
    set_has_resp_payload();
    _impl_.client_api_log_payload_.resp_payload_ = resp_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_client_api_log.resp_payload)
}
inline ::sns_diag_client_resp_msg* sns_diag_client_api_log::_internal_mutable_resp_payload() {
  if (!_internal_has_resp_payload()) {
    clear_client_api_log_payload();
    set_has_resp_payload();
    _impl_.client_api_log_payload_.resp_payload_ = CreateMaybeMessage< ::sns_diag_client_resp_msg >(GetArenaForAllocation());
  }
  return _impl_.client_api_log_payload_.resp_payload_;
}
inline ::sns_diag_client_resp_msg* sns_diag_client_api_log::mutable_resp_payload() {
  ::sns_diag_client_resp_msg* _msg = _internal_mutable_resp_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_client_api_log.resp_payload)
  return _msg;
}

inline bool sns_diag_client_api_log::has_client_api_log_payload() const {
  return client_api_log_payload_case() != CLIENT_API_LOG_PAYLOAD_NOT_SET;
}
inline void sns_diag_client_api_log::clear_has_client_api_log_payload() {
  _impl_._oneof_case_[0] = CLIENT_API_LOG_PAYLOAD_NOT_SET;
}
inline sns_diag_client_api_log::ClientApiLogPayloadCase sns_diag_client_api_log::client_api_log_payload_case() const {
  return sns_diag_client_api_log::ClientApiLogPayloadCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// sns_diag_sensor_api_log

// required fixed32 message_id = 1;
inline bool sns_diag_sensor_api_log::_internal_has_message_id() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool sns_diag_sensor_api_log::has_message_id() const {
  return _internal_has_message_id();
}
inline void sns_diag_sensor_api_log::clear_message_id() {
  _impl_.message_id_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline uint32_t sns_diag_sensor_api_log::_internal_message_id() const {
  return _impl_.message_id_;
}
inline uint32_t sns_diag_sensor_api_log::message_id() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_api_log.message_id)
  return _internal_message_id();
}
inline void sns_diag_sensor_api_log::_internal_set_message_id(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000004u;
  _impl_.message_id_ = value;
}
inline void sns_diag_sensor_api_log::set_message_id(uint32_t value) {
  _internal_set_message_id(value);
  // @@protoc_insertion_point(field_set:sns_diag_sensor_api_log.message_id)
}

// required fixed64 timestamp = 2;
inline bool sns_diag_sensor_api_log::_internal_has_timestamp() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_sensor_api_log::has_timestamp() const {
  return _internal_has_timestamp();
}
inline void sns_diag_sensor_api_log::clear_timestamp() {
  _impl_.timestamp_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint64_t sns_diag_sensor_api_log::_internal_timestamp() const {
  return _impl_.timestamp_;
}
inline uint64_t sns_diag_sensor_api_log::timestamp() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_api_log.timestamp)
  return _internal_timestamp();
}
inline void sns_diag_sensor_api_log::_internal_set_timestamp(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.timestamp_ = value;
}
inline void sns_diag_sensor_api_log::set_timestamp(uint64_t value) {
  _internal_set_timestamp(value);
  // @@protoc_insertion_point(field_set:sns_diag_sensor_api_log.timestamp)
}

// optional fixed64 stream_id = 3;
inline bool sns_diag_sensor_api_log::_internal_has_stream_id() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_diag_sensor_api_log::has_stream_id() const {
  return _internal_has_stream_id();
}
inline void sns_diag_sensor_api_log::clear_stream_id() {
  _impl_.stream_id_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint64_t sns_diag_sensor_api_log::_internal_stream_id() const {
  return _impl_.stream_id_;
}
inline uint64_t sns_diag_sensor_api_log::stream_id() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_api_log.stream_id)
  return _internal_stream_id();
}
inline void sns_diag_sensor_api_log::_internal_set_stream_id(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.stream_id_ = value;
}
inline void sns_diag_sensor_api_log::set_stream_id(uint64_t value) {
  _internal_set_stream_id(value);
  // @@protoc_insertion_point(field_set:sns_diag_sensor_api_log.stream_id)
}

// .sns_diag_opaque_payload opaque_payload = 100;
inline bool sns_diag_sensor_api_log::_internal_has_opaque_payload() const {
  return sensor_api_log_payload_case() == kOpaquePayload;
}
inline bool sns_diag_sensor_api_log::has_opaque_payload() const {
  return _internal_has_opaque_payload();
}
inline void sns_diag_sensor_api_log::set_has_opaque_payload() {
  _impl_._oneof_case_[0] = kOpaquePayload;
}
inline void sns_diag_sensor_api_log::clear_opaque_payload() {
  if (_internal_has_opaque_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.sensor_api_log_payload_.opaque_payload_;
    }
    clear_has_sensor_api_log_payload();
  }
}
inline ::sns_diag_opaque_payload* sns_diag_sensor_api_log::release_opaque_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_sensor_api_log.opaque_payload)
  if (_internal_has_opaque_payload()) {
    clear_has_sensor_api_log_payload();
    ::sns_diag_opaque_payload* temp = _impl_.sensor_api_log_payload_.opaque_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.sensor_api_log_payload_.opaque_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_opaque_payload& sns_diag_sensor_api_log::_internal_opaque_payload() const {
  return _internal_has_opaque_payload()
      ? *_impl_.sensor_api_log_payload_.opaque_payload_
      : reinterpret_cast< ::sns_diag_opaque_payload&>(::_sns_diag_opaque_payload_default_instance_);
}
inline const ::sns_diag_opaque_payload& sns_diag_sensor_api_log::opaque_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_api_log.opaque_payload)
  return _internal_opaque_payload();
}
inline ::sns_diag_opaque_payload* sns_diag_sensor_api_log::unsafe_arena_release_opaque_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_sensor_api_log.opaque_payload)
  if (_internal_has_opaque_payload()) {
    clear_has_sensor_api_log_payload();
    ::sns_diag_opaque_payload* temp = _impl_.sensor_api_log_payload_.opaque_payload_;
    _impl_.sensor_api_log_payload_.opaque_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_sensor_api_log::unsafe_arena_set_allocated_opaque_payload(::sns_diag_opaque_payload* opaque_payload) {
  clear_sensor_api_log_payload();
  if (opaque_payload) {
    set_has_opaque_payload();
    _impl_.sensor_api_log_payload_.opaque_payload_ = opaque_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_sensor_api_log.opaque_payload)
}
inline ::sns_diag_opaque_payload* sns_diag_sensor_api_log::_internal_mutable_opaque_payload() {
  if (!_internal_has_opaque_payload()) {
    clear_sensor_api_log_payload();
    set_has_opaque_payload();
    _impl_.sensor_api_log_payload_.opaque_payload_ = CreateMaybeMessage< ::sns_diag_opaque_payload >(GetArenaForAllocation());
  }
  return _impl_.sensor_api_log_payload_.opaque_payload_;
}
inline ::sns_diag_opaque_payload* sns_diag_sensor_api_log::mutable_opaque_payload() {
  ::sns_diag_opaque_payload* _msg = _internal_mutable_opaque_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_sensor_api_log.opaque_payload)
  return _msg;
}

// .sns_std_request request_payload = 101;
inline bool sns_diag_sensor_api_log::_internal_has_request_payload() const {
  return sensor_api_log_payload_case() == kRequestPayload;
}
inline bool sns_diag_sensor_api_log::has_request_payload() const {
  return _internal_has_request_payload();
}
inline void sns_diag_sensor_api_log::set_has_request_payload() {
  _impl_._oneof_case_[0] = kRequestPayload;
}
inline ::sns_std_request* sns_diag_sensor_api_log::release_request_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_sensor_api_log.request_payload)
  if (_internal_has_request_payload()) {
    clear_has_sensor_api_log_payload();
    ::sns_std_request* temp = _impl_.sensor_api_log_payload_.request_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.sensor_api_log_payload_.request_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_std_request& sns_diag_sensor_api_log::_internal_request_payload() const {
  return _internal_has_request_payload()
      ? *_impl_.sensor_api_log_payload_.request_payload_
      : reinterpret_cast< ::sns_std_request&>(::_sns_std_request_default_instance_);
}
inline const ::sns_std_request& sns_diag_sensor_api_log::request_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_api_log.request_payload)
  return _internal_request_payload();
}
inline ::sns_std_request* sns_diag_sensor_api_log::unsafe_arena_release_request_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_sensor_api_log.request_payload)
  if (_internal_has_request_payload()) {
    clear_has_sensor_api_log_payload();
    ::sns_std_request* temp = _impl_.sensor_api_log_payload_.request_payload_;
    _impl_.sensor_api_log_payload_.request_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_sensor_api_log::unsafe_arena_set_allocated_request_payload(::sns_std_request* request_payload) {
  clear_sensor_api_log_payload();
  if (request_payload) {
    set_has_request_payload();
    _impl_.sensor_api_log_payload_.request_payload_ = request_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_sensor_api_log.request_payload)
}
inline ::sns_std_request* sns_diag_sensor_api_log::_internal_mutable_request_payload() {
  if (!_internal_has_request_payload()) {
    clear_sensor_api_log_payload();
    set_has_request_payload();
    _impl_.sensor_api_log_payload_.request_payload_ = CreateMaybeMessage< ::sns_std_request >(GetArenaForAllocation());
  }
  return _impl_.sensor_api_log_payload_.request_payload_;
}
inline ::sns_std_request* sns_diag_sensor_api_log::mutable_request_payload() {
  ::sns_std_request* _msg = _internal_mutable_request_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_sensor_api_log.request_payload)
  return _msg;
}

inline bool sns_diag_sensor_api_log::has_sensor_api_log_payload() const {
  return sensor_api_log_payload_case() != SENSOR_API_LOG_PAYLOAD_NOT_SET;
}
inline void sns_diag_sensor_api_log::clear_has_sensor_api_log_payload() {
  _impl_._oneof_case_[0] = SENSOR_API_LOG_PAYLOAD_NOT_SET;
}
inline sns_diag_sensor_api_log::SensorApiLogPayloadCase sns_diag_sensor_api_log::sensor_api_log_payload_case() const {
  return sns_diag_sensor_api_log::SensorApiLogPayloadCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// sns_diag_sensor_log

// required fixed32 log_id = 1;
inline bool sns_diag_sensor_log::_internal_has_log_id() const {
  bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
  return value;
}
inline bool sns_diag_sensor_log::has_log_id() const {
  return _internal_has_log_id();
}
inline void sns_diag_sensor_log::clear_log_id() {
  _impl_.log_id_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000010u;
}
inline uint32_t sns_diag_sensor_log::_internal_log_id() const {
  return _impl_.log_id_;
}
inline uint32_t sns_diag_sensor_log::log_id() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_log.log_id)
  return _internal_log_id();
}
inline void sns_diag_sensor_log::_internal_set_log_id(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000010u;
  _impl_.log_id_ = value;
}
inline void sns_diag_sensor_log::set_log_id(uint32_t value) {
  _internal_set_log_id(value);
  // @@protoc_insertion_point(field_set:sns_diag_sensor_log.log_id)
}

// required fixed64 timestamp = 2;
inline bool sns_diag_sensor_log::_internal_has_timestamp() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool sns_diag_sensor_log::has_timestamp() const {
  return _internal_has_timestamp();
}
inline void sns_diag_sensor_log::clear_timestamp() {
  _impl_.timestamp_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline uint64_t sns_diag_sensor_log::_internal_timestamp() const {
  return _impl_.timestamp_;
}
inline uint64_t sns_diag_sensor_log::timestamp() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_log.timestamp)
  return _internal_timestamp();
}
inline void sns_diag_sensor_log::_internal_set_timestamp(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000004u;
  _impl_.timestamp_ = value;
}
inline void sns_diag_sensor_log::set_timestamp(uint64_t value) {
  _internal_set_timestamp(value);
  // @@protoc_insertion_point(field_set:sns_diag_sensor_log.timestamp)
}

// required .sns_std_suid suid = 3;
inline bool sns_diag_sensor_log::_internal_has_suid() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.suid_ != nullptr);
  return value;
}
inline bool sns_diag_sensor_log::has_suid() const {
  return _internal_has_suid();
}
inline const ::sns_std_suid& sns_diag_sensor_log::_internal_suid() const {
  const ::sns_std_suid* p = _impl_.suid_;
  return p != nullptr ? *p : reinterpret_cast<const ::sns_std_suid&>(
      ::_sns_std_suid_default_instance_);
}
inline const ::sns_std_suid& sns_diag_sensor_log::suid() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_log.suid)
  return _internal_suid();
}
inline void sns_diag_sensor_log::unsafe_arena_set_allocated_suid(
    ::sns_std_suid* suid) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.suid_);
  }
  _impl_.suid_ = suid;
  if (suid) {
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_sensor_log.suid)
}
inline ::sns_std_suid* sns_diag_sensor_log::release_suid() {
  _impl_._has_bits_[0] &= ~0x00000002u;
  ::sns_std_suid* temp = _impl_.suid_;
  _impl_.suid_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::sns_std_suid* sns_diag_sensor_log::unsafe_arena_release_suid() {
  // @@protoc_insertion_point(field_release:sns_diag_sensor_log.suid)
  _impl_._has_bits_[0] &= ~0x00000002u;
  ::sns_std_suid* temp = _impl_.suid_;
  _impl_.suid_ = nullptr;
  return temp;
}
inline ::sns_std_suid* sns_diag_sensor_log::_internal_mutable_suid() {
  _impl_._has_bits_[0] |= 0x00000002u;
  if (_impl_.suid_ == nullptr) {
    auto* p = CreateMaybeMessage<::sns_std_suid>(GetArenaForAllocation());
    _impl_.suid_ = p;
  }
  return _impl_.suid_;
}
inline ::sns_std_suid* sns_diag_sensor_log::mutable_suid() {
  ::sns_std_suid* _msg = _internal_mutable_suid();
  // @@protoc_insertion_point(field_mutable:sns_diag_sensor_log.suid)
  return _msg;
}
inline void sns_diag_sensor_log::set_allocated_suid(::sns_std_suid* suid) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.suid_);
  }
  if (suid) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
                reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(suid));
    if (message_arena != submessage_arena) {
      suid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, suid, submessage_arena);
    }
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  _impl_.suid_ = suid;
  // @@protoc_insertion_point(field_set_allocated:sns_diag_sensor_log.suid)
}

// required string sensor_type = 4;
inline bool sns_diag_sensor_log::_internal_has_sensor_type() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_sensor_log::has_sensor_type() const {
  return _internal_has_sensor_type();
}
inline void sns_diag_sensor_log::clear_sensor_type() {
  _impl_.sensor_type_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& sns_diag_sensor_log::sensor_type() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_log.sensor_type)
  return _internal_sensor_type();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void sns_diag_sensor_log::set_sensor_type(ArgT0&& arg0, ArgT... args) {
 _impl_._has_bits_[0] |= 0x00000001u;
 _impl_.sensor_type_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:sns_diag_sensor_log.sensor_type)
}
inline std::string* sns_diag_sensor_log::mutable_sensor_type() {
  std::string* _s = _internal_mutable_sensor_type();
  // @@protoc_insertion_point(field_mutable:sns_diag_sensor_log.sensor_type)
  return _s;
}
inline const std::string& sns_diag_sensor_log::_internal_sensor_type() const {
  return _impl_.sensor_type_.Get();
}
inline void sns_diag_sensor_log::_internal_set_sensor_type(const std::string& value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.sensor_type_.Set(value, GetArenaForAllocation());
}
inline std::string* sns_diag_sensor_log::_internal_mutable_sensor_type() {
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.sensor_type_.Mutable(GetArenaForAllocation());
}
inline std::string* sns_diag_sensor_log::release_sensor_type() {
  // @@protoc_insertion_point(field_release:sns_diag_sensor_log.sensor_type)
  if (!_internal_has_sensor_type()) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* p = _impl_.sensor_type_.Release();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.sensor_type_.IsDefault()) {
    _impl_.sensor_type_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  return p;
}
inline void sns_diag_sensor_log::set_allocated_sensor_type(std::string* sensor_type) {
  if (sensor_type != nullptr) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.sensor_type_.SetAllocated(sensor_type, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.sensor_type_.IsDefault()) {
    _impl_.sensor_type_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:sns_diag_sensor_log.sensor_type)
}

// required fixed64 instance_id = 5;
inline bool sns_diag_sensor_log::_internal_has_instance_id() const {
  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool sns_diag_sensor_log::has_instance_id() const {
  return _internal_has_instance_id();
}
inline void sns_diag_sensor_log::clear_instance_id() {
  _impl_.instance_id_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000008u;
}
inline uint64_t sns_diag_sensor_log::_internal_instance_id() const {
  return _impl_.instance_id_;
}
inline uint64_t sns_diag_sensor_log::instance_id() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_log.instance_id)
  return _internal_instance_id();
}
inline void sns_diag_sensor_log::_internal_set_instance_id(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000008u;
  _impl_.instance_id_ = value;
}
inline void sns_diag_sensor_log::set_instance_id(uint64_t value) {
  _internal_set_instance_id(value);
  // @@protoc_insertion_point(field_set:sns_diag_sensor_log.instance_id)
}

// .sns_diag_opaque_payload opaque_payload = 100;
inline bool sns_diag_sensor_log::_internal_has_opaque_payload() const {
  return sensor_log_payload_case() == kOpaquePayload;
}
inline bool sns_diag_sensor_log::has_opaque_payload() const {
  return _internal_has_opaque_payload();
}
inline void sns_diag_sensor_log::set_has_opaque_payload() {
  _impl_._oneof_case_[0] = kOpaquePayload;
}
inline void sns_diag_sensor_log::clear_opaque_payload() {
  if (_internal_has_opaque_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.sensor_log_payload_.opaque_payload_;
    }
    clear_has_sensor_log_payload();
  }
}
inline ::sns_diag_opaque_payload* sns_diag_sensor_log::release_opaque_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_sensor_log.opaque_payload)
  if (_internal_has_opaque_payload()) {
    clear_has_sensor_log_payload();
    ::sns_diag_opaque_payload* temp = _impl_.sensor_log_payload_.opaque_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.sensor_log_payload_.opaque_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_opaque_payload& sns_diag_sensor_log::_internal_opaque_payload() const {
  return _internal_has_opaque_payload()
      ? *_impl_.sensor_log_payload_.opaque_payload_
      : reinterpret_cast< ::sns_diag_opaque_payload&>(::_sns_diag_opaque_payload_default_instance_);
}
inline const ::sns_diag_opaque_payload& sns_diag_sensor_log::opaque_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_log.opaque_payload)
  return _internal_opaque_payload();
}
inline ::sns_diag_opaque_payload* sns_diag_sensor_log::unsafe_arena_release_opaque_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_sensor_log.opaque_payload)
  if (_internal_has_opaque_payload()) {
    clear_has_sensor_log_payload();
    ::sns_diag_opaque_payload* temp = _impl_.sensor_log_payload_.opaque_payload_;
    _impl_.sensor_log_payload_.opaque_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_sensor_log::unsafe_arena_set_allocated_opaque_payload(::sns_diag_opaque_payload* opaque_payload) {
  clear_sensor_log_payload();
  if (opaque_payload) {
    set_has_opaque_payload();
    _impl_.sensor_log_payload_.opaque_payload_ = opaque_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_sensor_log.opaque_payload)
}
inline ::sns_diag_opaque_payload* sns_diag_sensor_log::_internal_mutable_opaque_payload() {
  if (!_internal_has_opaque_payload()) {
    clear_sensor_log_payload();
    set_has_opaque_payload();
    _impl_.sensor_log_payload_.opaque_payload_ = CreateMaybeMessage< ::sns_diag_opaque_payload >(GetArenaForAllocation());
  }
  return _impl_.sensor_log_payload_.opaque_payload_;
}
inline ::sns_diag_opaque_payload* sns_diag_sensor_log::mutable_opaque_payload() {
  ::sns_diag_opaque_payload* _msg = _internal_mutable_opaque_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_sensor_log.opaque_payload)
  return _msg;
}

// .sns_diag_sensor_api_log sensor_api_payload = 101;
inline bool sns_diag_sensor_log::_internal_has_sensor_api_payload() const {
  return sensor_log_payload_case() == kSensorApiPayload;
}
inline bool sns_diag_sensor_log::has_sensor_api_payload() const {
  return _internal_has_sensor_api_payload();
}
inline void sns_diag_sensor_log::set_has_sensor_api_payload() {
  _impl_._oneof_case_[0] = kSensorApiPayload;
}
inline void sns_diag_sensor_log::clear_sensor_api_payload() {
  if (_internal_has_sensor_api_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.sensor_log_payload_.sensor_api_payload_;
    }
    clear_has_sensor_log_payload();
  }
}
inline ::sns_diag_sensor_api_log* sns_diag_sensor_log::release_sensor_api_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_sensor_log.sensor_api_payload)
  if (_internal_has_sensor_api_payload()) {
    clear_has_sensor_log_payload();
    ::sns_diag_sensor_api_log* temp = _impl_.sensor_log_payload_.sensor_api_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.sensor_log_payload_.sensor_api_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_sensor_api_log& sns_diag_sensor_log::_internal_sensor_api_payload() const {
  return _internal_has_sensor_api_payload()
      ? *_impl_.sensor_log_payload_.sensor_api_payload_
      : reinterpret_cast< ::sns_diag_sensor_api_log&>(::_sns_diag_sensor_api_log_default_instance_);
}
inline const ::sns_diag_sensor_api_log& sns_diag_sensor_log::sensor_api_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_log.sensor_api_payload)
  return _internal_sensor_api_payload();
}
inline ::sns_diag_sensor_api_log* sns_diag_sensor_log::unsafe_arena_release_sensor_api_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_sensor_log.sensor_api_payload)
  if (_internal_has_sensor_api_payload()) {
    clear_has_sensor_log_payload();
    ::sns_diag_sensor_api_log* temp = _impl_.sensor_log_payload_.sensor_api_payload_;
    _impl_.sensor_log_payload_.sensor_api_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_sensor_log::unsafe_arena_set_allocated_sensor_api_payload(::sns_diag_sensor_api_log* sensor_api_payload) {
  clear_sensor_log_payload();
  if (sensor_api_payload) {
    set_has_sensor_api_payload();
    _impl_.sensor_log_payload_.sensor_api_payload_ = sensor_api_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_sensor_log.sensor_api_payload)
}
inline ::sns_diag_sensor_api_log* sns_diag_sensor_log::_internal_mutable_sensor_api_payload() {
  if (!_internal_has_sensor_api_payload()) {
    clear_sensor_log_payload();
    set_has_sensor_api_payload();
    _impl_.sensor_log_payload_.sensor_api_payload_ = CreateMaybeMessage< ::sns_diag_sensor_api_log >(GetArenaForAllocation());
  }
  return _impl_.sensor_log_payload_.sensor_api_payload_;
}
inline ::sns_diag_sensor_api_log* sns_diag_sensor_log::mutable_sensor_api_payload() {
  ::sns_diag_sensor_api_log* _msg = _internal_mutable_sensor_api_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_sensor_log.sensor_api_payload)
  return _msg;
}

// .sns_diag_client_api_log client_api_payload = 102;
inline bool sns_diag_sensor_log::_internal_has_client_api_payload() const {
  return sensor_log_payload_case() == kClientApiPayload;
}
inline bool sns_diag_sensor_log::has_client_api_payload() const {
  return _internal_has_client_api_payload();
}
inline void sns_diag_sensor_log::set_has_client_api_payload() {
  _impl_._oneof_case_[0] = kClientApiPayload;
}
inline void sns_diag_sensor_log::clear_client_api_payload() {
  if (_internal_has_client_api_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.sensor_log_payload_.client_api_payload_;
    }
    clear_has_sensor_log_payload();
  }
}
inline ::sns_diag_client_api_log* sns_diag_sensor_log::release_client_api_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_sensor_log.client_api_payload)
  if (_internal_has_client_api_payload()) {
    clear_has_sensor_log_payload();
    ::sns_diag_client_api_log* temp = _impl_.sensor_log_payload_.client_api_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.sensor_log_payload_.client_api_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_client_api_log& sns_diag_sensor_log::_internal_client_api_payload() const {
  return _internal_has_client_api_payload()
      ? *_impl_.sensor_log_payload_.client_api_payload_
      : reinterpret_cast< ::sns_diag_client_api_log&>(::_sns_diag_client_api_log_default_instance_);
}
inline const ::sns_diag_client_api_log& sns_diag_sensor_log::client_api_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_log.client_api_payload)
  return _internal_client_api_payload();
}
inline ::sns_diag_client_api_log* sns_diag_sensor_log::unsafe_arena_release_client_api_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_sensor_log.client_api_payload)
  if (_internal_has_client_api_payload()) {
    clear_has_sensor_log_payload();
    ::sns_diag_client_api_log* temp = _impl_.sensor_log_payload_.client_api_payload_;
    _impl_.sensor_log_payload_.client_api_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_sensor_log::unsafe_arena_set_allocated_client_api_payload(::sns_diag_client_api_log* client_api_payload) {
  clear_sensor_log_payload();
  if (client_api_payload) {
    set_has_client_api_payload();
    _impl_.sensor_log_payload_.client_api_payload_ = client_api_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_sensor_log.client_api_payload)
}
inline ::sns_diag_client_api_log* sns_diag_sensor_log::_internal_mutable_client_api_payload() {
  if (!_internal_has_client_api_payload()) {
    clear_sensor_log_payload();
    set_has_client_api_payload();
    _impl_.sensor_log_payload_.client_api_payload_ = CreateMaybeMessage< ::sns_diag_client_api_log >(GetArenaForAllocation());
  }
  return _impl_.sensor_log_payload_.client_api_payload_;
}
inline ::sns_diag_client_api_log* sns_diag_sensor_log::mutable_client_api_payload() {
  ::sns_diag_client_api_log* _msg = _internal_mutable_client_api_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_sensor_log.client_api_payload)
  return _msg;
}

// .sns_diag_sensor_state_raw sensor_state_raw_payload = 103;
inline bool sns_diag_sensor_log::_internal_has_sensor_state_raw_payload() const {
  return sensor_log_payload_case() == kSensorStateRawPayload;
}
inline bool sns_diag_sensor_log::has_sensor_state_raw_payload() const {
  return _internal_has_sensor_state_raw_payload();
}
inline void sns_diag_sensor_log::set_has_sensor_state_raw_payload() {
  _impl_._oneof_case_[0] = kSensorStateRawPayload;
}
inline void sns_diag_sensor_log::clear_sensor_state_raw_payload() {
  if (_internal_has_sensor_state_raw_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.sensor_log_payload_.sensor_state_raw_payload_;
    }
    clear_has_sensor_log_payload();
  }
}
inline ::sns_diag_sensor_state_raw* sns_diag_sensor_log::release_sensor_state_raw_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_sensor_log.sensor_state_raw_payload)
  if (_internal_has_sensor_state_raw_payload()) {
    clear_has_sensor_log_payload();
    ::sns_diag_sensor_state_raw* temp = _impl_.sensor_log_payload_.sensor_state_raw_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.sensor_log_payload_.sensor_state_raw_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_sensor_state_raw& sns_diag_sensor_log::_internal_sensor_state_raw_payload() const {
  return _internal_has_sensor_state_raw_payload()
      ? *_impl_.sensor_log_payload_.sensor_state_raw_payload_
      : reinterpret_cast< ::sns_diag_sensor_state_raw&>(::_sns_diag_sensor_state_raw_default_instance_);
}
inline const ::sns_diag_sensor_state_raw& sns_diag_sensor_log::sensor_state_raw_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_log.sensor_state_raw_payload)
  return _internal_sensor_state_raw_payload();
}
inline ::sns_diag_sensor_state_raw* sns_diag_sensor_log::unsafe_arena_release_sensor_state_raw_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_sensor_log.sensor_state_raw_payload)
  if (_internal_has_sensor_state_raw_payload()) {
    clear_has_sensor_log_payload();
    ::sns_diag_sensor_state_raw* temp = _impl_.sensor_log_payload_.sensor_state_raw_payload_;
    _impl_.sensor_log_payload_.sensor_state_raw_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_sensor_log::unsafe_arena_set_allocated_sensor_state_raw_payload(::sns_diag_sensor_state_raw* sensor_state_raw_payload) {
  clear_sensor_log_payload();
  if (sensor_state_raw_payload) {
    set_has_sensor_state_raw_payload();
    _impl_.sensor_log_payload_.sensor_state_raw_payload_ = sensor_state_raw_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_sensor_log.sensor_state_raw_payload)
}
inline ::sns_diag_sensor_state_raw* sns_diag_sensor_log::_internal_mutable_sensor_state_raw_payload() {
  if (!_internal_has_sensor_state_raw_payload()) {
    clear_sensor_log_payload();
    set_has_sensor_state_raw_payload();
    _impl_.sensor_log_payload_.sensor_state_raw_payload_ = CreateMaybeMessage< ::sns_diag_sensor_state_raw >(GetArenaForAllocation());
  }
  return _impl_.sensor_log_payload_.sensor_state_raw_payload_;
}
inline ::sns_diag_sensor_state_raw* sns_diag_sensor_log::mutable_sensor_state_raw_payload() {
  ::sns_diag_sensor_state_raw* _msg = _internal_mutable_sensor_state_raw_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_sensor_log.sensor_state_raw_payload)
  return _msg;
}

// .sns_diag_sensor_state_interrupt sensor_state_interrupt_payload = 104;
inline bool sns_diag_sensor_log::_internal_has_sensor_state_interrupt_payload() const {
  return sensor_log_payload_case() == kSensorStateInterruptPayload;
}
inline bool sns_diag_sensor_log::has_sensor_state_interrupt_payload() const {
  return _internal_has_sensor_state_interrupt_payload();
}
inline void sns_diag_sensor_log::set_has_sensor_state_interrupt_payload() {
  _impl_._oneof_case_[0] = kSensorStateInterruptPayload;
}
inline void sns_diag_sensor_log::clear_sensor_state_interrupt_payload() {
  if (_internal_has_sensor_state_interrupt_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.sensor_log_payload_.sensor_state_interrupt_payload_;
    }
    clear_has_sensor_log_payload();
  }
}
inline ::sns_diag_sensor_state_interrupt* sns_diag_sensor_log::release_sensor_state_interrupt_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_sensor_log.sensor_state_interrupt_payload)
  if (_internal_has_sensor_state_interrupt_payload()) {
    clear_has_sensor_log_payload();
    ::sns_diag_sensor_state_interrupt* temp = _impl_.sensor_log_payload_.sensor_state_interrupt_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.sensor_log_payload_.sensor_state_interrupt_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_sensor_state_interrupt& sns_diag_sensor_log::_internal_sensor_state_interrupt_payload() const {
  return _internal_has_sensor_state_interrupt_payload()
      ? *_impl_.sensor_log_payload_.sensor_state_interrupt_payload_
      : reinterpret_cast< ::sns_diag_sensor_state_interrupt&>(::_sns_diag_sensor_state_interrupt_default_instance_);
}
inline const ::sns_diag_sensor_state_interrupt& sns_diag_sensor_log::sensor_state_interrupt_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_sensor_log.sensor_state_interrupt_payload)
  return _internal_sensor_state_interrupt_payload();
}
inline ::sns_diag_sensor_state_interrupt* sns_diag_sensor_log::unsafe_arena_release_sensor_state_interrupt_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_sensor_log.sensor_state_interrupt_payload)
  if (_internal_has_sensor_state_interrupt_payload()) {
    clear_has_sensor_log_payload();
    ::sns_diag_sensor_state_interrupt* temp = _impl_.sensor_log_payload_.sensor_state_interrupt_payload_;
    _impl_.sensor_log_payload_.sensor_state_interrupt_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_sensor_log::unsafe_arena_set_allocated_sensor_state_interrupt_payload(::sns_diag_sensor_state_interrupt* sensor_state_interrupt_payload) {
  clear_sensor_log_payload();
  if (sensor_state_interrupt_payload) {
    set_has_sensor_state_interrupt_payload();
    _impl_.sensor_log_payload_.sensor_state_interrupt_payload_ = sensor_state_interrupt_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_sensor_log.sensor_state_interrupt_payload)
}
inline ::sns_diag_sensor_state_interrupt* sns_diag_sensor_log::_internal_mutable_sensor_state_interrupt_payload() {
  if (!_internal_has_sensor_state_interrupt_payload()) {
    clear_sensor_log_payload();
    set_has_sensor_state_interrupt_payload();
    _impl_.sensor_log_payload_.sensor_state_interrupt_payload_ = CreateMaybeMessage< ::sns_diag_sensor_state_interrupt >(GetArenaForAllocation());
  }
  return _impl_.sensor_log_payload_.sensor_state_interrupt_payload_;
}
inline ::sns_diag_sensor_state_interrupt* sns_diag_sensor_log::mutable_sensor_state_interrupt_payload() {
  ::sns_diag_sensor_state_interrupt* _msg = _internal_mutable_sensor_state_interrupt_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_sensor_log.sensor_state_interrupt_payload)
  return _msg;
}

inline bool sns_diag_sensor_log::has_sensor_log_payload() const {
  return sensor_log_payload_case() != SENSOR_LOG_PAYLOAD_NOT_SET;
}
inline void sns_diag_sensor_log::clear_has_sensor_log_payload() {
  _impl_._oneof_case_[0] = SENSOR_LOG_PAYLOAD_NOT_SET;
}
inline sns_diag_sensor_log::SensorLogPayloadCase sns_diag_sensor_log::sensor_log_payload_case() const {
  return sns_diag_sensor_log::SensorLogPayloadCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// sns_diag_instance_map_log

// required fixed64 src_instance_id = 1;
inline bool sns_diag_instance_map_log::_internal_has_src_instance_id() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_instance_map_log::has_src_instance_id() const {
  return _internal_has_src_instance_id();
}
inline void sns_diag_instance_map_log::clear_src_instance_id() {
  _impl_.src_instance_id_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint64_t sns_diag_instance_map_log::_internal_src_instance_id() const {
  return _impl_.src_instance_id_;
}
inline uint64_t sns_diag_instance_map_log::src_instance_id() const {
  // @@protoc_insertion_point(field_get:sns_diag_instance_map_log.src_instance_id)
  return _internal_src_instance_id();
}
inline void sns_diag_instance_map_log::_internal_set_src_instance_id(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.src_instance_id_ = value;
}
inline void sns_diag_instance_map_log::set_src_instance_id(uint64_t value) {
  _internal_set_src_instance_id(value);
  // @@protoc_insertion_point(field_set:sns_diag_instance_map_log.src_instance_id)
}

// repeated fixed64 dest_instance_id = 2;
inline int sns_diag_instance_map_log::_internal_dest_instance_id_size() const {
  return _impl_.dest_instance_id_.size();
}
inline int sns_diag_instance_map_log::dest_instance_id_size() const {
  return _internal_dest_instance_id_size();
}
inline void sns_diag_instance_map_log::clear_dest_instance_id() {
  _impl_.dest_instance_id_.Clear();
}
inline uint64_t sns_diag_instance_map_log::_internal_dest_instance_id(int index) const {
  return _impl_.dest_instance_id_.Get(index);
}
inline uint64_t sns_diag_instance_map_log::dest_instance_id(int index) const {
  // @@protoc_insertion_point(field_get:sns_diag_instance_map_log.dest_instance_id)
  return _internal_dest_instance_id(index);
}
inline void sns_diag_instance_map_log::set_dest_instance_id(int index, uint64_t value) {
  _impl_.dest_instance_id_.Set(index, value);
  // @@protoc_insertion_point(field_set:sns_diag_instance_map_log.dest_instance_id)
}
inline void sns_diag_instance_map_log::_internal_add_dest_instance_id(uint64_t value) {
  _impl_.dest_instance_id_.Add(value);
}
inline void sns_diag_instance_map_log::add_dest_instance_id(uint64_t value) {
  _internal_add_dest_instance_id(value);
  // @@protoc_insertion_point(field_add:sns_diag_instance_map_log.dest_instance_id)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
sns_diag_instance_map_log::_internal_dest_instance_id() const {
  return _impl_.dest_instance_id_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
sns_diag_instance_map_log::dest_instance_id() const {
  // @@protoc_insertion_point(field_list:sns_diag_instance_map_log.dest_instance_id)
  return _internal_dest_instance_id();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
sns_diag_instance_map_log::_internal_mutable_dest_instance_id() {
  return &_impl_.dest_instance_id_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
sns_diag_instance_map_log::mutable_dest_instance_id() {
  // @@protoc_insertion_point(field_mutable_list:sns_diag_instance_map_log.dest_instance_id)
  return _internal_mutable_dest_instance_id();
}

// repeated fixed64 stream_id = 3;
inline int sns_diag_instance_map_log::_internal_stream_id_size() const {
  return _impl_.stream_id_.size();
}
inline int sns_diag_instance_map_log::stream_id_size() const {
  return _internal_stream_id_size();
}
inline void sns_diag_instance_map_log::clear_stream_id() {
  _impl_.stream_id_.Clear();
}
inline uint64_t sns_diag_instance_map_log::_internal_stream_id(int index) const {
  return _impl_.stream_id_.Get(index);
}
inline uint64_t sns_diag_instance_map_log::stream_id(int index) const {
  // @@protoc_insertion_point(field_get:sns_diag_instance_map_log.stream_id)
  return _internal_stream_id(index);
}
inline void sns_diag_instance_map_log::set_stream_id(int index, uint64_t value) {
  _impl_.stream_id_.Set(index, value);
  // @@protoc_insertion_point(field_set:sns_diag_instance_map_log.stream_id)
}
inline void sns_diag_instance_map_log::_internal_add_stream_id(uint64_t value) {
  _impl_.stream_id_.Add(value);
}
inline void sns_diag_instance_map_log::add_stream_id(uint64_t value) {
  _internal_add_stream_id(value);
  // @@protoc_insertion_point(field_add:sns_diag_instance_map_log.stream_id)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
sns_diag_instance_map_log::_internal_stream_id() const {
  return _impl_.stream_id_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
sns_diag_instance_map_log::stream_id() const {
  // @@protoc_insertion_point(field_list:sns_diag_instance_map_log.stream_id)
  return _internal_stream_id();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
sns_diag_instance_map_log::_internal_mutable_stream_id() {
  return &_impl_.stream_id_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
sns_diag_instance_map_log::mutable_stream_id() {
  // @@protoc_insertion_point(field_mutable_list:sns_diag_instance_map_log.stream_id)
  return _internal_mutable_stream_id();
}

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

// sns_diag_island_transition_log

// required fixed64 timestamp = 1;
inline bool sns_diag_island_transition_log::_internal_has_timestamp() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_island_transition_log::has_timestamp() const {
  return _internal_has_timestamp();
}
inline void sns_diag_island_transition_log::clear_timestamp() {
  _impl_.timestamp_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint64_t sns_diag_island_transition_log::_internal_timestamp() const {
  return _impl_.timestamp_;
}
inline uint64_t sns_diag_island_transition_log::timestamp() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_transition_log.timestamp)
  return _internal_timestamp();
}
inline void sns_diag_island_transition_log::_internal_set_timestamp(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.timestamp_ = value;
}
inline void sns_diag_island_transition_log::set_timestamp(uint64_t value) {
  _internal_set_timestamp(value);
  // @@protoc_insertion_point(field_set:sns_diag_island_transition_log.timestamp)
}

// required .sns_diag_island_state island_state = 2;
inline bool sns_diag_island_transition_log::_internal_has_island_state() const {
  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool sns_diag_island_transition_log::has_island_state() const {
  return _internal_has_island_state();
}
inline void sns_diag_island_transition_log::clear_island_state() {
  _impl_.island_state_ = 0;
  _impl_._has_bits_[0] &= ~0x00000008u;
}
inline ::sns_diag_island_state sns_diag_island_transition_log::_internal_island_state() const {
  return static_cast< ::sns_diag_island_state >(_impl_.island_state_);
}
inline ::sns_diag_island_state sns_diag_island_transition_log::island_state() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_transition_log.island_state)
  return _internal_island_state();
}
inline void sns_diag_island_transition_log::_internal_set_island_state(::sns_diag_island_state value) {
  assert(::sns_diag_island_state_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000008u;
  _impl_.island_state_ = value;
}
inline void sns_diag_island_transition_log::set_island_state(::sns_diag_island_state value) {
  _internal_set_island_state(value);
  // @@protoc_insertion_point(field_set:sns_diag_island_transition_log.island_state)
}

// optional fixed64 cookie = 3;
inline bool sns_diag_island_transition_log::_internal_has_cookie() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_diag_island_transition_log::has_cookie() const {
  return _internal_has_cookie();
}
inline void sns_diag_island_transition_log::clear_cookie() {
  _impl_.cookie_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint64_t sns_diag_island_transition_log::_internal_cookie() const {
  return _impl_.cookie_;
}
inline uint64_t sns_diag_island_transition_log::cookie() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_transition_log.cookie)
  return _internal_cookie();
}
inline void sns_diag_island_transition_log::_internal_set_cookie(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.cookie_ = value;
}
inline void sns_diag_island_transition_log::set_cookie(uint64_t value) {
  _internal_set_cookie(value);
  // @@protoc_insertion_point(field_set:sns_diag_island_transition_log.cookie)
}

// optional fixed64 total_island_time = 4;
inline bool sns_diag_island_transition_log::_internal_has_total_island_time() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool sns_diag_island_transition_log::has_total_island_time() const {
  return _internal_has_total_island_time();
}
inline void sns_diag_island_transition_log::clear_total_island_time() {
  _impl_.total_island_time_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline uint64_t sns_diag_island_transition_log::_internal_total_island_time() const {
  return _impl_.total_island_time_;
}
inline uint64_t sns_diag_island_transition_log::total_island_time() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_transition_log.total_island_time)
  return _internal_total_island_time();
}
inline void sns_diag_island_transition_log::_internal_set_total_island_time(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000004u;
  _impl_.total_island_time_ = value;
}
inline void sns_diag_island_transition_log::set_total_island_time(uint64_t value) {
  _internal_set_total_island_time(value);
  // @@protoc_insertion_point(field_set:sns_diag_island_transition_log.total_island_time)
}

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

// sns_diag_island_tx_log

// optional .sns_diag_island_state island_state = 1;
inline bool sns_diag_island_tx_log::_internal_has_island_state() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool sns_diag_island_tx_log::has_island_state() const {
  return _internal_has_island_state();
}
inline void sns_diag_island_tx_log::clear_island_state() {
  _impl_.island_state_ = 0;
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline ::sns_diag_island_state sns_diag_island_tx_log::_internal_island_state() const {
  return static_cast< ::sns_diag_island_state >(_impl_.island_state_);
}
inline ::sns_diag_island_state sns_diag_island_tx_log::island_state() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_tx_log.island_state)
  return _internal_island_state();
}
inline void sns_diag_island_tx_log::_internal_set_island_state(::sns_diag_island_state value) {
  assert(::sns_diag_island_state_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000004u;
  _impl_.island_state_ = value;
}
inline void sns_diag_island_tx_log::set_island_state(::sns_diag_island_state value) {
  _internal_set_island_state(value);
  // @@protoc_insertion_point(field_set:sns_diag_island_tx_log.island_state)
}

// optional fixed64 cookie = 2;
inline bool sns_diag_island_tx_log::_internal_has_cookie() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_island_tx_log::has_cookie() const {
  return _internal_has_cookie();
}
inline void sns_diag_island_tx_log::clear_cookie() {
  _impl_.cookie_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint64_t sns_diag_island_tx_log::_internal_cookie() const {
  return _impl_.cookie_;
}
inline uint64_t sns_diag_island_tx_log::cookie() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_tx_log.cookie)
  return _internal_cookie();
}
inline void sns_diag_island_tx_log::_internal_set_cookie(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.cookie_ = value;
}
inline void sns_diag_island_tx_log::set_cookie(uint64_t value) {
  _internal_set_cookie(value);
  // @@protoc_insertion_point(field_set:sns_diag_island_tx_log.cookie)
}

// optional fixed64 total_island_time = 3;
inline bool sns_diag_island_tx_log::_internal_has_total_island_time() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_diag_island_tx_log::has_total_island_time() const {
  return _internal_has_total_island_time();
}
inline void sns_diag_island_tx_log::clear_total_island_time() {
  _impl_.total_island_time_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint64_t sns_diag_island_tx_log::_internal_total_island_time() const {
  return _impl_.total_island_time_;
}
inline uint64_t sns_diag_island_tx_log::total_island_time() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_tx_log.total_island_time)
  return _internal_total_island_time();
}
inline void sns_diag_island_tx_log::_internal_set_total_island_time(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.total_island_time_ = value;
}
inline void sns_diag_island_tx_log::set_total_island_time(uint64_t value) {
  _internal_set_total_island_time(value);
  // @@protoc_insertion_point(field_set:sns_diag_island_tx_log.total_island_time)
}

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

// sns_diag_island_debug_log

// optional fixed32 previous_island_state = 1;
inline bool sns_diag_island_debug_log::_internal_has_previous_island_state() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_island_debug_log::has_previous_island_state() const {
  return _internal_has_previous_island_state();
}
inline void sns_diag_island_debug_log::clear_previous_island_state() {
  _impl_.previous_island_state_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint32_t sns_diag_island_debug_log::_internal_previous_island_state() const {
  return _impl_.previous_island_state_;
}
inline uint32_t sns_diag_island_debug_log::previous_island_state() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_debug_log.previous_island_state)
  return _internal_previous_island_state();
}
inline void sns_diag_island_debug_log::_internal_set_previous_island_state(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.previous_island_state_ = value;
}
inline void sns_diag_island_debug_log::set_previous_island_state(uint32_t value) {
  _internal_set_previous_island_state(value);
  // @@protoc_insertion_point(field_set:sns_diag_island_debug_log.previous_island_state)
}

// optional fixed32 current_island_state = 2;
inline bool sns_diag_island_debug_log::_internal_has_current_island_state() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_diag_island_debug_log::has_current_island_state() const {
  return _internal_has_current_island_state();
}
inline void sns_diag_island_debug_log::clear_current_island_state() {
  _impl_.current_island_state_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint32_t sns_diag_island_debug_log::_internal_current_island_state() const {
  return _impl_.current_island_state_;
}
inline uint32_t sns_diag_island_debug_log::current_island_state() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_debug_log.current_island_state)
  return _internal_current_island_state();
}
inline void sns_diag_island_debug_log::_internal_set_current_island_state(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.current_island_state_ = value;
}
inline void sns_diag_island_debug_log::set_current_island_state(uint32_t value) {
  _internal_set_current_island_state(value);
  // @@protoc_insertion_point(field_set:sns_diag_island_debug_log.current_island_state)
}

// repeated fixed32 callers = 3;
inline int sns_diag_island_debug_log::_internal_callers_size() const {
  return _impl_.callers_.size();
}
inline int sns_diag_island_debug_log::callers_size() const {
  return _internal_callers_size();
}
inline void sns_diag_island_debug_log::clear_callers() {
  _impl_.callers_.Clear();
}
inline uint32_t sns_diag_island_debug_log::_internal_callers(int index) const {
  return _impl_.callers_.Get(index);
}
inline uint32_t sns_diag_island_debug_log::callers(int index) const {
  // @@protoc_insertion_point(field_get:sns_diag_island_debug_log.callers)
  return _internal_callers(index);
}
inline void sns_diag_island_debug_log::set_callers(int index, uint32_t value) {
  _impl_.callers_.Set(index, value);
  // @@protoc_insertion_point(field_set:sns_diag_island_debug_log.callers)
}
inline void sns_diag_island_debug_log::_internal_add_callers(uint32_t value) {
  _impl_.callers_.Add(value);
}
inline void sns_diag_island_debug_log::add_callers(uint32_t value) {
  _internal_add_callers(value);
  // @@protoc_insertion_point(field_add:sns_diag_island_debug_log.callers)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
sns_diag_island_debug_log::_internal_callers() const {
  return _impl_.callers_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
sns_diag_island_debug_log::callers() const {
  // @@protoc_insertion_point(field_list:sns_diag_island_debug_log.callers)
  return _internal_callers();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
sns_diag_island_debug_log::_internal_mutable_callers() {
  return &_impl_.callers_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
sns_diag_island_debug_log::mutable_callers() {
  // @@protoc_insertion_point(field_mutable_list:sns_diag_island_debug_log.callers)
  return _internal_mutable_callers();
}

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

// sns_diag_island_log

// optional fixed64 timestamp = 1;
inline bool sns_diag_island_log::_internal_has_timestamp() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_island_log::has_timestamp() const {
  return _internal_has_timestamp();
}
inline void sns_diag_island_log::clear_timestamp() {
  _impl_.timestamp_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint64_t sns_diag_island_log::_internal_timestamp() const {
  return _impl_.timestamp_;
}
inline uint64_t sns_diag_island_log::timestamp() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_log.timestamp)
  return _internal_timestamp();
}
inline void sns_diag_island_log::_internal_set_timestamp(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.timestamp_ = value;
}
inline void sns_diag_island_log::set_timestamp(uint64_t value) {
  _internal_set_timestamp(value);
  // @@protoc_insertion_point(field_set:sns_diag_island_log.timestamp)
}

// .sns_diag_island_tx_log log_payload = 2;
inline bool sns_diag_island_log::_internal_has_log_payload() const {
  return sns_diag_island_log_payloads_case() == kLogPayload;
}
inline bool sns_diag_island_log::has_log_payload() const {
  return _internal_has_log_payload();
}
inline void sns_diag_island_log::set_has_log_payload() {
  _impl_._oneof_case_[0] = kLogPayload;
}
inline void sns_diag_island_log::clear_log_payload() {
  if (_internal_has_log_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.sns_diag_island_log_payloads_.log_payload_;
    }
    clear_has_sns_diag_island_log_payloads();
  }
}
inline ::sns_diag_island_tx_log* sns_diag_island_log::release_log_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_island_log.log_payload)
  if (_internal_has_log_payload()) {
    clear_has_sns_diag_island_log_payloads();
    ::sns_diag_island_tx_log* temp = _impl_.sns_diag_island_log_payloads_.log_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.sns_diag_island_log_payloads_.log_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_island_tx_log& sns_diag_island_log::_internal_log_payload() const {
  return _internal_has_log_payload()
      ? *_impl_.sns_diag_island_log_payloads_.log_payload_
      : reinterpret_cast< ::sns_diag_island_tx_log&>(::_sns_diag_island_tx_log_default_instance_);
}
inline const ::sns_diag_island_tx_log& sns_diag_island_log::log_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_log.log_payload)
  return _internal_log_payload();
}
inline ::sns_diag_island_tx_log* sns_diag_island_log::unsafe_arena_release_log_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_island_log.log_payload)
  if (_internal_has_log_payload()) {
    clear_has_sns_diag_island_log_payloads();
    ::sns_diag_island_tx_log* temp = _impl_.sns_diag_island_log_payloads_.log_payload_;
    _impl_.sns_diag_island_log_payloads_.log_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_island_log::unsafe_arena_set_allocated_log_payload(::sns_diag_island_tx_log* log_payload) {
  clear_sns_diag_island_log_payloads();
  if (log_payload) {
    set_has_log_payload();
    _impl_.sns_diag_island_log_payloads_.log_payload_ = log_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_island_log.log_payload)
}
inline ::sns_diag_island_tx_log* sns_diag_island_log::_internal_mutable_log_payload() {
  if (!_internal_has_log_payload()) {
    clear_sns_diag_island_log_payloads();
    set_has_log_payload();
    _impl_.sns_diag_island_log_payloads_.log_payload_ = CreateMaybeMessage< ::sns_diag_island_tx_log >(GetArenaForAllocation());
  }
  return _impl_.sns_diag_island_log_payloads_.log_payload_;
}
inline ::sns_diag_island_tx_log* sns_diag_island_log::mutable_log_payload() {
  ::sns_diag_island_tx_log* _msg = _internal_mutable_log_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_island_log.log_payload)
  return _msg;
}

// .sns_diag_island_debug_log dbg_log_payload = 3;
inline bool sns_diag_island_log::_internal_has_dbg_log_payload() const {
  return sns_diag_island_log_payloads_case() == kDbgLogPayload;
}
inline bool sns_diag_island_log::has_dbg_log_payload() const {
  return _internal_has_dbg_log_payload();
}
inline void sns_diag_island_log::set_has_dbg_log_payload() {
  _impl_._oneof_case_[0] = kDbgLogPayload;
}
inline void sns_diag_island_log::clear_dbg_log_payload() {
  if (_internal_has_dbg_log_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.sns_diag_island_log_payloads_.dbg_log_payload_;
    }
    clear_has_sns_diag_island_log_payloads();
  }
}
inline ::sns_diag_island_debug_log* sns_diag_island_log::release_dbg_log_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_island_log.dbg_log_payload)
  if (_internal_has_dbg_log_payload()) {
    clear_has_sns_diag_island_log_payloads();
    ::sns_diag_island_debug_log* temp = _impl_.sns_diag_island_log_payloads_.dbg_log_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.sns_diag_island_log_payloads_.dbg_log_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_island_debug_log& sns_diag_island_log::_internal_dbg_log_payload() const {
  return _internal_has_dbg_log_payload()
      ? *_impl_.sns_diag_island_log_payloads_.dbg_log_payload_
      : reinterpret_cast< ::sns_diag_island_debug_log&>(::_sns_diag_island_debug_log_default_instance_);
}
inline const ::sns_diag_island_debug_log& sns_diag_island_log::dbg_log_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_log.dbg_log_payload)
  return _internal_dbg_log_payload();
}
inline ::sns_diag_island_debug_log* sns_diag_island_log::unsafe_arena_release_dbg_log_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_island_log.dbg_log_payload)
  if (_internal_has_dbg_log_payload()) {
    clear_has_sns_diag_island_log_payloads();
    ::sns_diag_island_debug_log* temp = _impl_.sns_diag_island_log_payloads_.dbg_log_payload_;
    _impl_.sns_diag_island_log_payloads_.dbg_log_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_island_log::unsafe_arena_set_allocated_dbg_log_payload(::sns_diag_island_debug_log* dbg_log_payload) {
  clear_sns_diag_island_log_payloads();
  if (dbg_log_payload) {
    set_has_dbg_log_payload();
    _impl_.sns_diag_island_log_payloads_.dbg_log_payload_ = dbg_log_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_island_log.dbg_log_payload)
}
inline ::sns_diag_island_debug_log* sns_diag_island_log::_internal_mutable_dbg_log_payload() {
  if (!_internal_has_dbg_log_payload()) {
    clear_sns_diag_island_log_payloads();
    set_has_dbg_log_payload();
    _impl_.sns_diag_island_log_payloads_.dbg_log_payload_ = CreateMaybeMessage< ::sns_diag_island_debug_log >(GetArenaForAllocation());
  }
  return _impl_.sns_diag_island_log_payloads_.dbg_log_payload_;
}
inline ::sns_diag_island_debug_log* sns_diag_island_log::mutable_dbg_log_payload() {
  ::sns_diag_island_debug_log* _msg = _internal_mutable_dbg_log_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_island_log.dbg_log_payload)
  return _msg;
}

inline bool sns_diag_island_log::has_sns_diag_island_log_payloads() const {
  return sns_diag_island_log_payloads_case() != SNS_DIAG_ISLAND_LOG_PAYLOADS_NOT_SET;
}
inline void sns_diag_island_log::clear_has_sns_diag_island_log_payloads() {
  _impl_._oneof_case_[0] = SNS_DIAG_ISLAND_LOG_PAYLOADS_NOT_SET;
}
inline sns_diag_island_log::SnsDiagIslandLogPayloadsCase sns_diag_island_log::sns_diag_island_log_payloads_case() const {
  return sns_diag_island_log::SnsDiagIslandLogPayloadsCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// sns_diag_island_exit_vote_log

// required fixed64 timestamp = 1;
inline bool sns_diag_island_exit_vote_log::_internal_has_timestamp() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_diag_island_exit_vote_log::has_timestamp() const {
  return _internal_has_timestamp();
}
inline void sns_diag_island_exit_vote_log::clear_timestamp() {
  _impl_.timestamp_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint64_t sns_diag_island_exit_vote_log::_internal_timestamp() const {
  return _impl_.timestamp_;
}
inline uint64_t sns_diag_island_exit_vote_log::timestamp() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_exit_vote_log.timestamp)
  return _internal_timestamp();
}
inline void sns_diag_island_exit_vote_log::_internal_set_timestamp(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.timestamp_ = value;
}
inline void sns_diag_island_exit_vote_log::set_timestamp(uint64_t value) {
  _internal_set_timestamp(value);
  // @@protoc_insertion_point(field_set:sns_diag_island_exit_vote_log.timestamp)
}

// optional .sns_std_suid sensor = 2;
inline bool sns_diag_island_exit_vote_log::_internal_has_sensor() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.sensor_ != nullptr);
  return value;
}
inline bool sns_diag_island_exit_vote_log::has_sensor() const {
  return _internal_has_sensor();
}
inline const ::sns_std_suid& sns_diag_island_exit_vote_log::_internal_sensor() const {
  const ::sns_std_suid* p = _impl_.sensor_;
  return p != nullptr ? *p : reinterpret_cast<const ::sns_std_suid&>(
      ::_sns_std_suid_default_instance_);
}
inline const ::sns_std_suid& sns_diag_island_exit_vote_log::sensor() const {
  // @@protoc_insertion_point(field_get:sns_diag_island_exit_vote_log.sensor)
  return _internal_sensor();
}
inline void sns_diag_island_exit_vote_log::unsafe_arena_set_allocated_sensor(
    ::sns_std_suid* sensor) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sensor_);
  }
  _impl_.sensor_ = sensor;
  if (sensor) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_island_exit_vote_log.sensor)
}
inline ::sns_std_suid* sns_diag_island_exit_vote_log::release_sensor() {
  _impl_._has_bits_[0] &= ~0x00000001u;
  ::sns_std_suid* temp = _impl_.sensor_;
  _impl_.sensor_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::sns_std_suid* sns_diag_island_exit_vote_log::unsafe_arena_release_sensor() {
  // @@protoc_insertion_point(field_release:sns_diag_island_exit_vote_log.sensor)
  _impl_._has_bits_[0] &= ~0x00000001u;
  ::sns_std_suid* temp = _impl_.sensor_;
  _impl_.sensor_ = nullptr;
  return temp;
}
inline ::sns_std_suid* sns_diag_island_exit_vote_log::_internal_mutable_sensor() {
  _impl_._has_bits_[0] |= 0x00000001u;
  if (_impl_.sensor_ == nullptr) {
    auto* p = CreateMaybeMessage<::sns_std_suid>(GetArenaForAllocation());
    _impl_.sensor_ = p;
  }
  return _impl_.sensor_;
}
inline ::sns_std_suid* sns_diag_island_exit_vote_log::mutable_sensor() {
  ::sns_std_suid* _msg = _internal_mutable_sensor();
  // @@protoc_insertion_point(field_mutable:sns_diag_island_exit_vote_log.sensor)
  return _msg;
}
inline void sns_diag_island_exit_vote_log::set_allocated_sensor(::sns_std_suid* sensor) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sensor_);
  }
  if (sensor) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
                reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sensor));
    if (message_arena != submessage_arena) {
      sensor = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, sensor, submessage_arena);
    }
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.sensor_ = sensor;
  // @@protoc_insertion_point(field_set_allocated:sns_diag_island_exit_vote_log.sensor)
}

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

// sns_diag_mem_utilization_log

// required fixed64 timestamp = 1;
inline bool sns_diag_mem_utilization_log::_internal_has_timestamp() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_mem_utilization_log::has_timestamp() const {
  return _internal_has_timestamp();
}
inline void sns_diag_mem_utilization_log::clear_timestamp() {
  _impl_.timestamp_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint64_t sns_diag_mem_utilization_log::_internal_timestamp() const {
  return _impl_.timestamp_;
}
inline uint64_t sns_diag_mem_utilization_log::timestamp() const {
  // @@protoc_insertion_point(field_get:sns_diag_mem_utilization_log.timestamp)
  return _internal_timestamp();
}
inline void sns_diag_mem_utilization_log::_internal_set_timestamp(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.timestamp_ = value;
}
inline void sns_diag_mem_utilization_log::set_timestamp(uint64_t value) {
  _internal_set_timestamp(value);
  // @@protoc_insertion_point(field_set:sns_diag_mem_utilization_log.timestamp)
}

// required .sns_diag_heap_id heap_id = 2;
inline bool sns_diag_mem_utilization_log::_internal_has_heap_id() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_diag_mem_utilization_log::has_heap_id() const {
  return _internal_has_heap_id();
}
inline void sns_diag_mem_utilization_log::clear_heap_id() {
  _impl_.heap_id_ = 0;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline ::sns_diag_heap_id sns_diag_mem_utilization_log::_internal_heap_id() const {
  return static_cast< ::sns_diag_heap_id >(_impl_.heap_id_);
}
inline ::sns_diag_heap_id sns_diag_mem_utilization_log::heap_id() const {
  // @@protoc_insertion_point(field_get:sns_diag_mem_utilization_log.heap_id)
  return _internal_heap_id();
}
inline void sns_diag_mem_utilization_log::_internal_set_heap_id(::sns_diag_heap_id value) {
  assert(::sns_diag_heap_id_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.heap_id_ = value;
}
inline void sns_diag_mem_utilization_log::set_heap_id(::sns_diag_heap_id value) {
  _internal_set_heap_id(value);
  // @@protoc_insertion_point(field_set:sns_diag_mem_utilization_log.heap_id)
}

// required fixed32 total_memory = 3;
inline bool sns_diag_mem_utilization_log::_internal_has_total_memory() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool sns_diag_mem_utilization_log::has_total_memory() const {
  return _internal_has_total_memory();
}
inline void sns_diag_mem_utilization_log::clear_total_memory() {
  _impl_.total_memory_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline uint32_t sns_diag_mem_utilization_log::_internal_total_memory() const {
  return _impl_.total_memory_;
}
inline uint32_t sns_diag_mem_utilization_log::total_memory() const {
  // @@protoc_insertion_point(field_get:sns_diag_mem_utilization_log.total_memory)
  return _internal_total_memory();
}
inline void sns_diag_mem_utilization_log::_internal_set_total_memory(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000004u;
  _impl_.total_memory_ = value;
}
inline void sns_diag_mem_utilization_log::set_total_memory(uint32_t value) {
  _internal_set_total_memory(value);
  // @@protoc_insertion_point(field_set:sns_diag_mem_utilization_log.total_memory)
}

// required fixed32 used_memory = 4;
inline bool sns_diag_mem_utilization_log::_internal_has_used_memory() const {
  bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
  return value;
}
inline bool sns_diag_mem_utilization_log::has_used_memory() const {
  return _internal_has_used_memory();
}
inline void sns_diag_mem_utilization_log::clear_used_memory() {
  _impl_.used_memory_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000010u;
}
inline uint32_t sns_diag_mem_utilization_log::_internal_used_memory() const {
  return _impl_.used_memory_;
}
inline uint32_t sns_diag_mem_utilization_log::used_memory() const {
  // @@protoc_insertion_point(field_get:sns_diag_mem_utilization_log.used_memory)
  return _internal_used_memory();
}
inline void sns_diag_mem_utilization_log::_internal_set_used_memory(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000010u;
  _impl_.used_memory_ = value;
}
inline void sns_diag_mem_utilization_log::set_used_memory(uint32_t value) {
  _internal_set_used_memory(value);
  // @@protoc_insertion_point(field_set:sns_diag_mem_utilization_log.used_memory)
}

// optional fixed64 cookie = 5;
inline bool sns_diag_mem_utilization_log::_internal_has_cookie() const {
  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool sns_diag_mem_utilization_log::has_cookie() const {
  return _internal_has_cookie();
}
inline void sns_diag_mem_utilization_log::clear_cookie() {
  _impl_.cookie_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000008u;
}
inline uint64_t sns_diag_mem_utilization_log::_internal_cookie() const {
  return _impl_.cookie_;
}
inline uint64_t sns_diag_mem_utilization_log::cookie() const {
  // @@protoc_insertion_point(field_get:sns_diag_mem_utilization_log.cookie)
  return _internal_cookie();
}
inline void sns_diag_mem_utilization_log::_internal_set_cookie(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000008u;
  _impl_.cookie_ = value;
}
inline void sns_diag_mem_utilization_log::set_cookie(uint64_t value) {
  _internal_set_cookie(value);
  // @@protoc_insertion_point(field_set:sns_diag_mem_utilization_log.cookie)
}

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

// sns_diag_event_service_log_heap_stats

// required .sns_diag_event_service_log.heap_stats.sns_event_service_heap_id heap_id = 1;
inline bool sns_diag_event_service_log_heap_stats::_internal_has_heap_id() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_event_service_log_heap_stats::has_heap_id() const {
  return _internal_has_heap_id();
}
inline void sns_diag_event_service_log_heap_stats::clear_heap_id() {
  _impl_.heap_id_ = 0;
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline ::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id sns_diag_event_service_log_heap_stats::_internal_heap_id() const {
  return static_cast< ::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id >(_impl_.heap_id_);
}
inline ::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id sns_diag_event_service_log_heap_stats::heap_id() const {
  // @@protoc_insertion_point(field_get:sns_diag_event_service_log.heap_stats.heap_id)
  return _internal_heap_id();
}
inline void sns_diag_event_service_log_heap_stats::_internal_set_heap_id(::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id value) {
  assert(::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.heap_id_ = value;
}
inline void sns_diag_event_service_log_heap_stats::set_heap_id(::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id value) {
  _internal_set_heap_id(value);
  // @@protoc_insertion_point(field_set:sns_diag_event_service_log.heap_stats.heap_id)
}

// required fixed32 total_memory = 2;
inline bool sns_diag_event_service_log_heap_stats::_internal_has_total_memory() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_diag_event_service_log_heap_stats::has_total_memory() const {
  return _internal_has_total_memory();
}
inline void sns_diag_event_service_log_heap_stats::clear_total_memory() {
  _impl_.total_memory_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint32_t sns_diag_event_service_log_heap_stats::_internal_total_memory() const {
  return _impl_.total_memory_;
}
inline uint32_t sns_diag_event_service_log_heap_stats::total_memory() const {
  // @@protoc_insertion_point(field_get:sns_diag_event_service_log.heap_stats.total_memory)
  return _internal_total_memory();
}
inline void sns_diag_event_service_log_heap_stats::_internal_set_total_memory(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.total_memory_ = value;
}
inline void sns_diag_event_service_log_heap_stats::set_total_memory(uint32_t value) {
  _internal_set_total_memory(value);
  // @@protoc_insertion_point(field_set:sns_diag_event_service_log.heap_stats.total_memory)
}

// required fixed32 used_memory = 3;
inline bool sns_diag_event_service_log_heap_stats::_internal_has_used_memory() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool sns_diag_event_service_log_heap_stats::has_used_memory() const {
  return _internal_has_used_memory();
}
inline void sns_diag_event_service_log_heap_stats::clear_used_memory() {
  _impl_.used_memory_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline uint32_t sns_diag_event_service_log_heap_stats::_internal_used_memory() const {
  return _impl_.used_memory_;
}
inline uint32_t sns_diag_event_service_log_heap_stats::used_memory() const {
  // @@protoc_insertion_point(field_get:sns_diag_event_service_log.heap_stats.used_memory)
  return _internal_used_memory();
}
inline void sns_diag_event_service_log_heap_stats::_internal_set_used_memory(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000004u;
  _impl_.used_memory_ = value;
}
inline void sns_diag_event_service_log_heap_stats::set_used_memory(uint32_t value) {
  _internal_set_used_memory(value);
  // @@protoc_insertion_point(field_set:sns_diag_event_service_log.heap_stats.used_memory)
}

// required fixed32 max_memory = 4;
inline bool sns_diag_event_service_log_heap_stats::_internal_has_max_memory() const {
  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool sns_diag_event_service_log_heap_stats::has_max_memory() const {
  return _internal_has_max_memory();
}
inline void sns_diag_event_service_log_heap_stats::clear_max_memory() {
  _impl_.max_memory_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000008u;
}
inline uint32_t sns_diag_event_service_log_heap_stats::_internal_max_memory() const {
  return _impl_.max_memory_;
}
inline uint32_t sns_diag_event_service_log_heap_stats::max_memory() const {
  // @@protoc_insertion_point(field_get:sns_diag_event_service_log.heap_stats.max_memory)
  return _internal_max_memory();
}
inline void sns_diag_event_service_log_heap_stats::_internal_set_max_memory(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000008u;
  _impl_.max_memory_ = value;
}
inline void sns_diag_event_service_log_heap_stats::set_max_memory(uint32_t value) {
  _internal_set_max_memory(value);
  // @@protoc_insertion_point(field_set:sns_diag_event_service_log.heap_stats.max_memory)
}

// required fixed32 total_clusters = 5;
inline bool sns_diag_event_service_log_heap_stats::_internal_has_total_clusters() const {
  bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
  return value;
}
inline bool sns_diag_event_service_log_heap_stats::has_total_clusters() const {
  return _internal_has_total_clusters();
}
inline void sns_diag_event_service_log_heap_stats::clear_total_clusters() {
  _impl_.total_clusters_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000010u;
}
inline uint32_t sns_diag_event_service_log_heap_stats::_internal_total_clusters() const {
  return _impl_.total_clusters_;
}
inline uint32_t sns_diag_event_service_log_heap_stats::total_clusters() const {
  // @@protoc_insertion_point(field_get:sns_diag_event_service_log.heap_stats.total_clusters)
  return _internal_total_clusters();
}
inline void sns_diag_event_service_log_heap_stats::_internal_set_total_clusters(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000010u;
  _impl_.total_clusters_ = value;
}
inline void sns_diag_event_service_log_heap_stats::set_total_clusters(uint32_t value) {
  _internal_set_total_clusters(value);
  // @@protoc_insertion_point(field_set:sns_diag_event_service_log.heap_stats.total_clusters)
}

// required fixed32 used_clusters = 6;
inline bool sns_diag_event_service_log_heap_stats::_internal_has_used_clusters() const {
  bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
  return value;
}
inline bool sns_diag_event_service_log_heap_stats::has_used_clusters() const {
  return _internal_has_used_clusters();
}
inline void sns_diag_event_service_log_heap_stats::clear_used_clusters() {
  _impl_.used_clusters_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000020u;
}
inline uint32_t sns_diag_event_service_log_heap_stats::_internal_used_clusters() const {
  return _impl_.used_clusters_;
}
inline uint32_t sns_diag_event_service_log_heap_stats::used_clusters() const {
  // @@protoc_insertion_point(field_get:sns_diag_event_service_log.heap_stats.used_clusters)
  return _internal_used_clusters();
}
inline void sns_diag_event_service_log_heap_stats::_internal_set_used_clusters(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000020u;
  _impl_.used_clusters_ = value;
}
inline void sns_diag_event_service_log_heap_stats::set_used_clusters(uint32_t value) {
  _internal_set_used_clusters(value);
  // @@protoc_insertion_point(field_set:sns_diag_event_service_log.heap_stats.used_clusters)
}

// required fixed32 max_clusters = 7;
inline bool sns_diag_event_service_log_heap_stats::_internal_has_max_clusters() const {
  bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
  return value;
}
inline bool sns_diag_event_service_log_heap_stats::has_max_clusters() const {
  return _internal_has_max_clusters();
}
inline void sns_diag_event_service_log_heap_stats::clear_max_clusters() {
  _impl_.max_clusters_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000040u;
}
inline uint32_t sns_diag_event_service_log_heap_stats::_internal_max_clusters() const {
  return _impl_.max_clusters_;
}
inline uint32_t sns_diag_event_service_log_heap_stats::max_clusters() const {
  // @@protoc_insertion_point(field_get:sns_diag_event_service_log.heap_stats.max_clusters)
  return _internal_max_clusters();
}
inline void sns_diag_event_service_log_heap_stats::_internal_set_max_clusters(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000040u;
  _impl_.max_clusters_ = value;
}
inline void sns_diag_event_service_log_heap_stats::set_max_clusters(uint32_t value) {
  _internal_set_max_clusters(value);
  // @@protoc_insertion_point(field_set:sns_diag_event_service_log.heap_stats.max_clusters)
}

// required fixed32 alloc_failures = 8;
inline bool sns_diag_event_service_log_heap_stats::_internal_has_alloc_failures() const {
  bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
  return value;
}
inline bool sns_diag_event_service_log_heap_stats::has_alloc_failures() const {
  return _internal_has_alloc_failures();
}
inline void sns_diag_event_service_log_heap_stats::clear_alloc_failures() {
  _impl_.alloc_failures_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000080u;
}
inline uint32_t sns_diag_event_service_log_heap_stats::_internal_alloc_failures() const {
  return _impl_.alloc_failures_;
}
inline uint32_t sns_diag_event_service_log_heap_stats::alloc_failures() const {
  // @@protoc_insertion_point(field_get:sns_diag_event_service_log.heap_stats.alloc_failures)
  return _internal_alloc_failures();
}
inline void sns_diag_event_service_log_heap_stats::_internal_set_alloc_failures(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000080u;
  _impl_.alloc_failures_ = value;
}
inline void sns_diag_event_service_log_heap_stats::set_alloc_failures(uint32_t value) {
  _internal_set_alloc_failures(value);
  // @@protoc_insertion_point(field_set:sns_diag_event_service_log.heap_stats.alloc_failures)
}

// required fixed32 max_size = 9;
inline bool sns_diag_event_service_log_heap_stats::_internal_has_max_size() const {
  bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
  return value;
}
inline bool sns_diag_event_service_log_heap_stats::has_max_size() const {
  return _internal_has_max_size();
}
inline void sns_diag_event_service_log_heap_stats::clear_max_size() {
  _impl_.max_size_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000100u;
}
inline uint32_t sns_diag_event_service_log_heap_stats::_internal_max_size() const {
  return _impl_.max_size_;
}
inline uint32_t sns_diag_event_service_log_heap_stats::max_size() const {
  // @@protoc_insertion_point(field_get:sns_diag_event_service_log.heap_stats.max_size)
  return _internal_max_size();
}
inline void sns_diag_event_service_log_heap_stats::_internal_set_max_size(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000100u;
  _impl_.max_size_ = value;
}
inline void sns_diag_event_service_log_heap_stats::set_max_size(uint32_t value) {
  _internal_set_max_size(value);
  // @@protoc_insertion_point(field_set:sns_diag_event_service_log.heap_stats.max_size)
}

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

// sns_diag_event_service_log

// required fixed64 timestamp = 1;
inline bool sns_diag_event_service_log::_internal_has_timestamp() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_event_service_log::has_timestamp() const {
  return _internal_has_timestamp();
}
inline void sns_diag_event_service_log::clear_timestamp() {
  _impl_.timestamp_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint64_t sns_diag_event_service_log::_internal_timestamp() const {
  return _impl_.timestamp_;
}
inline uint64_t sns_diag_event_service_log::timestamp() const {
  // @@protoc_insertion_point(field_get:sns_diag_event_service_log.timestamp)
  return _internal_timestamp();
}
inline void sns_diag_event_service_log::_internal_set_timestamp(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.timestamp_ = value;
}
inline void sns_diag_event_service_log::set_timestamp(uint64_t value) {
  _internal_set_timestamp(value);
  // @@protoc_insertion_point(field_set:sns_diag_event_service_log.timestamp)
}

// optional fixed64 cookie = 2;
inline bool sns_diag_event_service_log::_internal_has_cookie() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_diag_event_service_log::has_cookie() const {
  return _internal_has_cookie();
}
inline void sns_diag_event_service_log::clear_cookie() {
  _impl_.cookie_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint64_t sns_diag_event_service_log::_internal_cookie() const {
  return _impl_.cookie_;
}
inline uint64_t sns_diag_event_service_log::cookie() const {
  // @@protoc_insertion_point(field_get:sns_diag_event_service_log.cookie)
  return _internal_cookie();
}
inline void sns_diag_event_service_log::_internal_set_cookie(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.cookie_ = value;
}
inline void sns_diag_event_service_log::set_cookie(uint64_t value) {
  _internal_set_cookie(value);
  // @@protoc_insertion_point(field_set:sns_diag_event_service_log.cookie)
}

// repeated .sns_diag_event_service_log.heap_stats stats = 3;
inline int sns_diag_event_service_log::_internal_stats_size() const {
  return _impl_.stats_.size();
}
inline int sns_diag_event_service_log::stats_size() const {
  return _internal_stats_size();
}
inline void sns_diag_event_service_log::clear_stats() {
  _impl_.stats_.Clear();
}
inline ::sns_diag_event_service_log_heap_stats* sns_diag_event_service_log::mutable_stats(int index) {
  // @@protoc_insertion_point(field_mutable:sns_diag_event_service_log.stats)
  return _impl_.stats_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_diag_event_service_log_heap_stats >*
sns_diag_event_service_log::mutable_stats() {
  // @@protoc_insertion_point(field_mutable_list:sns_diag_event_service_log.stats)
  return &_impl_.stats_;
}
inline const ::sns_diag_event_service_log_heap_stats& sns_diag_event_service_log::_internal_stats(int index) const {
  return _impl_.stats_.Get(index);
}
inline const ::sns_diag_event_service_log_heap_stats& sns_diag_event_service_log::stats(int index) const {
  // @@protoc_insertion_point(field_get:sns_diag_event_service_log.stats)
  return _internal_stats(index);
}
inline ::sns_diag_event_service_log_heap_stats* sns_diag_event_service_log::_internal_add_stats() {
  return _impl_.stats_.Add();
}
inline ::sns_diag_event_service_log_heap_stats* sns_diag_event_service_log::add_stats() {
  ::sns_diag_event_service_log_heap_stats* _add = _internal_add_stats();
  // @@protoc_insertion_point(field_add:sns_diag_event_service_log.stats)
  return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_diag_event_service_log_heap_stats >&
sns_diag_event_service_log::stats() const {
  // @@protoc_insertion_point(field_list:sns_diag_event_service_log.stats)
  return _impl_.stats_;
}

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

// sns_diag_fw_log

// required fixed32 log_id = 1;
inline bool sns_diag_fw_log::_internal_has_log_id() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_diag_fw_log::has_log_id() const {
  return _internal_has_log_id();
}
inline void sns_diag_fw_log::clear_log_id() {
  _impl_.log_id_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint32_t sns_diag_fw_log::_internal_log_id() const {
  return _impl_.log_id_;
}
inline uint32_t sns_diag_fw_log::log_id() const {
  // @@protoc_insertion_point(field_get:sns_diag_fw_log.log_id)
  return _internal_log_id();
}
inline void sns_diag_fw_log::_internal_set_log_id(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.log_id_ = value;
}
inline void sns_diag_fw_log::set_log_id(uint32_t value) {
  _internal_set_log_id(value);
  // @@protoc_insertion_point(field_set:sns_diag_fw_log.log_id)
}

// required fixed64 timestamp = 2;
inline bool sns_diag_fw_log::_internal_has_timestamp() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_diag_fw_log::has_timestamp() const {
  return _internal_has_timestamp();
}
inline void sns_diag_fw_log::clear_timestamp() {
  _impl_.timestamp_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint64_t sns_diag_fw_log::_internal_timestamp() const {
  return _impl_.timestamp_;
}
inline uint64_t sns_diag_fw_log::timestamp() const {
  // @@protoc_insertion_point(field_get:sns_diag_fw_log.timestamp)
  return _internal_timestamp();
}
inline void sns_diag_fw_log::_internal_set_timestamp(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.timestamp_ = value;
}
inline void sns_diag_fw_log::set_timestamp(uint64_t value) {
  _internal_set_timestamp(value);
  // @@protoc_insertion_point(field_set:sns_diag_fw_log.timestamp)
}

// .sns_diag_instance_map_log instance_map_payload = 100;
inline bool sns_diag_fw_log::_internal_has_instance_map_payload() const {
  return fw_log_payload_case() == kInstanceMapPayload;
}
inline bool sns_diag_fw_log::has_instance_map_payload() const {
  return _internal_has_instance_map_payload();
}
inline void sns_diag_fw_log::set_has_instance_map_payload() {
  _impl_._oneof_case_[0] = kInstanceMapPayload;
}
inline void sns_diag_fw_log::clear_instance_map_payload() {
  if (_internal_has_instance_map_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.fw_log_payload_.instance_map_payload_;
    }
    clear_has_fw_log_payload();
  }
}
inline ::sns_diag_instance_map_log* sns_diag_fw_log::release_instance_map_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_fw_log.instance_map_payload)
  if (_internal_has_instance_map_payload()) {
    clear_has_fw_log_payload();
    ::sns_diag_instance_map_log* temp = _impl_.fw_log_payload_.instance_map_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.fw_log_payload_.instance_map_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_instance_map_log& sns_diag_fw_log::_internal_instance_map_payload() const {
  return _internal_has_instance_map_payload()
      ? *_impl_.fw_log_payload_.instance_map_payload_
      : reinterpret_cast< ::sns_diag_instance_map_log&>(::_sns_diag_instance_map_log_default_instance_);
}
inline const ::sns_diag_instance_map_log& sns_diag_fw_log::instance_map_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_fw_log.instance_map_payload)
  return _internal_instance_map_payload();
}
inline ::sns_diag_instance_map_log* sns_diag_fw_log::unsafe_arena_release_instance_map_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_fw_log.instance_map_payload)
  if (_internal_has_instance_map_payload()) {
    clear_has_fw_log_payload();
    ::sns_diag_instance_map_log* temp = _impl_.fw_log_payload_.instance_map_payload_;
    _impl_.fw_log_payload_.instance_map_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_fw_log::unsafe_arena_set_allocated_instance_map_payload(::sns_diag_instance_map_log* instance_map_payload) {
  clear_fw_log_payload();
  if (instance_map_payload) {
    set_has_instance_map_payload();
    _impl_.fw_log_payload_.instance_map_payload_ = instance_map_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_fw_log.instance_map_payload)
}
inline ::sns_diag_instance_map_log* sns_diag_fw_log::_internal_mutable_instance_map_payload() {
  if (!_internal_has_instance_map_payload()) {
    clear_fw_log_payload();
    set_has_instance_map_payload();
    _impl_.fw_log_payload_.instance_map_payload_ = CreateMaybeMessage< ::sns_diag_instance_map_log >(GetArenaForAllocation());
  }
  return _impl_.fw_log_payload_.instance_map_payload_;
}
inline ::sns_diag_instance_map_log* sns_diag_fw_log::mutable_instance_map_payload() {
  ::sns_diag_instance_map_log* _msg = _internal_mutable_instance_map_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_fw_log.instance_map_payload)
  return _msg;
}

// .sns_diag_island_transition_log island_mode_payload = 101;
inline bool sns_diag_fw_log::_internal_has_island_mode_payload() const {
  return fw_log_payload_case() == kIslandModePayload;
}
inline bool sns_diag_fw_log::has_island_mode_payload() const {
  return _internal_has_island_mode_payload();
}
inline void sns_diag_fw_log::set_has_island_mode_payload() {
  _impl_._oneof_case_[0] = kIslandModePayload;
}
inline void sns_diag_fw_log::clear_island_mode_payload() {
  if (_internal_has_island_mode_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.fw_log_payload_.island_mode_payload_;
    }
    clear_has_fw_log_payload();
  }
}
inline ::sns_diag_island_transition_log* sns_diag_fw_log::release_island_mode_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_fw_log.island_mode_payload)
  if (_internal_has_island_mode_payload()) {
    clear_has_fw_log_payload();
    ::sns_diag_island_transition_log* temp = _impl_.fw_log_payload_.island_mode_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.fw_log_payload_.island_mode_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_island_transition_log& sns_diag_fw_log::_internal_island_mode_payload() const {
  return _internal_has_island_mode_payload()
      ? *_impl_.fw_log_payload_.island_mode_payload_
      : reinterpret_cast< ::sns_diag_island_transition_log&>(::_sns_diag_island_transition_log_default_instance_);
}
inline const ::sns_diag_island_transition_log& sns_diag_fw_log::island_mode_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_fw_log.island_mode_payload)
  return _internal_island_mode_payload();
}
inline ::sns_diag_island_transition_log* sns_diag_fw_log::unsafe_arena_release_island_mode_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_fw_log.island_mode_payload)
  if (_internal_has_island_mode_payload()) {
    clear_has_fw_log_payload();
    ::sns_diag_island_transition_log* temp = _impl_.fw_log_payload_.island_mode_payload_;
    _impl_.fw_log_payload_.island_mode_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_fw_log::unsafe_arena_set_allocated_island_mode_payload(::sns_diag_island_transition_log* island_mode_payload) {
  clear_fw_log_payload();
  if (island_mode_payload) {
    set_has_island_mode_payload();
    _impl_.fw_log_payload_.island_mode_payload_ = island_mode_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_fw_log.island_mode_payload)
}
inline ::sns_diag_island_transition_log* sns_diag_fw_log::_internal_mutable_island_mode_payload() {
  if (!_internal_has_island_mode_payload()) {
    clear_fw_log_payload();
    set_has_island_mode_payload();
    _impl_.fw_log_payload_.island_mode_payload_ = CreateMaybeMessage< ::sns_diag_island_transition_log >(GetArenaForAllocation());
  }
  return _impl_.fw_log_payload_.island_mode_payload_;
}
inline ::sns_diag_island_transition_log* sns_diag_fw_log::mutable_island_mode_payload() {
  ::sns_diag_island_transition_log* _msg = _internal_mutable_island_mode_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_fw_log.island_mode_payload)
  return _msg;
}

// .sns_diag_island_exit_vote_log island_exit_vote_payload = 102;
inline bool sns_diag_fw_log::_internal_has_island_exit_vote_payload() const {
  return fw_log_payload_case() == kIslandExitVotePayload;
}
inline bool sns_diag_fw_log::has_island_exit_vote_payload() const {
  return _internal_has_island_exit_vote_payload();
}
inline void sns_diag_fw_log::set_has_island_exit_vote_payload() {
  _impl_._oneof_case_[0] = kIslandExitVotePayload;
}
inline void sns_diag_fw_log::clear_island_exit_vote_payload() {
  if (_internal_has_island_exit_vote_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.fw_log_payload_.island_exit_vote_payload_;
    }
    clear_has_fw_log_payload();
  }
}
inline ::sns_diag_island_exit_vote_log* sns_diag_fw_log::release_island_exit_vote_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_fw_log.island_exit_vote_payload)
  if (_internal_has_island_exit_vote_payload()) {
    clear_has_fw_log_payload();
    ::sns_diag_island_exit_vote_log* temp = _impl_.fw_log_payload_.island_exit_vote_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.fw_log_payload_.island_exit_vote_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_island_exit_vote_log& sns_diag_fw_log::_internal_island_exit_vote_payload() const {
  return _internal_has_island_exit_vote_payload()
      ? *_impl_.fw_log_payload_.island_exit_vote_payload_
      : reinterpret_cast< ::sns_diag_island_exit_vote_log&>(::_sns_diag_island_exit_vote_log_default_instance_);
}
inline const ::sns_diag_island_exit_vote_log& sns_diag_fw_log::island_exit_vote_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_fw_log.island_exit_vote_payload)
  return _internal_island_exit_vote_payload();
}
inline ::sns_diag_island_exit_vote_log* sns_diag_fw_log::unsafe_arena_release_island_exit_vote_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_fw_log.island_exit_vote_payload)
  if (_internal_has_island_exit_vote_payload()) {
    clear_has_fw_log_payload();
    ::sns_diag_island_exit_vote_log* temp = _impl_.fw_log_payload_.island_exit_vote_payload_;
    _impl_.fw_log_payload_.island_exit_vote_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_fw_log::unsafe_arena_set_allocated_island_exit_vote_payload(::sns_diag_island_exit_vote_log* island_exit_vote_payload) {
  clear_fw_log_payload();
  if (island_exit_vote_payload) {
    set_has_island_exit_vote_payload();
    _impl_.fw_log_payload_.island_exit_vote_payload_ = island_exit_vote_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_fw_log.island_exit_vote_payload)
}
inline ::sns_diag_island_exit_vote_log* sns_diag_fw_log::_internal_mutable_island_exit_vote_payload() {
  if (!_internal_has_island_exit_vote_payload()) {
    clear_fw_log_payload();
    set_has_island_exit_vote_payload();
    _impl_.fw_log_payload_.island_exit_vote_payload_ = CreateMaybeMessage< ::sns_diag_island_exit_vote_log >(GetArenaForAllocation());
  }
  return _impl_.fw_log_payload_.island_exit_vote_payload_;
}
inline ::sns_diag_island_exit_vote_log* sns_diag_fw_log::mutable_island_exit_vote_payload() {
  ::sns_diag_island_exit_vote_log* _msg = _internal_mutable_island_exit_vote_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_fw_log.island_exit_vote_payload)
  return _msg;
}

// .sns_diag_mem_utilization_log memory_utilization_payload = 103;
inline bool sns_diag_fw_log::_internal_has_memory_utilization_payload() const {
  return fw_log_payload_case() == kMemoryUtilizationPayload;
}
inline bool sns_diag_fw_log::has_memory_utilization_payload() const {
  return _internal_has_memory_utilization_payload();
}
inline void sns_diag_fw_log::set_has_memory_utilization_payload() {
  _impl_._oneof_case_[0] = kMemoryUtilizationPayload;
}
inline void sns_diag_fw_log::clear_memory_utilization_payload() {
  if (_internal_has_memory_utilization_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.fw_log_payload_.memory_utilization_payload_;
    }
    clear_has_fw_log_payload();
  }
}
inline ::sns_diag_mem_utilization_log* sns_diag_fw_log::release_memory_utilization_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_fw_log.memory_utilization_payload)
  if (_internal_has_memory_utilization_payload()) {
    clear_has_fw_log_payload();
    ::sns_diag_mem_utilization_log* temp = _impl_.fw_log_payload_.memory_utilization_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.fw_log_payload_.memory_utilization_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_mem_utilization_log& sns_diag_fw_log::_internal_memory_utilization_payload() const {
  return _internal_has_memory_utilization_payload()
      ? *_impl_.fw_log_payload_.memory_utilization_payload_
      : reinterpret_cast< ::sns_diag_mem_utilization_log&>(::_sns_diag_mem_utilization_log_default_instance_);
}
inline const ::sns_diag_mem_utilization_log& sns_diag_fw_log::memory_utilization_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_fw_log.memory_utilization_payload)
  return _internal_memory_utilization_payload();
}
inline ::sns_diag_mem_utilization_log* sns_diag_fw_log::unsafe_arena_release_memory_utilization_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_fw_log.memory_utilization_payload)
  if (_internal_has_memory_utilization_payload()) {
    clear_has_fw_log_payload();
    ::sns_diag_mem_utilization_log* temp = _impl_.fw_log_payload_.memory_utilization_payload_;
    _impl_.fw_log_payload_.memory_utilization_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_fw_log::unsafe_arena_set_allocated_memory_utilization_payload(::sns_diag_mem_utilization_log* memory_utilization_payload) {
  clear_fw_log_payload();
  if (memory_utilization_payload) {
    set_has_memory_utilization_payload();
    _impl_.fw_log_payload_.memory_utilization_payload_ = memory_utilization_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_fw_log.memory_utilization_payload)
}
inline ::sns_diag_mem_utilization_log* sns_diag_fw_log::_internal_mutable_memory_utilization_payload() {
  if (!_internal_has_memory_utilization_payload()) {
    clear_fw_log_payload();
    set_has_memory_utilization_payload();
    _impl_.fw_log_payload_.memory_utilization_payload_ = CreateMaybeMessage< ::sns_diag_mem_utilization_log >(GetArenaForAllocation());
  }
  return _impl_.fw_log_payload_.memory_utilization_payload_;
}
inline ::sns_diag_mem_utilization_log* sns_diag_fw_log::mutable_memory_utilization_payload() {
  ::sns_diag_mem_utilization_log* _msg = _internal_mutable_memory_utilization_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_fw_log.memory_utilization_payload)
  return _msg;
}

// .sns_diag_event_service_log event_service_payload = 104;
inline bool sns_diag_fw_log::_internal_has_event_service_payload() const {
  return fw_log_payload_case() == kEventServicePayload;
}
inline bool sns_diag_fw_log::has_event_service_payload() const {
  return _internal_has_event_service_payload();
}
inline void sns_diag_fw_log::set_has_event_service_payload() {
  _impl_._oneof_case_[0] = kEventServicePayload;
}
inline void sns_diag_fw_log::clear_event_service_payload() {
  if (_internal_has_event_service_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.fw_log_payload_.event_service_payload_;
    }
    clear_has_fw_log_payload();
  }
}
inline ::sns_diag_event_service_log* sns_diag_fw_log::release_event_service_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_fw_log.event_service_payload)
  if (_internal_has_event_service_payload()) {
    clear_has_fw_log_payload();
    ::sns_diag_event_service_log* temp = _impl_.fw_log_payload_.event_service_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.fw_log_payload_.event_service_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_event_service_log& sns_diag_fw_log::_internal_event_service_payload() const {
  return _internal_has_event_service_payload()
      ? *_impl_.fw_log_payload_.event_service_payload_
      : reinterpret_cast< ::sns_diag_event_service_log&>(::_sns_diag_event_service_log_default_instance_);
}
inline const ::sns_diag_event_service_log& sns_diag_fw_log::event_service_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_fw_log.event_service_payload)
  return _internal_event_service_payload();
}
inline ::sns_diag_event_service_log* sns_diag_fw_log::unsafe_arena_release_event_service_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_fw_log.event_service_payload)
  if (_internal_has_event_service_payload()) {
    clear_has_fw_log_payload();
    ::sns_diag_event_service_log* temp = _impl_.fw_log_payload_.event_service_payload_;
    _impl_.fw_log_payload_.event_service_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_fw_log::unsafe_arena_set_allocated_event_service_payload(::sns_diag_event_service_log* event_service_payload) {
  clear_fw_log_payload();
  if (event_service_payload) {
    set_has_event_service_payload();
    _impl_.fw_log_payload_.event_service_payload_ = event_service_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_fw_log.event_service_payload)
}
inline ::sns_diag_event_service_log* sns_diag_fw_log::_internal_mutable_event_service_payload() {
  if (!_internal_has_event_service_payload()) {
    clear_fw_log_payload();
    set_has_event_service_payload();
    _impl_.fw_log_payload_.event_service_payload_ = CreateMaybeMessage< ::sns_diag_event_service_log >(GetArenaForAllocation());
  }
  return _impl_.fw_log_payload_.event_service_payload_;
}
inline ::sns_diag_event_service_log* sns_diag_fw_log::mutable_event_service_payload() {
  ::sns_diag_event_service_log* _msg = _internal_mutable_event_service_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_fw_log.event_service_payload)
  return _msg;
}

// .sns_diag_island_log island_payload = 105;
inline bool sns_diag_fw_log::_internal_has_island_payload() const {
  return fw_log_payload_case() == kIslandPayload;
}
inline bool sns_diag_fw_log::has_island_payload() const {
  return _internal_has_island_payload();
}
inline void sns_diag_fw_log::set_has_island_payload() {
  _impl_._oneof_case_[0] = kIslandPayload;
}
inline void sns_diag_fw_log::clear_island_payload() {
  if (_internal_has_island_payload()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.fw_log_payload_.island_payload_;
    }
    clear_has_fw_log_payload();
  }
}
inline ::sns_diag_island_log* sns_diag_fw_log::release_island_payload() {
  // @@protoc_insertion_point(field_release:sns_diag_fw_log.island_payload)
  if (_internal_has_island_payload()) {
    clear_has_fw_log_payload();
    ::sns_diag_island_log* temp = _impl_.fw_log_payload_.island_payload_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.fw_log_payload_.island_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_diag_island_log& sns_diag_fw_log::_internal_island_payload() const {
  return _internal_has_island_payload()
      ? *_impl_.fw_log_payload_.island_payload_
      : reinterpret_cast< ::sns_diag_island_log&>(::_sns_diag_island_log_default_instance_);
}
inline const ::sns_diag_island_log& sns_diag_fw_log::island_payload() const {
  // @@protoc_insertion_point(field_get:sns_diag_fw_log.island_payload)
  return _internal_island_payload();
}
inline ::sns_diag_island_log* sns_diag_fw_log::unsafe_arena_release_island_payload() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_diag_fw_log.island_payload)
  if (_internal_has_island_payload()) {
    clear_has_fw_log_payload();
    ::sns_diag_island_log* temp = _impl_.fw_log_payload_.island_payload_;
    _impl_.fw_log_payload_.island_payload_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_diag_fw_log::unsafe_arena_set_allocated_island_payload(::sns_diag_island_log* island_payload) {
  clear_fw_log_payload();
  if (island_payload) {
    set_has_island_payload();
    _impl_.fw_log_payload_.island_payload_ = island_payload;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_diag_fw_log.island_payload)
}
inline ::sns_diag_island_log* sns_diag_fw_log::_internal_mutable_island_payload() {
  if (!_internal_has_island_payload()) {
    clear_fw_log_payload();
    set_has_island_payload();
    _impl_.fw_log_payload_.island_payload_ = CreateMaybeMessage< ::sns_diag_island_log >(GetArenaForAllocation());
  }
  return _impl_.fw_log_payload_.island_payload_;
}
inline ::sns_diag_island_log* sns_diag_fw_log::mutable_island_payload() {
  ::sns_diag_island_log* _msg = _internal_mutable_island_payload();
  // @@protoc_insertion_point(field_mutable:sns_diag_fw_log.island_payload)
  return _msg;
}

inline bool sns_diag_fw_log::has_fw_log_payload() const {
  return fw_log_payload_case() != FW_LOG_PAYLOAD_NOT_SET;
}
inline void sns_diag_fw_log::clear_has_fw_log_payload() {
  _impl_._oneof_case_[0] = FW_LOG_PAYLOAD_NOT_SET;
}
inline sns_diag_fw_log::FwLogPayloadCase sns_diag_fw_log::fw_log_payload_case() const {
  return sns_diag_fw_log::FwLogPayloadCase(_impl_._oneof_case_[0]);
}
#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__
// -------------------------------------------------------------------

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// @@protoc_insertion_point(namespace_scope)


PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id>() {
  return ::sns_diag_event_service_log_heap_stats_sns_event_service_heap_id_descriptor();
}
template <> struct is_proto_enum< ::sns_diag_batch_sample_type> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::sns_diag_batch_sample_type>() {
  return ::sns_diag_batch_sample_type_descriptor();
}
template <> struct is_proto_enum< ::sns_diag_interrupt> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::sns_diag_interrupt>() {
  return ::sns_diag_interrupt_descriptor();
}
template <> struct is_proto_enum< ::sns_diag_island_state> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::sns_diag_island_state>() {
  return ::sns_diag_island_state_descriptor();
}
template <> struct is_proto_enum< ::sns_diag_heap_id> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::sns_diag_heap_id>() {
  return ::sns_diag_heap_id_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

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