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