4 #ifndef PROTOBUF_INCLUDED_dccl_2foption_5fextensions_2eproto
5 #define PROTOBUF_INCLUDED_dccl_2foption_5fextensions_2eproto
9 #include <google/protobuf/stubs/common.h>
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
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.
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>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/unknown_field_set.h>
33 #include <google/protobuf/descriptor.pb.h>
34 #include <boost/units/quantity.hpp>
35 #include <boost/units/absolute.hpp>
36 #include <boost/units/dimensionless_type.hpp>
37 #include <boost/units/make_scaled_unit.hpp>
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_dccl_2foption_5fextensions_2eproto
41 namespace protobuf_dccl_2foption_5fextensions_2eproto {
44 static const ::google::protobuf::internal::ParseTableField entries[];
45 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
46 static const ::google::protobuf::internal::ParseTable schema[4];
47 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
48 static const ::google::protobuf::internal::SerializationTable serialization_table[];
49 static const ::google::protobuf::uint32 offsets[];
51 void AddDescriptors();
54 class DCCLFieldOptions;
55 class DCCLFieldOptionsDefaultTypeInternal;
56 extern DCCLFieldOptionsDefaultTypeInternal _DCCLFieldOptions_default_instance_;
57 class DCCLFieldOptions_Conditions;
58 class DCCLFieldOptions_ConditionsDefaultTypeInternal;
59 extern DCCLFieldOptions_ConditionsDefaultTypeInternal _DCCLFieldOptions_Conditions_default_instance_;
60 class DCCLFieldOptions_Units;
61 class DCCLFieldOptions_UnitsDefaultTypeInternal;
62 extern DCCLFieldOptions_UnitsDefaultTypeInternal _DCCLFieldOptions_Units_default_instance_;
63 class DCCLMessageOptions;
64 class DCCLMessageOptionsDefaultTypeInternal;
65 extern DCCLMessageOptionsDefaultTypeInternal _DCCLMessageOptions_default_instance_;
79 class DCCLFieldOptions_Units :
public ::google::protobuf::Message {
81 DCCLFieldOptions_Units();
82 virtual ~DCCLFieldOptions_Units();
84 DCCLFieldOptions_Units(
const DCCLFieldOptions_Units& from);
86 inline DCCLFieldOptions_Units& operator=(
const DCCLFieldOptions_Units& from) {
91 DCCLFieldOptions_Units(DCCLFieldOptions_Units&& from) noexcept
92 : DCCLFieldOptions_Units() {
93 *
this = ::std::move(from);
96 inline DCCLFieldOptions_Units& operator=(DCCLFieldOptions_Units&& from) noexcept {
97 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
98 if (
this != &from) InternalSwap(&from);
105 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
106 return _internal_metadata_.unknown_fields();
108 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
109 return _internal_metadata_.mutable_unknown_fields();
112 static const ::google::protobuf::Descriptor* descriptor();
113 static const DCCLFieldOptions_Units& default_instance();
115 static void InitAsDefaultInstance();
116 static inline const DCCLFieldOptions_Units* internal_default_instance() {
117 return reinterpret_cast<const DCCLFieldOptions_Units*
>(
118 &_DCCLFieldOptions_Units_default_instance_);
120 static constexpr
int kIndexInFileMessages =
123 void Swap(DCCLFieldOptions_Units* other);
124 friend void swap(DCCLFieldOptions_Units& a, DCCLFieldOptions_Units& b) {
130 inline DCCLFieldOptions_Units* New() const final {
131 return CreateMaybeMessage<DCCLFieldOptions_Units>(NULL);
134 DCCLFieldOptions_Units* New(::google::protobuf::Arena* arena)
const final {
135 return CreateMaybeMessage<DCCLFieldOptions_Units>(arena);
137 void CopyFrom(const ::google::protobuf::Message& from)
final;
138 void MergeFrom(const ::google::protobuf::Message& from)
final;
139 void CopyFrom(
const DCCLFieldOptions_Units& from);
140 void MergeFrom(
const DCCLFieldOptions_Units& from);
142 bool IsInitialized() const final;
144 size_t ByteSizeLong() const final;
145 bool MergePartialFromCodedStream(
146 ::google::protobuf::io::CodedInputStream* input) final;
147 void SerializeWithCachedSizes(
148 ::google::protobuf::io::CodedOutputStream* output) const final;
149 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
150 bool deterministic, ::google::protobuf::uint8* target) const final;
151 int GetCachedSize() const final {
return _cached_size_.Get(); }
156 void SetCachedSize(
int size)
const final;
157 void InternalSwap(DCCLFieldOptions_Units* other);
159 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
162 inline void* MaybeArenaPtr()
const {
167 ::google::protobuf::Metadata GetMetadata() const final;
174 bool has_base_dimensions() const;
175 void clear_base_dimensions();
176 static const
int kBaseDimensionsFieldNumber = 1;
177 const ::std::
string& base_dimensions() const;
178 void set_base_dimensions(const ::std::
string& value);
180 void set_base_dimensions(::std::string&& value);
182 void set_base_dimensions(
const char* value);
183 void set_base_dimensions(
const char* value,
size_t size);
184 ::std::string* mutable_base_dimensions();
185 ::std::string* release_base_dimensions();
186 void set_allocated_base_dimensions(::std::string* base_dimensions);
189 bool has_derived_dimensions()
const;
190 void clear_derived_dimensions();
191 static const int kDerivedDimensionsFieldNumber = 2;
192 const ::std::string& derived_dimensions()
const;
193 void set_derived_dimensions(const ::std::string& value);
195 void set_derived_dimensions(::std::string&& value);
197 void set_derived_dimensions(
const char* value);
198 void set_derived_dimensions(
const char* value,
size_t size);
199 ::std::string* mutable_derived_dimensions();
200 ::std::string* release_derived_dimensions();
201 void set_allocated_derived_dimensions(::std::string* derived_dimensions);
204 bool has_system()
const;
206 static const int kSystemFieldNumber = 3;
207 const ::std::string& system()
const;
208 void set_system(const ::std::string& value);
210 void set_system(::std::string&& value);
212 void set_system(
const char* value);
213 void set_system(
const char* value,
size_t size);
214 ::std::string* mutable_system();
215 ::std::string* release_system();
216 void set_allocated_system(::std::string* system);
219 bool has_unit()
const;
221 static const int kUnitFieldNumber = 5;
222 const ::std::string& unit()
const;
223 void set_unit(const ::std::string& value);
225 void set_unit(::std::string&& value);
227 void set_unit(
const char* value);
228 void set_unit(
const char* value,
size_t size);
229 ::std::string* mutable_unit();
230 ::std::string* release_unit();
231 void set_allocated_unit(::std::string* unit);
234 bool has_prefix()
const;
236 static const int kPrefixFieldNumber = 6;
237 const ::std::string& prefix()
const;
238 void set_prefix(const ::std::string& value);
240 void set_prefix(::std::string&& value);
242 void set_prefix(
const char* value);
243 void set_prefix(
const char* value,
size_t size);
244 ::std::string* mutable_prefix();
245 ::std::string* release_prefix();
246 void set_allocated_prefix(::std::string* prefix);
249 bool has_relative_temperature()
const;
250 void clear_relative_temperature();
251 static const int kRelativeTemperatureFieldNumber = 4;
252 bool relative_temperature()
const;
253 void set_relative_temperature(
bool value);
257 void set_has_base_dimensions();
258 void clear_has_base_dimensions();
259 void set_has_derived_dimensions();
260 void clear_has_derived_dimensions();
261 void set_has_system();
262 void clear_has_system();
263 void set_has_relative_temperature();
264 void clear_has_relative_temperature();
266 void clear_has_unit();
267 void set_has_prefix();
268 void clear_has_prefix();
270 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
271 ::google::protobuf::internal::HasBits<1> _has_bits_;
272 mutable ::google::protobuf::internal::CachedSize _cached_size_;
273 ::google::protobuf::internal::ArenaStringPtr base_dimensions_;
274 ::google::protobuf::internal::ArenaStringPtr derived_dimensions_;
276 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_system_;
278 ::google::protobuf::internal::ArenaStringPtr system_;
279 ::google::protobuf::internal::ArenaStringPtr unit_;
280 ::google::protobuf::internal::ArenaStringPtr prefix_;
281 bool relative_temperature_;
282 friend struct ::protobuf_dccl_2foption_5fextensions_2eproto::TableStruct;
286 class DCCLFieldOptions_Conditions :
public ::google::protobuf::Message {
288 DCCLFieldOptions_Conditions();
289 virtual ~DCCLFieldOptions_Conditions();
291 DCCLFieldOptions_Conditions(
const DCCLFieldOptions_Conditions& from);
293 inline DCCLFieldOptions_Conditions& operator=(
const DCCLFieldOptions_Conditions& from) {
298 DCCLFieldOptions_Conditions(DCCLFieldOptions_Conditions&& from) noexcept
299 : DCCLFieldOptions_Conditions() {
300 *
this = ::std::move(from);
303 inline DCCLFieldOptions_Conditions& operator=(DCCLFieldOptions_Conditions&& from) noexcept {
304 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
305 if (
this != &from) InternalSwap(&from);
312 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
313 return _internal_metadata_.unknown_fields();
315 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
316 return _internal_metadata_.mutable_unknown_fields();
319 static const ::google::protobuf::Descriptor* descriptor();
320 static const DCCLFieldOptions_Conditions& default_instance();
322 static void InitAsDefaultInstance();
323 static inline const DCCLFieldOptions_Conditions* internal_default_instance() {
324 return reinterpret_cast<const DCCLFieldOptions_Conditions*
>(
325 &_DCCLFieldOptions_Conditions_default_instance_);
327 static constexpr
int kIndexInFileMessages =
330 void Swap(DCCLFieldOptions_Conditions* other);
331 friend void swap(DCCLFieldOptions_Conditions& a, DCCLFieldOptions_Conditions& b) {
337 inline DCCLFieldOptions_Conditions* New() const final {
338 return CreateMaybeMessage<DCCLFieldOptions_Conditions>(NULL);
341 DCCLFieldOptions_Conditions* New(::google::protobuf::Arena* arena)
const final {
342 return CreateMaybeMessage<DCCLFieldOptions_Conditions>(arena);
344 void CopyFrom(const ::google::protobuf::Message& from)
final;
345 void MergeFrom(const ::google::protobuf::Message& from)
final;
346 void CopyFrom(
const DCCLFieldOptions_Conditions& from);
347 void MergeFrom(
const DCCLFieldOptions_Conditions& from);
349 bool IsInitialized() const final;
351 size_t ByteSizeLong() const final;
352 bool MergePartialFromCodedStream(
353 ::google::protobuf::io::CodedInputStream* input) final;
354 void SerializeWithCachedSizes(
355 ::google::protobuf::io::CodedOutputStream* output) const final;
356 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
357 bool deterministic, ::google::protobuf::uint8* target) const final;
358 int GetCachedSize() const final {
return _cached_size_.Get(); }
363 void SetCachedSize(
int size)
const final;
364 void InternalSwap(DCCLFieldOptions_Conditions* other);
366 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
369 inline void* MaybeArenaPtr()
const {
374 ::google::protobuf::Metadata GetMetadata() const final;
381 bool has_required_if() const;
382 void clear_required_if();
383 static const
int kRequiredIfFieldNumber = 1;
384 const ::std::
string& required_if() const;
385 void set_required_if(const ::std::
string& value);
387 void set_required_if(::std::string&& value);
389 void set_required_if(
const char* value);
390 void set_required_if(
const char* value,
size_t size);
391 ::std::string* mutable_required_if();
392 ::std::string* release_required_if();
393 void set_allocated_required_if(::std::string* required_if);
396 bool has_omit_if()
const;
397 void clear_omit_if();
398 static const int kOmitIfFieldNumber = 2;
399 const ::std::string& omit_if()
const;
400 void set_omit_if(const ::std::string& value);
402 void set_omit_if(::std::string&& value);
404 void set_omit_if(
const char* value);
405 void set_omit_if(
const char* value,
size_t size);
406 ::std::string* mutable_omit_if();
407 ::std::string* release_omit_if();
408 void set_allocated_omit_if(::std::string* omit_if);
411 bool has_only_if()
const;
412 void clear_only_if();
413 static const int kOnlyIfFieldNumber = 3;
414 const ::std::string& only_if()
const;
415 void set_only_if(const ::std::string& value);
417 void set_only_if(::std::string&& value);
419 void set_only_if(
const char* value);
420 void set_only_if(
const char* value,
size_t size);
421 ::std::string* mutable_only_if();
422 ::std::string* release_only_if();
423 void set_allocated_only_if(::std::string* only_if);
426 bool has_min()
const;
428 static const int kMinFieldNumber = 10;
429 const ::std::string& min()
const;
430 void set_min(const ::std::string& value);
432 void set_min(::std::string&& value);
434 void set_min(
const char* value);
435 void set_min(
const char* value,
size_t size);
436 ::std::string* mutable_min();
437 ::std::string* release_min();
438 void set_allocated_min(::std::string* min);
441 bool has_max()
const;
443 static const int kMaxFieldNumber = 11;
444 const ::std::string& max()
const;
445 void set_max(const ::std::string& value);
447 void set_max(::std::string&& value);
449 void set_max(
const char* value);
450 void set_max(
const char* value,
size_t size);
451 ::std::string* mutable_max();
452 ::std::string* release_max();
453 void set_allocated_max(::std::string* max);
457 void set_has_required_if();
458 void clear_has_required_if();
459 void set_has_omit_if();
460 void clear_has_omit_if();
461 void set_has_only_if();
462 void clear_has_only_if();
464 void clear_has_min();
466 void clear_has_max();
468 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
469 ::google::protobuf::internal::HasBits<1> _has_bits_;
470 mutable ::google::protobuf::internal::CachedSize _cached_size_;
471 ::google::protobuf::internal::ArenaStringPtr required_if_;
472 ::google::protobuf::internal::ArenaStringPtr omit_if_;
473 ::google::protobuf::internal::ArenaStringPtr only_if_;
474 ::google::protobuf::internal::ArenaStringPtr min_;
475 ::google::protobuf::internal::ArenaStringPtr max_;
476 friend struct ::protobuf_dccl_2foption_5fextensions_2eproto::TableStruct;
480 class DCCLFieldOptions :
public ::google::protobuf::Message {
483 virtual ~DCCLFieldOptions();
485 DCCLFieldOptions(
const DCCLFieldOptions& from);
487 inline DCCLFieldOptions& operator=(
const DCCLFieldOptions& from) {
492 DCCLFieldOptions(DCCLFieldOptions&& from) noexcept
493 : DCCLFieldOptions() {
494 *
this = ::std::move(from);
497 inline DCCLFieldOptions& operator=(DCCLFieldOptions&& from) noexcept {
498 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
499 if (
this != &from) InternalSwap(&from);
506 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
507 return _internal_metadata_.unknown_fields();
509 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
510 return _internal_metadata_.mutable_unknown_fields();
513 static const ::google::protobuf::Descriptor* descriptor();
514 static const DCCLFieldOptions& default_instance();
516 static void InitAsDefaultInstance();
517 static inline const DCCLFieldOptions* internal_default_instance() {
518 return reinterpret_cast<const DCCLFieldOptions*
>(
519 &_DCCLFieldOptions_default_instance_);
521 static constexpr
int kIndexInFileMessages =
524 void Swap(DCCLFieldOptions* other);
525 friend void swap(DCCLFieldOptions& a, DCCLFieldOptions& b) {
531 inline DCCLFieldOptions* New() const final {
532 return CreateMaybeMessage<DCCLFieldOptions>(NULL);
535 DCCLFieldOptions* New(::google::protobuf::Arena* arena)
const final {
536 return CreateMaybeMessage<DCCLFieldOptions>(arena);
538 void CopyFrom(const ::google::protobuf::Message& from)
final;
539 void MergeFrom(const ::google::protobuf::Message& from)
final;
540 void CopyFrom(
const DCCLFieldOptions& from);
541 void MergeFrom(
const DCCLFieldOptions& from);
543 bool IsInitialized() const final;
545 size_t ByteSizeLong() const final;
546 bool MergePartialFromCodedStream(
547 ::google::protobuf::io::CodedInputStream* input) final;
548 void SerializeWithCachedSizes(
549 ::google::protobuf::io::CodedOutputStream* output) const final;
550 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
551 bool deterministic, ::google::protobuf::uint8* target) const final;
552 int GetCachedSize() const final {
return _cached_size_.Get(); }
557 void SetCachedSize(
int size)
const final;
558 void InternalSwap(DCCLFieldOptions* other);
560 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
563 inline void* MaybeArenaPtr()
const {
568 ::google::protobuf::Metadata GetMetadata() const final;
572 typedef DCCLFieldOptions_Units Units;
573 typedef DCCLFieldOptions_Conditions Conditions;
578 bool has_codec() const;
580 static const
int kCodecFieldNumber = 1;
581 const ::std::
string& codec() const;
582 void set_codec(const ::std::
string& value);
584 void set_codec(::std::string&& value);
586 void set_codec(
const char* value);
587 void set_codec(
const char* value,
size_t size);
588 ::std::string* mutable_codec();
589 ::std::string* release_codec();
590 void set_allocated_codec(::std::string* codec);
593 bool has_static_value()
const;
594 void clear_static_value();
595 static const int kStaticValueFieldNumber = 8;
596 const ::std::string& static_value()
const;
597 void set_static_value(const ::std::string& value);
599 void set_static_value(::std::string&& value);
601 void set_static_value(
const char* value);
602 void set_static_value(
const char* value,
size_t size);
603 ::std::string* mutable_static_value();
604 ::std::string* release_static_value();
605 void set_allocated_static_value(::std::string* static_value);
608 bool has_description()
const;
609 void clear_description();
610 static const int kDescriptionFieldNumber = 20;
611 const ::std::string& description()
const;
612 void set_description(const ::std::string& value);
614 void set_description(::std::string&& value);
616 void set_description(
const char* value);
617 void set_description(
const char* value,
size_t size);
618 ::std::string* mutable_description();
619 ::std::string* release_description();
620 void set_allocated_description(::std::string* description);
623 bool has_units()
const;
625 static const int kUnitsFieldNumber = 30;
627 const ::dccl::DCCLFieldOptions_Units& _internal_units()
const;
629 const ::dccl::DCCLFieldOptions_Units& units()
const;
635 bool has_dynamic_conditions()
const;
636 void clear_dynamic_conditions();
637 static const int kDynamicConditionsFieldNumber = 40;
639 const ::dccl::DCCLFieldOptions_Conditions& _internal_dynamic_conditions()
const;
641 const ::dccl::DCCLFieldOptions_Conditions& dynamic_conditions()
const;
647 bool has_omit()
const;
649 static const int kOmitFieldNumber = 2;
651 void set_omit(
bool value);
654 bool has_in_head()
const;
655 void clear_in_head();
656 static const int kInHeadFieldNumber = 3;
657 bool in_head()
const;
658 void set_in_head(
bool value);
661 bool has_precision()
const;
662 void clear_precision();
663 static const int kPrecisionFieldNumber = 4;
664 ::google::protobuf::int32 precision()
const;
665 void set_precision(::google::protobuf::int32 value);
668 bool has_min()
const;
670 static const int kMinFieldNumber = 5;
672 void set_min(
double value);
675 bool has_max()
const;
677 static const int kMaxFieldNumber = 6;
679 void set_max(
double value);
682 bool has_max_length()
const;
683 void clear_max_length();
684 static const int kMaxLengthFieldNumber = 9;
685 ::google::protobuf::uint32 max_length()
const;
686 void set_max_length(::google::protobuf::uint32 value);
689 bool has_max_repeat()
const;
690 void clear_max_repeat();
691 static const int kMaxRepeatFieldNumber = 10;
692 ::google::protobuf::uint32 max_repeat()
const;
693 void set_max_repeat(::google::protobuf::uint32 value);
696 bool has_min_repeat()
const;
697 void clear_min_repeat();
698 static const int kMinRepeatFieldNumber = 13;
699 ::google::protobuf::uint32 min_repeat()
const;
700 void set_min_repeat(::google::protobuf::uint32 value);
703 bool has_num_days()
const;
704 void clear_num_days();
705 static const int kNumDaysFieldNumber = 7;
706 ::google::protobuf::uint32 num_days()
const;
707 void set_num_days(::google::protobuf::uint32 value);
710 bool has_packed_enum()
const;
711 void clear_packed_enum();
712 static const int kPackedEnumFieldNumber = 11;
713 bool packed_enum()
const;
714 void set_packed_enum(
bool value);
717 bool has_resolution()
const;
718 void clear_resolution();
719 static const int kResolutionFieldNumber = 12;
720 double resolution()
const;
721 void set_resolution(
double value);
723 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(DCCLFieldOptions)
726 void set_has_codec();
727 void clear_has_codec();
729 void clear_has_omit();
730 void set_has_in_head();
731 void clear_has_in_head();
732 void set_has_precision();
733 void clear_has_precision();
734 void set_has_resolution();
735 void clear_has_resolution();
737 void clear_has_min();
739 void clear_has_max();
740 void set_has_num_days();
741 void clear_has_num_days();
742 void set_has_static_value();
743 void clear_has_static_value();
744 void set_has_max_length();
745 void clear_has_max_length();
746 void set_has_max_repeat();
747 void clear_has_max_repeat();
748 void set_has_min_repeat();
749 void clear_has_min_repeat();
750 void set_has_packed_enum();
751 void clear_has_packed_enum();
752 void set_has_description();
753 void clear_has_description();
754 void set_has_units();
755 void clear_has_units();
756 void set_has_dynamic_conditions();
757 void clear_has_dynamic_conditions();
759 ::google::protobuf::internal::ExtensionSet _extensions_;
761 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
762 ::google::protobuf::internal::HasBits<1> _has_bits_;
763 mutable ::google::protobuf::internal::CachedSize _cached_size_;
765 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_codec_;
767 ::google::protobuf::internal::ArenaStringPtr codec_;
768 ::google::protobuf::internal::ArenaStringPtr static_value_;
769 ::google::protobuf::internal::ArenaStringPtr description_;
774 ::google::protobuf::int32 precision_;
777 ::google::protobuf::uint32 max_length_;
778 ::google::protobuf::uint32 max_repeat_;
779 ::google::protobuf::uint32 min_repeat_;
780 ::google::protobuf::uint32 num_days_;
783 friend struct ::protobuf_dccl_2foption_5fextensions_2eproto::TableStruct;
787 class DCCLMessageOptions :
public ::google::protobuf::Message {
789 DCCLMessageOptions();
790 virtual ~DCCLMessageOptions();
792 DCCLMessageOptions(
const DCCLMessageOptions& from);
794 inline DCCLMessageOptions& operator=(
const DCCLMessageOptions& from) {
799 DCCLMessageOptions(DCCLMessageOptions&& from) noexcept
800 : DCCLMessageOptions() {
801 *
this = ::std::move(from);
804 inline DCCLMessageOptions& operator=(DCCLMessageOptions&& from) noexcept {
805 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
806 if (
this != &from) InternalSwap(&from);
813 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
814 return _internal_metadata_.unknown_fields();
816 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
817 return _internal_metadata_.mutable_unknown_fields();
820 static const ::google::protobuf::Descriptor* descriptor();
821 static const DCCLMessageOptions& default_instance();
823 static void InitAsDefaultInstance();
824 static inline const DCCLMessageOptions* internal_default_instance() {
825 return reinterpret_cast<const DCCLMessageOptions*
>(
826 &_DCCLMessageOptions_default_instance_);
828 static constexpr
int kIndexInFileMessages =
831 void Swap(DCCLMessageOptions* other);
832 friend void swap(DCCLMessageOptions& a, DCCLMessageOptions& b) {
838 inline DCCLMessageOptions* New() const final {
839 return CreateMaybeMessage<DCCLMessageOptions>(NULL);
842 DCCLMessageOptions* New(::google::protobuf::Arena* arena)
const final {
843 return CreateMaybeMessage<DCCLMessageOptions>(arena);
845 void CopyFrom(const ::google::protobuf::Message& from)
final;
846 void MergeFrom(const ::google::protobuf::Message& from)
final;
847 void CopyFrom(
const DCCLMessageOptions& from);
848 void MergeFrom(
const DCCLMessageOptions& from);
850 bool IsInitialized() const final;
852 size_t ByteSizeLong() const final;
853 bool MergePartialFromCodedStream(
854 ::google::protobuf::io::CodedInputStream* input) final;
855 void SerializeWithCachedSizes(
856 ::google::protobuf::io::CodedOutputStream* output) const final;
857 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
858 bool deterministic, ::google::protobuf::uint8* target) const final;
859 int GetCachedSize() const final {
return _cached_size_.Get(); }
864 void SetCachedSize(
int size)
const final;
865 void InternalSwap(DCCLMessageOptions* other);
867 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
870 inline void* MaybeArenaPtr()
const {
875 ::google::protobuf::Metadata GetMetadata() const final;
882 bool has_codec() const;
884 static const
int kCodecFieldNumber = 3;
885 const ::std::
string& codec() const;
886 void set_codec(const ::std::
string& value);
888 void set_codec(::std::string&& value);
890 void set_codec(
const char* value);
891 void set_codec(
const char* value,
size_t size);
892 ::std::string* mutable_codec();
893 ::std::string* release_codec();
894 void set_allocated_codec(::std::string* codec);
897 bool has_codec_group()
const;
898 void clear_codec_group();
899 static const int kCodecGroupFieldNumber = 4;
900 const ::std::string& codec_group()
const;
901 void set_codec_group(const ::std::string& value);
903 void set_codec_group(::std::string&& value);
905 void set_codec_group(
const char* value);
906 void set_codec_group(
const char* value,
size_t size);
907 ::std::string* mutable_codec_group();
908 ::std::string* release_codec_group();
909 void set_allocated_codec_group(::std::string* codec_group);
912 bool has_unit_system()
const;
913 void clear_unit_system();
914 static const int kUnitSystemFieldNumber = 30;
915 const ::std::string& unit_system()
const;
916 void set_unit_system(const ::std::string& value);
918 void set_unit_system(::std::string&& value);
920 void set_unit_system(
const char* value);
921 void set_unit_system(
const char* value,
size_t size);
922 ::std::string* mutable_unit_system();
923 ::std::string* release_unit_system();
924 void set_allocated_unit_system(::std::string* unit_system);
929 static const int kIdFieldNumber = 1;
930 ::google::protobuf::int32 id()
const;
931 void set_id(::google::protobuf::int32 value);
934 bool has_max_bytes()
const;
935 void clear_max_bytes();
936 static const int kMaxBytesFieldNumber = 2;
937 ::google::protobuf::uint32 max_bytes()
const;
938 void set_max_bytes(::google::protobuf::uint32 value);
941 bool has_codec_version()
const;
942 void clear_codec_version();
943 static const int kCodecVersionFieldNumber = 5;
944 ::google::protobuf::int32 codec_version()
const;
945 void set_codec_version(::google::protobuf::int32 value);
948 bool has_omit_id()
const;
949 void clear_omit_id();
950 static const int kOmitIdFieldNumber = 10;
951 bool omit_id()
const;
952 void set_omit_id(
bool value);
958 void set_has_max_bytes();
959 void clear_has_max_bytes();
960 void set_has_codec();
961 void clear_has_codec();
962 void set_has_codec_group();
963 void clear_has_codec_group();
964 void set_has_codec_version();
965 void clear_has_codec_version();
966 void set_has_omit_id();
967 void clear_has_omit_id();
968 void set_has_unit_system();
969 void clear_has_unit_system();
971 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
972 ::google::protobuf::internal::HasBits<1> _has_bits_;
973 mutable ::google::protobuf::internal::CachedSize _cached_size_;
974 ::google::protobuf::internal::ArenaStringPtr codec_;
975 ::google::protobuf::internal::ArenaStringPtr codec_group_;
977 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_unit_system_;
979 ::google::protobuf::internal::ArenaStringPtr unit_system_;
980 ::google::protobuf::int32 id_;
981 ::google::protobuf::uint32 max_bytes_;
982 ::google::protobuf::int32 codec_version_;
984 friend struct ::protobuf_dccl_2foption_5fextensions_2eproto::TableStruct;
988 static const int kFieldFieldNumber = 1012;
989 extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
990 ::google::protobuf::internal::MessageTypeTraits< ::dccl::DCCLFieldOptions >, 11,
false >
992 static const int kMsgFieldNumber = 1012;
993 extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions,
994 ::google::protobuf::internal::MessageTypeTraits< ::dccl::DCCLMessageOptions >, 11,
false >
1000 #pragma GCC diagnostic push
1001 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1006 inline bool DCCLFieldOptions_Units::has_base_dimensions()
const {
1007 return (_has_bits_[0] & 0x00000001u) != 0;
1009 inline void DCCLFieldOptions_Units::set_has_base_dimensions() {
1010 _has_bits_[0] |= 0x00000001u;
1012 inline void DCCLFieldOptions_Units::clear_has_base_dimensions() {
1013 _has_bits_[0] &= ~0x00000001u;
1015 inline void DCCLFieldOptions_Units::clear_base_dimensions() {
1016 base_dimensions_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1017 clear_has_base_dimensions();
1019 inline const ::std::string& DCCLFieldOptions_Units::base_dimensions()
const {
1021 return base_dimensions_.GetNoArena();
1023 inline void DCCLFieldOptions_Units::set_base_dimensions(const ::std::string& value) {
1024 set_has_base_dimensions();
1025 base_dimensions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1029 inline void DCCLFieldOptions_Units::set_base_dimensions(::std::string&& value) {
1030 set_has_base_dimensions();
1031 base_dimensions_.SetNoArena(
1032 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1036 inline void DCCLFieldOptions_Units::set_base_dimensions(
const char* value) {
1037 GOOGLE_DCHECK(value != NULL);
1038 set_has_base_dimensions();
1039 base_dimensions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1042 inline void DCCLFieldOptions_Units::set_base_dimensions(
const char* value,
size_t size) {
1043 set_has_base_dimensions();
1044 base_dimensions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1045 ::std::string(
reinterpret_cast<const char*
>(value), size));
1048 inline ::std::string* DCCLFieldOptions_Units::mutable_base_dimensions() {
1049 set_has_base_dimensions();
1051 return base_dimensions_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1053 inline ::std::string* DCCLFieldOptions_Units::release_base_dimensions() {
1055 if (!has_base_dimensions()) {
1058 clear_has_base_dimensions();
1059 return base_dimensions_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1061 inline void DCCLFieldOptions_Units::set_allocated_base_dimensions(::std::string* base_dimensions) {
1062 if (base_dimensions != NULL) {
1063 set_has_base_dimensions();
1065 clear_has_base_dimensions();
1067 base_dimensions_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), base_dimensions);
1072 inline bool DCCLFieldOptions_Units::has_derived_dimensions()
const {
1073 return (_has_bits_[0] & 0x00000002u) != 0;
1075 inline void DCCLFieldOptions_Units::set_has_derived_dimensions() {
1076 _has_bits_[0] |= 0x00000002u;
1078 inline void DCCLFieldOptions_Units::clear_has_derived_dimensions() {
1079 _has_bits_[0] &= ~0x00000002u;
1081 inline void DCCLFieldOptions_Units::clear_derived_dimensions() {
1082 derived_dimensions_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1083 clear_has_derived_dimensions();
1085 inline const ::std::string& DCCLFieldOptions_Units::derived_dimensions()
const {
1087 return derived_dimensions_.GetNoArena();
1089 inline void DCCLFieldOptions_Units::set_derived_dimensions(const ::std::string& value) {
1090 set_has_derived_dimensions();
1091 derived_dimensions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1095 inline void DCCLFieldOptions_Units::set_derived_dimensions(::std::string&& value) {
1096 set_has_derived_dimensions();
1097 derived_dimensions_.SetNoArena(
1098 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1102 inline void DCCLFieldOptions_Units::set_derived_dimensions(
const char* value) {
1103 GOOGLE_DCHECK(value != NULL);
1104 set_has_derived_dimensions();
1105 derived_dimensions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1108 inline void DCCLFieldOptions_Units::set_derived_dimensions(
const char* value,
size_t size) {
1109 set_has_derived_dimensions();
1110 derived_dimensions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1111 ::std::string(
reinterpret_cast<const char*
>(value), size));
1114 inline ::std::string* DCCLFieldOptions_Units::mutable_derived_dimensions() {
1115 set_has_derived_dimensions();
1117 return derived_dimensions_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1119 inline ::std::string* DCCLFieldOptions_Units::release_derived_dimensions() {
1121 if (!has_derived_dimensions()) {
1124 clear_has_derived_dimensions();
1125 return derived_dimensions_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1127 inline void DCCLFieldOptions_Units::set_allocated_derived_dimensions(::std::string* derived_dimensions) {
1128 if (derived_dimensions != NULL) {
1129 set_has_derived_dimensions();
1131 clear_has_derived_dimensions();
1133 derived_dimensions_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), derived_dimensions);
1138 inline bool DCCLFieldOptions_Units::has_system()
const {
1139 return (_has_bits_[0] & 0x00000004u) != 0;
1141 inline void DCCLFieldOptions_Units::set_has_system() {
1142 _has_bits_[0] |= 0x00000004u;
1144 inline void DCCLFieldOptions_Units::clear_has_system() {
1145 _has_bits_[0] &= ~0x00000004u;
1147 inline void DCCLFieldOptions_Units::clear_system() {
1148 system_.ClearToDefaultNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get());
1151 inline const ::std::string& DCCLFieldOptions_Units::system()
const {
1153 return system_.GetNoArena();
1155 inline void DCCLFieldOptions_Units::set_system(const ::std::string& value) {
1157 system_.SetNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), value);
1161 inline void DCCLFieldOptions_Units::set_system(::std::string&& value) {
1164 &::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), ::std::move(value));
1168 inline void DCCLFieldOptions_Units::set_system(
const char* value) {
1169 GOOGLE_DCHECK(value != NULL);
1171 system_.SetNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), ::std::string(value));
1174 inline void DCCLFieldOptions_Units::set_system(
const char* value,
size_t size) {
1176 system_.SetNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(),
1177 ::std::string(
reinterpret_cast<const char*
>(value), size));
1180 inline ::std::string* DCCLFieldOptions_Units::mutable_system() {
1183 return system_.MutableNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get());
1185 inline ::std::string* DCCLFieldOptions_Units::release_system() {
1187 if (!has_system()) {
1191 return system_.ReleaseNonDefaultNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get());
1193 inline void DCCLFieldOptions_Units::set_allocated_system(::std::string* system) {
1194 if (system != NULL) {
1199 system_.SetAllocatedNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), system);
1204 inline bool DCCLFieldOptions_Units::has_relative_temperature()
const {
1205 return (_has_bits_[0] & 0x00000020u) != 0;
1207 inline void DCCLFieldOptions_Units::set_has_relative_temperature() {
1208 _has_bits_[0] |= 0x00000020u;
1210 inline void DCCLFieldOptions_Units::clear_has_relative_temperature() {
1211 _has_bits_[0] &= ~0x00000020u;
1213 inline void DCCLFieldOptions_Units::clear_relative_temperature() {
1214 relative_temperature_ =
false;
1215 clear_has_relative_temperature();
1217 inline bool DCCLFieldOptions_Units::relative_temperature()
const {
1219 return relative_temperature_;
1221 inline void DCCLFieldOptions_Units::set_relative_temperature(
bool value) {
1222 set_has_relative_temperature();
1223 relative_temperature_ = value;
1228 inline bool DCCLFieldOptions_Units::has_unit()
const {
1229 return (_has_bits_[0] & 0x00000008u) != 0;
1231 inline void DCCLFieldOptions_Units::set_has_unit() {
1232 _has_bits_[0] |= 0x00000008u;
1234 inline void DCCLFieldOptions_Units::clear_has_unit() {
1235 _has_bits_[0] &= ~0x00000008u;
1237 inline void DCCLFieldOptions_Units::clear_unit() {
1238 unit_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1241 inline const ::std::string& DCCLFieldOptions_Units::unit()
const {
1243 return unit_.GetNoArena();
1245 inline void DCCLFieldOptions_Units::set_unit(const ::std::string& value) {
1247 unit_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1251 inline void DCCLFieldOptions_Units::set_unit(::std::string&& value) {
1254 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1258 inline void DCCLFieldOptions_Units::set_unit(
const char* value) {
1259 GOOGLE_DCHECK(value != NULL);
1261 unit_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1264 inline void DCCLFieldOptions_Units::set_unit(
const char* value,
size_t size) {
1266 unit_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1267 ::std::string(
reinterpret_cast<const char*
>(value), size));
1270 inline ::std::string* DCCLFieldOptions_Units::mutable_unit() {
1273 return unit_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1275 inline ::std::string* DCCLFieldOptions_Units::release_unit() {
1281 return unit_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1283 inline void DCCLFieldOptions_Units::set_allocated_unit(::std::string* unit) {
1289 unit_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), unit);
1294 inline bool DCCLFieldOptions_Units::has_prefix()
const {
1295 return (_has_bits_[0] & 0x00000010u) != 0;
1297 inline void DCCLFieldOptions_Units::set_has_prefix() {
1298 _has_bits_[0] |= 0x00000010u;
1300 inline void DCCLFieldOptions_Units::clear_has_prefix() {
1301 _has_bits_[0] &= ~0x00000010u;
1303 inline void DCCLFieldOptions_Units::clear_prefix() {
1304 prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1307 inline const ::std::string& DCCLFieldOptions_Units::prefix()
const {
1309 return prefix_.GetNoArena();
1311 inline void DCCLFieldOptions_Units::set_prefix(const ::std::string& value) {
1313 prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1317 inline void DCCLFieldOptions_Units::set_prefix(::std::string&& value) {
1320 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1324 inline void DCCLFieldOptions_Units::set_prefix(
const char* value) {
1325 GOOGLE_DCHECK(value != NULL);
1327 prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1330 inline void DCCLFieldOptions_Units::set_prefix(
const char* value,
size_t size) {
1332 prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1333 ::std::string(
reinterpret_cast<const char*
>(value), size));
1336 inline ::std::string* DCCLFieldOptions_Units::mutable_prefix() {
1339 return prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1341 inline ::std::string* DCCLFieldOptions_Units::release_prefix() {
1343 if (!has_prefix()) {
1347 return prefix_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1349 inline void DCCLFieldOptions_Units::set_allocated_prefix(::std::string* prefix) {
1350 if (prefix != NULL) {
1355 prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), prefix);
1364 inline bool DCCLFieldOptions_Conditions::has_required_if()
const {
1365 return (_has_bits_[0] & 0x00000001u) != 0;
1367 inline void DCCLFieldOptions_Conditions::set_has_required_if() {
1368 _has_bits_[0] |= 0x00000001u;
1370 inline void DCCLFieldOptions_Conditions::clear_has_required_if() {
1371 _has_bits_[0] &= ~0x00000001u;
1373 inline void DCCLFieldOptions_Conditions::clear_required_if() {
1374 required_if_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1375 clear_has_required_if();
1377 inline const ::std::string& DCCLFieldOptions_Conditions::required_if()
const {
1379 return required_if_.GetNoArena();
1381 inline void DCCLFieldOptions_Conditions::set_required_if(const ::std::string& value) {
1382 set_has_required_if();
1383 required_if_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1387 inline void DCCLFieldOptions_Conditions::set_required_if(::std::string&& value) {
1388 set_has_required_if();
1389 required_if_.SetNoArena(
1390 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1394 inline void DCCLFieldOptions_Conditions::set_required_if(
const char* value) {
1395 GOOGLE_DCHECK(value != NULL);
1396 set_has_required_if();
1397 required_if_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1400 inline void DCCLFieldOptions_Conditions::set_required_if(
const char* value,
size_t size) {
1401 set_has_required_if();
1402 required_if_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1403 ::std::string(
reinterpret_cast<const char*
>(value), size));
1406 inline ::std::string* DCCLFieldOptions_Conditions::mutable_required_if() {
1407 set_has_required_if();
1409 return required_if_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1411 inline ::std::string* DCCLFieldOptions_Conditions::release_required_if() {
1413 if (!has_required_if()) {
1416 clear_has_required_if();
1417 return required_if_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1419 inline void DCCLFieldOptions_Conditions::set_allocated_required_if(::std::string* required_if) {
1420 if (required_if != NULL) {
1421 set_has_required_if();
1423 clear_has_required_if();
1425 required_if_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), required_if);
1430 inline bool DCCLFieldOptions_Conditions::has_omit_if()
const {
1431 return (_has_bits_[0] & 0x00000002u) != 0;
1433 inline void DCCLFieldOptions_Conditions::set_has_omit_if() {
1434 _has_bits_[0] |= 0x00000002u;
1436 inline void DCCLFieldOptions_Conditions::clear_has_omit_if() {
1437 _has_bits_[0] &= ~0x00000002u;
1439 inline void DCCLFieldOptions_Conditions::clear_omit_if() {
1440 omit_if_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1441 clear_has_omit_if();
1443 inline const ::std::string& DCCLFieldOptions_Conditions::omit_if()
const {
1445 return omit_if_.GetNoArena();
1447 inline void DCCLFieldOptions_Conditions::set_omit_if(const ::std::string& value) {
1449 omit_if_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1453 inline void DCCLFieldOptions_Conditions::set_omit_if(::std::string&& value) {
1455 omit_if_.SetNoArena(
1456 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1460 inline void DCCLFieldOptions_Conditions::set_omit_if(
const char* value) {
1461 GOOGLE_DCHECK(value != NULL);
1463 omit_if_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1466 inline void DCCLFieldOptions_Conditions::set_omit_if(
const char* value,
size_t size) {
1468 omit_if_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1469 ::std::string(
reinterpret_cast<const char*
>(value), size));
1472 inline ::std::string* DCCLFieldOptions_Conditions::mutable_omit_if() {
1475 return omit_if_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1477 inline ::std::string* DCCLFieldOptions_Conditions::release_omit_if() {
1479 if (!has_omit_if()) {
1482 clear_has_omit_if();
1483 return omit_if_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1485 inline void DCCLFieldOptions_Conditions::set_allocated_omit_if(::std::string* omit_if) {
1486 if (omit_if != NULL) {
1489 clear_has_omit_if();
1491 omit_if_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), omit_if);
1496 inline bool DCCLFieldOptions_Conditions::has_only_if()
const {
1497 return (_has_bits_[0] & 0x00000004u) != 0;
1499 inline void DCCLFieldOptions_Conditions::set_has_only_if() {
1500 _has_bits_[0] |= 0x00000004u;
1502 inline void DCCLFieldOptions_Conditions::clear_has_only_if() {
1503 _has_bits_[0] &= ~0x00000004u;
1505 inline void DCCLFieldOptions_Conditions::clear_only_if() {
1506 only_if_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1507 clear_has_only_if();
1509 inline const ::std::string& DCCLFieldOptions_Conditions::only_if()
const {
1511 return only_if_.GetNoArena();
1513 inline void DCCLFieldOptions_Conditions::set_only_if(const ::std::string& value) {
1515 only_if_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1519 inline void DCCLFieldOptions_Conditions::set_only_if(::std::string&& value) {
1521 only_if_.SetNoArena(
1522 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1526 inline void DCCLFieldOptions_Conditions::set_only_if(
const char* value) {
1527 GOOGLE_DCHECK(value != NULL);
1529 only_if_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1532 inline void DCCLFieldOptions_Conditions::set_only_if(
const char* value,
size_t size) {
1534 only_if_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1535 ::std::string(
reinterpret_cast<const char*
>(value), size));
1538 inline ::std::string* DCCLFieldOptions_Conditions::mutable_only_if() {
1541 return only_if_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1543 inline ::std::string* DCCLFieldOptions_Conditions::release_only_if() {
1545 if (!has_only_if()) {
1548 clear_has_only_if();
1549 return only_if_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1551 inline void DCCLFieldOptions_Conditions::set_allocated_only_if(::std::string* only_if) {
1552 if (only_if != NULL) {
1555 clear_has_only_if();
1557 only_if_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), only_if);
1562 inline bool DCCLFieldOptions_Conditions::has_min()
const {
1563 return (_has_bits_[0] & 0x00000008u) != 0;
1565 inline void DCCLFieldOptions_Conditions::set_has_min() {
1566 _has_bits_[0] |= 0x00000008u;
1568 inline void DCCLFieldOptions_Conditions::clear_has_min() {
1569 _has_bits_[0] &= ~0x00000008u;
1571 inline void DCCLFieldOptions_Conditions::clear_min() {
1572 min_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1575 inline const ::std::string& DCCLFieldOptions_Conditions::min()
const {
1577 return min_.GetNoArena();
1579 inline void DCCLFieldOptions_Conditions::set_min(const ::std::string& value) {
1581 min_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1585 inline void DCCLFieldOptions_Conditions::set_min(::std::string&& value) {
1588 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1592 inline void DCCLFieldOptions_Conditions::set_min(
const char* value) {
1593 GOOGLE_DCHECK(value != NULL);
1595 min_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1598 inline void DCCLFieldOptions_Conditions::set_min(
const char* value,
size_t size) {
1600 min_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1601 ::std::string(
reinterpret_cast<const char*
>(value), size));
1604 inline ::std::string* DCCLFieldOptions_Conditions::mutable_min() {
1607 return min_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1609 inline ::std::string* DCCLFieldOptions_Conditions::release_min() {
1615 return min_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1617 inline void DCCLFieldOptions_Conditions::set_allocated_min(::std::string* min) {
1623 min_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), min);
1628 inline bool DCCLFieldOptions_Conditions::has_max()
const {
1629 return (_has_bits_[0] & 0x00000010u) != 0;
1631 inline void DCCLFieldOptions_Conditions::set_has_max() {
1632 _has_bits_[0] |= 0x00000010u;
1634 inline void DCCLFieldOptions_Conditions::clear_has_max() {
1635 _has_bits_[0] &= ~0x00000010u;
1637 inline void DCCLFieldOptions_Conditions::clear_max() {
1638 max_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1641 inline const ::std::string& DCCLFieldOptions_Conditions::max()
const {
1643 return max_.GetNoArena();
1645 inline void DCCLFieldOptions_Conditions::set_max(const ::std::string& value) {
1647 max_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1651 inline void DCCLFieldOptions_Conditions::set_max(::std::string&& value) {
1654 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1658 inline void DCCLFieldOptions_Conditions::set_max(
const char* value) {
1659 GOOGLE_DCHECK(value != NULL);
1661 max_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1664 inline void DCCLFieldOptions_Conditions::set_max(
const char* value,
size_t size) {
1666 max_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1667 ::std::string(
reinterpret_cast<const char*
>(value), size));
1670 inline ::std::string* DCCLFieldOptions_Conditions::mutable_max() {
1673 return max_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1675 inline ::std::string* DCCLFieldOptions_Conditions::release_max() {
1681 return max_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1683 inline void DCCLFieldOptions_Conditions::set_allocated_max(::std::string* max) {
1689 max_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), max);
1698 inline bool DCCLFieldOptions::has_codec()
const {
1699 return (_has_bits_[0] & 0x00000001u) != 0;
1701 inline void DCCLFieldOptions::set_has_codec() {
1702 _has_bits_[0] |= 0x00000001u;
1704 inline void DCCLFieldOptions::clear_has_codec() {
1705 _has_bits_[0] &= ~0x00000001u;
1707 inline void DCCLFieldOptions::clear_codec() {
1708 codec_.ClearToDefaultNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get());
1711 inline const ::std::string& DCCLFieldOptions::codec()
const {
1713 return codec_.GetNoArena();
1715 inline void DCCLFieldOptions::set_codec(const ::std::string& value) {
1717 codec_.SetNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), value);
1721 inline void DCCLFieldOptions::set_codec(::std::string&& value) {
1724 &::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), ::std::move(value));
1728 inline void DCCLFieldOptions::set_codec(
const char* value) {
1729 GOOGLE_DCHECK(value != NULL);
1731 codec_.SetNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), ::std::string(value));
1734 inline void DCCLFieldOptions::set_codec(
const char* value,
size_t size) {
1736 codec_.SetNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(),
1737 ::std::string(
reinterpret_cast<const char*
>(value), size));
1740 inline ::std::string* DCCLFieldOptions::mutable_codec() {
1743 return codec_.MutableNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get());
1745 inline ::std::string* DCCLFieldOptions::release_codec() {
1751 return codec_.ReleaseNonDefaultNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get());
1753 inline void DCCLFieldOptions::set_allocated_codec(::std::string* codec) {
1754 if (codec != NULL) {
1759 codec_.SetAllocatedNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), codec);
1764 inline bool DCCLFieldOptions::has_omit()
const {
1765 return (_has_bits_[0] & 0x00000020u) != 0;
1767 inline void DCCLFieldOptions::set_has_omit() {
1768 _has_bits_[0] |= 0x00000020u;
1770 inline void DCCLFieldOptions::clear_has_omit() {
1771 _has_bits_[0] &= ~0x00000020u;
1773 inline void DCCLFieldOptions::clear_omit() {
1777 inline bool DCCLFieldOptions::omit()
const {
1781 inline void DCCLFieldOptions::set_omit(
bool value) {
1788 inline bool DCCLFieldOptions::has_in_head()
const {
1789 return (_has_bits_[0] & 0x00000040u) != 0;
1791 inline void DCCLFieldOptions::set_has_in_head() {
1792 _has_bits_[0] |= 0x00000040u;
1794 inline void DCCLFieldOptions::clear_has_in_head() {
1795 _has_bits_[0] &= ~0x00000040u;
1797 inline void DCCLFieldOptions::clear_in_head() {
1799 clear_has_in_head();
1801 inline bool DCCLFieldOptions::in_head()
const {
1805 inline void DCCLFieldOptions::set_in_head(
bool value) {
1812 inline bool DCCLFieldOptions::has_precision()
const {
1813 return (_has_bits_[0] & 0x00000080u) != 0;
1815 inline void DCCLFieldOptions::set_has_precision() {
1816 _has_bits_[0] |= 0x00000080u;
1818 inline void DCCLFieldOptions::clear_has_precision() {
1819 _has_bits_[0] &= ~0x00000080u;
1821 inline void DCCLFieldOptions::clear_precision() {
1823 clear_has_precision();
1825 inline ::google::protobuf::int32 DCCLFieldOptions::precision()
const {
1829 inline void DCCLFieldOptions::set_precision(::google::protobuf::int32 value) {
1830 set_has_precision();
1836 inline bool DCCLFieldOptions::has_resolution()
const {
1837 return (_has_bits_[0] & 0x00008000u) != 0;
1839 inline void DCCLFieldOptions::set_has_resolution() {
1840 _has_bits_[0] |= 0x00008000u;
1842 inline void DCCLFieldOptions::clear_has_resolution() {
1843 _has_bits_[0] &= ~0x00008000u;
1845 inline void DCCLFieldOptions::clear_resolution() {
1847 clear_has_resolution();
1849 inline double DCCLFieldOptions::resolution()
const {
1853 inline void DCCLFieldOptions::set_resolution(
double value) {
1854 set_has_resolution();
1855 resolution_ = value;
1860 inline bool DCCLFieldOptions::has_min()
const {
1861 return (_has_bits_[0] & 0x00000100u) != 0;
1863 inline void DCCLFieldOptions::set_has_min() {
1864 _has_bits_[0] |= 0x00000100u;
1866 inline void DCCLFieldOptions::clear_has_min() {
1867 _has_bits_[0] &= ~0x00000100u;
1869 inline void DCCLFieldOptions::clear_min() {
1873 inline double DCCLFieldOptions::min()
const {
1877 inline void DCCLFieldOptions::set_min(
double value) {
1884 inline bool DCCLFieldOptions::has_max()
const {
1885 return (_has_bits_[0] & 0x00000200u) != 0;
1887 inline void DCCLFieldOptions::set_has_max() {
1888 _has_bits_[0] |= 0x00000200u;
1890 inline void DCCLFieldOptions::clear_has_max() {
1891 _has_bits_[0] &= ~0x00000200u;
1893 inline void DCCLFieldOptions::clear_max() {
1897 inline double DCCLFieldOptions::max()
const {
1901 inline void DCCLFieldOptions::set_max(
double value) {
1908 inline bool DCCLFieldOptions::has_num_days()
const {
1909 return (_has_bits_[0] & 0x00002000u) != 0;
1911 inline void DCCLFieldOptions::set_has_num_days() {
1912 _has_bits_[0] |= 0x00002000u;
1914 inline void DCCLFieldOptions::clear_has_num_days() {
1915 _has_bits_[0] &= ~0x00002000u;
1917 inline void DCCLFieldOptions::clear_num_days() {
1919 clear_has_num_days();
1921 inline ::google::protobuf::uint32 DCCLFieldOptions::num_days()
const {
1925 inline void DCCLFieldOptions::set_num_days(::google::protobuf::uint32 value) {
1932 inline bool DCCLFieldOptions::has_static_value()
const {
1933 return (_has_bits_[0] & 0x00000002u) != 0;
1935 inline void DCCLFieldOptions::set_has_static_value() {
1936 _has_bits_[0] |= 0x00000002u;
1938 inline void DCCLFieldOptions::clear_has_static_value() {
1939 _has_bits_[0] &= ~0x00000002u;
1941 inline void DCCLFieldOptions::clear_static_value() {
1942 static_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1943 clear_has_static_value();
1945 inline const ::std::string& DCCLFieldOptions::static_value()
const {
1947 return static_value_.GetNoArena();
1949 inline void DCCLFieldOptions::set_static_value(const ::std::string& value) {
1950 set_has_static_value();
1951 static_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1955 inline void DCCLFieldOptions::set_static_value(::std::string&& value) {
1956 set_has_static_value();
1957 static_value_.SetNoArena(
1958 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1962 inline void DCCLFieldOptions::set_static_value(
const char* value) {
1963 GOOGLE_DCHECK(value != NULL);
1964 set_has_static_value();
1965 static_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1968 inline void DCCLFieldOptions::set_static_value(
const char* value,
size_t size) {
1969 set_has_static_value();
1970 static_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1971 ::std::string(
reinterpret_cast<const char*
>(value), size));
1974 inline ::std::string* DCCLFieldOptions::mutable_static_value() {
1975 set_has_static_value();
1977 return static_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1979 inline ::std::string* DCCLFieldOptions::release_static_value() {
1981 if (!has_static_value()) {
1984 clear_has_static_value();
1985 return static_value_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1987 inline void DCCLFieldOptions::set_allocated_static_value(::std::string* static_value) {
1988 if (static_value != NULL) {
1989 set_has_static_value();
1991 clear_has_static_value();
1993 static_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), static_value);
1998 inline bool DCCLFieldOptions::has_max_length()
const {
1999 return (_has_bits_[0] & 0x00000400u) != 0;
2001 inline void DCCLFieldOptions::set_has_max_length() {
2002 _has_bits_[0] |= 0x00000400u;
2004 inline void DCCLFieldOptions::clear_has_max_length() {
2005 _has_bits_[0] &= ~0x00000400u;
2007 inline void DCCLFieldOptions::clear_max_length() {
2009 clear_has_max_length();
2011 inline ::google::protobuf::uint32 DCCLFieldOptions::max_length()
const {
2015 inline void DCCLFieldOptions::set_max_length(::google::protobuf::uint32 value) {
2016 set_has_max_length();
2017 max_length_ = value;
2022 inline bool DCCLFieldOptions::has_max_repeat()
const {
2023 return (_has_bits_[0] & 0x00000800u) != 0;
2025 inline void DCCLFieldOptions::set_has_max_repeat() {
2026 _has_bits_[0] |= 0x00000800u;
2028 inline void DCCLFieldOptions::clear_has_max_repeat() {
2029 _has_bits_[0] &= ~0x00000800u;
2031 inline void DCCLFieldOptions::clear_max_repeat() {
2033 clear_has_max_repeat();
2035 inline ::google::protobuf::uint32 DCCLFieldOptions::max_repeat()
const {
2039 inline void DCCLFieldOptions::set_max_repeat(::google::protobuf::uint32 value) {
2040 set_has_max_repeat();
2041 max_repeat_ = value;
2046 inline bool DCCLFieldOptions::has_min_repeat()
const {
2047 return (_has_bits_[0] & 0x00001000u) != 0;
2049 inline void DCCLFieldOptions::set_has_min_repeat() {
2050 _has_bits_[0] |= 0x00001000u;
2052 inline void DCCLFieldOptions::clear_has_min_repeat() {
2053 _has_bits_[0] &= ~0x00001000u;
2055 inline void DCCLFieldOptions::clear_min_repeat() {
2057 clear_has_min_repeat();
2059 inline ::google::protobuf::uint32 DCCLFieldOptions::min_repeat()
const {
2063 inline void DCCLFieldOptions::set_min_repeat(::google::protobuf::uint32 value) {
2064 set_has_min_repeat();
2065 min_repeat_ = value;
2070 inline bool DCCLFieldOptions::has_packed_enum()
const {
2071 return (_has_bits_[0] & 0x00004000u) != 0;
2073 inline void DCCLFieldOptions::set_has_packed_enum() {
2074 _has_bits_[0] |= 0x00004000u;
2076 inline void DCCLFieldOptions::clear_has_packed_enum() {
2077 _has_bits_[0] &= ~0x00004000u;
2079 inline void DCCLFieldOptions::clear_packed_enum() {
2080 packed_enum_ =
true;
2081 clear_has_packed_enum();
2083 inline bool DCCLFieldOptions::packed_enum()
const {
2085 return packed_enum_;
2087 inline void DCCLFieldOptions::set_packed_enum(
bool value) {
2088 set_has_packed_enum();
2089 packed_enum_ = value;
2094 inline bool DCCLFieldOptions::has_description()
const {
2095 return (_has_bits_[0] & 0x00000004u) != 0;
2097 inline void DCCLFieldOptions::set_has_description() {
2098 _has_bits_[0] |= 0x00000004u;
2100 inline void DCCLFieldOptions::clear_has_description() {
2101 _has_bits_[0] &= ~0x00000004u;
2103 inline void DCCLFieldOptions::clear_description() {
2104 description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2105 clear_has_description();
2107 inline const ::std::string& DCCLFieldOptions::description()
const {
2109 return description_.GetNoArena();
2111 inline void DCCLFieldOptions::set_description(const ::std::string& value) {
2112 set_has_description();
2113 description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2117 inline void DCCLFieldOptions::set_description(::std::string&& value) {
2118 set_has_description();
2119 description_.SetNoArena(
2120 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2124 inline void DCCLFieldOptions::set_description(
const char* value) {
2125 GOOGLE_DCHECK(value != NULL);
2126 set_has_description();
2127 description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2130 inline void DCCLFieldOptions::set_description(
const char* value,
size_t size) {
2131 set_has_description();
2132 description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2133 ::std::string(
reinterpret_cast<const char*
>(value), size));
2136 inline ::std::string* DCCLFieldOptions::mutable_description() {
2137 set_has_description();
2139 return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2141 inline ::std::string* DCCLFieldOptions::release_description() {
2143 if (!has_description()) {
2146 clear_has_description();
2147 return description_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2149 inline void DCCLFieldOptions::set_allocated_description(::std::string* description) {
2150 if (description != NULL) {
2151 set_has_description();
2153 clear_has_description();
2155 description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description);
2160 inline bool DCCLFieldOptions::has_units()
const {
2161 return (_has_bits_[0] & 0x00000008u) != 0;
2163 inline void DCCLFieldOptions::set_has_units() {
2164 _has_bits_[0] |= 0x00000008u;
2166 inline void DCCLFieldOptions::clear_has_units() {
2167 _has_bits_[0] &= ~0x00000008u;
2169 inline void DCCLFieldOptions::clear_units() {
2170 if (units_ != NULL) units_->Clear();
2173 inline const ::dccl::DCCLFieldOptions_Units& DCCLFieldOptions::_internal_units()
const {
2176 inline const ::dccl::DCCLFieldOptions_Units& DCCLFieldOptions::units()
const {
2177 const ::dccl::DCCLFieldOptions_Units* p = units_;
2180 &::dccl::_DCCLFieldOptions_Units_default_instance_);
2182 inline ::dccl::DCCLFieldOptions_Units* DCCLFieldOptions::release_units() {
2189 inline ::dccl::DCCLFieldOptions_Units* DCCLFieldOptions::mutable_units() {
2191 if (units_ == NULL) {
2192 auto* p = CreateMaybeMessage<::dccl::DCCLFieldOptions_Units>(GetArenaNoVirtual());
2199 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2200 if (message_arena == NULL) {
2204 ::google::protobuf::Arena* submessage_arena = NULL;
2205 if (message_arena != submessage_arena) {
2206 units = ::google::protobuf::internal::GetOwnedMessage(
2207 message_arena, units, submessage_arena);
2218 inline bool DCCLFieldOptions::has_dynamic_conditions()
const {
2219 return (_has_bits_[0] & 0x00000010u) != 0;
2221 inline void DCCLFieldOptions::set_has_dynamic_conditions() {
2222 _has_bits_[0] |= 0x00000010u;
2224 inline void DCCLFieldOptions::clear_has_dynamic_conditions() {
2225 _has_bits_[0] &= ~0x00000010u;
2227 inline void DCCLFieldOptions::clear_dynamic_conditions() {
2228 if (dynamic_conditions_ != NULL) dynamic_conditions_->Clear();
2229 clear_has_dynamic_conditions();
2231 inline const ::dccl::DCCLFieldOptions_Conditions& DCCLFieldOptions::_internal_dynamic_conditions()
const {
2232 return *dynamic_conditions_;
2234 inline const ::dccl::DCCLFieldOptions_Conditions& DCCLFieldOptions::dynamic_conditions()
const {
2235 const ::dccl::DCCLFieldOptions_Conditions* p = dynamic_conditions_;
2238 &::dccl::_DCCLFieldOptions_Conditions_default_instance_);
2240 inline ::dccl::DCCLFieldOptions_Conditions* DCCLFieldOptions::release_dynamic_conditions() {
2242 clear_has_dynamic_conditions();
2244 dynamic_conditions_ = NULL;
2247 inline ::dccl::DCCLFieldOptions_Conditions* DCCLFieldOptions::mutable_dynamic_conditions() {
2248 set_has_dynamic_conditions();
2249 if (dynamic_conditions_ == NULL) {
2250 auto* p = CreateMaybeMessage<::dccl::DCCLFieldOptions_Conditions>(GetArenaNoVirtual());
2251 dynamic_conditions_ = p;
2254 return dynamic_conditions_;
2257 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2258 if (message_arena == NULL) {
2259 delete dynamic_conditions_;
2261 if (dynamic_conditions) {
2262 ::google::protobuf::Arena* submessage_arena = NULL;
2263 if (message_arena != submessage_arena) {
2264 dynamic_conditions = ::google::protobuf::internal::GetOwnedMessage(
2265 message_arena, dynamic_conditions, submessage_arena);
2267 set_has_dynamic_conditions();
2269 clear_has_dynamic_conditions();
2271 dynamic_conditions_ = dynamic_conditions;
2280 inline bool DCCLMessageOptions::has_id()
const {
2281 return (_has_bits_[0] & 0x00000008u) != 0;
2283 inline void DCCLMessageOptions::set_has_id() {
2284 _has_bits_[0] |= 0x00000008u;
2286 inline void DCCLMessageOptions::clear_has_id() {
2287 _has_bits_[0] &= ~0x00000008u;
2289 inline void DCCLMessageOptions::clear_id() {
2293 inline ::google::protobuf::int32 DCCLMessageOptions::id()
const {
2297 inline void DCCLMessageOptions::set_id(::google::protobuf::int32 value) {
2304 inline bool DCCLMessageOptions::has_max_bytes()
const {
2305 return (_has_bits_[0] & 0x00000010u) != 0;
2307 inline void DCCLMessageOptions::set_has_max_bytes() {
2308 _has_bits_[0] |= 0x00000010u;
2310 inline void DCCLMessageOptions::clear_has_max_bytes() {
2311 _has_bits_[0] &= ~0x00000010u;
2313 inline void DCCLMessageOptions::clear_max_bytes() {
2315 clear_has_max_bytes();
2317 inline ::google::protobuf::uint32 DCCLMessageOptions::max_bytes()
const {
2321 inline void DCCLMessageOptions::set_max_bytes(::google::protobuf::uint32 value) {
2322 set_has_max_bytes();
2328 inline bool DCCLMessageOptions::has_codec()
const {
2329 return (_has_bits_[0] & 0x00000001u) != 0;
2331 inline void DCCLMessageOptions::set_has_codec() {
2332 _has_bits_[0] |= 0x00000001u;
2334 inline void DCCLMessageOptions::clear_has_codec() {
2335 _has_bits_[0] &= ~0x00000001u;
2337 inline void DCCLMessageOptions::clear_codec() {
2338 codec_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2341 inline const ::std::string& DCCLMessageOptions::codec()
const {
2343 return codec_.GetNoArena();
2345 inline void DCCLMessageOptions::set_codec(const ::std::string& value) {
2347 codec_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2351 inline void DCCLMessageOptions::set_codec(::std::string&& value) {
2354 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2358 inline void DCCLMessageOptions::set_codec(
const char* value) {
2359 GOOGLE_DCHECK(value != NULL);
2361 codec_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2364 inline void DCCLMessageOptions::set_codec(
const char* value,
size_t size) {
2366 codec_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2367 ::std::string(
reinterpret_cast<const char*
>(value), size));
2370 inline ::std::string* DCCLMessageOptions::mutable_codec() {
2373 return codec_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2375 inline ::std::string* DCCLMessageOptions::release_codec() {
2381 return codec_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2383 inline void DCCLMessageOptions::set_allocated_codec(::std::string* codec) {
2384 if (codec != NULL) {
2389 codec_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), codec);
2394 inline bool DCCLMessageOptions::has_codec_group()
const {
2395 return (_has_bits_[0] & 0x00000002u) != 0;
2397 inline void DCCLMessageOptions::set_has_codec_group() {
2398 _has_bits_[0] |= 0x00000002u;
2400 inline void DCCLMessageOptions::clear_has_codec_group() {
2401 _has_bits_[0] &= ~0x00000002u;
2403 inline void DCCLMessageOptions::clear_codec_group() {
2404 codec_group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2405 clear_has_codec_group();
2407 inline const ::std::string& DCCLMessageOptions::codec_group()
const {
2409 return codec_group_.GetNoArena();
2411 inline void DCCLMessageOptions::set_codec_group(const ::std::string& value) {
2412 set_has_codec_group();
2413 codec_group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2417 inline void DCCLMessageOptions::set_codec_group(::std::string&& value) {
2418 set_has_codec_group();
2419 codec_group_.SetNoArena(
2420 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2424 inline void DCCLMessageOptions::set_codec_group(
const char* value) {
2425 GOOGLE_DCHECK(value != NULL);
2426 set_has_codec_group();
2427 codec_group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2430 inline void DCCLMessageOptions::set_codec_group(
const char* value,
size_t size) {
2431 set_has_codec_group();
2432 codec_group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2433 ::std::string(
reinterpret_cast<const char*
>(value), size));
2436 inline ::std::string* DCCLMessageOptions::mutable_codec_group() {
2437 set_has_codec_group();
2439 return codec_group_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2441 inline ::std::string* DCCLMessageOptions::release_codec_group() {
2443 if (!has_codec_group()) {
2446 clear_has_codec_group();
2447 return codec_group_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2449 inline void DCCLMessageOptions::set_allocated_codec_group(::std::string* codec_group) {
2450 if (codec_group != NULL) {
2451 set_has_codec_group();
2453 clear_has_codec_group();
2455 codec_group_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), codec_group);
2460 inline bool DCCLMessageOptions::has_codec_version()
const {
2461 return (_has_bits_[0] & 0x00000020u) != 0;
2463 inline void DCCLMessageOptions::set_has_codec_version() {
2464 _has_bits_[0] |= 0x00000020u;
2466 inline void DCCLMessageOptions::clear_has_codec_version() {
2467 _has_bits_[0] &= ~0x00000020u;
2469 inline void DCCLMessageOptions::clear_codec_version() {
2471 clear_has_codec_version();
2473 inline ::google::protobuf::int32 DCCLMessageOptions::codec_version()
const {
2475 return codec_version_;
2477 inline void DCCLMessageOptions::set_codec_version(::google::protobuf::int32 value) {
2478 set_has_codec_version();
2479 codec_version_ = value;
2484 inline bool DCCLMessageOptions::has_omit_id()
const {
2485 return (_has_bits_[0] & 0x00000040u) != 0;
2487 inline void DCCLMessageOptions::set_has_omit_id() {
2488 _has_bits_[0] |= 0x00000040u;
2490 inline void DCCLMessageOptions::clear_has_omit_id() {
2491 _has_bits_[0] &= ~0x00000040u;
2493 inline void DCCLMessageOptions::clear_omit_id() {
2495 clear_has_omit_id();
2497 inline bool DCCLMessageOptions::omit_id()
const {
2501 inline void DCCLMessageOptions::set_omit_id(
bool value) {
2508 inline bool DCCLMessageOptions::has_unit_system()
const {
2509 return (_has_bits_[0] & 0x00000004u) != 0;
2511 inline void DCCLMessageOptions::set_has_unit_system() {
2512 _has_bits_[0] |= 0x00000004u;
2514 inline void DCCLMessageOptions::clear_has_unit_system() {
2515 _has_bits_[0] &= ~0x00000004u;
2517 inline void DCCLMessageOptions::clear_unit_system() {
2518 unit_system_.ClearToDefaultNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get());
2519 clear_has_unit_system();
2521 inline const ::std::string& DCCLMessageOptions::unit_system()
const {
2523 return unit_system_.GetNoArena();
2525 inline void DCCLMessageOptions::set_unit_system(const ::std::string& value) {
2526 set_has_unit_system();
2527 unit_system_.SetNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), value);
2531 inline void DCCLMessageOptions::set_unit_system(::std::string&& value) {
2532 set_has_unit_system();
2533 unit_system_.SetNoArena(
2534 &::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), ::std::move(value));
2538 inline void DCCLMessageOptions::set_unit_system(
const char* value) {
2539 GOOGLE_DCHECK(value != NULL);
2540 set_has_unit_system();
2541 unit_system_.SetNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), ::std::string(value));
2544 inline void DCCLMessageOptions::set_unit_system(
const char* value,
size_t size) {
2545 set_has_unit_system();
2546 unit_system_.SetNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(),
2547 ::std::string(
reinterpret_cast<const char*
>(value), size));
2550 inline ::std::string* DCCLMessageOptions::mutable_unit_system() {
2551 set_has_unit_system();
2553 return unit_system_.MutableNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get());
2555 inline ::std::string* DCCLMessageOptions::release_unit_system() {
2557 if (!has_unit_system()) {
2560 clear_has_unit_system();
2561 return unit_system_.ReleaseNonDefaultNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get());
2563 inline void DCCLMessageOptions::set_allocated_unit_system(::std::string* unit_system) {
2564 if (unit_system != NULL) {
2565 set_has_unit_system();
2567 clear_has_unit_system();
2569 unit_system_.SetAllocatedNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), unit_system);
2574 #pragma GCC diagnostic pop
2589 #endif // PROTOBUF_INCLUDED_dccl_2foption_5fextensions_2eproto