4 #ifndef PROTOBUF_INCLUDED_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto
5 #define PROTOBUF_INCLUDED_dccl_2fapps_2fpb_5fplugin_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>
35 #define PROTOBUF_INTERNAL_EXPORT_protobuf_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto
37 namespace protobuf_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto {
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[];
47 void AddDescriptors();
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_;
85 *
this = ::std::move(from);
89 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
90 if (
this != &from) InternalSwap(&from);
97 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
98 return _internal_metadata_.unknown_fields();
100 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
101 return _internal_metadata_.mutable_unknown_fields();
104 static const ::google::protobuf::Descriptor* descriptor();
107 static void InitAsDefaultInstance();
110 &_DCCLFieldOptions_Units_default_instance_);
112 static constexpr
int kIndexInFileMessages =
123 return CreateMaybeMessage<DCCLFieldOptions_Units>(NULL);
127 return CreateMaybeMessage<DCCLFieldOptions_Units>(arena);
129 void CopyFrom(const ::google::protobuf::Message& from)
final;
130 void MergeFrom(const ::google::protobuf::Message& from)
final;
134 bool IsInitialized()
const final;
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(); }
148 void SetCachedSize(
int size)
const final;
151 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
154 inline void* MaybeArenaPtr()
const {
159 ::google::protobuf::Metadata GetMetadata()
const final;
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);
172 void set_base_dimensions(::std::string&& value);
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);
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);
187 void set_derived_dimensions(::std::string&& value);
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);
196 bool has_system()
const;
198 static const int kSystemFieldNumber = 3;
199 const ::std::string& system()
const;
200 void set_system(const ::std::string& value);
202 void set_system(::std::string&& value);
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);
211 bool has_unit()
const;
213 static const int kUnitFieldNumber = 5;
214 const ::std::string& unit()
const;
215 void set_unit(const ::std::string& value);
217 void set_unit(::std::string&& value);
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);
226 bool has_prefix()
const;
228 static const int kPrefixFieldNumber = 6;
229 const ::std::string& prefix()
const;
230 void set_prefix(const ::std::string& value);
232 void set_prefix(::std::string&& value);
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);
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);
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();
258 void clear_has_unit();
259 void set_has_prefix();
260 void clear_has_prefix();
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_;
268 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_system_;
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;
292 *
this = ::std::move(from);
296 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
297 if (
this != &from) InternalSwap(&from);
304 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
305 return _internal_metadata_.unknown_fields();
307 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
308 return _internal_metadata_.mutable_unknown_fields();
311 static const ::google::protobuf::Descriptor* descriptor();
314 static void InitAsDefaultInstance();
317 &_DCCLFieldOptions_default_instance_);
319 static constexpr
int kIndexInFileMessages =
330 return CreateMaybeMessage<DCCLFieldOptions>(NULL);
334 return CreateMaybeMessage<DCCLFieldOptions>(arena);
336 void CopyFrom(const ::google::protobuf::Message& from)
final;
337 void MergeFrom(const ::google::protobuf::Message& from)
final;
341 bool IsInitialized()
const final;
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(); }
355 void SetCachedSize(
int size)
const final;
358 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
361 inline void* MaybeArenaPtr()
const {
366 ::google::protobuf::Metadata GetMetadata()
const final;
375 bool has_codec()
const;
377 static const int kCodecFieldNumber = 1;
378 const ::std::string& codec()
const;
379 void set_codec(const ::std::string& value);
381 void set_codec(::std::string&& value);
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);
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);
396 void set_static_value(::std::string&& value);
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);
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);
411 void set_description(::std::string&& value);
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);
420 bool has_units()
const;
422 static const int kUnitsFieldNumber = 30;
424 const ::dccl::DCCLFieldOptions_Units& _internal_units()
const;
426 const ::dccl::DCCLFieldOptions_Units& units()
const;
432 bool has_omit()
const;
434 static const int kOmitFieldNumber = 2;
436 void set_omit(
bool value);
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);
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);
453 bool has_min()
const;
455 static const int kMinFieldNumber = 5;
457 void set_min(
double value);
460 bool has_max()
const;
462 static const int kMaxFieldNumber = 6;
464 void set_max(
double value);
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);
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);
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);
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);
497 void set_has_codec();
498 void clear_has_codec();
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();
506 void clear_has_min();
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();
524 ::google::protobuf::internal::ExtensionSet _extensions_;
526 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
527 ::google::protobuf::internal::HasBits<1> _has_bits_;
528 mutable ::google::protobuf::internal::CachedSize _cached_size_;
530 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_codec_;
532 ::google::protobuf::internal::ArenaStringPtr codec_;
533 ::google::protobuf::internal::ArenaStringPtr static_value_;
534 ::google::protobuf::internal::ArenaStringPtr description_;
538 ::google::protobuf::int32 precision_;
541 ::google::protobuf::uint32 max_length_;
543 ::google::protobuf::uint32 num_days_;
544 ::google::protobuf::uint32 max_repeat_;
545 friend struct ::protobuf_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto::TableStruct;
563 *
this = ::std::move(from);
567 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
568 if (
this != &from) InternalSwap(&from);
575 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
576 return _internal_metadata_.unknown_fields();
578 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
579 return _internal_metadata_.mutable_unknown_fields();
582 static const ::google::protobuf::Descriptor* descriptor();
585 static void InitAsDefaultInstance();
588 &_DCCLMessageOptions_default_instance_);
590 static constexpr
int kIndexInFileMessages =
601 return CreateMaybeMessage<DCCLMessageOptions>(NULL);
605 return CreateMaybeMessage<DCCLMessageOptions>(arena);
607 void CopyFrom(const ::google::protobuf::Message& from)
final;
608 void MergeFrom(const ::google::protobuf::Message& from)
final;
612 bool IsInitialized()
const final;
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(); }
626 void SetCachedSize(
int size)
const final;
629 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
632 inline void* MaybeArenaPtr()
const {
637 ::google::protobuf::Metadata GetMetadata()
const final;
644 bool has_codec()
const;
646 static const int kCodecFieldNumber = 3;
647 const ::std::string& codec()
const;
648 void set_codec(const ::std::string& value);
650 void set_codec(::std::string&& value);
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);
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);
665 void set_codec_group(::std::string&& value);
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);
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);
680 void set_unit_system(::std::string&& value);
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);
691 static const int kIdFieldNumber = 1;
692 ::google::protobuf::int32 id()
const;
693 void set_id(::google::protobuf::int32 value);
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);
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);
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();
724 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
725 ::google::protobuf::internal::HasBits<1> _has_bits_;
726 mutable ::google::protobuf::internal::CachedSize _cached_size_;
728 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_codec_;
730 ::google::protobuf::internal::ArenaStringPtr codec_;
732 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_codec_group_;
734 ::google::protobuf::internal::ArenaStringPtr codec_group_;
736 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_unit_system_;
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;
746 static const int kFieldFieldNumber = 1012;
747 extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
748 ::google::protobuf::internal::MessageTypeTraits< ::dccl::DCCLFieldOptions >, 11,
false >
750 static const int kMsgFieldNumber = 1012;
751 extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions,
752 ::google::protobuf::internal::MessageTypeTraits< ::dccl::DCCLMessageOptions >, 11,
false >
758 #pragma GCC diagnostic push
759 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
764 inline bool DCCLFieldOptions_Units::has_base_dimensions()
const {
765 return (_has_bits_[0] & 0x00000001u) != 0;
767 inline void DCCLFieldOptions_Units::set_has_base_dimensions() {
768 _has_bits_[0] |= 0x00000001u;
770 inline void DCCLFieldOptions_Units::clear_has_base_dimensions() {
771 _has_bits_[0] &= ~0x00000001u;
773 inline void DCCLFieldOptions_Units::clear_base_dimensions() {
774 base_dimensions_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
775 clear_has_base_dimensions();
777 inline const ::std::string& DCCLFieldOptions_Units::base_dimensions()
const {
779 return base_dimensions_.GetNoArena();
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);
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));
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));
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));
806 inline ::std::string* DCCLFieldOptions_Units::mutable_base_dimensions() {
807 set_has_base_dimensions();
809 return base_dimensions_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
811 inline ::std::string* DCCLFieldOptions_Units::release_base_dimensions() {
813 if (!has_base_dimensions()) {
816 clear_has_base_dimensions();
817 return base_dimensions_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
819 inline void DCCLFieldOptions_Units::set_allocated_base_dimensions(::std::string* base_dimensions) {
820 if (base_dimensions != NULL) {
821 set_has_base_dimensions();
823 clear_has_base_dimensions();
825 base_dimensions_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), base_dimensions);
830 inline bool DCCLFieldOptions_Units::has_derived_dimensions()
const {
831 return (_has_bits_[0] & 0x00000002u) != 0;
833 inline void DCCLFieldOptions_Units::set_has_derived_dimensions() {
834 _has_bits_[0] |= 0x00000002u;
836 inline void DCCLFieldOptions_Units::clear_has_derived_dimensions() {
837 _has_bits_[0] &= ~0x00000002u;
839 inline void DCCLFieldOptions_Units::clear_derived_dimensions() {
840 derived_dimensions_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
841 clear_has_derived_dimensions();
843 inline const ::std::string& DCCLFieldOptions_Units::derived_dimensions()
const {
845 return derived_dimensions_.GetNoArena();
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);
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));
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));
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));
872 inline ::std::string* DCCLFieldOptions_Units::mutable_derived_dimensions() {
873 set_has_derived_dimensions();
875 return derived_dimensions_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
877 inline ::std::string* DCCLFieldOptions_Units::release_derived_dimensions() {
879 if (!has_derived_dimensions()) {
882 clear_has_derived_dimensions();
883 return derived_dimensions_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
885 inline void DCCLFieldOptions_Units::set_allocated_derived_dimensions(::std::string* derived_dimensions) {
886 if (derived_dimensions != NULL) {
887 set_has_derived_dimensions();
889 clear_has_derived_dimensions();
891 derived_dimensions_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), derived_dimensions);
896 inline bool DCCLFieldOptions_Units::has_system()
const {
897 return (_has_bits_[0] & 0x00000004u) != 0;
899 inline void DCCLFieldOptions_Units::set_has_system() {
900 _has_bits_[0] |= 0x00000004u;
902 inline void DCCLFieldOptions_Units::clear_has_system() {
903 _has_bits_[0] &= ~0x00000004u;
905 inline void DCCLFieldOptions_Units::clear_system() {
906 system_.ClearToDefaultNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get());
909 inline const ::std::string& DCCLFieldOptions_Units::system()
const {
911 return system_.GetNoArena();
913 inline void DCCLFieldOptions_Units::set_system(const ::std::string& value) {
915 system_.SetNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), value);
919 inline void DCCLFieldOptions_Units::set_system(::std::string&& value) {
922 &::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), ::std::move(value));
926 inline void DCCLFieldOptions_Units::set_system(
const char* value) {
927 GOOGLE_DCHECK(value != NULL);
929 system_.SetNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), ::std::string(value));
932 inline void DCCLFieldOptions_Units::set_system(
const char* value,
size_t size) {
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));
938 inline ::std::string* DCCLFieldOptions_Units::mutable_system() {
941 return system_.MutableNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get());
943 inline ::std::string* DCCLFieldOptions_Units::release_system() {
949 return system_.ReleaseNonDefaultNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get());
951 inline void DCCLFieldOptions_Units::set_allocated_system(::std::string* system) {
952 if (system != NULL) {
957 system_.SetAllocatedNoArena(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), system);
962 inline bool DCCLFieldOptions_Units::has_relative_temperature()
const {
963 return (_has_bits_[0] & 0x00000020u) != 0;
965 inline void DCCLFieldOptions_Units::set_has_relative_temperature() {
966 _has_bits_[0] |= 0x00000020u;
968 inline void DCCLFieldOptions_Units::clear_has_relative_temperature() {
969 _has_bits_[0] &= ~0x00000020u;
971 inline void DCCLFieldOptions_Units::clear_relative_temperature() {
972 relative_temperature_ =
false;
973 clear_has_relative_temperature();
975 inline bool DCCLFieldOptions_Units::relative_temperature()
const {
977 return relative_temperature_;
979 inline void DCCLFieldOptions_Units::set_relative_temperature(
bool value) {
980 set_has_relative_temperature();
981 relative_temperature_ = value;
986 inline bool DCCLFieldOptions_Units::has_unit()
const {
987 return (_has_bits_[0] & 0x00000008u) != 0;
989 inline void DCCLFieldOptions_Units::set_has_unit() {
990 _has_bits_[0] |= 0x00000008u;
992 inline void DCCLFieldOptions_Units::clear_has_unit() {
993 _has_bits_[0] &= ~0x00000008u;
995 inline void DCCLFieldOptions_Units::clear_unit() {
996 unit_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
999 inline const ::std::string& DCCLFieldOptions_Units::unit()
const {
1001 return unit_.GetNoArena();
1003 inline void DCCLFieldOptions_Units::set_unit(const ::std::string& value) {
1005 unit_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1009 inline void DCCLFieldOptions_Units::set_unit(::std::string&& value) {
1012 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1016 inline void DCCLFieldOptions_Units::set_unit(
const char* value) {
1017 GOOGLE_DCHECK(value != NULL);
1019 unit_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1022 inline void DCCLFieldOptions_Units::set_unit(
const char* value,
size_t size) {
1024 unit_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1025 ::std::string(
reinterpret_cast<const char*
>(value), size));
1028 inline ::std::string* DCCLFieldOptions_Units::mutable_unit() {
1031 return unit_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1033 inline ::std::string* DCCLFieldOptions_Units::release_unit() {
1039 return unit_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1041 inline void DCCLFieldOptions_Units::set_allocated_unit(::std::string* unit) {
1047 unit_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), unit);
1052 inline bool DCCLFieldOptions_Units::has_prefix()
const {
1053 return (_has_bits_[0] & 0x00000010u) != 0;
1055 inline void DCCLFieldOptions_Units::set_has_prefix() {
1056 _has_bits_[0] |= 0x00000010u;
1058 inline void DCCLFieldOptions_Units::clear_has_prefix() {
1059 _has_bits_[0] &= ~0x00000010u;
1061 inline void DCCLFieldOptions_Units::clear_prefix() {
1062 prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1065 inline const ::std::string& DCCLFieldOptions_Units::prefix()
const {
1067 return prefix_.GetNoArena();
1069 inline void DCCLFieldOptions_Units::set_prefix(const ::std::string& value) {
1071 prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1075 inline void DCCLFieldOptions_Units::set_prefix(::std::string&& value) {
1078 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1082 inline void DCCLFieldOptions_Units::set_prefix(
const char* value) {
1083 GOOGLE_DCHECK(value != NULL);
1085 prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1088 inline void DCCLFieldOptions_Units::set_prefix(
const char* value,
size_t size) {
1090 prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1091 ::std::string(
reinterpret_cast<const char*
>(value), size));
1094 inline ::std::string* DCCLFieldOptions_Units::mutable_prefix() {
1097 return prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1099 inline ::std::string* DCCLFieldOptions_Units::release_prefix() {
1101 if (!has_prefix()) {
1105 return prefix_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1107 inline void DCCLFieldOptions_Units::set_allocated_prefix(::std::string* prefix) {
1108 if (prefix != NULL) {
1113 prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), prefix);
1122 inline bool DCCLFieldOptions::has_codec()
const {
1123 return (_has_bits_[0] & 0x00000001u) != 0;
1125 inline void DCCLFieldOptions::set_has_codec() {
1126 _has_bits_[0] |= 0x00000001u;
1128 inline void DCCLFieldOptions::clear_has_codec() {
1129 _has_bits_[0] &= ~0x00000001u;
1131 inline void DCCLFieldOptions::clear_codec() {
1132 codec_.ClearToDefaultNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get());
1135 inline const ::std::string& DCCLFieldOptions::codec()
const {
1137 return codec_.GetNoArena();
1139 inline void DCCLFieldOptions::set_codec(const ::std::string& value) {
1141 codec_.SetNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), value);
1145 inline void DCCLFieldOptions::set_codec(::std::string&& value) {
1148 &::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), ::std::move(value));
1152 inline void DCCLFieldOptions::set_codec(
const char* value) {
1153 GOOGLE_DCHECK(value != NULL);
1155 codec_.SetNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), ::std::string(value));
1158 inline void DCCLFieldOptions::set_codec(
const char* value,
size_t size) {
1160 codec_.SetNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(),
1161 ::std::string(
reinterpret_cast<const char*
>(value), size));
1164 inline ::std::string* DCCLFieldOptions::mutable_codec() {
1167 return codec_.MutableNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get());
1169 inline ::std::string* DCCLFieldOptions::release_codec() {
1175 return codec_.ReleaseNonDefaultNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get());
1177 inline void DCCLFieldOptions::set_allocated_codec(::std::string* codec) {
1178 if (codec != NULL) {
1183 codec_.SetAllocatedNoArena(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), codec);
1188 inline bool DCCLFieldOptions::has_omit()
const {
1189 return (_has_bits_[0] & 0x00000010u) != 0;
1191 inline void DCCLFieldOptions::set_has_omit() {
1192 _has_bits_[0] |= 0x00000010u;
1194 inline void DCCLFieldOptions::clear_has_omit() {
1195 _has_bits_[0] &= ~0x00000010u;
1197 inline void DCCLFieldOptions::clear_omit() {
1201 inline bool DCCLFieldOptions::omit()
const {
1205 inline void DCCLFieldOptions::set_omit(
bool value) {
1212 inline bool DCCLFieldOptions::has_in_head()
const {
1213 return (_has_bits_[0] & 0x00000020u) != 0;
1215 inline void DCCLFieldOptions::set_has_in_head() {
1216 _has_bits_[0] |= 0x00000020u;
1218 inline void DCCLFieldOptions::clear_has_in_head() {
1219 _has_bits_[0] &= ~0x00000020u;
1221 inline void DCCLFieldOptions::clear_in_head() {
1223 clear_has_in_head();
1225 inline bool DCCLFieldOptions::in_head()
const {
1229 inline void DCCLFieldOptions::set_in_head(
bool value) {
1236 inline bool DCCLFieldOptions::has_precision()
const {
1237 return (_has_bits_[0] & 0x00000040u) != 0;
1239 inline void DCCLFieldOptions::set_has_precision() {
1240 _has_bits_[0] |= 0x00000040u;
1242 inline void DCCLFieldOptions::clear_has_precision() {
1243 _has_bits_[0] &= ~0x00000040u;
1245 inline void DCCLFieldOptions::clear_precision() {
1247 clear_has_precision();
1249 inline ::google::protobuf::int32 DCCLFieldOptions::precision()
const {
1253 inline void DCCLFieldOptions::set_precision(::google::protobuf::int32 value) {
1254 set_has_precision();
1260 inline bool DCCLFieldOptions::has_min()
const {
1261 return (_has_bits_[0] & 0x00000080u) != 0;
1263 inline void DCCLFieldOptions::set_has_min() {
1264 _has_bits_[0] |= 0x00000080u;
1266 inline void DCCLFieldOptions::clear_has_min() {
1267 _has_bits_[0] &= ~0x00000080u;
1269 inline void DCCLFieldOptions::clear_min() {
1273 inline double DCCLFieldOptions::min()
const {
1277 inline void DCCLFieldOptions::set_min(
double value) {
1284 inline bool DCCLFieldOptions::has_max()
const {
1285 return (_has_bits_[0] & 0x00000100u) != 0;
1287 inline void DCCLFieldOptions::set_has_max() {
1288 _has_bits_[0] |= 0x00000100u;
1290 inline void DCCLFieldOptions::clear_has_max() {
1291 _has_bits_[0] &= ~0x00000100u;
1293 inline void DCCLFieldOptions::clear_max() {
1297 inline double DCCLFieldOptions::max()
const {
1301 inline void DCCLFieldOptions::set_max(
double value) {
1308 inline bool DCCLFieldOptions::has_num_days()
const {
1309 return (_has_bits_[0] & 0x00000800u) != 0;
1311 inline void DCCLFieldOptions::set_has_num_days() {
1312 _has_bits_[0] |= 0x00000800u;
1314 inline void DCCLFieldOptions::clear_has_num_days() {
1315 _has_bits_[0] &= ~0x00000800u;
1317 inline void DCCLFieldOptions::clear_num_days() {
1319 clear_has_num_days();
1321 inline ::google::protobuf::uint32 DCCLFieldOptions::num_days()
const {
1325 inline void DCCLFieldOptions::set_num_days(::google::protobuf::uint32 value) {
1332 inline bool DCCLFieldOptions::has_static_value()
const {
1333 return (_has_bits_[0] & 0x00000002u) != 0;
1335 inline void DCCLFieldOptions::set_has_static_value() {
1336 _has_bits_[0] |= 0x00000002u;
1338 inline void DCCLFieldOptions::clear_has_static_value() {
1339 _has_bits_[0] &= ~0x00000002u;
1341 inline void DCCLFieldOptions::clear_static_value() {
1342 static_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1343 clear_has_static_value();
1345 inline const ::std::string& DCCLFieldOptions::static_value()
const {
1347 return static_value_.GetNoArena();
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);
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));
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));
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));
1374 inline ::std::string* DCCLFieldOptions::mutable_static_value() {
1375 set_has_static_value();
1377 return static_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1379 inline ::std::string* DCCLFieldOptions::release_static_value() {
1381 if (!has_static_value()) {
1384 clear_has_static_value();
1385 return static_value_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1387 inline void DCCLFieldOptions::set_allocated_static_value(::std::string* static_value) {
1388 if (static_value != NULL) {
1389 set_has_static_value();
1391 clear_has_static_value();
1393 static_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), static_value);
1398 inline bool DCCLFieldOptions::has_max_length()
const {
1399 return (_has_bits_[0] & 0x00000200u) != 0;
1401 inline void DCCLFieldOptions::set_has_max_length() {
1402 _has_bits_[0] |= 0x00000200u;
1404 inline void DCCLFieldOptions::clear_has_max_length() {
1405 _has_bits_[0] &= ~0x00000200u;
1407 inline void DCCLFieldOptions::clear_max_length() {
1409 clear_has_max_length();
1411 inline ::google::protobuf::uint32 DCCLFieldOptions::max_length()
const {
1415 inline void DCCLFieldOptions::set_max_length(::google::protobuf::uint32 value) {
1416 set_has_max_length();
1417 max_length_ = value;
1422 inline bool DCCLFieldOptions::has_max_repeat()
const {
1423 return (_has_bits_[0] & 0x00001000u) != 0;
1425 inline void DCCLFieldOptions::set_has_max_repeat() {
1426 _has_bits_[0] |= 0x00001000u;
1428 inline void DCCLFieldOptions::clear_has_max_repeat() {
1429 _has_bits_[0] &= ~0x00001000u;
1431 inline void DCCLFieldOptions::clear_max_repeat() {
1433 clear_has_max_repeat();
1435 inline ::google::protobuf::uint32 DCCLFieldOptions::max_repeat()
const {
1439 inline void DCCLFieldOptions::set_max_repeat(::google::protobuf::uint32 value) {
1440 set_has_max_repeat();
1441 max_repeat_ = value;
1446 inline bool DCCLFieldOptions::has_packed_enum()
const {
1447 return (_has_bits_[0] & 0x00000400u) != 0;
1449 inline void DCCLFieldOptions::set_has_packed_enum() {
1450 _has_bits_[0] |= 0x00000400u;
1452 inline void DCCLFieldOptions::clear_has_packed_enum() {
1453 _has_bits_[0] &= ~0x00000400u;
1455 inline void DCCLFieldOptions::clear_packed_enum() {
1456 packed_enum_ =
true;
1457 clear_has_packed_enum();
1459 inline bool DCCLFieldOptions::packed_enum()
const {
1461 return packed_enum_;
1463 inline void DCCLFieldOptions::set_packed_enum(
bool value) {
1464 set_has_packed_enum();
1465 packed_enum_ = value;
1470 inline bool DCCLFieldOptions::has_description()
const {
1471 return (_has_bits_[0] & 0x00000004u) != 0;
1473 inline void DCCLFieldOptions::set_has_description() {
1474 _has_bits_[0] |= 0x00000004u;
1476 inline void DCCLFieldOptions::clear_has_description() {
1477 _has_bits_[0] &= ~0x00000004u;
1479 inline void DCCLFieldOptions::clear_description() {
1480 description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1481 clear_has_description();
1483 inline const ::std::string& DCCLFieldOptions::description()
const {
1485 return description_.GetNoArena();
1487 inline void DCCLFieldOptions::set_description(const ::std::string& value) {
1488 set_has_description();
1489 description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1493 inline void DCCLFieldOptions::set_description(::std::string&& value) {
1494 set_has_description();
1495 description_.SetNoArena(
1496 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
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));
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));
1512 inline ::std::string* DCCLFieldOptions::mutable_description() {
1513 set_has_description();
1515 return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1517 inline ::std::string* DCCLFieldOptions::release_description() {
1519 if (!has_description()) {
1522 clear_has_description();
1523 return description_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1525 inline void DCCLFieldOptions::set_allocated_description(::std::string* description) {
1526 if (description != NULL) {
1527 set_has_description();
1529 clear_has_description();
1531 description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description);
1536 inline bool DCCLFieldOptions::has_units()
const {
1537 return (_has_bits_[0] & 0x00000008u) != 0;
1539 inline void DCCLFieldOptions::set_has_units() {
1540 _has_bits_[0] |= 0x00000008u;
1542 inline void DCCLFieldOptions::clear_has_units() {
1543 _has_bits_[0] &= ~0x00000008u;
1545 inline void DCCLFieldOptions::clear_units() {
1546 if (units_ != NULL) units_->Clear();
1549 inline const ::dccl::DCCLFieldOptions_Units& DCCLFieldOptions::_internal_units()
const {
1552 inline const ::dccl::DCCLFieldOptions_Units& DCCLFieldOptions::units()
const {
1553 const ::dccl::DCCLFieldOptions_Units* p = units_;
1556 &::dccl::_DCCLFieldOptions_Units_default_instance_);
1558 inline ::dccl::DCCLFieldOptions_Units* DCCLFieldOptions::release_units() {
1565 inline ::dccl::DCCLFieldOptions_Units* DCCLFieldOptions::mutable_units() {
1567 if (units_ == NULL) {
1568 auto* p = CreateMaybeMessage<::dccl::DCCLFieldOptions_Units>(GetArenaNoVirtual());
1575 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1576 if (message_arena == NULL) {
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);
1598 inline bool DCCLMessageOptions::has_id()
const {
1599 return (_has_bits_[0] & 0x00000008u) != 0;
1601 inline void DCCLMessageOptions::set_has_id() {
1602 _has_bits_[0] |= 0x00000008u;
1604 inline void DCCLMessageOptions::clear_has_id() {
1605 _has_bits_[0] &= ~0x00000008u;
1607 inline void DCCLMessageOptions::clear_id() {
1611 inline ::google::protobuf::int32 DCCLMessageOptions::id()
const {
1615 inline void DCCLMessageOptions::set_id(::google::protobuf::int32 value) {
1622 inline bool DCCLMessageOptions::has_max_bytes()
const {
1623 return (_has_bits_[0] & 0x00000010u) != 0;
1625 inline void DCCLMessageOptions::set_has_max_bytes() {
1626 _has_bits_[0] |= 0x00000010u;
1628 inline void DCCLMessageOptions::clear_has_max_bytes() {
1629 _has_bits_[0] &= ~0x00000010u;
1631 inline void DCCLMessageOptions::clear_max_bytes() {
1633 clear_has_max_bytes();
1635 inline ::google::protobuf::uint32 DCCLMessageOptions::max_bytes()
const {
1639 inline void DCCLMessageOptions::set_max_bytes(::google::protobuf::uint32 value) {
1640 set_has_max_bytes();
1646 inline bool DCCLMessageOptions::has_codec()
const {
1647 return (_has_bits_[0] & 0x00000001u) != 0;
1649 inline void DCCLMessageOptions::set_has_codec() {
1650 _has_bits_[0] |= 0x00000001u;
1652 inline void DCCLMessageOptions::clear_has_codec() {
1653 _has_bits_[0] &= ~0x00000001u;
1655 inline void DCCLMessageOptions::clear_codec() {
1656 codec_.ClearToDefaultNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_codec_.get());
1659 inline const ::std::string& DCCLMessageOptions::codec()
const {
1661 return codec_.GetNoArena();
1663 inline void DCCLMessageOptions::set_codec(const ::std::string& value) {
1665 codec_.SetNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_codec_.get(), value);
1669 inline void DCCLMessageOptions::set_codec(::std::string&& value) {
1672 &::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_codec_.get(), ::std::move(value));
1676 inline void DCCLMessageOptions::set_codec(
const char* value) {
1677 GOOGLE_DCHECK(value != NULL);
1679 codec_.SetNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_codec_.get(), ::std::string(value));
1682 inline void DCCLMessageOptions::set_codec(
const char* value,
size_t size) {
1684 codec_.SetNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_codec_.get(),
1685 ::std::string(
reinterpret_cast<const char*
>(value), size));
1688 inline ::std::string* DCCLMessageOptions::mutable_codec() {
1691 return codec_.MutableNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_codec_.get());
1693 inline ::std::string* DCCLMessageOptions::release_codec() {
1699 return codec_.ReleaseNonDefaultNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_codec_.get());
1701 inline void DCCLMessageOptions::set_allocated_codec(::std::string* codec) {
1702 if (codec != NULL) {
1707 codec_.SetAllocatedNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_codec_.get(), codec);
1712 inline bool DCCLMessageOptions::has_codec_group()
const {
1713 return (_has_bits_[0] & 0x00000002u) != 0;
1715 inline void DCCLMessageOptions::set_has_codec_group() {
1716 _has_bits_[0] |= 0x00000002u;
1718 inline void DCCLMessageOptions::clear_has_codec_group() {
1719 _has_bits_[0] &= ~0x00000002u;
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();
1725 inline const ::std::string& DCCLMessageOptions::codec_group()
const {
1727 return codec_group_.GetNoArena();
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);
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));
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));
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));
1754 inline ::std::string* DCCLMessageOptions::mutable_codec_group() {
1755 set_has_codec_group();
1757 return codec_group_.MutableNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_codec_group_.get());
1759 inline ::std::string* DCCLMessageOptions::release_codec_group() {
1761 if (!has_codec_group()) {
1764 clear_has_codec_group();
1765 return codec_group_.ReleaseNonDefaultNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_codec_group_.get());
1767 inline void DCCLMessageOptions::set_allocated_codec_group(::std::string* codec_group) {
1768 if (codec_group != NULL) {
1769 set_has_codec_group();
1771 clear_has_codec_group();
1773 codec_group_.SetAllocatedNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_codec_group_.get(), codec_group);
1778 inline bool DCCLMessageOptions::has_codec_version()
const {
1779 return (_has_bits_[0] & 0x00000020u) != 0;
1781 inline void DCCLMessageOptions::set_has_codec_version() {
1782 _has_bits_[0] |= 0x00000020u;
1784 inline void DCCLMessageOptions::clear_has_codec_version() {
1785 _has_bits_[0] &= ~0x00000020u;
1787 inline void DCCLMessageOptions::clear_codec_version() {
1789 clear_has_codec_version();
1791 inline ::google::protobuf::int32 DCCLMessageOptions::codec_version()
const {
1793 return codec_version_;
1795 inline void DCCLMessageOptions::set_codec_version(::google::protobuf::int32 value) {
1796 set_has_codec_version();
1797 codec_version_ = value;
1802 inline bool DCCLMessageOptions::has_unit_system()
const {
1803 return (_has_bits_[0] & 0x00000004u) != 0;
1805 inline void DCCLMessageOptions::set_has_unit_system() {
1806 _has_bits_[0] |= 0x00000004u;
1808 inline void DCCLMessageOptions::clear_has_unit_system() {
1809 _has_bits_[0] &= ~0x00000004u;
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();
1815 inline const ::std::string& DCCLMessageOptions::unit_system()
const {
1817 return unit_system_.GetNoArena();
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);
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));
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));
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));
1844 inline ::std::string* DCCLMessageOptions::mutable_unit_system() {
1845 set_has_unit_system();
1847 return unit_system_.MutableNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get());
1849 inline ::std::string* DCCLMessageOptions::release_unit_system() {
1851 if (!has_unit_system()) {
1854 clear_has_unit_system();
1855 return unit_system_.ReleaseNonDefaultNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get());
1857 inline void DCCLMessageOptions::set_allocated_unit_system(::std::string* unit_system) {
1858 if (unit_system != NULL) {
1859 set_has_unit_system();
1861 clear_has_unit_system();
1863 unit_system_.SetAllocatedNoArena(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), unit_system);
1868 #pragma GCC diagnostic pop
1881 #endif // PROTOBUF_INCLUDED_dccl_2fapps_2fpb_5fplugin_2foption_5fextensions_2eproto