// Generated by the protocol buffer compiler. DO NOT EDIT! // source: method_options.proto #ifndef PROTOBUF_method_5foptions_2eproto__INCLUDED #define PROTOBUF_method_5foptions_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 2006000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include "google/protobuf/descriptor.pb.h" // @@protoc_insertion_point(includes) namespace Battlenet { // Internal implementation detail -- do not call these. void protobuf_AddDesc_method_5foptions_2eproto(); void protobuf_AssignDesc_method_5foptions_2eproto(); void protobuf_ShutdownFile_method_5foptions_2eproto(); class BGSMethodOptions; // =================================================================== class BGSMethodOptions : public ::google::protobuf::Message { public: BGSMethodOptions(); virtual ~BGSMethodOptions(); BGSMethodOptions(const BGSMethodOptions& from); inline BGSMethodOptions& operator=(const BGSMethodOptions& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const BGSMethodOptions& default_instance(); void Swap(BGSMethodOptions* other); // implements Message ---------------------------------------------- BGSMethodOptions* New() const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional uint32 id = 1; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 1; inline ::google::protobuf::uint32 id() const; inline void set_id(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:Battlenet.BGSMethodOptions) private: inline void set_has_id(); inline void clear_has_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::uint32 id_; friend void protobuf_AddDesc_method_5foptions_2eproto(); friend void protobuf_AssignDesc_method_5foptions_2eproto(); friend void protobuf_ShutdownFile_method_5foptions_2eproto(); void InitAsDefaultInstance(); static BGSMethodOptions* default_instance_; }; // =================================================================== static const int kMethodOptionsFieldNumber = 90000; extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MethodOptions, ::google::protobuf::internal::MessageTypeTraits< ::Battlenet::BGSMethodOptions >, 11, false > method_options; // =================================================================== // BGSMethodOptions // optional uint32 id = 1; inline bool BGSMethodOptions::has_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void BGSMethodOptions::set_has_id() { _has_bits_[0] |= 0x00000001u; } inline void BGSMethodOptions::clear_has_id() { _has_bits_[0] &= ~0x00000001u; } inline void BGSMethodOptions::clear_id() { id_ = 0u; clear_has_id(); } inline ::google::protobuf::uint32 BGSMethodOptions::id() const { // @@protoc_insertion_point(field_get:Battlenet.BGSMethodOptions.id) return id_; } inline void BGSMethodOptions::set_id(::google::protobuf::uint32 value) { set_has_id(); id_ = value; // @@protoc_insertion_point(field_set:Battlenet.BGSMethodOptions.id) } // @@protoc_insertion_point(namespace_scope) } // namespace Battlenet #ifndef SWIG namespace google { namespace protobuf { } // namespace google } // namespace protobuf #endif // SWIG // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_method_5foptions_2eproto__INCLUDED