TrinityCore
ets_types.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ets_types.proto
3
4#ifndef PROTOBUF_ets_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_ets_5ftypes_2eproto__INCLUDED
6
7#include <string>
8
9#include <google/protobuf/stubs/common.h>
10
11#if GOOGLE_PROTOBUF_VERSION < 2006000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/generated_message_util.h>
23#include <google/protobuf/message.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/unknown_field_set.h>
27#include "Define.h" // for TC_PROTO_API
28// @@protoc_insertion_point(includes)
29
30namespace bgs {
31namespace protocol {
32
33// Internal implementation detail -- do not call these.
37
38class TimeSeriesId;
39
40// ===================================================================
41
42class TC_PROTO_API TimeSeriesId : public ::google::protobuf::Message {
43 public:
45 virtual ~TimeSeriesId();
46
48
49 inline TimeSeriesId& operator=(const TimeSeriesId& from) {
50 CopyFrom(from);
51 return *this;
52 }
53
54 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
55 return _unknown_fields_;
56 }
57
58 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
59 return &_unknown_fields_;
60 }
61
62 static const ::google::protobuf::Descriptor* descriptor();
64
65 void Swap(TimeSeriesId* other);
66
67 // implements Message ----------------------------------------------
68
69 TimeSeriesId* New() const;
70 int GetCachedSize() const { return _cached_size_; }
71 private:
72 void SharedCtor();
73 void SharedDtor();
74 void SetCachedSize(int size) const;
75 public:
76 ::google::protobuf::Metadata GetMetadata() const;
77
78 // nested types ----------------------------------------------------
79
80 // accessors -------------------------------------------------------
81
82 // optional uint64 epoch = 1;
83 inline bool has_epoch() const;
84 inline void clear_epoch();
85 static const int kEpochFieldNumber = 1;
87 inline void set_epoch(::google::protobuf::uint64 value);
88
89 // optional uint64 position = 2;
90 inline bool has_position() const;
91 inline void clear_position();
92 static const int kPositionFieldNumber = 2;
93 inline ::google::protobuf::uint64 position() const;
94 inline void set_position(::google::protobuf::uint64 value);
95
96 // @@protoc_insertion_point(class_scope:bgs.protocol.TimeSeriesId)
97 private:
98 inline void set_has_epoch();
99 inline void clear_has_epoch();
100 inline void set_has_position();
101 inline void clear_has_position();
102
103 ::google::protobuf::UnknownFieldSet _unknown_fields_;
104
106 mutable int _cached_size_;
112
115};
116// ===================================================================
117
118// ===================================================================
119
120// ===================================================================
121
122// TimeSeriesId
123
124// optional uint64 epoch = 1;
125inline bool TimeSeriesId::has_epoch() const {
126 return (_has_bits_[0] & 0x00000001u) != 0;
127}
129 _has_bits_[0] |= 0x00000001u;
130}
132 _has_bits_[0] &= ~0x00000001u;
133}
135 epoch_ = GOOGLE_ULONGLONG(0);
137}
139 // @@protoc_insertion_point(field_get:bgs.protocol.TimeSeriesId.epoch)
140 return epoch_;
141}
144 epoch_ = value;
145 // @@protoc_insertion_point(field_set:bgs.protocol.TimeSeriesId.epoch)
146}
147
148// optional uint64 position = 2;
149inline bool TimeSeriesId::has_position() const {
150 return (_has_bits_[0] & 0x00000002u) != 0;
151}
153 _has_bits_[0] |= 0x00000002u;
154}
156 _has_bits_[0] &= ~0x00000002u;
157}
159 position_ = GOOGLE_ULONGLONG(0);
161}
163 // @@protoc_insertion_point(field_get:bgs.protocol.TimeSeriesId.position)
164 return position_;
165}
168 position_ = value;
169 // @@protoc_insertion_point(field_set:bgs.protocol.TimeSeriesId.position)
170}
171
172// @@protoc_insertion_point(namespace_scope)
173
174} // namespace protocol
175} // namespace bgs
176
177#ifndef SWIG
178namespace google {
179namespace protobuf {
180} // namespace google
181} // namespace protobuf
182#endif // SWIG
183
184// @@protoc_insertion_point(global_scope)
185
186#endif // PROTOBUF_ets_5ftypes_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint64_t uint64
Definition: Define.h:141
uint32_t uint32
Definition: Define.h:142
::google::protobuf::Metadata GetMetadata() const
static TimeSeriesId * default_instance_
Definition: ets_types.pb.h:114
inline ::google::protobuf::uint64 epoch() const
Definition: ets_types.pb.h:138
void set_epoch(::google::protobuf::uint64 value)
Definition: ets_types.pb.h:142
friend void protobuf_ShutdownFile_ets_5ftypes_2eproto()
friend void TC_PROTO_API protobuf_AddDesc_ets_5ftypes_2eproto()
inline ::google::protobuf::uint64 position() const
Definition: ets_types.pb.h:162
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: ets_types.pb.h:58
void Swap(TimeSeriesId *other)
void SetCachedSize(int size) const
TimeSeriesId(const TimeSeriesId &from)
void set_position(::google::protobuf::uint64 value)
Definition: ets_types.pb.h:166
friend void protobuf_AssignDesc_ets_5ftypes_2eproto()
TimeSeriesId * New() const
static const ::google::protobuf::Descriptor * descriptor()
static const TimeSeriesId & default_instance()
TimeSeriesId & operator=(const TimeSeriesId &from)
Definition: ets_types.pb.h:49
::google::protobuf::uint32 _has_bits_[1]
Definition: ets_types.pb.h:105
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: ets_types.pb.h:103
::google::protobuf::uint64 epoch_
Definition: ets_types.pb.h:107
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: ets_types.pb.h:54
::google::protobuf::uint64 position_
Definition: ets_types.pb.h:108
constexpr std::size_t size()
Definition: UpdateField.h:796
void protobuf_ShutdownFile_ets_5ftypes_2eproto()
void protobuf_AssignDesc_ets_5ftypes_2eproto()
void TC_PROTO_API protobuf_AddDesc_ets_5ftypes_2eproto()
Definition: Session.h:36