TrinityCore
event_view_types.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: event_view_types.proto
3
4#ifndef PROTOBUF_event_5fview_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_event_5fview_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/generated_enum_reflection.h>
27#include <google/protobuf/unknown_field_set.h>
28#include "Define.h" // for TC_PROTO_API
29// @@protoc_insertion_point(includes)
30
31namespace bgs {
32namespace protocol {
33
34// Internal implementation detail -- do not call these.
38
39class GetEventOptions;
40class ViewMarker;
41
45};
50
51TC_PROTO_API const ::google::protobuf::EnumDescriptor* EventOrder_descriptor();
52inline const ::std::string& EventOrder_Name(EventOrder value) {
53 return ::google::protobuf::internal::NameOfEnum(
54 EventOrder_descriptor(), value);
55}
56inline bool EventOrder_Parse(
57 const ::std::string& name, EventOrder* value) {
58 return ::google::protobuf::internal::ParseNamedEnum<EventOrder>(
59 EventOrder_descriptor(), name, value);
60}
61// ===================================================================
62
63class TC_PROTO_API GetEventOptions : public ::google::protobuf::Message {
64 public:
67
69
71 CopyFrom(from);
72 return *this;
73 }
74
75 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
76 return _unknown_fields_;
77 }
78
79 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
80 return &_unknown_fields_;
81 }
82
83 static const ::google::protobuf::Descriptor* descriptor();
85
86 void Swap(GetEventOptions* other);
87
88 // implements Message ----------------------------------------------
89
91 int GetCachedSize() const { return _cached_size_; }
92 private:
93 void SharedCtor();
94 void SharedDtor();
95 void SetCachedSize(int size) const;
96 public:
97 ::google::protobuf::Metadata GetMetadata() const;
98
99 // nested types ----------------------------------------------------
100
101 // accessors -------------------------------------------------------
102
103 // optional uint64 fetch_from = 1;
104 inline bool has_fetch_from() const;
105 inline void clear_fetch_from();
106 static const int kFetchFromFieldNumber = 1;
107 inline ::google::protobuf::uint64 fetch_from() const;
108 inline void set_fetch_from(::google::protobuf::uint64 value);
109
110 // optional uint64 fetch_until = 2;
111 inline bool has_fetch_until() const;
112 inline void clear_fetch_until();
113 static const int kFetchUntilFieldNumber = 2;
114 inline ::google::protobuf::uint64 fetch_until() const;
115 inline void set_fetch_until(::google::protobuf::uint64 value);
116
117 // optional uint32 max_events = 3;
118 inline bool has_max_events() const;
119 inline void clear_max_events();
120 static const int kMaxEventsFieldNumber = 3;
121 inline ::google::protobuf::uint32 max_events() const;
122 inline void set_max_events(::google::protobuf::uint32 value);
123
124 // optional .bgs.protocol.EventOrder order = 4;
125 inline bool has_order() const;
126 inline void clear_order();
127 static const int kOrderFieldNumber = 4;
129 inline void set_order(::bgs::protocol::EventOrder value);
130
131 // @@protoc_insertion_point(class_scope:bgs.protocol.GetEventOptions)
132 private:
133 inline void set_has_fetch_from();
134 inline void clear_has_fetch_from();
135 inline void set_has_fetch_until();
136 inline void clear_has_fetch_until();
137 inline void set_has_max_events();
138 inline void clear_has_max_events();
139 inline void set_has_order();
140 inline void clear_has_order();
141
142 ::google::protobuf::UnknownFieldSet _unknown_fields_;
143
145 mutable int _cached_size_;
153
156};
157// -------------------------------------------------------------------
158
159class TC_PROTO_API ViewMarker : public ::google::protobuf::Message {
160 public:
162 virtual ~ViewMarker();
163
164 ViewMarker(const ViewMarker& from);
165
166 inline ViewMarker& operator=(const ViewMarker& from) {
167 CopyFrom(from);
168 return *this;
169 }
170
171 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
172 return _unknown_fields_;
173 }
174
175 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
176 return &_unknown_fields_;
177 }
178
179 static const ::google::protobuf::Descriptor* descriptor();
181
182 void Swap(ViewMarker* other);
183
184 // implements Message ----------------------------------------------
185
186 ViewMarker* New() const;
187 int GetCachedSize() const { return _cached_size_; }
188 private:
191 void SetCachedSize(int size) const;
192 public:
193 ::google::protobuf::Metadata GetMetadata() const;
194
195 // nested types ----------------------------------------------------
196
197 // accessors -------------------------------------------------------
198
199 // optional uint64 last_read_time = 1;
200 inline bool has_last_read_time() const;
201 inline void clear_last_read_time();
202 static const int kLastReadTimeFieldNumber = 1;
203 inline ::google::protobuf::uint64 last_read_time() const;
204 inline void set_last_read_time(::google::protobuf::uint64 value);
205
206 // optional uint64 last_message_time = 2;
207 inline bool has_last_message_time() const;
208 inline void clear_last_message_time();
209 static const int kLastMessageTimeFieldNumber = 2;
210 inline ::google::protobuf::uint64 last_message_time() const;
211 inline void set_last_message_time(::google::protobuf::uint64 value);
212
213 // @@protoc_insertion_point(class_scope:bgs.protocol.ViewMarker)
214 private:
215 inline void set_has_last_read_time();
216 inline void clear_has_last_read_time();
217 inline void set_has_last_message_time();
218 inline void clear_has_last_message_time();
219
220 ::google::protobuf::UnknownFieldSet _unknown_fields_;
221
223 mutable int _cached_size_;
229
232};
233// ===================================================================
234
235// ===================================================================
236
237// ===================================================================
238
239// GetEventOptions
240
241// optional uint64 fetch_from = 1;
243 return (_has_bits_[0] & 0x00000001u) != 0;
244}
246 _has_bits_[0] |= 0x00000001u;
247}
249 _has_bits_[0] &= ~0x00000001u;
250}
252 fetch_from_ = GOOGLE_ULONGLONG(0);
254}
256 // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.fetch_from)
257 return fetch_from_;
258}
261 fetch_from_ = value;
262 // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.fetch_from)
263}
264
265// optional uint64 fetch_until = 2;
267 return (_has_bits_[0] & 0x00000002u) != 0;
268}
270 _has_bits_[0] |= 0x00000002u;
271}
273 _has_bits_[0] &= ~0x00000002u;
274}
276 fetch_until_ = GOOGLE_ULONGLONG(0);
278}
280 // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.fetch_until)
281 return fetch_until_;
282}
285 fetch_until_ = value;
286 // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.fetch_until)
287}
288
289// optional uint32 max_events = 3;
291 return (_has_bits_[0] & 0x00000004u) != 0;
292}
294 _has_bits_[0] |= 0x00000004u;
295}
297 _has_bits_[0] &= ~0x00000004u;
298}
300 max_events_ = 0u;
302}
304 // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.max_events)
305 return max_events_;
306}
309 max_events_ = value;
310 // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.max_events)
311}
312
313// optional .bgs.protocol.EventOrder order = 4;
314inline bool GetEventOptions::has_order() const {
315 return (_has_bits_[0] & 0x00000008u) != 0;
316}
318 _has_bits_[0] |= 0x00000008u;
319}
321 _has_bits_[0] &= ~0x00000008u;
322}
324 order_ = 0;
326}
328 // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.order)
329 return static_cast< ::bgs::protocol::EventOrder >(order_);
330}
334 order_ = value;
335 // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.order)
336}
337
338// -------------------------------------------------------------------
339
340// ViewMarker
341
342// optional uint64 last_read_time = 1;
344 return (_has_bits_[0] & 0x00000001u) != 0;
345}
347 _has_bits_[0] |= 0x00000001u;
348}
350 _has_bits_[0] &= ~0x00000001u;
351}
353 last_read_time_ = GOOGLE_ULONGLONG(0);
355}
357 // @@protoc_insertion_point(field_get:bgs.protocol.ViewMarker.last_read_time)
358 return last_read_time_;
359}
362 last_read_time_ = value;
363 // @@protoc_insertion_point(field_set:bgs.protocol.ViewMarker.last_read_time)
364}
365
366// optional uint64 last_message_time = 2;
368 return (_has_bits_[0] & 0x00000002u) != 0;
369}
371 _has_bits_[0] |= 0x00000002u;
372}
374 _has_bits_[0] &= ~0x00000002u;
375}
377 last_message_time_ = GOOGLE_ULONGLONG(0);
379}
381 // @@protoc_insertion_point(field_get:bgs.protocol.ViewMarker.last_message_time)
382 return last_message_time_;
383}
386 last_message_time_ = value;
387 // @@protoc_insertion_point(field_set:bgs.protocol.ViewMarker.last_message_time)
388}
389
390// @@protoc_insertion_point(namespace_scope)
391
392} // namespace protocol
393} // namespace bgs
394
395#ifndef SWIG
396namespace google {
397namespace protobuf {
398template <> struct is_proto_enum< ::bgs::protocol::EventOrder> : ::google::protobuf::internal::true_type {};
399template <>
400inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::EventOrder>() {
402}
403} // namespace google
404} // namespace protobuf
405#endif // SWIG
406
407// @@protoc_insertion_point(global_scope)
408
409#endif // PROTOBUF_event_5fview_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
void set_order(::bgs::protocol::EventOrder value)
inline ::google::protobuf::uint64 fetch_from() const
::google::protobuf::uint32 max_events_
friend void protobuf_AssignDesc_event_5fview_5ftypes_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::uint64 fetch_from_
inline ::google::protobuf::uint32 max_events() const
GetEventOptions & operator=(const GetEventOptions &from)
friend void TC_PROTO_API protobuf_AddDesc_event_5fview_5ftypes_2eproto()
void set_fetch_until(::google::protobuf::uint64 value)
inline ::google::protobuf::uint64 fetch_until() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_fetch_from(::google::protobuf::uint64 value)
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::uint64 fetch_until_
void set_max_events(::google::protobuf::uint32 value)
void Swap(GetEventOptions *other)
inline ::bgs::protocol::EventOrder order() const
static GetEventOptions * default_instance_
::google::protobuf::uint32 _has_bits_[1]
GetEventOptions * New() const
void SetCachedSize(int size) const
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
GetEventOptions(const GetEventOptions &from)
friend void protobuf_ShutdownFile_event_5fview_5ftypes_2eproto()
static const GetEventOptions & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_AssignDesc_event_5fview_5ftypes_2eproto()
static const ViewMarker & default_instance()
inline ::google::protobuf::uint64 last_message_time() const
friend void TC_PROTO_API protobuf_AddDesc_event_5fview_5ftypes_2eproto()
void Swap(ViewMarker *other)
ViewMarker(const ViewMarker &from)
void SetCachedSize(int size) const
inline ::google::protobuf::uint64 last_read_time() const
void set_last_read_time(::google::protobuf::uint64 value)
void set_last_message_time(::google::protobuf::uint64 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
ViewMarker * New() const
ViewMarker & operator=(const ViewMarker &from)
static ViewMarker * default_instance_
::google::protobuf::uint32 _has_bits_[1]
::google::protobuf::uint64 last_read_time_
::google::protobuf::uint64 last_message_time_
friend void protobuf_ShutdownFile_event_5fview_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
constexpr std::size_t size()
Definition: UpdateField.h:796
void protobuf_AssignDesc_event_5fview_5ftypes_2eproto()
bool EventOrder_Parse(const ::std::string &name, EventOrder *value)
const ::std::string & EventOrder_Name(EventOrder value)
const EventOrder EventOrder_MAX
const EventOrder EventOrder_MIN
TC_PROTO_API bool EventOrder_IsValid(int value)
const int EventOrder_ARRAYSIZE
void protobuf_ShutdownFile_event_5fview_5ftypes_2eproto()
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * EventOrder_descriptor()
void TC_PROTO_API protobuf_AddDesc_event_5fview_5ftypes_2eproto()
Definition: Session.h:36