// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: global_extensions/message_options.proto

#ifndef PROTOBUF_global_5fextensions_2fmessage_5foptions_2eproto__INCLUDED
#define PROTOBUF_global_5fextensions_2fmessage_5foptions_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#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 <google/protobuf/generated_message_util.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
#include "google/protobuf/descriptor.pb.h"
#include "Define.h" // for TC_PROTO_API
// @@protoc_insertion_point(includes)

namespace bgs {
namespace protocol {

// Internal implementation detail -- do not call these.
void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fmessage_5foptions_2eproto();
void protobuf_AssignDesc_global_5fextensions_2fmessage_5foptions_2eproto();
void protobuf_ShutdownFile_global_5fextensions_2fmessage_5foptions_2eproto();

class BGSMessageOptions;

// ===================================================================

class TC_PROTO_API BGSMessageOptions : public ::google::protobuf::Message {
 public:
  BGSMessageOptions();
  virtual ~BGSMessageOptions();

  BGSMessageOptions(const BGSMessageOptions& from);

  inline BGSMessageOptions& operator=(const BGSMessageOptions& 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 BGSMessageOptions& default_instance();

  void Swap(BGSMessageOptions* other);

  // implements Message ----------------------------------------------

  BGSMessageOptions* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const BGSMessageOptions& from);
  void MergeFrom(const BGSMessageOptions& from);
  void Clear();
  bool IsInitialized() const;

  int ByteSize() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) 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 bool custom_select_shard = 1;
  inline bool has_custom_select_shard() const;
  inline void clear_custom_select_shard();
  static const int kCustomSelectShardFieldNumber = 1;
  inline bool custom_select_shard() const;
  inline void set_custom_select_shard(bool value);

  // optional bool custom_validator = 2;
  inline bool has_custom_validator() const;
  inline void clear_custom_validator();
  static const int kCustomValidatorFieldNumber = 2;
  inline bool custom_validator() const;
  inline void set_custom_validator(bool value);

  // optional bool client_id_fanout = 3;
  inline bool has_client_id_fanout() const;
  inline void clear_client_id_fanout();
  static const int kClientIdFanoutFieldNumber = 3;
  inline bool client_id_fanout() const;
  inline void set_client_id_fanout(bool value);

  // @@protoc_insertion_point(class_scope:bgs.protocol.BGSMessageOptions)
 private:
  inline void set_has_custom_select_shard();
  inline void clear_has_custom_select_shard();
  inline void set_has_custom_validator();
  inline void clear_has_custom_validator();
  inline void set_has_client_id_fanout();
  inline void clear_has_client_id_fanout();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::google::protobuf::uint32 _has_bits_[1];
  mutable int _cached_size_;
  bool custom_select_shard_;
  bool custom_validator_;
  bool client_id_fanout_;
  friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fmessage_5foptions_2eproto();
  friend void protobuf_AssignDesc_global_5fextensions_2fmessage_5foptions_2eproto();
  friend void protobuf_ShutdownFile_global_5fextensions_2fmessage_5foptions_2eproto();

  void InitAsDefaultInstance();
  static BGSMessageOptions* default_instance_;
};
// ===================================================================


// ===================================================================

static const int kMessageOptionsFieldNumber = 90000;
TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions,
    ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSMessageOptions >, 11, false >
  message_options;

// ===================================================================

// BGSMessageOptions

// optional bool custom_select_shard = 1;
inline bool BGSMessageOptions::has_custom_select_shard() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void BGSMessageOptions::set_has_custom_select_shard() {
  _has_bits_[0] |= 0x00000001u;
}
inline void BGSMessageOptions::clear_has_custom_select_shard() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void BGSMessageOptions::clear_custom_select_shard() {
  custom_select_shard_ = false;
  clear_has_custom_select_shard();
}
inline bool BGSMessageOptions::custom_select_shard() const {
  // @@protoc_insertion_point(field_get:bgs.protocol.BGSMessageOptions.custom_select_shard)
  return custom_select_shard_;
}
inline void BGSMessageOptions::set_custom_select_shard(bool value) {
  set_has_custom_select_shard();
  custom_select_shard_ = value;
  // @@protoc_insertion_point(field_set:bgs.protocol.BGSMessageOptions.custom_select_shard)
}

// optional bool custom_validator = 2;
inline bool BGSMessageOptions::has_custom_validator() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void BGSMessageOptions::set_has_custom_validator() {
  _has_bits_[0] |= 0x00000002u;
}
inline void BGSMessageOptions::clear_has_custom_validator() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void BGSMessageOptions::clear_custom_validator() {
  custom_validator_ = false;
  clear_has_custom_validator();
}
inline bool BGSMessageOptions::custom_validator() const {
  // @@protoc_insertion_point(field_get:bgs.protocol.BGSMessageOptions.custom_validator)
  return custom_validator_;
}
inline void BGSMessageOptions::set_custom_validator(bool value) {
  set_has_custom_validator();
  custom_validator_ = value;
  // @@protoc_insertion_point(field_set:bgs.protocol.BGSMessageOptions.custom_validator)
}

// optional bool client_id_fanout = 3;
inline bool BGSMessageOptions::has_client_id_fanout() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void BGSMessageOptions::set_has_client_id_fanout() {
  _has_bits_[0] |= 0x00000004u;
}
inline void BGSMessageOptions::clear_has_client_id_fanout() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void BGSMessageOptions::clear_client_id_fanout() {
  client_id_fanout_ = false;
  clear_has_client_id_fanout();
}
inline bool BGSMessageOptions::client_id_fanout() const {
  // @@protoc_insertion_point(field_get:bgs.protocol.BGSMessageOptions.client_id_fanout)
  return client_id_fanout_;
}
inline void BGSMessageOptions::set_client_id_fanout(bool value) {
  set_has_client_id_fanout();
  client_id_fanout_ = value;
  // @@protoc_insertion_point(field_set:bgs.protocol.BGSMessageOptions.client_id_fanout)
}


// @@protoc_insertion_point(namespace_scope)

}  // namespace protocol
}  // namespace bgs

#ifndef SWIG
namespace google {
namespace protobuf {


}  // namespace google
}  // namespace protobuf
#endif  // SWIG

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_global_5fextensions_2fmessage_5foptions_2eproto__INCLUDED
