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