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

#ifndef GOOGLE_PROTOBUF_INCLUDED_sns_5fclient_5fbatch_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_sns_5fclient_5fbatch_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_bases.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_type.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_sns_5fclient_5fbatch_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_sns_5fclient_5fbatch_2eproto {
  static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_sns_5fclient_5fbatch_2eproto;
class sns_client_batch_complete;
struct sns_client_batch_completeDefaultTypeInternal;
extern sns_client_batch_completeDefaultTypeInternal _sns_client_batch_complete_default_instance_;
class sns_client_batch_config;
struct sns_client_batch_configDefaultTypeInternal;
extern sns_client_batch_configDefaultTypeInternal _sns_client_batch_config_default_instance_;
class sns_client_batch_event;
struct sns_client_batch_eventDefaultTypeInternal;
extern sns_client_batch_eventDefaultTypeInternal _sns_client_batch_event_default_instance_;
PROTOBUF_NAMESPACE_OPEN
template<> ::sns_client_batch_complete* Arena::CreateMaybeMessage<::sns_client_batch_complete>(Arena*);
template<> ::sns_client_batch_config* Arena::CreateMaybeMessage<::sns_client_batch_config>(Arena*);
template<> ::sns_client_batch_event* Arena::CreateMaybeMessage<::sns_client_batch_event>(Arena*);
PROTOBUF_NAMESPACE_CLOSE

