// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: common/msg/Notify.proto

#ifndef PROTOBUF_common_2fmsg_2fNotify_2eproto__INCLUDED
#define PROTOBUF_common_2fmsg_2fNotify_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#if GOOGLE_PROTOBUF_VERSION < 3001000
#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 3001000 < GOOGLE_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/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
#include <google/protobuf/any.pb.h>
#include "common/constant/NotifyMsgType.pb.h"
// @@protoc_insertion_point(includes)

// Internal implementation detail -- do not call these.
void protobuf_AddDesc_common_2fmsg_2fNotify_2eproto();
void protobuf_InitDefaults_common_2fmsg_2fNotify_2eproto();
void protobuf_AssignDesc_common_2fmsg_2fNotify_2eproto();
void protobuf_ShutdownFile_common_2fmsg_2fNotify_2eproto();

class PBNotify;

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

class PBNotify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:PBNotify) */ {
 public:
  PBNotify();
  virtual ~PBNotify();

  PBNotify(const PBNotify& from);

  inline PBNotify& operator=(const PBNotify& from) {
    CopyFrom(from);
    return *this;
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const PBNotify& default_instance();

  static const PBNotify* internal_default_instance();

  void Swap(PBNotify* other);

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

  inline PBNotify* New() const { return New(NULL); }

  PBNotify* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const PBNotify& from);
  void MergeFrom(const PBNotify& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PBNotify* other);
  void UnsafeMergeFrom(const PBNotify& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

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

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

  // optional .NotifyMsgType notifyMsgType = 1;
  void clear_notifymsgtype();
  static const int kNotifyMsgTypeFieldNumber = 1;
  ::NotifyMsgType notifymsgtype() const;
  void set_notifymsgtype(::NotifyMsgType value);

  // optional string notifyId = 2;
  void clear_notifyid();
  static const int kNotifyIdFieldNumber = 2;
  const ::std::string& notifyid() const;
  void set_notifyid(const ::std::string& value);
  void set_notifyid(const char* value);
  void set_notifyid(const char* value, size_t size);
  ::std::string* mutable_notifyid();
  ::std::string* release_notifyid();
  void set_allocated_notifyid(::std::string* notifyid);

  // optional uint64 notifyTime = 3;
  void clear_notifytime();
  static const int kNotifyTimeFieldNumber = 3;
  ::google::protobuf::uint64 notifytime() const;
  void set_notifytime(::google::protobuf::uint64 value);

  // optional .google.protobuf.Any payload = 4;
  bool has_payload() const;
  void clear_payload();
  static const int kPayloadFieldNumber = 4;
  const ::google::protobuf::Any& payload() const;
  ::google::protobuf::Any* mutable_payload();
  ::google::protobuf::Any* release_payload();
  void set_allocated_payload(::google::protobuf::Any* payload);

  // @@protoc_insertion_point(class_scope:PBNotify)
 private:

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::ArenaStringPtr notifyid_;
  ::google::protobuf::Any* payload_;
  ::google::protobuf::uint64 notifytime_;
  int notifymsgtype_;
  mutable int _cached_size_;
  friend void  protobuf_InitDefaults_common_2fmsg_2fNotify_2eproto_impl();
  friend void  protobuf_AddDesc_common_2fmsg_2fNotify_2eproto_impl();
  friend void protobuf_AssignDesc_common_2fmsg_2fNotify_2eproto();
  friend void protobuf_ShutdownFile_common_2fmsg_2fNotify_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<PBNotify> PBNotify_default_instance_;

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


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

#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// PBNotify

// optional .NotifyMsgType notifyMsgType = 1;
inline void PBNotify::clear_notifymsgtype() {
  notifymsgtype_ = 0;
}
inline ::NotifyMsgType PBNotify::notifymsgtype() const {
  // @@protoc_insertion_point(field_get:PBNotify.notifyMsgType)
  return static_cast< ::NotifyMsgType >(notifymsgtype_);
}
inline void PBNotify::set_notifymsgtype(::NotifyMsgType value) {
  
  notifymsgtype_ = value;
  // @@protoc_insertion_point(field_set:PBNotify.notifyMsgType)
}

// optional string notifyId = 2;
inline void PBNotify::clear_notifyid() {
  notifyid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& PBNotify::notifyid() const {
  // @@protoc_insertion_point(field_get:PBNotify.notifyId)
  return notifyid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PBNotify::set_notifyid(const ::std::string& value) {
  
  notifyid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:PBNotify.notifyId)
}
inline void PBNotify::set_notifyid(const char* value) {
  
  notifyid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:PBNotify.notifyId)
}
inline void PBNotify::set_notifyid(const char* value, size_t size) {
  
  notifyid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:PBNotify.notifyId)
}
inline ::std::string* PBNotify::mutable_notifyid() {
  
  // @@protoc_insertion_point(field_mutable:PBNotify.notifyId)
  return notifyid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PBNotify::release_notifyid() {
  // @@protoc_insertion_point(field_release:PBNotify.notifyId)
  
  return notifyid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PBNotify::set_allocated_notifyid(::std::string* notifyid) {
  if (notifyid != NULL) {
    
  } else {
    
  }
  notifyid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), notifyid);
  // @@protoc_insertion_point(field_set_allocated:PBNotify.notifyId)
}

// optional uint64 notifyTime = 3;
inline void PBNotify::clear_notifytime() {
  notifytime_ = GOOGLE_ULONGLONG(0);
}
inline ::google::protobuf::uint64 PBNotify::notifytime() const {
  // @@protoc_insertion_point(field_get:PBNotify.notifyTime)
  return notifytime_;
}
inline void PBNotify::set_notifytime(::google::protobuf::uint64 value) {
  
  notifytime_ = value;
  // @@protoc_insertion_point(field_set:PBNotify.notifyTime)
}

// optional .google.protobuf.Any payload = 4;
inline bool PBNotify::has_payload() const {
  return this != internal_default_instance() && payload_ != NULL;
}
inline void PBNotify::clear_payload() {
  if (GetArenaNoVirtual() == NULL && payload_ != NULL) delete payload_;
  payload_ = NULL;
}
inline const ::google::protobuf::Any& PBNotify::payload() const {
  // @@protoc_insertion_point(field_get:PBNotify.payload)
  return payload_ != NULL ? *payload_
                         : *::google::protobuf::Any::internal_default_instance();
}
inline ::google::protobuf::Any* PBNotify::mutable_payload() {
  
  if (payload_ == NULL) {
    payload_ = new ::google::protobuf::Any;
  }
  // @@protoc_insertion_point(field_mutable:PBNotify.payload)
  return payload_;
}
inline ::google::protobuf::Any* PBNotify::release_payload() {
  // @@protoc_insertion_point(field_release:PBNotify.payload)
  
  ::google::protobuf::Any* temp = payload_;
  payload_ = NULL;
  return temp;
}
inline void PBNotify::set_allocated_payload(::google::protobuf::Any* payload) {
  delete payload_;
  payload_ = payload;
  if (payload) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_set_allocated:PBNotify.payload)
}

inline const PBNotify* PBNotify::internal_default_instance() {
  return &PBNotify_default_instance_.get();
}
#endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS

// @@protoc_insertion_point(namespace_scope)

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_common_2fmsg_2fNotify_2eproto__INCLUDED
