4 #ifndef PROTOBUF_ShogunVersion_2eproto__INCLUDED
5 #define PROTOBUF_ShogunVersion_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 2005000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 2005000 < 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.
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>
53 return ::google::protobuf::internal::NameOfEnum(
58 return ::google::protobuf::internal::ParseNamedEnum<ShogunVersion_SGDataType>(
76 return _unknown_fields_;
80 return &_unknown_fields_;
83 static const ::google::protobuf::Descriptor*
descriptor();
91 void CopyFrom(const ::google::protobuf::Message& from);
92 void MergeFrom(const ::google::protobuf::Message& from);
100 ::google::protobuf::io::CodedInputStream* input);
102 ::google::protobuf::io::CodedOutputStream* output)
const;
108 void SetCachedSize(
int size)
const;
130 static inline const ::google::protobuf::EnumDescriptor*
148 inline ::google::protobuf::int32
version()
const;
149 inline void set_version(::google::protobuf::int32 value);
160 inline void set_has_version();
161 inline void clear_has_version();
162 inline void set_has_data_type();
163 inline void clear_has_data_type();
165 ::google::protobuf::UnknownFieldSet _unknown_fields_;
167 ::google::protobuf::int32 version_;
170 mutable int _cached_size_;
171 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
177 void InitAsDefaultInstance();
189 return (_has_bits_[0] & 0x00000001u) != 0;
191 inline void ShogunVersion::set_has_version() {
192 _has_bits_[0] |= 0x00000001u;
194 inline void ShogunVersion::clear_has_version() {
195 _has_bits_[0] &= ~0x00000001u;
211 return (_has_bits_[0] & 0x00000002u) != 0;
213 inline void ShogunVersion::set_has_data_type() {
214 _has_bits_[0] |= 0x00000002u;
216 inline void ShogunVersion::clear_has_data_type() {
217 _has_bits_[0] &= ~0x00000002u;
221 clear_has_data_type();
242 inline const EnumDescriptor* GetEnumDescriptor< ::shogun::ShogunVersion_SGDataType>() {
252 #endif // PROTOBUF_ShogunVersion_2eproto__INCLUDED