4 #ifndef PROTOBUF_ShogunVersion_2eproto__INCLUDED
5 #define PROTOBUF_ShogunVersion_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
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
16 #if 2006000 < 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;
129 static inline const ::google::protobuf::EnumDescriptor*
147 inline ::google::protobuf::int32
version()
const;
148 inline void set_version(::google::protobuf::int32 value);
159 inline void set_has_version();
160 inline void clear_has_version();
161 inline void set_has_data_type();
162 inline void clear_has_data_type();
164 ::google::protobuf::UnknownFieldSet _unknown_fields_;
166 ::google::protobuf::uint32 _has_bits_[1];
167 mutable int _cached_size_;
168 ::google::protobuf::int32 version_;
174 void InitAsDefaultInstance();
186 return (_has_bits_[0] & 0x00000001u) != 0;
188 inline void ShogunVersion::set_has_version() {
189 _has_bits_[0] |= 0x00000001u;
191 inline void ShogunVersion::clear_has_version() {
192 _has_bits_[0] &= ~0x00000001u;
210 return (_has_bits_[0] & 0x00000002u) != 0;
212 inline void ShogunVersion::set_has_data_type() {
213 _has_bits_[0] |= 0x00000002u;
215 inline void ShogunVersion::clear_has_data_type() {
216 _has_bits_[0] &= ~0x00000002u;
220 clear_has_data_type();
244 inline const EnumDescriptor* GetEnumDescriptor< ::shogun::ShogunVersion_SGDataType>() {
254 #endif // PROTOBUF_ShogunVersion_2eproto__INCLUDED
const ::google::protobuf::EnumDescriptor * ShogunVersion_SGDataType_descriptor()
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
static const int SGDataType_ARRAYSIZE
static const SGDataType SGDataType_MAX
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
bool ShogunVersion_SGDataType_IsValid(int value)
inline::shogun::ShogunVersion_SGDataType data_type() const
void set_data_type(::shogun::ShogunVersion_SGDataType value)
void protobuf_ShutdownFile_ShogunVersion_2eproto()
static const SGDataType SGDataType_MIN
ShogunVersion_SGDataType SGDataType
int GetCachedSize() const
static const int kDataTypeFieldNumber
ShogunVersion * New() const
static bool SGDataType_IsValid(int value)
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const SGDataType STRING_LIST
::google::protobuf::Metadata GetMetadata() const
void protobuf_AssignDesc_ShogunVersion_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
const ShogunVersion_SGDataType ShogunVersion_SGDataType_SGDataType_MAX
const int ShogunVersion_SGDataType_SGDataType_ARRAYSIZE
const ::std::string & ShogunVersion_SGDataType_Name(ShogunVersion_SGDataType value)
void CopyFrom(const ::google::protobuf::Message &from)
friend void protobuf_AddDesc_ShogunVersion_2eproto()
void set_version(::google::protobuf::int32 value)
static const SGDataType SPARSE_VECTOR
static const SGDataType MATRIX
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
ShogunVersion & operator=(const ShogunVersion &from)
static const SGDataType SPARSE_MATRIX
static const ::google::protobuf::EnumDescriptor * SGDataType_descriptor()
friend void protobuf_AssignDesc_ShogunVersion_2eproto()
static const ::std::string & SGDataType_Name(SGDataType value)
static const ShogunVersion & default_instance()
const ShogunVersion_SGDataType ShogunVersion_SGDataType_SGDataType_MIN
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void protobuf_AddDesc_ShogunVersion_2eproto()
bool ShogunVersion_SGDataType_Parse(const ::std::string &name, ShogunVersion_SGDataType *value)
all of classes and functions are contained in the shogun namespace
void Swap(ShogunVersion *other)
void MergeFrom(const ::google::protobuf::Message &from)
inline::google::protobuf::int32 version() const
bool has_data_type() const
static const SGDataType VECTOR
friend void protobuf_ShutdownFile_ShogunVersion_2eproto()
static const int kVersionFieldNumber
static bool SGDataType_Parse(const ::std::string &name, SGDataType *value)
bool IsInitialized() const