enum sns_client_batch_msgid : int {
  SNS_CLIENT_BATCH_MSGID_SNS_CLIENT_BATCH_CONFIG = 122,
  SNS_CLIENT_BATCH_MSGID_SNS_CLIENT_BATCH_EVENT = 259,
  SNS_CLIENT_BATCH_MSGID_SNS_CLIENT_BATCH_COMPLETE_EVENT = 260
};
bool sns_client_batch_msgid_IsValid(int value);
constexpr sns_client_batch_msgid sns_client_batch_msgid_MIN = SNS_CLIENT_BATCH_MSGID_SNS_CLIENT_BATCH_CONFIG;
constexpr sns_client_batch_msgid sns_client_batch_msgid_MAX = SNS_CLIENT_BATCH_MSGID_SNS_CLIENT_BATCH_COMPLETE_EVENT;
constexpr int sns_client_batch_msgid_ARRAYSIZE = sns_client_batch_msgid_MAX + 1;

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

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

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

  inline sns_client_batch_config& operator=(const sns_client_batch_config& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_client_batch_config& operator=(sns_client_batch_config&& 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_client_batch_config& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_client_batch_config* internal_default_instance() {
    return reinterpret_cast<const sns_client_batch_config*>(
               &_sns_client_batch_config_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(sns_client_batch_config& a, sns_client_batch_config& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_client_batch_config* 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_client_batch_config* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_client_batch_config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_client_batch_config>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_client_batch_config& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_client_batch_config& from) {
    sns_client_batch_config::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_client_batch_config* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_client_batch_config";
  }
  protected:
  explicit sns_client_batch_config(::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 {
    kBatchMsgIdsFieldNumber = 3,
    kSuidFieldNumber = 1,
    kIslandBatchingModeFieldNumber = 2,
  };
  // repeated uint32 batch_msg_ids = 3 [(.nanopb) = {
  int batch_msg_ids_size() const;
  private:
  int _internal_batch_msg_ids_size() const;
  public:
  void clear_batch_msg_ids();
  private:
  uint32_t _internal_batch_msg_ids(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
      _internal_batch_msg_ids() const;
  void _internal_add_batch_msg_ids(uint32_t value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
      _internal_mutable_batch_msg_ids();
  public:
  uint32_t batch_msg_ids(int index) const;
  void set_batch_msg_ids(int index, uint32_t value);
  void add_batch_msg_ids(uint32_t value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
      batch_msg_ids() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
      mutable_batch_msg_ids();

  // optional .sns_std_suid suid = 1;
  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();

  // optional bool island_batching_mode = 2;
  bool has_island_batching_mode() const;
  private:
  bool _internal_has_island_batching_mode() const;
  public:
  void clear_island_batching_mode();
  bool island_batching_mode() const;
  void set_island_batching_mode(bool value);
  private:
  bool _internal_island_batching_mode() const;
  void _internal_set_island_batching_mode(bool value);
  public:

  // @@protoc_insertion_point(class_scope:sns_client_batch_config)
 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 > batch_msg_ids_;
    ::sns_std_suid* suid_;
    bool island_batching_mode_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fclient_5fbatch_2eproto;
};
// -------------------------------------------------------------------

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

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

  inline sns_client_batch_event& operator=(const sns_client_batch_event& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_client_batch_event& operator=(sns_client_batch_event&& 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_client_batch_event& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_client_batch_event* internal_default_instance() {
    return reinterpret_cast<const sns_client_batch_event*>(
               &_sns_client_batch_event_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(sns_client_batch_event& a, sns_client_batch_event& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_client_batch_event* 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_client_batch_event* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_client_batch_event* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_client_batch_event>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_client_batch_event& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_client_batch_event& from) {
    sns_client_batch_event::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_client_batch_event* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_client_batch_event";
  }
  protected:
  explicit sns_client_batch_event(::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 {
    kEventPayloadFieldNumber = 4,
    kUtcTimeFieldNumber = 1,
    kTimeZoneFieldNumber = 2,
    kMsgIdFieldNumber = 3,
  };
  // repeated bytes event_payload = 4;
  int event_payload_size() const;
  private:
  int _internal_event_payload_size() const;
  public:
  void clear_event_payload();
  const std::string& event_payload(int index) const;
  std::string* mutable_event_payload(int index);
  void set_event_payload(int index, const std::string& value);
  void set_event_payload(int index, std::string&& value);
  void set_event_payload(int index, const char* value);
  void set_event_payload(int index, const void* value, size_t size);
  std::string* add_event_payload();
  void add_event_payload(const std::string& value);
  void add_event_payload(std::string&& value);
  void add_event_payload(const char* value);
  void add_event_payload(const void* value, size_t size);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& event_payload() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_event_payload();
  private:
  const std::string& _internal_event_payload(int index) const;
  std::string* _internal_add_event_payload();
  public:

  // optional uint64 utc_time = 1;
  bool has_utc_time() const;
  private:
  bool _internal_has_utc_time() const;
  public:
  void clear_utc_time();
  uint64_t utc_time() const;
  void set_utc_time(uint64_t value);
  private:
  uint64_t _internal_utc_time() const;
  void _internal_set_utc_time(uint64_t value);
  public:

  // optional sint32 time_zone = 2;
  bool has_time_zone() const;
  private:
  bool _internal_has_time_zone() const;
  public:
  void clear_time_zone();
  int32_t time_zone() const;
  void set_time_zone(int32_t value);
  private:
  int32_t _internal_time_zone() const;
  void _internal_set_time_zone(int32_t value);
  public:

  // optional uint32 msg_id = 3;
  bool has_msg_id() const;
  private:
  bool _internal_has_msg_id() const;
  public:
  void clear_msg_id();
  uint32_t msg_id() const;
  void set_msg_id(uint32_t value);
  private:
  uint32_t _internal_msg_id() const;
  void _internal_set_msg_id(uint32_t value);
  public:

  // @@protoc_insertion_point(class_scope:sns_client_batch_event)
 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<std::string> event_payload_;
    uint64_t utc_time_;
    int32_t time_zone_;
    uint32_t msg_id_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fclient_5fbatch_2eproto;
};
// -------------------------------------------------------------------

class sns_client_batch_complete final :
    public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:sns_client_batch_complete) */ {
 public:
  inline sns_client_batch_complete() : sns_client_batch_complete(nullptr) {}
  explicit PROTOBUF_CONSTEXPR sns_client_batch_complete(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_client_batch_complete& operator=(const sns_client_batch_complete& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_client_batch_complete& operator=(sns_client_batch_complete&& 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_client_batch_complete& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_client_batch_complete* internal_default_instance() {
    return reinterpret_cast<const sns_client_batch_complete*>(
               &_sns_client_batch_complete_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(sns_client_batch_complete& a, sns_client_batch_complete& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_client_batch_complete* 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_client_batch_complete* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_client_batch_complete* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_client_batch_complete>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  inline void CopyFrom(const sns_client_batch_complete& from) {
    ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from);
  }
  using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  void MergeFrom(const sns_client_batch_complete& from) {
    ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from);
  }
  public:

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_client_batch_complete";
  }
  protected:
  explicit sns_client_batch_complete(::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 -------------------------------------------------------

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

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
  };
  friend struct ::TableStruct_sns_5fclient_5fbatch_2eproto;
};
// ===================================================================


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

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

// optional .sns_std_suid suid = 1;
inline bool sns_client_batch_config::_internal_has_suid() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.suid_ != nullptr);
  return value;
}
inline bool sns_client_batch_config::has_suid() const {
  return _internal_has_suid();
}
inline const ::sns_std_suid& sns_client_batch_config::_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_client_batch_config::suid() const {
  // @@protoc_insertion_point(field_get:sns_client_batch_config.suid)
  return _internal_suid();
}
inline void sns_client_batch_config::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] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_client_batch_config.suid)
}
inline ::sns_std_suid* sns_client_batch_config::release_suid() {
  _impl_._has_bits_[0] &= ~0x00000001u;
  ::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_client_batch_config::unsafe_arena_release_suid() {
  // @@protoc_insertion_point(field_release:sns_client_batch_config.suid)
  _impl_._has_bits_[0] &= ~0x00000001u;
  ::sns_std_suid* temp = _impl_.suid_;
  _impl_.suid_ = nullptr;
  return temp;
}
inline ::sns_std_suid* sns_client_batch_config::_internal_mutable_suid() {
  _impl_._has_bits_[0] |= 0x00000001u;
  if (_impl_.suid_ == nullptr) {
    auto* p = CreateMaybeMessage<::sns_std_suid>(GetArenaForAllocation());
    _impl_.suid_ = p;
  }
  return _impl_.suid_;
}
inline ::sns_std_suid* sns_client_batch_config::mutable_suid() {
  ::sns_std_suid* _msg = _internal_mutable_suid();
  // @@protoc_insertion_point(field_mutable:sns_client_batch_config.suid)
  return _msg;
}
inline void sns_client_batch_config::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] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.suid_ = suid;
  // @@protoc_insertion_point(field_set_allocated:sns_client_batch_config.suid)
}

// optional bool island_batching_mode = 2;
inline bool sns_client_batch_config::_internal_has_island_batching_mode() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_client_batch_config::has_island_batching_mode() const {
  return _internal_has_island_batching_mode();
}
inline void sns_client_batch_config::clear_island_batching_mode() {
  _impl_.island_batching_mode_ = false;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline bool sns_client_batch_config::_internal_island_batching_mode() const {
  return _impl_.island_batching_mode_;
}
inline bool sns_client_batch_config::island_batching_mode() const {
  // @@protoc_insertion_point(field_get:sns_client_batch_config.island_batching_mode)
  return _internal_island_batching_mode();
}
inline void sns_client_batch_config::_internal_set_island_batching_mode(bool value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.island_batching_mode_ = value;
}
inline void sns_client_batch_config::set_island_batching_mode(bool value) {
  _internal_set_island_batching_mode(value);
  // @@protoc_insertion_point(field_set:sns_client_batch_config.island_batching_mode)
}

// repeated uint32 batch_msg_ids = 3 [(.nanopb) = {
inline int sns_client_batch_config::_internal_batch_msg_ids_size() const {
  return _impl_.batch_msg_ids_.size();
}
inline int sns_client_batch_config::batch_msg_ids_size() const {
  return _internal_batch_msg_ids_size();
}
inline void sns_client_batch_config::clear_batch_msg_ids() {
  _impl_.batch_msg_ids_.Clear();
}
inline uint32_t sns_client_batch_config::_internal_batch_msg_ids(int index) const {
  return _impl_.batch_msg_ids_.Get(index);
}
inline uint32_t sns_client_batch_config::batch_msg_ids(int index) const {
  // @@protoc_insertion_point(field_get:sns_client_batch_config.batch_msg_ids)
  return _internal_batch_msg_ids(index);
}
inline void sns_client_batch_config::set_batch_msg_ids(int index, uint32_t value) {
  _impl_.batch_msg_ids_.Set(index, value);
  // @@protoc_insertion_point(field_set:sns_client_batch_config.batch_msg_ids)
}
inline void sns_client_batch_config::_internal_add_batch_msg_ids(uint32_t value) {
  _impl_.batch_msg_ids_.Add(value);
}
inline void sns_client_batch_config::add_batch_msg_ids(uint32_t value) {
  _internal_add_batch_msg_ids(value);
  // @@protoc_insertion_point(field_add:sns_client_batch_config.batch_msg_ids)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
sns_client_batch_config::_internal_batch_msg_ids() const {
  return _impl_.batch_msg_ids_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
sns_client_batch_config::batch_msg_ids() const {
  // @@protoc_insertion_point(field_list:sns_client_batch_config.batch_msg_ids)
  return _internal_batch_msg_ids();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
sns_client_batch_config::_internal_mutable_batch_msg_ids() {
  return &_impl_.batch_msg_ids_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
sns_client_batch_config::mutable_batch_msg_ids() {
  // @@protoc_insertion_point(field_mutable_list:sns_client_batch_config.batch_msg_ids)
  return _internal_mutable_batch_msg_ids();
}

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

// sns_client_batch_event

// optional uint64 utc_time = 1;
inline bool sns_client_batch_event::_internal_has_utc_time() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_client_batch_event::has_utc_time() const {
  return _internal_has_utc_time();
}
inline void sns_client_batch_event::clear_utc_time() {
  _impl_.utc_time_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint64_t sns_client_batch_event::_internal_utc_time() const {
  return _impl_.utc_time_;
}
inline uint64_t sns_client_batch_event::utc_time() const {
  // @@protoc_insertion_point(field_get:sns_client_batch_event.utc_time)
  return _internal_utc_time();
}
inline void sns_client_batch_event::_internal_set_utc_time(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.utc_time_ = value;
}
inline void sns_client_batch_event::set_utc_time(uint64_t value) {
  _internal_set_utc_time(value);
  // @@protoc_insertion_point(field_set:sns_client_batch_event.utc_time)
}

// optional sint32 time_zone = 2;
inline bool sns_client_batch_event::_internal_has_time_zone() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_client_batch_event::has_time_zone() const {
  return _internal_has_time_zone();
}
inline void sns_client_batch_event::clear_time_zone() {
  _impl_.time_zone_ = 0;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline int32_t sns_client_batch_event::_internal_time_zone() const {
  return _impl_.time_zone_;
}
inline int32_t sns_client_batch_event::time_zone() const {
  // @@protoc_insertion_point(field_get:sns_client_batch_event.time_zone)
  return _internal_time_zone();
}
inline void sns_client_batch_event::_internal_set_time_zone(int32_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.time_zone_ = value;
}
inline void sns_client_batch_event::set_time_zone(int32_t value) {
  _internal_set_time_zone(value);
  // @@protoc_insertion_point(field_set:sns_client_batch_event.time_zone)
}

// optional uint32 msg_id = 3;
inline bool sns_client_batch_event::_internal_has_msg_id() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool sns_client_batch_event::has_msg_id() const {
  return _internal_has_msg_id();
}
inline void sns_client_batch_event::clear_msg_id() {
  _impl_.msg_id_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline uint32_t sns_client_batch_event::_internal_msg_id() const {
  return _impl_.msg_id_;
}
inline uint32_t sns_client_batch_event::msg_id() const {
  // @@protoc_insertion_point(field_get:sns_client_batch_event.msg_id)
  return _internal_msg_id();
}
inline void sns_client_batch_event::_internal_set_msg_id(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000004u;
  _impl_.msg_id_ = value;
}
inline void sns_client_batch_event::set_msg_id(uint32_t value) {
  _internal_set_msg_id(value);
  // @@protoc_insertion_point(field_set:sns_client_batch_event.msg_id)
}

// repeated bytes event_payload = 4;
inline int sns_client_batch_event::_internal_event_payload_size() const {
  return _impl_.event_payload_.size();
}
inline int sns_client_batch_event::event_payload_size() const {
  return _internal_event_payload_size();
}
inline void sns_client_batch_event::clear_event_payload() {
  _impl_.event_payload_.Clear();
}
inline std::string* sns_client_batch_event::add_event_payload() {
  std::string* _s = _internal_add_event_payload();
  // @@protoc_insertion_point(field_add_mutable:sns_client_batch_event.event_payload)
  return _s;
}
inline const std::string& sns_client_batch_event::_internal_event_payload(int index) const {
  return _impl_.event_payload_.Get(index);
}
inline const std::string& sns_client_batch_event::event_payload(int index) const {
  // @@protoc_insertion_point(field_get:sns_client_batch_event.event_payload)
  return _internal_event_payload(index);
}
inline std::string* sns_client_batch_event::mutable_event_payload(int index) {
  // @@protoc_insertion_point(field_mutable:sns_client_batch_event.event_payload)
  return _impl_.event_payload_.Mutable(index);
}
inline void sns_client_batch_event::set_event_payload(int index, const std::string& value) {
  _impl_.event_payload_.Mutable(index)->assign(value);
  // @@protoc_insertion_point(field_set:sns_client_batch_event.event_payload)
}
inline void sns_client_batch_event::set_event_payload(int index, std::string&& value) {
  _impl_.event_payload_.Mutable(index)->assign(std::move(value));
  // @@protoc_insertion_point(field_set:sns_client_batch_event.event_payload)
}
inline void sns_client_batch_event::set_event_payload(int index, const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _impl_.event_payload_.Mutable(index)->assign(value);
  // @@protoc_insertion_point(field_set_char:sns_client_batch_event.event_payload)
}
inline void sns_client_batch_event::set_event_payload(int index, const void* value, size_t size) {
  _impl_.event_payload_.Mutable(index)->assign(
    reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_set_pointer:sns_client_batch_event.event_payload)
}
inline std::string* sns_client_batch_event::_internal_add_event_payload() {
  return _impl_.event_payload_.Add();
}
inline void sns_client_batch_event::add_event_payload(const std::string& value) {
  _impl_.event_payload_.Add()->assign(value);
  // @@protoc_insertion_point(field_add:sns_client_batch_event.event_payload)
}
inline void sns_client_batch_event::add_event_payload(std::string&& value) {
  _impl_.event_payload_.Add(std::move(value));
  // @@protoc_insertion_point(field_add:sns_client_batch_event.event_payload)
}
inline void sns_client_batch_event::add_event_payload(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _impl_.event_payload_.Add()->assign(value);
  // @@protoc_insertion_point(field_add_char:sns_client_batch_event.event_payload)
}
inline void sns_client_batch_event::add_event_payload(const void* value, size_t size) {
  _impl_.event_payload_.Add()->assign(reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_add_pointer:sns_client_batch_event.event_payload)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
sns_client_batch_event::event_payload() const {
  // @@protoc_insertion_point(field_list:sns_client_batch_event.event_payload)
  return _impl_.event_payload_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
sns_client_batch_event::mutable_event_payload() {
  // @@protoc_insertion_point(field_mutable_list:sns_client_batch_event.event_payload)
  return &_impl_.event_payload_;
}

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

// sns_client_batch_complete

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

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


// @@protoc_insertion_point(namespace_scope)


PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::sns_client_batch_msgid> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::sns_client_batch_msgid>() {
  return ::sns_client_batch_msgid_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

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