DCCL v3
option_extensions.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: dccl/apps/pb_plugin/option_extensions.proto
3 
4 #ifndef PROTOBUF_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto__INCLUDED
5 #define PROTOBUF_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
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 2006001 < 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 #include "google/protobuf/descriptor.pb.h"
28 // @@protoc_insertion_point(includes)
29 
30 namespace dccl {
31 
32 // Internal implementation detail -- do not call these.
33 void protobuf_AddDesc_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto();
34 void protobuf_AssignDesc_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto();
35 void protobuf_ShutdownFile_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto();
36 
37 class DCCLFieldOptions;
38 class DCCLFieldOptions_Units;
39 class DCCLMessageOptions;
40 
41 // ===================================================================
42 
43 class DCCLFieldOptions_Units : public ::google::protobuf::Message {
44  public:
46  virtual ~DCCLFieldOptions_Units();
47 
49 
50  inline DCCLFieldOptions_Units& operator=(const DCCLFieldOptions_Units& from) {
51  CopyFrom(from);
52  return *this;
53  }
54 
55  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
56  return _unknown_fields_;
57  }
58 
59  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
60  return &_unknown_fields_;
61  }
62 
63  static const ::google::protobuf::Descriptor* descriptor();
64  static const DCCLFieldOptions_Units& default_instance();
65 
66  void Swap(DCCLFieldOptions_Units* other);
67 
68  // implements Message ----------------------------------------------
69 
70  DCCLFieldOptions_Units* New() const;
71  void CopyFrom(const ::google::protobuf::Message& from);
72  void MergeFrom(const ::google::protobuf::Message& from);
73  void CopyFrom(const DCCLFieldOptions_Units& from);
74  void MergeFrom(const DCCLFieldOptions_Units& from);
75  void Clear();
76  bool IsInitialized() const;
77 
78  int ByteSize() const;
79  bool MergePartialFromCodedStream(
80  ::google::protobuf::io::CodedInputStream* input);
81  void SerializeWithCachedSizes(
82  ::google::protobuf::io::CodedOutputStream* output) const;
83  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
84  int GetCachedSize() const { return _cached_size_; }
85  private:
86  void SharedCtor();
87  void SharedDtor();
88  void SetCachedSize(int size) const;
89  public:
90  ::google::protobuf::Metadata GetMetadata() const;
91 
92  // nested types ----------------------------------------------------
93 
94  // accessors -------------------------------------------------------
95 
96  // optional string base_dimensions = 1;
97  inline bool has_base_dimensions() const;
98  inline void clear_base_dimensions();
99  static const int kBaseDimensionsFieldNumber = 1;
100  inline const ::std::string& base_dimensions() const;
101  inline void set_base_dimensions(const ::std::string& value);
102  inline void set_base_dimensions(const char* value);
103  inline void set_base_dimensions(const char* value, size_t size);
104  inline ::std::string* mutable_base_dimensions();
105  inline ::std::string* release_base_dimensions();
106  inline void set_allocated_base_dimensions(::std::string* base_dimensions);
107 
108  // optional string derived_dimensions = 2;
109  inline bool has_derived_dimensions() const;
110  inline void clear_derived_dimensions();
111  static const int kDerivedDimensionsFieldNumber = 2;
112  inline const ::std::string& derived_dimensions() const;
113  inline void set_derived_dimensions(const ::std::string& value);
114  inline void set_derived_dimensions(const char* value);
115  inline void set_derived_dimensions(const char* value, size_t size);
116  inline ::std::string* mutable_derived_dimensions();
117  inline ::std::string* release_derived_dimensions();
118  inline void set_allocated_derived_dimensions(::std::string* derived_dimensions);
119 
120  // optional string system = 3 [default = "si"];
121  inline bool has_system() const;
122  inline void clear_system();
123  static const int kSystemFieldNumber = 3;
124  inline const ::std::string& system() const;
125  inline void set_system(const ::std::string& value);
126  inline void set_system(const char* value);
127  inline void set_system(const char* value, size_t size);
128  inline ::std::string* mutable_system();
129  inline ::std::string* release_system();
130  inline void set_allocated_system(::std::string* system);
131 
132  // optional bool relative_temperature = 4 [default = false];
133  inline bool has_relative_temperature() const;
134  inline void clear_relative_temperature();
135  static const int kRelativeTemperatureFieldNumber = 4;
136  inline bool relative_temperature() const;
137  inline void set_relative_temperature(bool value);
138 
139  // optional string unit = 5;
140  inline bool has_unit() const;
141  inline void clear_unit();
142  static const int kUnitFieldNumber = 5;
143  inline const ::std::string& unit() const;
144  inline void set_unit(const ::std::string& value);
145  inline void set_unit(const char* value);
146  inline void set_unit(const char* value, size_t size);
147  inline ::std::string* mutable_unit();
148  inline ::std::string* release_unit();
149  inline void set_allocated_unit(::std::string* unit);
150 
151  // optional string prefix = 6;
152  inline bool has_prefix() const;
153  inline void clear_prefix();
154  static const int kPrefixFieldNumber = 6;
155  inline const ::std::string& prefix() const;
156  inline void set_prefix(const ::std::string& value);
157  inline void set_prefix(const char* value);
158  inline void set_prefix(const char* value, size_t size);
159  inline ::std::string* mutable_prefix();
160  inline ::std::string* release_prefix();
161  inline void set_allocated_prefix(::std::string* prefix);
162 
163  // @@protoc_insertion_point(class_scope:dccl.DCCLFieldOptions.Units)
164  private:
165  inline void set_has_base_dimensions();
166  inline void clear_has_base_dimensions();
167  inline void set_has_derived_dimensions();
168  inline void clear_has_derived_dimensions();
169  inline void set_has_system();
170  inline void clear_has_system();
171  inline void set_has_relative_temperature();
172  inline void clear_has_relative_temperature();
173  inline void set_has_unit();
174  inline void clear_has_unit();
175  inline void set_has_prefix();
176  inline void clear_has_prefix();
177 
178  ::google::protobuf::UnknownFieldSet _unknown_fields_;
179 
180  ::google::protobuf::uint32 _has_bits_[1];
181  mutable int _cached_size_;
182  ::std::string* base_dimensions_;
183  ::std::string* derived_dimensions_;
184  static ::std::string* _default_system_;
185  ::std::string* system_;
186  ::std::string* unit_;
187  ::std::string* prefix_;
188  bool relative_temperature_;
189  friend void protobuf_AddDesc_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto();
190  friend void protobuf_AssignDesc_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto();
191  friend void protobuf_ShutdownFile_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto();
192 
193  void InitAsDefaultInstance();
194  static DCCLFieldOptions_Units* default_instance_;
195 };
196 // -------------------------------------------------------------------
197 
198 class DCCLFieldOptions : public ::google::protobuf::Message {
199  public:
201  virtual ~DCCLFieldOptions();
202 
203  DCCLFieldOptions(const DCCLFieldOptions& from);
204 
205  inline DCCLFieldOptions& operator=(const DCCLFieldOptions& from) {
206  CopyFrom(from);
207  return *this;
208  }
209 
210  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
211  return _unknown_fields_;
212  }
213 
214  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
215  return &_unknown_fields_;
216  }
217 
218  static const ::google::protobuf::Descriptor* descriptor();
219  static const DCCLFieldOptions& default_instance();
220 
221  void Swap(DCCLFieldOptions* other);
222 
223  // implements Message ----------------------------------------------
224 
225  DCCLFieldOptions* New() const;
226  void CopyFrom(const ::google::protobuf::Message& from);
227  void MergeFrom(const ::google::protobuf::Message& from);
228  void CopyFrom(const DCCLFieldOptions& from);
229  void MergeFrom(const DCCLFieldOptions& from);
230  void Clear();
231  bool IsInitialized() const;
232 
233  int ByteSize() const;
234  bool MergePartialFromCodedStream(
235  ::google::protobuf::io::CodedInputStream* input);
236  void SerializeWithCachedSizes(
237  ::google::protobuf::io::CodedOutputStream* output) const;
238  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
239  int GetCachedSize() const { return _cached_size_; }
240  private:
241  void SharedCtor();
242  void SharedDtor();
243  void SetCachedSize(int size) const;
244  public:
245  ::google::protobuf::Metadata GetMetadata() const;
246 
247  // nested types ----------------------------------------------------
248 
250 
251  // accessors -------------------------------------------------------
252 
253  // optional string codec = 1 [default = "dccl.default2"];
254  inline bool has_codec() const;
255  inline void clear_codec();
256  static const int kCodecFieldNumber = 1;
257  inline const ::std::string& codec() const;
258  inline void set_codec(const ::std::string& value);
259  inline void set_codec(const char* value);
260  inline void set_codec(const char* value, size_t size);
261  inline ::std::string* mutable_codec();
262  inline ::std::string* release_codec();
263  inline void set_allocated_codec(::std::string* codec);
264 
265  // optional bool omit = 2 [default = false];
266  inline bool has_omit() const;
267  inline void clear_omit();
268  static const int kOmitFieldNumber = 2;
269  inline bool omit() const;
270  inline void set_omit(bool value);
271 
272  // optional bool in_head = 3 [default = false];
273  inline bool has_in_head() const;
274  inline void clear_in_head();
275  static const int kInHeadFieldNumber = 3;
276  inline bool in_head() const;
277  inline void set_in_head(bool value);
278 
279  // optional int32 precision = 4 [default = 0];
280  inline bool has_precision() const;
281  inline void clear_precision();
282  static const int kPrecisionFieldNumber = 4;
283  inline ::google::protobuf::int32 precision() const;
284  inline void set_precision(::google::protobuf::int32 value);
285 
286  // optional double min = 5 [default = 0];
287  inline bool has_min() const;
288  inline void clear_min();
289  static const int kMinFieldNumber = 5;
290  inline double min() const;
291  inline void set_min(double value);
292 
293  // optional double max = 6 [default = 0];
294  inline bool has_max() const;
295  inline void clear_max();
296  static const int kMaxFieldNumber = 6;
297  inline double max() const;
298  inline void set_max(double value);
299 
300  // optional uint32 num_days = 7 [default = 1];
301  inline bool has_num_days() const;
302  inline void clear_num_days();
303  static const int kNumDaysFieldNumber = 7;
304  inline ::google::protobuf::uint32 num_days() const;
305  inline void set_num_days(::google::protobuf::uint32 value);
306 
307  // optional string static_value = 8 [default = ""];
308  inline bool has_static_value() const;
309  inline void clear_static_value();
310  static const int kStaticValueFieldNumber = 8;
311  inline const ::std::string& static_value() const;
312  inline void set_static_value(const ::std::string& value);
313  inline void set_static_value(const char* value);
314  inline void set_static_value(const char* value, size_t size);
315  inline ::std::string* mutable_static_value();
316  inline ::std::string* release_static_value();
317  inline void set_allocated_static_value(::std::string* static_value);
318 
319  // optional uint32 max_length = 9 [default = 0];
320  inline bool has_max_length() const;
321  inline void clear_max_length();
322  static const int kMaxLengthFieldNumber = 9;
323  inline ::google::protobuf::uint32 max_length() const;
324  inline void set_max_length(::google::protobuf::uint32 value);
325 
326  // optional uint32 max_repeat = 10 [default = 1];
327  inline bool has_max_repeat() const;
328  inline void clear_max_repeat();
329  static const int kMaxRepeatFieldNumber = 10;
330  inline ::google::protobuf::uint32 max_repeat() const;
331  inline void set_max_repeat(::google::protobuf::uint32 value);
332 
333  // optional bool packed_enum = 11 [default = true];
334  inline bool has_packed_enum() const;
335  inline void clear_packed_enum();
336  static const int kPackedEnumFieldNumber = 11;
337  inline bool packed_enum() const;
338  inline void set_packed_enum(bool value);
339 
340  // optional string description = 20;
341  inline bool has_description() const;
342  inline void clear_description();
343  static const int kDescriptionFieldNumber = 20;
344  inline const ::std::string& description() const;
345  inline void set_description(const ::std::string& value);
346  inline void set_description(const char* value);
347  inline void set_description(const char* value, size_t size);
348  inline ::std::string* mutable_description();
349  inline ::std::string* release_description();
350  inline void set_allocated_description(::std::string* description);
351 
352  // optional .dccl.DCCLFieldOptions.Units units = 30;
353  inline bool has_units() const;
354  inline void clear_units();
355  static const int kUnitsFieldNumber = 30;
356  inline const ::dccl::DCCLFieldOptions_Units& units() const;
357  inline ::dccl::DCCLFieldOptions_Units* mutable_units();
358  inline ::dccl::DCCLFieldOptions_Units* release_units();
359  inline void set_allocated_units(::dccl::DCCLFieldOptions_Units* units);
360 
361  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(DCCLFieldOptions)
362  // @@protoc_insertion_point(class_scope:dccl.DCCLFieldOptions)
363  private:
364  inline void set_has_codec();
365  inline void clear_has_codec();
366  inline void set_has_omit();
367  inline void clear_has_omit();
368  inline void set_has_in_head();
369  inline void clear_has_in_head();
370  inline void set_has_precision();
371  inline void clear_has_precision();
372  inline void set_has_min();
373  inline void clear_has_min();
374  inline void set_has_max();
375  inline void clear_has_max();
376  inline void set_has_num_days();
377  inline void clear_has_num_days();
378  inline void set_has_static_value();
379  inline void clear_has_static_value();
380  inline void set_has_max_length();
381  inline void clear_has_max_length();
382  inline void set_has_max_repeat();
383  inline void clear_has_max_repeat();
384  inline void set_has_packed_enum();
385  inline void clear_has_packed_enum();
386  inline void set_has_description();
387  inline void clear_has_description();
388  inline void set_has_units();
389  inline void clear_has_units();
390 
391  ::google::protobuf::internal::ExtensionSet _extensions_;
392 
393  ::google::protobuf::UnknownFieldSet _unknown_fields_;
394 
395  ::google::protobuf::uint32 _has_bits_[1];
396  mutable int _cached_size_;
397  static ::std::string* _default_codec_;
398  ::std::string* codec_;
399  double min_;
400  ::google::protobuf::int32 precision_;
401  bool omit_;
402  bool in_head_;
403  bool packed_enum_;
404  double max_;
405  ::std::string* static_value_;
406  ::google::protobuf::uint32 num_days_;
407  ::google::protobuf::uint32 max_length_;
408  ::std::string* description_;
410  ::google::protobuf::uint32 max_repeat_;
411  friend void protobuf_AddDesc_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto();
412  friend void protobuf_AssignDesc_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto();
413  friend void protobuf_ShutdownFile_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto();
414 
415  void InitAsDefaultInstance();
416  static DCCLFieldOptions* default_instance_;
417 };
418 // -------------------------------------------------------------------
419 
420 class DCCLMessageOptions : public ::google::protobuf::Message {
421  public:
423  virtual ~DCCLMessageOptions();
424 
426 
427  inline DCCLMessageOptions& operator=(const DCCLMessageOptions& from) {
428  CopyFrom(from);
429  return *this;
430  }
431 
432  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
433  return _unknown_fields_;
434  }
435 
436  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
437  return &_unknown_fields_;
438  }
439 
440  static const ::google::protobuf::Descriptor* descriptor();
441  static const DCCLMessageOptions& default_instance();
442 
443  void Swap(DCCLMessageOptions* other);
444 
445  // implements Message ----------------------------------------------
446 
447  DCCLMessageOptions* New() const;
448  void CopyFrom(const ::google::protobuf::Message& from);
449  void MergeFrom(const ::google::protobuf::Message& from);
450  void CopyFrom(const DCCLMessageOptions& from);
451  void MergeFrom(const DCCLMessageOptions& from);
452  void Clear();
453  bool IsInitialized() const;
454 
455  int ByteSize() const;
456  bool MergePartialFromCodedStream(
457  ::google::protobuf::io::CodedInputStream* input);
458  void SerializeWithCachedSizes(
459  ::google::protobuf::io::CodedOutputStream* output) const;
460  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
461  int GetCachedSize() const { return _cached_size_; }
462  private:
463  void SharedCtor();
464  void SharedDtor();
465  void SetCachedSize(int size) const;
466  public:
467  ::google::protobuf::Metadata GetMetadata() const;
468 
469  // nested types ----------------------------------------------------
470 
471  // accessors -------------------------------------------------------
472 
473  // optional int32 id = 1;
474  inline bool has_id() const;
475  inline void clear_id();
476  static const int kIdFieldNumber = 1;
477  inline ::google::protobuf::int32 id() const;
478  inline void set_id(::google::protobuf::int32 value);
479 
480  // optional uint32 max_bytes = 2;
481  inline bool has_max_bytes() const;
482  inline void clear_max_bytes();
483  static const int kMaxBytesFieldNumber = 2;
484  inline ::google::protobuf::uint32 max_bytes() const;
485  inline void set_max_bytes(::google::protobuf::uint32 value);
486 
487  // optional string codec = 3 [default = "dccl.default2"];
488  inline bool has_codec() const;
489  inline void clear_codec();
490  static const int kCodecFieldNumber = 3;
491  inline const ::std::string& codec() const;
492  inline void set_codec(const ::std::string& value);
493  inline void set_codec(const char* value);
494  inline void set_codec(const char* value, size_t size);
495  inline ::std::string* mutable_codec();
496  inline ::std::string* release_codec();
497  inline void set_allocated_codec(::std::string* codec);
498 
499  // optional string codec_group = 4 [default = "dccl.default2"];
500  inline bool has_codec_group() const;
501  inline void clear_codec_group();
502  static const int kCodecGroupFieldNumber = 4;
503  inline const ::std::string& codec_group() const;
504  inline void set_codec_group(const ::std::string& value);
505  inline void set_codec_group(const char* value);
506  inline void set_codec_group(const char* value, size_t size);
507  inline ::std::string* mutable_codec_group();
508  inline ::std::string* release_codec_group();
509  inline void set_allocated_codec_group(::std::string* codec_group);
510 
511  // optional int32 codec_version = 5 [default = 2];
512  inline bool has_codec_version() const;
513  inline void clear_codec_version();
514  static const int kCodecVersionFieldNumber = 5;
515  inline ::google::protobuf::int32 codec_version() const;
516  inline void set_codec_version(::google::protobuf::int32 value);
517 
518  // optional string unit_system = 30 [default = "si"];
519  inline bool has_unit_system() const;
520  inline void clear_unit_system();
521  static const int kUnitSystemFieldNumber = 30;
522  inline const ::std::string& unit_system() const;
523  inline void set_unit_system(const ::std::string& value);
524  inline void set_unit_system(const char* value);
525  inline void set_unit_system(const char* value, size_t size);
526  inline ::std::string* mutable_unit_system();
527  inline ::std::string* release_unit_system();
528  inline void set_allocated_unit_system(::std::string* unit_system);
529 
530  // @@protoc_insertion_point(class_scope:dccl.DCCLMessageOptions)
531  private:
532  inline void set_has_id();
533  inline void clear_has_id();
534  inline void set_has_max_bytes();
535  inline void clear_has_max_bytes();
536  inline void set_has_codec();
537  inline void clear_has_codec();
538  inline void set_has_codec_group();
539  inline void clear_has_codec_group();
540  inline void set_has_codec_version();
541  inline void clear_has_codec_version();
542  inline void set_has_unit_system();
543  inline void clear_has_unit_system();
544 
545  ::google::protobuf::UnknownFieldSet _unknown_fields_;
546 
547  ::google::protobuf::uint32 _has_bits_[1];
548  mutable int _cached_size_;
549  ::google::protobuf::int32 id_;
550  ::google::protobuf::uint32 max_bytes_;
551  static ::std::string* _default_codec_;
552  ::std::string* codec_;
553  static ::std::string* _default_codec_group_;
554  ::std::string* codec_group_;
555  static ::std::string* _default_unit_system_;
556  ::std::string* unit_system_;
557  ::google::protobuf::int32 codec_version_;
558  friend void protobuf_AddDesc_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto();
559  friend void protobuf_AssignDesc_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto();
560  friend void protobuf_ShutdownFile_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto();
561 
562  void InitAsDefaultInstance();
563  static DCCLMessageOptions* default_instance_;
564 };
565 // ===================================================================
566 
567 static const int kFieldFieldNumber = 1012;
568 extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
569  ::google::protobuf::internal::MessageTypeTraits< ::dccl::DCCLFieldOptions >, 11, false >
570  field;
571 static const int kMsgFieldNumber = 1012;
572 extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions,
573  ::google::protobuf::internal::MessageTypeTraits< ::dccl::DCCLMessageOptions >, 11, false >
574  msg;
575 
576 // ===================================================================
577 
578 // DCCLFieldOptions_Units
579 
580 // optional string base_dimensions = 1;
581 inline bool DCCLFieldOptions_Units::has_base_dimensions() const {
582  return (_has_bits_[0] & 0x00000001u) != 0;
583 }
584 inline void DCCLFieldOptions_Units::set_has_base_dimensions() {
585  _has_bits_[0] |= 0x00000001u;
586 }
587 inline void DCCLFieldOptions_Units::clear_has_base_dimensions() {
588  _has_bits_[0] &= ~0x00000001u;
589 }
590 inline void DCCLFieldOptions_Units::clear_base_dimensions() {
591  if (base_dimensions_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
592  base_dimensions_->clear();
593  }
594  clear_has_base_dimensions();
595 }
596 inline const ::std::string& DCCLFieldOptions_Units::base_dimensions() const {
597  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.Units.base_dimensions)
598  return *base_dimensions_;
599 }
600 inline void DCCLFieldOptions_Units::set_base_dimensions(const ::std::string& value) {
601  set_has_base_dimensions();
602  if (base_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
603  base_dimensions_ = new ::std::string;
604  }
605  base_dimensions_->assign(value);
606  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.Units.base_dimensions)
607 }
608 inline void DCCLFieldOptions_Units::set_base_dimensions(const char* value) {
609  set_has_base_dimensions();
610  if (base_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
611  base_dimensions_ = new ::std::string;
612  }
613  base_dimensions_->assign(value);
614  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.Units.base_dimensions)
615 }
616 inline void DCCLFieldOptions_Units::set_base_dimensions(const char* value, size_t size) {
617  set_has_base_dimensions();
618  if (base_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
619  base_dimensions_ = new ::std::string;
620  }
621  base_dimensions_->assign(reinterpret_cast<const char*>(value), size);
622  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.Units.base_dimensions)
623 }
624 inline ::std::string* DCCLFieldOptions_Units::mutable_base_dimensions() {
625  set_has_base_dimensions();
626  if (base_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
627  base_dimensions_ = new ::std::string;
628  }
629  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.Units.base_dimensions)
630  return base_dimensions_;
631 }
632 inline ::std::string* DCCLFieldOptions_Units::release_base_dimensions() {
633  clear_has_base_dimensions();
634  if (base_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
635  return NULL;
636  } else {
637  ::std::string* temp = base_dimensions_;
638  base_dimensions_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
639  return temp;
640  }
641 }
642 inline void DCCLFieldOptions_Units::set_allocated_base_dimensions(::std::string* base_dimensions) {
643  if (base_dimensions_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
644  delete base_dimensions_;
645  }
646  if (base_dimensions) {
647  set_has_base_dimensions();
648  base_dimensions_ = base_dimensions;
649  } else {
650  clear_has_base_dimensions();
651  base_dimensions_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
652  }
653  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.Units.base_dimensions)
654 }
655 
656 // optional string derived_dimensions = 2;
657 inline bool DCCLFieldOptions_Units::has_derived_dimensions() const {
658  return (_has_bits_[0] & 0x00000002u) != 0;
659 }
660 inline void DCCLFieldOptions_Units::set_has_derived_dimensions() {
661  _has_bits_[0] |= 0x00000002u;
662 }
663 inline void DCCLFieldOptions_Units::clear_has_derived_dimensions() {
664  _has_bits_[0] &= ~0x00000002u;
665 }
666 inline void DCCLFieldOptions_Units::clear_derived_dimensions() {
667  if (derived_dimensions_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
668  derived_dimensions_->clear();
669  }
670  clear_has_derived_dimensions();
671 }
672 inline const ::std::string& DCCLFieldOptions_Units::derived_dimensions() const {
673  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.Units.derived_dimensions)
674  return *derived_dimensions_;
675 }
676 inline void DCCLFieldOptions_Units::set_derived_dimensions(const ::std::string& value) {
677  set_has_derived_dimensions();
678  if (derived_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
679  derived_dimensions_ = new ::std::string;
680  }
681  derived_dimensions_->assign(value);
682  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.Units.derived_dimensions)
683 }
684 inline void DCCLFieldOptions_Units::set_derived_dimensions(const char* value) {
685  set_has_derived_dimensions();
686  if (derived_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
687  derived_dimensions_ = new ::std::string;
688  }
689  derived_dimensions_->assign(value);
690  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.Units.derived_dimensions)
691 }
692 inline void DCCLFieldOptions_Units::set_derived_dimensions(const char* value, size_t size) {
693  set_has_derived_dimensions();
694  if (derived_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
695  derived_dimensions_ = new ::std::string;
696  }
697  derived_dimensions_->assign(reinterpret_cast<const char*>(value), size);
698  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.Units.derived_dimensions)
699 }
700 inline ::std::string* DCCLFieldOptions_Units::mutable_derived_dimensions() {
701  set_has_derived_dimensions();
702  if (derived_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
703  derived_dimensions_ = new ::std::string;
704  }
705  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.Units.derived_dimensions)
706  return derived_dimensions_;
707 }
708 inline ::std::string* DCCLFieldOptions_Units::release_derived_dimensions() {
709  clear_has_derived_dimensions();
710  if (derived_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
711  return NULL;
712  } else {
713  ::std::string* temp = derived_dimensions_;
714  derived_dimensions_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
715  return temp;
716  }
717 }
718 inline void DCCLFieldOptions_Units::set_allocated_derived_dimensions(::std::string* derived_dimensions) {
719  if (derived_dimensions_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
720  delete derived_dimensions_;
721  }
722  if (derived_dimensions) {
723  set_has_derived_dimensions();
724  derived_dimensions_ = derived_dimensions;
725  } else {
726  clear_has_derived_dimensions();
727  derived_dimensions_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
728  }
729  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.Units.derived_dimensions)
730 }
731 
732 // optional string system = 3 [default = "si"];
733 inline bool DCCLFieldOptions_Units::has_system() const {
734  return (_has_bits_[0] & 0x00000004u) != 0;
735 }
736 inline void DCCLFieldOptions_Units::set_has_system() {
737  _has_bits_[0] |= 0x00000004u;
738 }
739 inline void DCCLFieldOptions_Units::clear_has_system() {
740  _has_bits_[0] &= ~0x00000004u;
741 }
742 inline void DCCLFieldOptions_Units::clear_system() {
743  if (system_ != _default_system_) {
744  system_->assign(*_default_system_);
745  }
746  clear_has_system();
747 }
748 inline const ::std::string& DCCLFieldOptions_Units::system() const {
749  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.Units.system)
750  return *system_;
751 }
752 inline void DCCLFieldOptions_Units::set_system(const ::std::string& value) {
753  set_has_system();
754  if (system_ == _default_system_) {
755  system_ = new ::std::string;
756  }
757  system_->assign(value);
758  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.Units.system)
759 }
760 inline void DCCLFieldOptions_Units::set_system(const char* value) {
761  set_has_system();
762  if (system_ == _default_system_) {
763  system_ = new ::std::string;
764  }
765  system_->assign(value);
766  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.Units.system)
767 }
768 inline void DCCLFieldOptions_Units::set_system(const char* value, size_t size) {
769  set_has_system();
770  if (system_ == _default_system_) {
771  system_ = new ::std::string;
772  }
773  system_->assign(reinterpret_cast<const char*>(value), size);
774  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.Units.system)
775 }
776 inline ::std::string* DCCLFieldOptions_Units::mutable_system() {
777  set_has_system();
778  if (system_ == _default_system_) {
779  system_ = new ::std::string(*_default_system_);
780  }
781  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.Units.system)
782  return system_;
783 }
784 inline ::std::string* DCCLFieldOptions_Units::release_system() {
785  clear_has_system();
786  if (system_ == _default_system_) {
787  return NULL;
788  } else {
789  ::std::string* temp = system_;
790  system_ = const_cast< ::std::string*>(_default_system_);
791  return temp;
792  }
793 }
794 inline void DCCLFieldOptions_Units::set_allocated_system(::std::string* system) {
795  if (system_ != _default_system_) {
796  delete system_;
797  }
798  if (system) {
799  set_has_system();
800  system_ = system;
801  } else {
802  clear_has_system();
803  system_ = const_cast< ::std::string*>(_default_system_);
804  }
805  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.Units.system)
806 }
807 
808 // optional bool relative_temperature = 4 [default = false];
809 inline bool DCCLFieldOptions_Units::has_relative_temperature() const {
810  return (_has_bits_[0] & 0x00000008u) != 0;
811 }
812 inline void DCCLFieldOptions_Units::set_has_relative_temperature() {
813  _has_bits_[0] |= 0x00000008u;
814 }
815 inline void DCCLFieldOptions_Units::clear_has_relative_temperature() {
816  _has_bits_[0] &= ~0x00000008u;
817 }
818 inline void DCCLFieldOptions_Units::clear_relative_temperature() {
819  relative_temperature_ = false;
820  clear_has_relative_temperature();
821 }
822 inline bool DCCLFieldOptions_Units::relative_temperature() const {
823  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.Units.relative_temperature)
824  return relative_temperature_;
825 }
826 inline void DCCLFieldOptions_Units::set_relative_temperature(bool value) {
827  set_has_relative_temperature();
828  relative_temperature_ = value;
829  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.Units.relative_temperature)
830 }
831 
832 // optional string unit = 5;
833 inline bool DCCLFieldOptions_Units::has_unit() const {
834  return (_has_bits_[0] & 0x00000010u) != 0;
835 }
836 inline void DCCLFieldOptions_Units::set_has_unit() {
837  _has_bits_[0] |= 0x00000010u;
838 }
839 inline void DCCLFieldOptions_Units::clear_has_unit() {
840  _has_bits_[0] &= ~0x00000010u;
841 }
842 inline void DCCLFieldOptions_Units::clear_unit() {
843  if (unit_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
844  unit_->clear();
845  }
846  clear_has_unit();
847 }
848 inline const ::std::string& DCCLFieldOptions_Units::unit() const {
849  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.Units.unit)
850  return *unit_;
851 }
852 inline void DCCLFieldOptions_Units::set_unit(const ::std::string& value) {
853  set_has_unit();
854  if (unit_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
855  unit_ = new ::std::string;
856  }
857  unit_->assign(value);
858  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.Units.unit)
859 }
860 inline void DCCLFieldOptions_Units::set_unit(const char* value) {
861  set_has_unit();
862  if (unit_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
863  unit_ = new ::std::string;
864  }
865  unit_->assign(value);
866  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.Units.unit)
867 }
868 inline void DCCLFieldOptions_Units::set_unit(const char* value, size_t size) {
869  set_has_unit();
870  if (unit_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
871  unit_ = new ::std::string;
872  }
873  unit_->assign(reinterpret_cast<const char*>(value), size);
874  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.Units.unit)
875 }
876 inline ::std::string* DCCLFieldOptions_Units::mutable_unit() {
877  set_has_unit();
878  if (unit_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
879  unit_ = new ::std::string;
880  }
881  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.Units.unit)
882  return unit_;
883 }
884 inline ::std::string* DCCLFieldOptions_Units::release_unit() {
885  clear_has_unit();
886  if (unit_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
887  return NULL;
888  } else {
889  ::std::string* temp = unit_;
890  unit_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
891  return temp;
892  }
893 }
894 inline void DCCLFieldOptions_Units::set_allocated_unit(::std::string* unit) {
895  if (unit_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
896  delete unit_;
897  }
898  if (unit) {
899  set_has_unit();
900  unit_ = unit;
901  } else {
902  clear_has_unit();
903  unit_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
904  }
905  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.Units.unit)
906 }
907 
908 // optional string prefix = 6;
909 inline bool DCCLFieldOptions_Units::has_prefix() const {
910  return (_has_bits_[0] & 0x00000020u) != 0;
911 }
912 inline void DCCLFieldOptions_Units::set_has_prefix() {
913  _has_bits_[0] |= 0x00000020u;
914 }
915 inline void DCCLFieldOptions_Units::clear_has_prefix() {
916  _has_bits_[0] &= ~0x00000020u;
917 }
918 inline void DCCLFieldOptions_Units::clear_prefix() {
919  if (prefix_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
920  prefix_->clear();
921  }
922  clear_has_prefix();
923 }
924 inline const ::std::string& DCCLFieldOptions_Units::prefix() const {
925  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.Units.prefix)
926  return *prefix_;
927 }
928 inline void DCCLFieldOptions_Units::set_prefix(const ::std::string& value) {
929  set_has_prefix();
930  if (prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
931  prefix_ = new ::std::string;
932  }
933  prefix_->assign(value);
934  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.Units.prefix)
935 }
936 inline void DCCLFieldOptions_Units::set_prefix(const char* value) {
937  set_has_prefix();
938  if (prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
939  prefix_ = new ::std::string;
940  }
941  prefix_->assign(value);
942  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.Units.prefix)
943 }
944 inline void DCCLFieldOptions_Units::set_prefix(const char* value, size_t size) {
945  set_has_prefix();
946  if (prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
947  prefix_ = new ::std::string;
948  }
949  prefix_->assign(reinterpret_cast<const char*>(value), size);
950  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.Units.prefix)
951 }
952 inline ::std::string* DCCLFieldOptions_Units::mutable_prefix() {
953  set_has_prefix();
954  if (prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
955  prefix_ = new ::std::string;
956  }
957  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.Units.prefix)
958  return prefix_;
959 }
960 inline ::std::string* DCCLFieldOptions_Units::release_prefix() {
961  clear_has_prefix();
962  if (prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
963  return NULL;
964  } else {
965  ::std::string* temp = prefix_;
966  prefix_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
967  return temp;
968  }
969 }
970 inline void DCCLFieldOptions_Units::set_allocated_prefix(::std::string* prefix) {
971  if (prefix_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
972  delete prefix_;
973  }
974  if (prefix) {
975  set_has_prefix();
976  prefix_ = prefix;
977  } else {
978  clear_has_prefix();
979  prefix_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
980  }
981  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.Units.prefix)
982 }
983 
984 // -------------------------------------------------------------------
985 
986 // DCCLFieldOptions
987 
988 // optional string codec = 1 [default = "dccl.default2"];
989 inline bool DCCLFieldOptions::has_codec() const {
990  return (_has_bits_[0] & 0x00000001u) != 0;
991 }
992 inline void DCCLFieldOptions::set_has_codec() {
993  _has_bits_[0] |= 0x00000001u;
994 }
995 inline void DCCLFieldOptions::clear_has_codec() {
996  _has_bits_[0] &= ~0x00000001u;
997 }
998 inline void DCCLFieldOptions::clear_codec() {
999  if (codec_ != _default_codec_) {
1000  codec_->assign(*_default_codec_);
1001  }
1002  clear_has_codec();
1003 }
1004 inline const ::std::string& DCCLFieldOptions::codec() const {
1005  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.codec)
1006  return *codec_;
1007 }
1008 inline void DCCLFieldOptions::set_codec(const ::std::string& value) {
1009  set_has_codec();
1010  if (codec_ == _default_codec_) {
1011  codec_ = new ::std::string;
1012  }
1013  codec_->assign(value);
1014  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.codec)
1015 }
1016 inline void DCCLFieldOptions::set_codec(const char* value) {
1017  set_has_codec();
1018  if (codec_ == _default_codec_) {
1019  codec_ = new ::std::string;
1020  }
1021  codec_->assign(value);
1022  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.codec)
1023 }
1024 inline void DCCLFieldOptions::set_codec(const char* value, size_t size) {
1025  set_has_codec();
1026  if (codec_ == _default_codec_) {
1027  codec_ = new ::std::string;
1028  }
1029  codec_->assign(reinterpret_cast<const char*>(value), size);
1030  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.codec)
1031 }
1032 inline ::std::string* DCCLFieldOptions::mutable_codec() {
1033  set_has_codec();
1034  if (codec_ == _default_codec_) {
1035  codec_ = new ::std::string(*_default_codec_);
1036  }
1037  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.codec)
1038  return codec_;
1039 }
1040 inline ::std::string* DCCLFieldOptions::release_codec() {
1041  clear_has_codec();
1042  if (codec_ == _default_codec_) {
1043  return NULL;
1044  } else {
1045  ::std::string* temp = codec_;
1046  codec_ = const_cast< ::std::string*>(_default_codec_);
1047  return temp;
1048  }
1049 }
1050 inline void DCCLFieldOptions::set_allocated_codec(::std::string* codec) {
1051  if (codec_ != _default_codec_) {
1052  delete codec_;
1053  }
1054  if (codec) {
1055  set_has_codec();
1056  codec_ = codec;
1057  } else {
1058  clear_has_codec();
1059  codec_ = const_cast< ::std::string*>(_default_codec_);
1060  }
1061  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.codec)
1062 }
1063 
1064 // optional bool omit = 2 [default = false];
1065 inline bool DCCLFieldOptions::has_omit() const {
1066  return (_has_bits_[0] & 0x00000002u) != 0;
1067 }
1068 inline void DCCLFieldOptions::set_has_omit() {
1069  _has_bits_[0] |= 0x00000002u;
1070 }
1071 inline void DCCLFieldOptions::clear_has_omit() {
1072  _has_bits_[0] &= ~0x00000002u;
1073 }
1074 inline void DCCLFieldOptions::clear_omit() {
1075  omit_ = false;
1076  clear_has_omit();
1077 }
1078 inline bool DCCLFieldOptions::omit() const {
1079  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.omit)
1080  return omit_;
1081 }
1082 inline void DCCLFieldOptions::set_omit(bool value) {
1083  set_has_omit();
1084  omit_ = value;
1085  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.omit)
1086 }
1087 
1088 // optional bool in_head = 3 [default = false];
1089 inline bool DCCLFieldOptions::has_in_head() const {
1090  return (_has_bits_[0] & 0x00000004u) != 0;
1091 }
1092 inline void DCCLFieldOptions::set_has_in_head() {
1093  _has_bits_[0] |= 0x00000004u;
1094 }
1095 inline void DCCLFieldOptions::clear_has_in_head() {
1096  _has_bits_[0] &= ~0x00000004u;
1097 }
1098 inline void DCCLFieldOptions::clear_in_head() {
1099  in_head_ = false;
1100  clear_has_in_head();
1101 }
1102 inline bool DCCLFieldOptions::in_head() const {
1103  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.in_head)
1104  return in_head_;
1105 }
1106 inline void DCCLFieldOptions::set_in_head(bool value) {
1107  set_has_in_head();
1108  in_head_ = value;
1109  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.in_head)
1110 }
1111 
1112 // optional int32 precision = 4 [default = 0];
1113 inline bool DCCLFieldOptions::has_precision() const {
1114  return (_has_bits_[0] & 0x00000008u) != 0;
1115 }
1116 inline void DCCLFieldOptions::set_has_precision() {
1117  _has_bits_[0] |= 0x00000008u;
1118 }
1119 inline void DCCLFieldOptions::clear_has_precision() {
1120  _has_bits_[0] &= ~0x00000008u;
1121 }
1122 inline void DCCLFieldOptions::clear_precision() {
1123  precision_ = 0;
1124  clear_has_precision();
1125 }
1126 inline ::google::protobuf::int32 DCCLFieldOptions::precision() const {
1127  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.precision)
1128  return precision_;
1129 }
1130 inline void DCCLFieldOptions::set_precision(::google::protobuf::int32 value) {
1131  set_has_precision();
1132  precision_ = value;
1133  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.precision)
1134 }
1135 
1136 // optional double min = 5 [default = 0];
1137 inline bool DCCLFieldOptions::has_min() const {
1138  return (_has_bits_[0] & 0x00000010u) != 0;
1139 }
1140 inline void DCCLFieldOptions::set_has_min() {
1141  _has_bits_[0] |= 0x00000010u;
1142 }
1143 inline void DCCLFieldOptions::clear_has_min() {
1144  _has_bits_[0] &= ~0x00000010u;
1145 }
1146 inline void DCCLFieldOptions::clear_min() {
1147  min_ = 0;
1148  clear_has_min();
1149 }
1150 inline double DCCLFieldOptions::min() const {
1151  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.min)
1152  return min_;
1153 }
1154 inline void DCCLFieldOptions::set_min(double value) {
1155  set_has_min();
1156  min_ = value;
1157  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.min)
1158 }
1159 
1160 // optional double max = 6 [default = 0];
1161 inline bool DCCLFieldOptions::has_max() const {
1162  return (_has_bits_[0] & 0x00000020u) != 0;
1163 }
1164 inline void DCCLFieldOptions::set_has_max() {
1165  _has_bits_[0] |= 0x00000020u;
1166 }
1167 inline void DCCLFieldOptions::clear_has_max() {
1168  _has_bits_[0] &= ~0x00000020u;
1169 }
1170 inline void DCCLFieldOptions::clear_max() {
1171  max_ = 0;
1172  clear_has_max();
1173 }
1174 inline double DCCLFieldOptions::max() const {
1175  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.max)
1176  return max_;
1177 }
1178 inline void DCCLFieldOptions::set_max(double value) {
1179  set_has_max();
1180  max_ = value;
1181  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.max)
1182 }
1183 
1184 // optional uint32 num_days = 7 [default = 1];
1185 inline bool DCCLFieldOptions::has_num_days() const {
1186  return (_has_bits_[0] & 0x00000040u) != 0;
1187 }
1188 inline void DCCLFieldOptions::set_has_num_days() {
1189  _has_bits_[0] |= 0x00000040u;
1190 }
1191 inline void DCCLFieldOptions::clear_has_num_days() {
1192  _has_bits_[0] &= ~0x00000040u;
1193 }
1194 inline void DCCLFieldOptions::clear_num_days() {
1195  num_days_ = 1u;
1196  clear_has_num_days();
1197 }
1198 inline ::google::protobuf::uint32 DCCLFieldOptions::num_days() const {
1199  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.num_days)
1200  return num_days_;
1201 }
1202 inline void DCCLFieldOptions::set_num_days(::google::protobuf::uint32 value) {
1203  set_has_num_days();
1204  num_days_ = value;
1205  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.num_days)
1206 }
1207 
1208 // optional string static_value = 8 [default = ""];
1209 inline bool DCCLFieldOptions::has_static_value() const {
1210  return (_has_bits_[0] & 0x00000080u) != 0;
1211 }
1212 inline void DCCLFieldOptions::set_has_static_value() {
1213  _has_bits_[0] |= 0x00000080u;
1214 }
1215 inline void DCCLFieldOptions::clear_has_static_value() {
1216  _has_bits_[0] &= ~0x00000080u;
1217 }
1218 inline void DCCLFieldOptions::clear_static_value() {
1219  if (static_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1220  static_value_->clear();
1221  }
1222  clear_has_static_value();
1223 }
1224 inline const ::std::string& DCCLFieldOptions::static_value() const {
1225  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.static_value)
1226  return *static_value_;
1227 }
1228 inline void DCCLFieldOptions::set_static_value(const ::std::string& value) {
1229  set_has_static_value();
1230  if (static_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1231  static_value_ = new ::std::string;
1232  }
1233  static_value_->assign(value);
1234  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.static_value)
1235 }
1236 inline void DCCLFieldOptions::set_static_value(const char* value) {
1237  set_has_static_value();
1238  if (static_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1239  static_value_ = new ::std::string;
1240  }
1241  static_value_->assign(value);
1242  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.static_value)
1243 }
1244 inline void DCCLFieldOptions::set_static_value(const char* value, size_t size) {
1245  set_has_static_value();
1246  if (static_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1247  static_value_ = new ::std::string;
1248  }
1249  static_value_->assign(reinterpret_cast<const char*>(value), size);
1250  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.static_value)
1251 }
1252 inline ::std::string* DCCLFieldOptions::mutable_static_value() {
1253  set_has_static_value();
1254  if (static_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1255  static_value_ = new ::std::string;
1256  }
1257  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.static_value)
1258  return static_value_;
1259 }
1260 inline ::std::string* DCCLFieldOptions::release_static_value() {
1261  clear_has_static_value();
1262  if (static_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1263  return NULL;
1264  } else {
1265  ::std::string* temp = static_value_;
1266  static_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1267  return temp;
1268  }
1269 }
1270 inline void DCCLFieldOptions::set_allocated_static_value(::std::string* static_value) {
1271  if (static_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1272  delete static_value_;
1273  }
1274  if (static_value) {
1275  set_has_static_value();
1276  static_value_ = static_value;
1277  } else {
1278  clear_has_static_value();
1279  static_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1280  }
1281  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.static_value)
1282 }
1283 
1284 // optional uint32 max_length = 9 [default = 0];
1285 inline bool DCCLFieldOptions::has_max_length() const {
1286  return (_has_bits_[0] & 0x00000100u) != 0;
1287 }
1288 inline void DCCLFieldOptions::set_has_max_length() {
1289  _has_bits_[0] |= 0x00000100u;
1290 }
1291 inline void DCCLFieldOptions::clear_has_max_length() {
1292  _has_bits_[0] &= ~0x00000100u;
1293 }
1294 inline void DCCLFieldOptions::clear_max_length() {
1295  max_length_ = 0u;
1296  clear_has_max_length();
1297 }
1298 inline ::google::protobuf::uint32 DCCLFieldOptions::max_length() const {
1299  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.max_length)
1300  return max_length_;
1301 }
1302 inline void DCCLFieldOptions::set_max_length(::google::protobuf::uint32 value) {
1303  set_has_max_length();
1304  max_length_ = value;
1305  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.max_length)
1306 }
1307 
1308 // optional uint32 max_repeat = 10 [default = 1];
1309 inline bool DCCLFieldOptions::has_max_repeat() const {
1310  return (_has_bits_[0] & 0x00000200u) != 0;
1311 }
1312 inline void DCCLFieldOptions::set_has_max_repeat() {
1313  _has_bits_[0] |= 0x00000200u;
1314 }
1315 inline void DCCLFieldOptions::clear_has_max_repeat() {
1316  _has_bits_[0] &= ~0x00000200u;
1317 }
1318 inline void DCCLFieldOptions::clear_max_repeat() {
1319  max_repeat_ = 1u;
1320  clear_has_max_repeat();
1321 }
1322 inline ::google::protobuf::uint32 DCCLFieldOptions::max_repeat() const {
1323  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.max_repeat)
1324  return max_repeat_;
1325 }
1326 inline void DCCLFieldOptions::set_max_repeat(::google::protobuf::uint32 value) {
1327  set_has_max_repeat();
1328  max_repeat_ = value;
1329  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.max_repeat)
1330 }
1331 
1332 // optional bool packed_enum = 11 [default = true];
1333 inline bool DCCLFieldOptions::has_packed_enum() const {
1334  return (_has_bits_[0] & 0x00000400u) != 0;
1335 }
1336 inline void DCCLFieldOptions::set_has_packed_enum() {
1337  _has_bits_[0] |= 0x00000400u;
1338 }
1339 inline void DCCLFieldOptions::clear_has_packed_enum() {
1340  _has_bits_[0] &= ~0x00000400u;
1341 }
1342 inline void DCCLFieldOptions::clear_packed_enum() {
1343  packed_enum_ = true;
1344  clear_has_packed_enum();
1345 }
1346 inline bool DCCLFieldOptions::packed_enum() const {
1347  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.packed_enum)
1348  return packed_enum_;
1349 }
1350 inline void DCCLFieldOptions::set_packed_enum(bool value) {
1351  set_has_packed_enum();
1352  packed_enum_ = value;
1353  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.packed_enum)
1354 }
1355 
1356 // optional string description = 20;
1357 inline bool DCCLFieldOptions::has_description() const {
1358  return (_has_bits_[0] & 0x00000800u) != 0;
1359 }
1360 inline void DCCLFieldOptions::set_has_description() {
1361  _has_bits_[0] |= 0x00000800u;
1362 }
1363 inline void DCCLFieldOptions::clear_has_description() {
1364  _has_bits_[0] &= ~0x00000800u;
1365 }
1366 inline void DCCLFieldOptions::clear_description() {
1367  if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1368  description_->clear();
1369  }
1370  clear_has_description();
1371 }
1372 inline const ::std::string& DCCLFieldOptions::description() const {
1373  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.description)
1374  return *description_;
1375 }
1376 inline void DCCLFieldOptions::set_description(const ::std::string& value) {
1377  set_has_description();
1378  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1379  description_ = new ::std::string;
1380  }
1381  description_->assign(value);
1382  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.description)
1383 }
1384 inline void DCCLFieldOptions::set_description(const char* value) {
1385  set_has_description();
1386  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1387  description_ = new ::std::string;
1388  }
1389  description_->assign(value);
1390  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.description)
1391 }
1392 inline void DCCLFieldOptions::set_description(const char* value, size_t size) {
1393  set_has_description();
1394  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1395  description_ = new ::std::string;
1396  }
1397  description_->assign(reinterpret_cast<const char*>(value), size);
1398  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.description)
1399 }
1400 inline ::std::string* DCCLFieldOptions::mutable_description() {
1401  set_has_description();
1402  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1403  description_ = new ::std::string;
1404  }
1405  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.description)
1406  return description_;
1407 }
1408 inline ::std::string* DCCLFieldOptions::release_description() {
1409  clear_has_description();
1410  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1411  return NULL;
1412  } else {
1413  ::std::string* temp = description_;
1414  description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1415  return temp;
1416  }
1417 }
1418 inline void DCCLFieldOptions::set_allocated_description(::std::string* description) {
1419  if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1420  delete description_;
1421  }
1422  if (description) {
1423  set_has_description();
1424  description_ = description;
1425  } else {
1426  clear_has_description();
1427  description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1428  }
1429  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.description)
1430 }
1431 
1432 // optional .dccl.DCCLFieldOptions.Units units = 30;
1433 inline bool DCCLFieldOptions::has_units() const {
1434  return (_has_bits_[0] & 0x00001000u) != 0;
1435 }
1436 inline void DCCLFieldOptions::set_has_units() {
1437  _has_bits_[0] |= 0x00001000u;
1438 }
1439 inline void DCCLFieldOptions::clear_has_units() {
1440  _has_bits_[0] &= ~0x00001000u;
1441 }
1442 inline void DCCLFieldOptions::clear_units() {
1443  if (units_ != NULL) units_->::dccl::DCCLFieldOptions_Units::Clear();
1444  clear_has_units();
1445 }
1446 inline const ::dccl::DCCLFieldOptions_Units& DCCLFieldOptions::units() const {
1447  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.units)
1448  return units_ != NULL ? *units_ : *default_instance_->units_;
1449 }
1450 inline ::dccl::DCCLFieldOptions_Units* DCCLFieldOptions::mutable_units() {
1451  set_has_units();
1452  if (units_ == NULL) units_ = new ::dccl::DCCLFieldOptions_Units;
1453  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.units)
1454  return units_;
1455 }
1456 inline ::dccl::DCCLFieldOptions_Units* DCCLFieldOptions::release_units() {
1457  clear_has_units();
1458  ::dccl::DCCLFieldOptions_Units* temp = units_;
1459  units_ = NULL;
1460  return temp;
1461 }
1462 inline void DCCLFieldOptions::set_allocated_units(::dccl::DCCLFieldOptions_Units* units) {
1463  delete units_;
1464  units_ = units;
1465  if (units) {
1466  set_has_units();
1467  } else {
1468  clear_has_units();
1469  }
1470  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.units)
1471 }
1472 
1473 // -------------------------------------------------------------------
1474 
1475 // DCCLMessageOptions
1476 
1477 // optional int32 id = 1;
1478 inline bool DCCLMessageOptions::has_id() const {
1479  return (_has_bits_[0] & 0x00000001u) != 0;
1480 }
1481 inline void DCCLMessageOptions::set_has_id() {
1482  _has_bits_[0] |= 0x00000001u;
1483 }
1484 inline void DCCLMessageOptions::clear_has_id() {
1485  _has_bits_[0] &= ~0x00000001u;
1486 }
1487 inline void DCCLMessageOptions::clear_id() {
1488  id_ = 0;
1489  clear_has_id();
1490 }
1491 inline ::google::protobuf::int32 DCCLMessageOptions::id() const {
1492  // @@protoc_insertion_point(field_get:dccl.DCCLMessageOptions.id)
1493  return id_;
1494 }
1495 inline void DCCLMessageOptions::set_id(::google::protobuf::int32 value) {
1496  set_has_id();
1497  id_ = value;
1498  // @@protoc_insertion_point(field_set:dccl.DCCLMessageOptions.id)
1499 }
1500 
1501 // optional uint32 max_bytes = 2;
1502 inline bool DCCLMessageOptions::has_max_bytes() const {
1503  return (_has_bits_[0] & 0x00000002u) != 0;
1504 }
1505 inline void DCCLMessageOptions::set_has_max_bytes() {
1506  _has_bits_[0] |= 0x00000002u;
1507 }
1508 inline void DCCLMessageOptions::clear_has_max_bytes() {
1509  _has_bits_[0] &= ~0x00000002u;
1510 }
1511 inline void DCCLMessageOptions::clear_max_bytes() {
1512  max_bytes_ = 0u;
1513  clear_has_max_bytes();
1514 }
1515 inline ::google::protobuf::uint32 DCCLMessageOptions::max_bytes() const {
1516  // @@protoc_insertion_point(field_get:dccl.DCCLMessageOptions.max_bytes)
1517  return max_bytes_;
1518 }
1519 inline void DCCLMessageOptions::set_max_bytes(::google::protobuf::uint32 value) {
1520  set_has_max_bytes();
1521  max_bytes_ = value;
1522  // @@protoc_insertion_point(field_set:dccl.DCCLMessageOptions.max_bytes)
1523 }
1524 
1525 // optional string codec = 3 [default = "dccl.default2"];
1526 inline bool DCCLMessageOptions::has_codec() const {
1527  return (_has_bits_[0] & 0x00000004u) != 0;
1528 }
1529 inline void DCCLMessageOptions::set_has_codec() {
1530  _has_bits_[0] |= 0x00000004u;
1531 }
1532 inline void DCCLMessageOptions::clear_has_codec() {
1533  _has_bits_[0] &= ~0x00000004u;
1534 }
1535 inline void DCCLMessageOptions::clear_codec() {
1536  if (codec_ != _default_codec_) {
1537  codec_->assign(*_default_codec_);
1538  }
1539  clear_has_codec();
1540 }
1541 inline const ::std::string& DCCLMessageOptions::codec() const {
1542  // @@protoc_insertion_point(field_get:dccl.DCCLMessageOptions.codec)
1543  return *codec_;
1544 }
1545 inline void DCCLMessageOptions::set_codec(const ::std::string& value) {
1546  set_has_codec();
1547  if (codec_ == _default_codec_) {
1548  codec_ = new ::std::string;
1549  }
1550  codec_->assign(value);
1551  // @@protoc_insertion_point(field_set:dccl.DCCLMessageOptions.codec)
1552 }
1553 inline void DCCLMessageOptions::set_codec(const char* value) {
1554  set_has_codec();
1555  if (codec_ == _default_codec_) {
1556  codec_ = new ::std::string;
1557  }
1558  codec_->assign(value);
1559  // @@protoc_insertion_point(field_set_char:dccl.DCCLMessageOptions.codec)
1560 }
1561 inline void DCCLMessageOptions::set_codec(const char* value, size_t size) {
1562  set_has_codec();
1563  if (codec_ == _default_codec_) {
1564  codec_ = new ::std::string;
1565  }
1566  codec_->assign(reinterpret_cast<const char*>(value), size);
1567  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLMessageOptions.codec)
1568 }
1569 inline ::std::string* DCCLMessageOptions::mutable_codec() {
1570  set_has_codec();
1571  if (codec_ == _default_codec_) {
1572  codec_ = new ::std::string(*_default_codec_);
1573  }
1574  // @@protoc_insertion_point(field_mutable:dccl.DCCLMessageOptions.codec)
1575  return codec_;
1576 }
1577 inline ::std::string* DCCLMessageOptions::release_codec() {
1578  clear_has_codec();
1579  if (codec_ == _default_codec_) {
1580  return NULL;
1581  } else {
1582  ::std::string* temp = codec_;
1583  codec_ = const_cast< ::std::string*>(_default_codec_);
1584  return temp;
1585  }
1586 }
1587 inline void DCCLMessageOptions::set_allocated_codec(::std::string* codec) {
1588  if (codec_ != _default_codec_) {
1589  delete codec_;
1590  }
1591  if (codec) {
1592  set_has_codec();
1593  codec_ = codec;
1594  } else {
1595  clear_has_codec();
1596  codec_ = const_cast< ::std::string*>(_default_codec_);
1597  }
1598  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLMessageOptions.codec)
1599 }
1600 
1601 // optional string codec_group = 4 [default = "dccl.default2"];
1602 inline bool DCCLMessageOptions::has_codec_group() const {
1603  return (_has_bits_[0] & 0x00000008u) != 0;
1604 }
1605 inline void DCCLMessageOptions::set_has_codec_group() {
1606  _has_bits_[0] |= 0x00000008u;
1607 }
1608 inline void DCCLMessageOptions::clear_has_codec_group() {
1609  _has_bits_[0] &= ~0x00000008u;
1610 }
1611 inline void DCCLMessageOptions::clear_codec_group() {
1612  if (codec_group_ != _default_codec_group_) {
1613  codec_group_->assign(*_default_codec_group_);
1614  }
1615  clear_has_codec_group();
1616 }
1617 inline const ::std::string& DCCLMessageOptions::codec_group() const {
1618  // @@protoc_insertion_point(field_get:dccl.DCCLMessageOptions.codec_group)
1619  return *codec_group_;
1620 }
1621 inline void DCCLMessageOptions::set_codec_group(const ::std::string& value) {
1622  set_has_codec_group();
1623  if (codec_group_ == _default_codec_group_) {
1624  codec_group_ = new ::std::string;
1625  }
1626  codec_group_->assign(value);
1627  // @@protoc_insertion_point(field_set:dccl.DCCLMessageOptions.codec_group)
1628 }
1629 inline void DCCLMessageOptions::set_codec_group(const char* value) {
1630  set_has_codec_group();
1631  if (codec_group_ == _default_codec_group_) {
1632  codec_group_ = new ::std::string;
1633  }
1634  codec_group_->assign(value);
1635  // @@protoc_insertion_point(field_set_char:dccl.DCCLMessageOptions.codec_group)
1636 }
1637 inline void DCCLMessageOptions::set_codec_group(const char* value, size_t size) {
1638  set_has_codec_group();
1639  if (codec_group_ == _default_codec_group_) {
1640  codec_group_ = new ::std::string;
1641  }
1642  codec_group_->assign(reinterpret_cast<const char*>(value), size);
1643  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLMessageOptions.codec_group)
1644 }
1645 inline ::std::string* DCCLMessageOptions::mutable_codec_group() {
1646  set_has_codec_group();
1647  if (codec_group_ == _default_codec_group_) {
1648  codec_group_ = new ::std::string(*_default_codec_group_);
1649  }
1650  // @@protoc_insertion_point(field_mutable:dccl.DCCLMessageOptions.codec_group)
1651  return codec_group_;
1652 }
1653 inline ::std::string* DCCLMessageOptions::release_codec_group() {
1654  clear_has_codec_group();
1655  if (codec_group_ == _default_codec_group_) {
1656  return NULL;
1657  } else {
1658  ::std::string* temp = codec_group_;
1659  codec_group_ = const_cast< ::std::string*>(_default_codec_group_);
1660  return temp;
1661  }
1662 }
1663 inline void DCCLMessageOptions::set_allocated_codec_group(::std::string* codec_group) {
1664  if (codec_group_ != _default_codec_group_) {
1665  delete codec_group_;
1666  }
1667  if (codec_group) {
1668  set_has_codec_group();
1669  codec_group_ = codec_group;
1670  } else {
1671  clear_has_codec_group();
1672  codec_group_ = const_cast< ::std::string*>(_default_codec_group_);
1673  }
1674  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLMessageOptions.codec_group)
1675 }
1676 
1677 // optional int32 codec_version = 5 [default = 2];
1678 inline bool DCCLMessageOptions::has_codec_version() const {
1679  return (_has_bits_[0] & 0x00000010u) != 0;
1680 }
1681 inline void DCCLMessageOptions::set_has_codec_version() {
1682  _has_bits_[0] |= 0x00000010u;
1683 }
1684 inline void DCCLMessageOptions::clear_has_codec_version() {
1685  _has_bits_[0] &= ~0x00000010u;
1686 }
1687 inline void DCCLMessageOptions::clear_codec_version() {
1688  codec_version_ = 2;
1689  clear_has_codec_version();
1690 }
1691 inline ::google::protobuf::int32 DCCLMessageOptions::codec_version() const {
1692  // @@protoc_insertion_point(field_get:dccl.DCCLMessageOptions.codec_version)
1693  return codec_version_;
1694 }
1695 inline void DCCLMessageOptions::set_codec_version(::google::protobuf::int32 value) {
1696  set_has_codec_version();
1697  codec_version_ = value;
1698  // @@protoc_insertion_point(field_set:dccl.DCCLMessageOptions.codec_version)
1699 }
1700 
1701 // optional string unit_system = 30 [default = "si"];
1702 inline bool DCCLMessageOptions::has_unit_system() const {
1703  return (_has_bits_[0] & 0x00000020u) != 0;
1704 }
1705 inline void DCCLMessageOptions::set_has_unit_system() {
1706  _has_bits_[0] |= 0x00000020u;
1707 }
1708 inline void DCCLMessageOptions::clear_has_unit_system() {
1709  _has_bits_[0] &= ~0x00000020u;
1710 }
1711 inline void DCCLMessageOptions::clear_unit_system() {
1712  if (unit_system_ != _default_unit_system_) {
1713  unit_system_->assign(*_default_unit_system_);
1714  }
1715  clear_has_unit_system();
1716 }
1717 inline const ::std::string& DCCLMessageOptions::unit_system() const {
1718  // @@protoc_insertion_point(field_get:dccl.DCCLMessageOptions.unit_system)
1719  return *unit_system_;
1720 }
1721 inline void DCCLMessageOptions::set_unit_system(const ::std::string& value) {
1722  set_has_unit_system();
1723  if (unit_system_ == _default_unit_system_) {
1724  unit_system_ = new ::std::string;
1725  }
1726  unit_system_->assign(value);
1727  // @@protoc_insertion_point(field_set:dccl.DCCLMessageOptions.unit_system)
1728 }
1729 inline void DCCLMessageOptions::set_unit_system(const char* value) {
1730  set_has_unit_system();
1731  if (unit_system_ == _default_unit_system_) {
1732  unit_system_ = new ::std::string;
1733  }
1734  unit_system_->assign(value);
1735  // @@protoc_insertion_point(field_set_char:dccl.DCCLMessageOptions.unit_system)
1736 }
1737 inline void DCCLMessageOptions::set_unit_system(const char* value, size_t size) {
1738  set_has_unit_system();
1739  if (unit_system_ == _default_unit_system_) {
1740  unit_system_ = new ::std::string;
1741  }
1742  unit_system_->assign(reinterpret_cast<const char*>(value), size);
1743  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLMessageOptions.unit_system)
1744 }
1745 inline ::std::string* DCCLMessageOptions::mutable_unit_system() {
1746  set_has_unit_system();
1747  if (unit_system_ == _default_unit_system_) {
1748  unit_system_ = new ::std::string(*_default_unit_system_);
1749  }
1750  // @@protoc_insertion_point(field_mutable:dccl.DCCLMessageOptions.unit_system)
1751  return unit_system_;
1752 }
1753 inline ::std::string* DCCLMessageOptions::release_unit_system() {
1754  clear_has_unit_system();
1755  if (unit_system_ == _default_unit_system_) {
1756  return NULL;
1757  } else {
1758  ::std::string* temp = unit_system_;
1759  unit_system_ = const_cast< ::std::string*>(_default_unit_system_);
1760  return temp;
1761  }
1762 }
1763 inline void DCCLMessageOptions::set_allocated_unit_system(::std::string* unit_system) {
1764  if (unit_system_ != _default_unit_system_) {
1765  delete unit_system_;
1766  }
1767  if (unit_system) {
1768  set_has_unit_system();
1769  unit_system_ = unit_system;
1770  } else {
1771  clear_has_unit_system();
1772  unit_system_ = const_cast< ::std::string*>(_default_unit_system_);
1773  }
1774  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLMessageOptions.unit_system)
1775 }
1776 
1777 
1778 // @@protoc_insertion_point(namespace_scope)
1779 
1780 } // namespace dccl
1781 
1782 #ifndef SWIG
1783 namespace google {
1784 namespace protobuf {
1785 
1786 
1787 } // namespace google
1788 } // namespace protobuf
1789 #endif // SWIG
1790 
1791 // @@protoc_insertion_point(global_scope)
1792 
1793 #endif // PROTOBUF_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto__INCLUDED
Dynamic Compact Control Language namespace.