statisitcs.pb.h 9.29 KB
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: statisitcs.proto

#ifndef PROTOBUF_statisitcs_2eproto__INCLUDED
#define PROTOBUF_statisitcs_2eproto__INCLUDED

#include <string>

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

#if GOOGLE_PROTOBUF_VERSION < 2005000
#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 2005000 < 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/generated_message_util.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>
// @@protoc_insertion_point(includes)

namespace statisitcs_msg {

// Internal implementation detail -- do not call these.
void  protobuf_AddDesc_statisitcs_2eproto();
void protobuf_AssignDesc_statisitcs_2eproto();
void protobuf_ShutdownFile_statisitcs_2eproto();

class save_msg;
class load_rank_msg_res;

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

class save_msg : public ::google::protobuf::Message {
 public:
  save_msg();
  virtual ~save_msg();

  save_msg(const save_msg& from);

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

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _unknown_fields_;
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return &_unknown_fields_;
  }

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

  void Swap(save_msg* other);

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

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

  int ByteSize() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  public:

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

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

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

  // optional uint32 platform = 1;
  inline bool has_platform() const;
  inline void clear_platform();
  static const int kPlatformFieldNumber = 1;
  inline ::google::protobuf::uint32 platform() const;
  inline void set_platform(::google::protobuf::uint32 value);

  // optional uint32 event_id = 3;
  inline bool has_event_id() const;
  inline void clear_event_id();
  static const int kEventIdFieldNumber = 3;
  inline ::google::protobuf::uint32 event_id() const;
  inline void set_event_id(::google::protobuf::uint32 value);

  // repeated uint32 expand_param = 4;
  inline int expand_param_size() const;
  inline void clear_expand_param();
  static const int kExpandParamFieldNumber = 4;
  inline ::google::protobuf::uint32 expand_param(int index) const;
  inline void set_expand_param(int index, ::google::protobuf::uint32 value);
  inline void add_expand_param(::google::protobuf::uint32 value);
  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
      expand_param() const;
  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
      mutable_expand_param();

  // @@protoc_insertion_point(class_scope:statisitcs_msg.save_msg)
 private:
  inline void set_has_platform();
  inline void clear_has_platform();
  inline void set_has_event_id();
  inline void clear_has_event_id();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::google::protobuf::uint32 platform_;
  ::google::protobuf::uint32 event_id_;
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > expand_param_;

  mutable int _cached_size_;
  ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];

  friend void  protobuf_AddDesc_statisitcs_2eproto();
  friend void protobuf_AssignDesc_statisitcs_2eproto();
  friend void protobuf_ShutdownFile_statisitcs_2eproto();

  void InitAsDefaultInstance();
  static save_msg* default_instance_;
};
// -------------------------------------------------------------------

class load_rank_msg_res : public ::google::protobuf::Message {
 public:
  load_rank_msg_res();
  virtual ~load_rank_msg_res();

  load_rank_msg_res(const load_rank_msg_res& from);

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

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _unknown_fields_;
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return &_unknown_fields_;
  }

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

  void Swap(load_rank_msg_res* other);

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

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

  int ByteSize() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  public:

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

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

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

  // @@protoc_insertion_point(class_scope:statisitcs_msg.load_rank_msg_res)
 private:

  ::google::protobuf::UnknownFieldSet _unknown_fields_;


  mutable int _cached_size_;
  ::google::protobuf::uint32 _has_bits_[1];

  friend void  protobuf_AddDesc_statisitcs_2eproto();
  friend void protobuf_AssignDesc_statisitcs_2eproto();
  friend void protobuf_ShutdownFile_statisitcs_2eproto();

  void InitAsDefaultInstance();
  static load_rank_msg_res* default_instance_;
};
// ===================================================================


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

// save_msg

// optional uint32 platform = 1;
inline bool save_msg::has_platform() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void save_msg::set_has_platform() {
  _has_bits_[0] |= 0x00000001u;
}
inline void save_msg::clear_has_platform() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void save_msg::clear_platform() {
  platform_ = 0u;
  clear_has_platform();
}
inline ::google::protobuf::uint32 save_msg::platform() const {
  return platform_;
}
inline void save_msg::set_platform(::google::protobuf::uint32 value) {
  set_has_platform();
  platform_ = value;
}

// optional uint32 event_id = 3;
inline bool save_msg::has_event_id() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void save_msg::set_has_event_id() {
  _has_bits_[0] |= 0x00000002u;
}
inline void save_msg::clear_has_event_id() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void save_msg::clear_event_id() {
  event_id_ = 0u;
  clear_has_event_id();
}
inline ::google::protobuf::uint32 save_msg::event_id() const {
  return event_id_;
}
inline void save_msg::set_event_id(::google::protobuf::uint32 value) {
  set_has_event_id();
  event_id_ = value;
}

// repeated uint32 expand_param = 4;
inline int save_msg::expand_param_size() const {
  return expand_param_.size();
}
inline void save_msg::clear_expand_param() {
  expand_param_.Clear();
}
inline ::google::protobuf::uint32 save_msg::expand_param(int index) const {
  return expand_param_.Get(index);
}
inline void save_msg::set_expand_param(int index, ::google::protobuf::uint32 value) {
  expand_param_.Set(index, value);
}
inline void save_msg::add_expand_param(::google::protobuf::uint32 value) {
  expand_param_.Add(value);
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
save_msg::expand_param() const {
  return expand_param_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
save_msg::mutable_expand_param() {
  return &expand_param_;
}

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

// load_rank_msg_res


// @@protoc_insertion_point(namespace_scope)

}  // namespace statisitcs_msg

#ifndef SWIG
namespace google {
namespace protobuf {


}  // namespace google
}  // namespace protobuf
#endif  // SWIG

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_statisitcs_2eproto__INCLUDED