Drizzled Public API Documentation

replication_options.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: replication_options.proto
3 
4 #ifndef PROTOBUF_replication_5foptions_2eproto__INCLUDED
5 #define PROTOBUF_replication_5foptions_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2004000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 2004001 < 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.
20 #endif
21 
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/repeated_field.h>
24 #include <google/protobuf/extension_set.h>
25 #include <google/protobuf/generated_message_reflection.h>
26 // @@protoc_insertion_point(includes)
27 
28 namespace drizzled {
29 namespace message {
30 
31 // Internal implementation detail -- do not call these.
32 void protobuf_AddDesc_replication_5foptions_2eproto();
33 void protobuf_AssignDesc_replication_5foptions_2eproto();
34 void protobuf_ShutdownFile_replication_5foptions_2eproto();
35 
36 class ReplicationOptions;
37 
38 // ===================================================================
39 
40 class ReplicationOptions : public ::google::protobuf::Message {
41  public:
43  virtual ~ReplicationOptions();
44 
46 
47  inline ReplicationOptions& operator=(const ReplicationOptions& from) {
48  CopyFrom(from);
49  return *this;
50  }
51 
52  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
53  return _unknown_fields_;
54  }
55 
56  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
57  return &_unknown_fields_;
58  }
59 
60  static const ::google::protobuf::Descriptor* descriptor();
61  static const ReplicationOptions& default_instance();
62 
63  void Swap(ReplicationOptions* other);
64 
65  // implements Message ----------------------------------------------
66 
67  ReplicationOptions* New() const;
68  void CopyFrom(const ::google::protobuf::Message& from);
69  void MergeFrom(const ::google::protobuf::Message& from);
70  void CopyFrom(const ReplicationOptions& from);
71  void MergeFrom(const ReplicationOptions& from);
72  void Clear();
73  bool IsInitialized() const;
74 
75  int ByteSize() const;
76  bool MergePartialFromCodedStream(
77  ::google::protobuf::io::CodedInputStream* input);
78  void SerializeWithCachedSizes(
79  ::google::protobuf::io::CodedOutputStream* output) const;
80  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
81  int GetCachedSize() const { return _cached_size_; }
82  private:
83  void SharedCtor();
84  void SharedDtor();
85  void SetCachedSize(int size) const;
86  public:
87 
88  ::google::protobuf::Metadata GetMetadata() const;
89 
90  // nested types ----------------------------------------------------
91 
92  // accessors -------------------------------------------------------
93 
94  // optional bool is_replicated = 2;
95  inline bool has_is_replicated() const;
96  inline void clear_is_replicated();
97  static const int kIsReplicatedFieldNumber = 2;
98  inline bool is_replicated() const;
99  inline void set_is_replicated(bool value);
100 
101  // @@protoc_insertion_point(class_scope:drizzled.message.ReplicationOptions)
102  private:
103  inline void set_has_is_replicated();
104  inline void clear_has_is_replicated();
105 
106  ::google::protobuf::UnknownFieldSet _unknown_fields_;
107 
108  bool is_replicated_;
109 
110  mutable int _cached_size_;
111  ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
112 
113  friend void protobuf_AddDesc_replication_5foptions_2eproto();
114  friend void protobuf_AssignDesc_replication_5foptions_2eproto();
115  friend void protobuf_ShutdownFile_replication_5foptions_2eproto();
116 
117  void InitAsDefaultInstance();
118  static ReplicationOptions* default_instance_;
119 };
120 // ===================================================================
121 
122 
123 // ===================================================================
124 
125 // ReplicationOptions
126 
127 // optional bool is_replicated = 2;
128 inline bool ReplicationOptions::has_is_replicated() const {
129  return (_has_bits_[0] & 0x00000001u) != 0;
130 }
131 inline void ReplicationOptions::set_has_is_replicated() {
132  _has_bits_[0] |= 0x00000001u;
133 }
134 inline void ReplicationOptions::clear_has_is_replicated() {
135  _has_bits_[0] &= ~0x00000001u;
136 }
137 inline void ReplicationOptions::clear_is_replicated() {
138  is_replicated_ = false;
139  clear_has_is_replicated();
140 }
141 inline bool ReplicationOptions::is_replicated() const {
142  return is_replicated_;
143 }
144 inline void ReplicationOptions::set_is_replicated(bool value) {
145  set_has_is_replicated();
146  is_replicated_ = value;
147 }
148 
149 
150 // @@protoc_insertion_point(namespace_scope)
151 
152 } // namespace message
153 } // namespace drizzled
154 
155 #ifndef SWIG
156 namespace google {
157 namespace protobuf {
158 
159 
160 } // namespace google
161 } // namespace protobuf
162 #endif // SWIG
163 
164 // @@protoc_insertion_point(global_scope)
165 
166 #endif // PROTOBUF_replication_5foptions_2eproto__INCLUDED