4 #ifndef PROTOBUF_ShogunVersion_2eproto__INCLUDED 5 #define PROTOBUF_ShogunVersion_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 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 3000000 < 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/arena.h> 23 #include <google/protobuf/arenastring.h> 24 #include <google/protobuf/generated_message_util.h> 25 #include <google/protobuf/metadata.h> 26 #include <google/protobuf/message.h> 27 #include <google/protobuf/repeated_field.h> 28 #include <google/protobuf/extension_set.h> 29 #include <google/protobuf/generated_enum_reflection.h> 30 #include <google/protobuf/unknown_field_set.h> 56 return ::google::protobuf::internal::NameOfEnum(
61 return ::google::protobuf::internal::ParseNamedEnum<ShogunVersion_SGDataType>(
79 return _internal_metadata_.unknown_fields();
83 return _internal_metadata_.mutable_unknown_fields();
86 static const ::google::protobuf::Descriptor*
descriptor();
96 void CopyFrom(const ::google::protobuf::Message& from);
97 void MergeFrom(const ::google::protobuf::Message& from);
105 ::google::protobuf::io::CodedInputStream* input);
107 ::google::protobuf::io::CodedOutputStream* output)
const;
109 bool deterministic, ::google::protobuf::uint8* output)
const;
117 void SetCachedSize(
int size)
const;
120 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
121 return _internal_metadata_.arena();
123 inline void* MaybeArenaPtr()
const {
124 return _internal_metadata_.raw_arena_ptr();
152 static inline const ::google::protobuf::EnumDescriptor*
170 ::google::protobuf::int32
version()
const;
182 inline void set_has_version();
183 inline void clear_has_version();
184 inline void set_has_data_type();
185 inline void clear_has_data_type();
188 int RequiredFieldsByteSizeFallback()
const;
190 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
191 ::google::protobuf::uint32 _has_bits_[1];
192 mutable int _cached_size_;
193 ::google::protobuf::int32 version_;
199 void InitAsDefaultInstance();
207 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 212 return (_has_bits_[0] & 0x00000001u) != 0;
214 inline void ShogunVersion::set_has_version() {
215 _has_bits_[0] |= 0x00000001u;
217 inline void ShogunVersion::clear_has_version() {
218 _has_bits_[0] &= ~0x00000001u;
236 return (_has_bits_[0] & 0x00000002u) != 0;
238 inline void ShogunVersion::set_has_data_type() {
239 _has_bits_[0] |= 0x00000002u;
241 inline void ShogunVersion::clear_has_data_type() {
242 _has_bits_[0] &= ~0x00000002u;
246 clear_has_data_type();
259 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 271 inline const EnumDescriptor* GetEnumDescriptor< ::shogun::ShogunVersion_SGDataType>() {
281 #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)
::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)
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *output) const
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)
::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