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 < 2005000
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 2005000 < 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/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/unknown_field_set.h>
27 // @@protoc_insertion_point(includes)
28 
29 namespace drizzled {
30 namespace message {
31 
32 // Internal implementation detail -- do not call these.
33 void protobuf_AddDesc_replication_5foptions_2eproto();
34 void protobuf_AssignDesc_replication_5foptions_2eproto();
35 void protobuf_ShutdownFile_replication_5foptions_2eproto();
36 
37 class ReplicationOptions;
38 
39 // ===================================================================
40 
41 class ReplicationOptions : public ::google::protobuf::Message {
42  public:
44  virtual ~ReplicationOptions();
45 
47 
48  inline ReplicationOptions& operator=(const ReplicationOptions& from) {
49  CopyFrom(from);
50  return *this;
51  }
52 
53  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
54  return _unknown_fields_;
55  }
56 
57  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
58  return &_unknown_fields_;
59  }
60 
61  static const ::google::protobuf::Descriptor* descriptor();
62  static const ReplicationOptions& default_instance();
63 
64  void Swap(ReplicationOptions* other);
65 
66  // implements Message ----------------------------------------------
67 
68  ReplicationOptions* New() const;
69  void CopyFrom(const ::google::protobuf::Message& from);
70  void MergeFrom(const ::google::protobuf::Message& from);
71  void CopyFrom(const ReplicationOptions& from);
72  void MergeFrom(const ReplicationOptions& from);
73  void Clear();
74  bool IsInitialized() const;
75 
76  int ByteSize() const;
77  bool MergePartialFromCodedStream(
78  ::google::protobuf::io::CodedInputStream* input);
79  void SerializeWithCachedSizes(
80  ::google::protobuf::io::CodedOutputStream* output) const;
81  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
82  int GetCachedSize() const { return _cached_size_; }
83  private:
84  void SharedCtor();
85  void SharedDtor();
86  void SetCachedSize(int size) const;
87  public:
88 
89  ::google::protobuf::Metadata GetMetadata() const;
90 
91  // nested types ----------------------------------------------------
92 
93  // accessors -------------------------------------------------------
94 
95  // optional bool is_replicated = 2;
96  inline bool has_is_replicated() const;
97  inline void clear_is_replicated();
98  static const int kIsReplicatedFieldNumber = 2;
99  inline bool is_replicated() const;
100  inline void set_is_replicated(bool value);
101 
102  // @@protoc_insertion_point(class_scope:drizzled.message.ReplicationOptions)
103  private:
104  inline void set_has_is_replicated();
105  inline void clear_has_is_replicated();
106 
107  ::google::protobuf::UnknownFieldSet _unknown_fields_;
108 
109  bool is_replicated_;
110 
111  mutable int _cached_size_;
112  ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
113 
114  friend void protobuf_AddDesc_replication_5foptions_2eproto();
115  friend void protobuf_AssignDesc_replication_5foptions_2eproto();
116  friend void protobuf_ShutdownFile_replication_5foptions_2eproto();
117 
118  void InitAsDefaultInstance();
119  static ReplicationOptions* default_instance_;
120 };
121 // ===================================================================
122 
123 
124 // ===================================================================
125 
126 // ReplicationOptions
127 
128 // optional bool is_replicated = 2;
129 inline bool ReplicationOptions::has_is_replicated() const {
130  return (_has_bits_[0] & 0x00000001u) != 0;
131 }
132 inline void ReplicationOptions::set_has_is_replicated() {
133  _has_bits_[0] |= 0x00000001u;
134 }
135 inline void ReplicationOptions::clear_has_is_replicated() {
136  _has_bits_[0] &= ~0x00000001u;
137 }
138 inline void ReplicationOptions::clear_is_replicated() {
139  is_replicated_ = false;
140  clear_has_is_replicated();
141 }
142 inline bool ReplicationOptions::is_replicated() const {
143  return is_replicated_;
144 }
145 inline void ReplicationOptions::set_is_replicated(bool value) {
146  set_has_is_replicated();
147  is_replicated_ = value;
148 }
149 
150 
151 // @@protoc_insertion_point(namespace_scope)
152 
153 } // namespace message
154 } // namespace drizzled
155 
156 #ifndef SWIG
157 namespace google {
158 namespace protobuf {
159 
160 
161 } // namespace google
162 } // namespace protobuf
163 #endif // SWIG
164 
165 // @@protoc_insertion_point(global_scope)
166 
167 #endif // PROTOBUF_replication_5foptions_2eproto__INCLUDED