4 #ifndef GOOGLE_PROTOBUF_INCLUDED_dccl_2foption_5fextensions_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_dccl_2foption_5fextensions_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
35 #include <google/protobuf/descriptor.pb.h>
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
41 #include <google/protobuf/port_def.inc>
42 #define PROTOBUF_INTERNAL_EXPORT_dccl_2foption_5fextensions_2eproto
43 PROTOBUF_NAMESPACE_OPEN
47 PROTOBUF_NAMESPACE_CLOSE
51 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
52 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
54 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
56 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
58 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
59 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
61 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_dccl_2foption_5fextensions_2eproto;
63 class DCCLFieldOptions;
64 class DCCLFieldOptionsDefaultTypeInternal;
65 extern DCCLFieldOptionsDefaultTypeInternal _DCCLFieldOptions_default_instance_;
66 class DCCLFieldOptions_Conditions;
67 class DCCLFieldOptions_ConditionsDefaultTypeInternal;
68 extern DCCLFieldOptions_ConditionsDefaultTypeInternal _DCCLFieldOptions_Conditions_default_instance_;
69 class DCCLFieldOptions_Units;
70 class DCCLFieldOptions_UnitsDefaultTypeInternal;
71 extern DCCLFieldOptions_UnitsDefaultTypeInternal _DCCLFieldOptions_Units_default_instance_;
72 class DCCLMessageOptions;
73 class DCCLMessageOptionsDefaultTypeInternal;
74 extern DCCLMessageOptionsDefaultTypeInternal _DCCLMessageOptions_default_instance_;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> ::dccl::DCCLFieldOptions* Arena::CreateMaybeMessage<::dccl::DCCLFieldOptions>(Arena*);
78 template<> ::dccl::DCCLFieldOptions_Conditions* Arena::CreateMaybeMessage<::dccl::DCCLFieldOptions_Conditions>(Arena*);
79 template<> ::dccl::DCCLFieldOptions_Units* Arena::CreateMaybeMessage<::dccl::DCCLFieldOptions_Units>(Arena*);
80 template<> ::dccl::DCCLMessageOptions* Arena::CreateMaybeMessage<::dccl::DCCLMessageOptions>(Arena*);
81 PROTOBUF_NAMESPACE_CLOSE
87 public ::PROTOBUF_NAMESPACE_ID::Message {
89 inline DCCLFieldOptions_Units() : DCCLFieldOptions_Units(nullptr) {};
90 virtual ~DCCLFieldOptions_Units();
92 DCCLFieldOptions_Units(
const DCCLFieldOptions_Units& from);
93 DCCLFieldOptions_Units(DCCLFieldOptions_Units&& from) noexcept
94 : DCCLFieldOptions_Units() {
95 *
this = ::std::move(from);
98 inline DCCLFieldOptions_Units& operator=(
const DCCLFieldOptions_Units& from) {
102 inline DCCLFieldOptions_Units& operator=(DCCLFieldOptions_Units&& from) noexcept {
103 if (GetArena() == from.GetArena()) {
104 if (
this != &from) InternalSwap(&from);
111 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
112 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
114 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
115 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
118 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
119 return GetDescriptor();
121 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
122 return GetMetadataStatic().descriptor;
124 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
125 return GetMetadataStatic().reflection;
127 static const DCCLFieldOptions_Units& default_instance();
129 static void InitAsDefaultInstance();
130 static inline const DCCLFieldOptions_Units* internal_default_instance() {
131 return reinterpret_cast<const DCCLFieldOptions_Units*
>(
132 &_DCCLFieldOptions_Units_default_instance_);
134 static constexpr
int kIndexInFileMessages =
137 friend void swap(DCCLFieldOptions_Units& a, DCCLFieldOptions_Units& b) {
140 inline void Swap(DCCLFieldOptions_Units* other) {
141 if (other ==
this)
return;
142 if (GetArena() == other->GetArena()) {
145 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
148 void UnsafeArenaSwap(DCCLFieldOptions_Units* other) {
149 if (other ==
this)
return;
150 GOOGLE_DCHECK(GetArena() == other->GetArena());
156 inline DCCLFieldOptions_Units* New() const final {
157 return CreateMaybeMessage<DCCLFieldOptions_Units>(
nullptr);
160 DCCLFieldOptions_Units* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
161 return CreateMaybeMessage<DCCLFieldOptions_Units>(arena);
163 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
164 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
165 void CopyFrom(
const DCCLFieldOptions_Units& from);
166 void MergeFrom(
const DCCLFieldOptions_Units& from);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
168 bool IsInitialized() const final;
170 size_t ByteSizeLong() const final;
171 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
173 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 int GetCachedSize() const final {
return _cached_size_.Get(); }
177 inline void SharedCtor();
178 inline void SharedDtor();
179 void SetCachedSize(
int size)
const final;
180 void InternalSwap(DCCLFieldOptions_Units* other);
181 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
182 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
183 return "dccl.DCCLFieldOptions.Units";
186 explicit DCCLFieldOptions_Units(::PROTOBUF_NAMESPACE_ID::Arena* arena);
188 static void ArenaDtor(
void*
object);
189 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
192 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
194 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
195 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_dccl_2foption_5fextensions_2eproto);
196 return ::descriptor_table_dccl_2foption_5fextensions_2eproto.file_level_metadata[kIndexInFileMessages];
206 kBaseDimensionsFieldNumber = 1,
207 kDerivedDimensionsFieldNumber = 2,
208 kSystemFieldNumber = 3,
209 kUnitFieldNumber = 5,
210 kPrefixFieldNumber = 6,
211 kRelativeTemperatureFieldNumber = 4,
214 bool has_base_dimensions()
const;
216 bool _internal_has_base_dimensions()
const;
218 void clear_base_dimensions();
219 const std::string& base_dimensions()
const;
220 void set_base_dimensions(
const std::string& value);
221 void set_base_dimensions(std::string&& value);
222 void set_base_dimensions(
const char* value);
223 void set_base_dimensions(
const char* value,
size_t size);
224 std::string* mutable_base_dimensions();
225 std::string* release_base_dimensions();
226 void set_allocated_base_dimensions(std::string* base_dimensions);
227 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
228 " string fields are deprecated and will be removed in a"
230 std::
string* unsafe_arena_release_base_dimensions();
231 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
232 "
string fields are deprecated and will be removed in a"
234 void unsafe_arena_set_allocated_base_dimensions(
235 std::
string* base_dimensions);
237 const std::
string& _internal_base_dimensions() const;
238 void _internal_set_base_dimensions(const std::
string& value);
239 std::
string* _internal_mutable_base_dimensions();
243 bool has_derived_dimensions() const;
245 bool _internal_has_derived_dimensions() const;
247 void clear_derived_dimensions();
248 const std::
string& derived_dimensions() const;
249 void set_derived_dimensions(const std::
string& value);
250 void set_derived_dimensions(std::
string&& value);
251 void set_derived_dimensions(const
char* value);
252 void set_derived_dimensions(const
char* value,
size_t size);
253 std::
string* mutable_derived_dimensions();
254 std::
string* release_derived_dimensions();
255 void set_allocated_derived_dimensions(std::
string* derived_dimensions);
256 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
257 "
string fields are deprecated and will be removed in a"
259 std::
string* unsafe_arena_release_derived_dimensions();
260 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
261 "
string fields are deprecated and will be removed in a"
263 void unsafe_arena_set_allocated_derived_dimensions(
264 std::
string* derived_dimensions);
266 const std::
string& _internal_derived_dimensions() const;
267 void _internal_set_derived_dimensions(const std::
string& value);
268 std::
string* _internal_mutable_derived_dimensions();
272 bool has_system() const;
274 bool _internal_has_system() const;
277 const std::
string& system() const;
278 void set_system(const std::
string& value);
279 void set_system(std::
string&& value);
280 void set_system(const
char* value);
281 void set_system(const
char* value,
size_t size);
282 std::
string* mutable_system();
283 std::
string* release_system();
284 void set_allocated_system(std::
string* system);
285 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
286 "
string fields are deprecated and will be removed in a"
288 std::
string* unsafe_arena_release_system();
289 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
290 "
string fields are deprecated and will be removed in a"
292 void unsafe_arena_set_allocated_system(
293 std::
string* system);
295 const std::
string& _internal_system() const;
296 void _internal_set_system(const std::
string& value);
297 std::
string* _internal_mutable_system();
301 bool has_unit() const;
303 bool _internal_has_unit() const;
306 const std::
string& unit() const;
307 void set_unit(const std::
string& value);
308 void set_unit(std::
string&& value);
309 void set_unit(const
char* value);
310 void set_unit(const
char* value,
size_t size);
311 std::
string* mutable_unit();
312 std::
string* release_unit();
313 void set_allocated_unit(std::
string* unit);
314 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
315 "
string fields are deprecated and will be removed in a"
317 std::
string* unsafe_arena_release_unit();
318 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
319 "
string fields are deprecated and will be removed in a"
321 void unsafe_arena_set_allocated_unit(
324 const std::
string& _internal_unit() const;
325 void _internal_set_unit(const std::
string& value);
326 std::
string* _internal_mutable_unit();
330 bool has_prefix() const;
332 bool _internal_has_prefix() const;
335 const std::
string& prefix() const;
336 void set_prefix(const std::
string& value);
337 void set_prefix(std::
string&& value);
338 void set_prefix(const
char* value);
339 void set_prefix(const
char* value,
size_t size);
340 std::
string* mutable_prefix();
341 std::
string* release_prefix();
342 void set_allocated_prefix(std::
string* prefix);
343 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
344 "
string fields are deprecated and will be removed in a"
346 std::
string* unsafe_arena_release_prefix();
347 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
348 "
string fields are deprecated and will be removed in a"
350 void unsafe_arena_set_allocated_prefix(
351 std::
string* prefix);
353 const std::
string& _internal_prefix() const;
354 void _internal_set_prefix(const std::
string& value);
355 std::
string* _internal_mutable_prefix();
359 bool has_relative_temperature() const;
361 bool _internal_has_relative_temperature() const;
363 void clear_relative_temperature();
364 bool relative_temperature() const;
365 void set_relative_temperature(
bool value);
367 bool _internal_relative_temperature() const;
368 void _internal_set_relative_temperature(
bool value);
375 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
376 typedef
void InternalArenaConstructable_;
377 typedef
void DestructorSkippable_;
378 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
379 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
380 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr base_dimensions_;
381 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr derived_dimensions_;
383 static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::
string> _i_give_permission_to_break_this_code_default_system_;
385 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr system_;
386 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr unit_;
387 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr prefix_;
388 bool relative_temperature_;
394 public ::PROTOBUF_NAMESPACE_ID::Message {
396 inline DCCLFieldOptions_Conditions() : DCCLFieldOptions_Conditions(nullptr) {};
397 virtual ~DCCLFieldOptions_Conditions();
399 DCCLFieldOptions_Conditions(
const DCCLFieldOptions_Conditions& from);
400 DCCLFieldOptions_Conditions(DCCLFieldOptions_Conditions&& from) noexcept
401 : DCCLFieldOptions_Conditions() {
402 *
this = ::std::move(from);
405 inline DCCLFieldOptions_Conditions& operator=(
const DCCLFieldOptions_Conditions& from) {
409 inline DCCLFieldOptions_Conditions& operator=(DCCLFieldOptions_Conditions&& from) noexcept {
410 if (GetArena() == from.GetArena()) {
411 if (
this != &from) InternalSwap(&from);
418 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
419 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
421 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
422 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
425 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
426 return GetDescriptor();
428 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
429 return GetMetadataStatic().descriptor;
431 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
432 return GetMetadataStatic().reflection;
434 static const DCCLFieldOptions_Conditions& default_instance();
436 static void InitAsDefaultInstance();
437 static inline const DCCLFieldOptions_Conditions* internal_default_instance() {
438 return reinterpret_cast<const DCCLFieldOptions_Conditions*
>(
439 &_DCCLFieldOptions_Conditions_default_instance_);
441 static constexpr
int kIndexInFileMessages =
444 friend void swap(DCCLFieldOptions_Conditions& a, DCCLFieldOptions_Conditions& b) {
447 inline void Swap(DCCLFieldOptions_Conditions* other) {
448 if (other ==
this)
return;
449 if (GetArena() == other->GetArena()) {
452 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
455 void UnsafeArenaSwap(DCCLFieldOptions_Conditions* other) {
456 if (other ==
this)
return;
457 GOOGLE_DCHECK(GetArena() == other->GetArena());
463 inline DCCLFieldOptions_Conditions* New() const final {
464 return CreateMaybeMessage<DCCLFieldOptions_Conditions>(
nullptr);
467 DCCLFieldOptions_Conditions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
468 return CreateMaybeMessage<DCCLFieldOptions_Conditions>(arena);
470 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
471 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
472 void CopyFrom(
const DCCLFieldOptions_Conditions& from);
473 void MergeFrom(
const DCCLFieldOptions_Conditions& from);
474 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
475 bool IsInitialized() const final;
477 size_t ByteSizeLong() const final;
478 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
479 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
480 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
481 int GetCachedSize() const final {
return _cached_size_.Get(); }
484 inline void SharedCtor();
485 inline void SharedDtor();
486 void SetCachedSize(
int size)
const final;
487 void InternalSwap(DCCLFieldOptions_Conditions* other);
488 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
489 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
490 return "dccl.DCCLFieldOptions.Conditions";
493 explicit DCCLFieldOptions_Conditions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
495 static void ArenaDtor(
void*
object);
496 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
499 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
501 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
502 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_dccl_2foption_5fextensions_2eproto);
503 return ::descriptor_table_dccl_2foption_5fextensions_2eproto.file_level_metadata[kIndexInFileMessages];
513 kRequiredIfFieldNumber = 1,
514 kOmitIfFieldNumber = 2,
515 kOnlyIfFieldNumber = 3,
516 kMinFieldNumber = 10,
517 kMaxFieldNumber = 11,
520 bool has_required_if()
const;
522 bool _internal_has_required_if()
const;
524 void clear_required_if();
525 const std::string& required_if()
const;
526 void set_required_if(
const std::string& value);
527 void set_required_if(std::string&& value);
528 void set_required_if(
const char* value);
529 void set_required_if(
const char* value,
size_t size);
530 std::string* mutable_required_if();
531 std::string* release_required_if();
532 void set_allocated_required_if(std::string* required_if);
533 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
534 " string fields are deprecated and will be removed in a"
536 std::
string* unsafe_arena_release_required_if();
537 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
538 "
string fields are deprecated and will be removed in a"
540 void unsafe_arena_set_allocated_required_if(
541 std::
string* required_if);
543 const std::
string& _internal_required_if() const;
544 void _internal_set_required_if(const std::
string& value);
545 std::
string* _internal_mutable_required_if();
549 bool has_omit_if() const;
551 bool _internal_has_omit_if() const;
553 void clear_omit_if();
554 const std::
string& omit_if() const;
555 void set_omit_if(const std::
string& value);
556 void set_omit_if(std::
string&& value);
557 void set_omit_if(const
char* value);
558 void set_omit_if(const
char* value,
size_t size);
559 std::
string* mutable_omit_if();
560 std::
string* release_omit_if();
561 void set_allocated_omit_if(std::
string* omit_if);
562 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
563 "
string fields are deprecated and will be removed in a"
565 std::
string* unsafe_arena_release_omit_if();
566 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
567 "
string fields are deprecated and will be removed in a"
569 void unsafe_arena_set_allocated_omit_if(
570 std::
string* omit_if);
572 const std::
string& _internal_omit_if() const;
573 void _internal_set_omit_if(const std::
string& value);
574 std::
string* _internal_mutable_omit_if();
578 bool has_only_if() const;
580 bool _internal_has_only_if() const;
582 void clear_only_if();
583 const std::
string& only_if() const;
584 void set_only_if(const std::
string& value);
585 void set_only_if(std::
string&& value);
586 void set_only_if(const
char* value);
587 void set_only_if(const
char* value,
size_t size);
588 std::
string* mutable_only_if();
589 std::
string* release_only_if();
590 void set_allocated_only_if(std::
string* only_if);
591 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
592 "
string fields are deprecated and will be removed in a"
594 std::
string* unsafe_arena_release_only_if();
595 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
596 "
string fields are deprecated and will be removed in a"
598 void unsafe_arena_set_allocated_only_if(
599 std::
string* only_if);
601 const std::
string& _internal_only_if() const;
602 void _internal_set_only_if(const std::
string& value);
603 std::
string* _internal_mutable_only_if();
607 bool has_min() const;
609 bool _internal_has_min() const;
612 const std::
string& min() const;
613 void set_min(const std::
string& value);
614 void set_min(std::
string&& value);
615 void set_min(const
char* value);
616 void set_min(const
char* value,
size_t size);
617 std::
string* mutable_min();
618 std::
string* release_min();
619 void set_allocated_min(std::
string* min);
620 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
621 "
string fields are deprecated and will be removed in a"
623 std::
string* unsafe_arena_release_min();
624 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
625 "
string fields are deprecated and will be removed in a"
627 void unsafe_arena_set_allocated_min(
630 const std::
string& _internal_min() const;
631 void _internal_set_min(const std::
string& value);
632 std::
string* _internal_mutable_min();
636 bool has_max() const;
638 bool _internal_has_max() const;
641 const std::
string& max() const;
642 void set_max(const std::
string& value);
643 void set_max(std::
string&& value);
644 void set_max(const
char* value);
645 void set_max(const
char* value,
size_t size);
646 std::
string* mutable_max();
647 std::
string* release_max();
648 void set_allocated_max(std::
string* max);
649 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
650 "
string fields are deprecated and will be removed in a"
652 std::
string* unsafe_arena_release_max();
653 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
654 "
string fields are deprecated and will be removed in a"
656 void unsafe_arena_set_allocated_max(
659 const std::
string& _internal_max() const;
660 void _internal_set_max(const std::
string& value);
661 std::
string* _internal_mutable_max();
668 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
669 typedef
void InternalArenaConstructable_;
670 typedef
void DestructorSkippable_;
671 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
672 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
673 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr required_if_;
674 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr omit_if_;
675 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr only_if_;
676 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr min_;
677 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr max_;
683 public ::PROTOBUF_NAMESPACE_ID::Message {
685 inline DCCLFieldOptions() : DCCLFieldOptions(nullptr) {};
686 virtual ~DCCLFieldOptions();
688 DCCLFieldOptions(
const DCCLFieldOptions& from);
689 DCCLFieldOptions(DCCLFieldOptions&& from) noexcept
690 : DCCLFieldOptions() {
691 *
this = ::std::move(from);
694 inline DCCLFieldOptions& operator=(
const DCCLFieldOptions& from) {
698 inline DCCLFieldOptions& operator=(DCCLFieldOptions&& from) noexcept {
699 if (GetArena() == from.GetArena()) {
700 if (
this != &from) InternalSwap(&from);
707 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
708 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
710 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
711 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
714 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
715 return GetDescriptor();
717 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
718 return GetMetadataStatic().descriptor;
720 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
721 return GetMetadataStatic().reflection;
723 static const DCCLFieldOptions& default_instance();
725 static void InitAsDefaultInstance();
726 static inline const DCCLFieldOptions* internal_default_instance() {
727 return reinterpret_cast<const DCCLFieldOptions*
>(
728 &_DCCLFieldOptions_default_instance_);
730 static constexpr
int kIndexInFileMessages =
733 friend void swap(DCCLFieldOptions& a, DCCLFieldOptions& b) {
736 inline void Swap(DCCLFieldOptions* other) {
737 if (other ==
this)
return;
738 if (GetArena() == other->GetArena()) {
741 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
744 void UnsafeArenaSwap(DCCLFieldOptions* other) {
745 if (other ==
this)
return;
746 GOOGLE_DCHECK(GetArena() == other->GetArena());
752 inline DCCLFieldOptions* New() const final {
753 return CreateMaybeMessage<DCCLFieldOptions>(
nullptr);
756 DCCLFieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
757 return CreateMaybeMessage<DCCLFieldOptions>(arena);
759 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
760 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
761 void CopyFrom(
const DCCLFieldOptions& from);
762 void MergeFrom(
const DCCLFieldOptions& from);
763 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
764 bool IsInitialized() const final;
766 size_t ByteSizeLong() const final;
767 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
768 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
769 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
770 int GetCachedSize() const final {
return _cached_size_.Get(); }
773 inline void SharedCtor();
774 inline void SharedDtor();
775 void SetCachedSize(
int size)
const final;
776 void InternalSwap(DCCLFieldOptions* other);
777 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
778 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
779 return "dccl.DCCLFieldOptions";
782 explicit DCCLFieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
784 static void ArenaDtor(
void*
object);
785 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
788 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
790 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
791 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_dccl_2foption_5fextensions_2eproto);
792 return ::descriptor_table_dccl_2foption_5fextensions_2eproto.file_level_metadata[kIndexInFileMessages];
799 typedef DCCLFieldOptions_Units Units;
800 typedef DCCLFieldOptions_Conditions Conditions;
805 kCodecFieldNumber = 1,
806 kStaticValueFieldNumber = 8,
807 kDescriptionFieldNumber = 20,
808 kUnitsFieldNumber = 30,
809 kDynamicConditionsFieldNumber = 40,
810 kOmitFieldNumber = 2,
811 kInHeadFieldNumber = 3,
812 kPrecisionFieldNumber = 4,
815 kMaxLengthFieldNumber = 9,
816 kMaxRepeatFieldNumber = 10,
817 kMinRepeatFieldNumber = 13,
818 kNumDaysFieldNumber = 7,
819 kPackedEnumFieldNumber = 11,
820 kResolutionFieldNumber = 12,
823 bool has_codec()
const;
825 bool _internal_has_codec()
const;
828 const std::string& codec()
const;
829 void set_codec(
const std::string& value);
830 void set_codec(std::string&& value);
831 void set_codec(
const char* value);
832 void set_codec(
const char* value,
size_t size);
833 std::string* mutable_codec();
834 std::string* release_codec();
835 void set_allocated_codec(std::string* codec);
836 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
837 " string fields are deprecated and will be removed in a"
839 std::
string* unsafe_arena_release_codec();
840 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
841 "
string fields are deprecated and will be removed in a"
843 void unsafe_arena_set_allocated_codec(
846 const std::
string& _internal_codec() const;
847 void _internal_set_codec(const std::
string& value);
848 std::
string* _internal_mutable_codec();
852 bool has_static_value() const;
854 bool _internal_has_static_value() const;
856 void clear_static_value();
857 const std::
string& static_value() const;
858 void set_static_value(const std::
string& value);
859 void set_static_value(std::
string&& value);
860 void set_static_value(const
char* value);
861 void set_static_value(const
char* value,
size_t size);
862 std::
string* mutable_static_value();
863 std::
string* release_static_value();
864 void set_allocated_static_value(std::
string* static_value);
865 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
866 "
string fields are deprecated and will be removed in a"
868 std::
string* unsafe_arena_release_static_value();
869 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
870 "
string fields are deprecated and will be removed in a"
872 void unsafe_arena_set_allocated_static_value(
873 std::
string* static_value);
875 const std::
string& _internal_static_value() const;
876 void _internal_set_static_value(const std::
string& value);
877 std::
string* _internal_mutable_static_value();
881 bool has_description() const;
883 bool _internal_has_description() const;
885 void clear_description();
886 const std::
string& description() const;
887 void set_description(const std::
string& value);
888 void set_description(std::
string&& value);
889 void set_description(const
char* value);
890 void set_description(const
char* value,
size_t size);
891 std::
string* mutable_description();
892 std::
string* release_description();
893 void set_allocated_description(std::
string* description);
894 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
895 "
string fields are deprecated and will be removed in a"
897 std::
string* unsafe_arena_release_description();
898 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
899 "
string fields are deprecated and will be removed in a"
901 void unsafe_arena_set_allocated_description(
902 std::
string* description);
904 const std::
string& _internal_description() const;
905 void _internal_set_description(const std::
string& value);
906 std::
string* _internal_mutable_description();
910 bool has_units() const;
912 bool _internal_has_units() const;
915 const ::
dccl::DCCLFieldOptions_Units& units() const;
916 ::
dccl::DCCLFieldOptions_Units* release_units();
917 ::
dccl::DCCLFieldOptions_Units* mutable_units();
918 void set_allocated_units(::
dccl::DCCLFieldOptions_Units* units);
920 const ::
dccl::DCCLFieldOptions_Units& _internal_units() const;
921 ::
dccl::DCCLFieldOptions_Units* _internal_mutable_units();
923 void unsafe_arena_set_allocated_units(
924 ::
dccl::DCCLFieldOptions_Units* units);
925 ::
dccl::DCCLFieldOptions_Units* unsafe_arena_release_units();
928 bool has_dynamic_conditions() const;
930 bool _internal_has_dynamic_conditions() const;
932 void clear_dynamic_conditions();
933 const ::
dccl::DCCLFieldOptions_Conditions& dynamic_conditions() const;
934 ::
dccl::DCCLFieldOptions_Conditions* release_dynamic_conditions();
935 ::
dccl::DCCLFieldOptions_Conditions* mutable_dynamic_conditions();
936 void set_allocated_dynamic_conditions(::
dccl::DCCLFieldOptions_Conditions* dynamic_conditions);
938 const ::
dccl::DCCLFieldOptions_Conditions& _internal_dynamic_conditions() const;
939 ::
dccl::DCCLFieldOptions_Conditions* _internal_mutable_dynamic_conditions();
941 void unsafe_arena_set_allocated_dynamic_conditions(
942 ::
dccl::DCCLFieldOptions_Conditions* dynamic_conditions);
943 ::
dccl::DCCLFieldOptions_Conditions* unsafe_arena_release_dynamic_conditions();
946 bool has_omit() const;
948 bool _internal_has_omit() const;
952 void set_omit(
bool value);
954 bool _internal_omit() const;
955 void _internal_set_omit(
bool value);
959 bool has_in_head() const;
961 bool _internal_has_in_head() const;
963 void clear_in_head();
964 bool in_head() const;
965 void set_in_head(
bool value);
967 bool _internal_in_head() const;
968 void _internal_set_in_head(
bool value);
972 bool has_precision() const;
974 bool _internal_has_precision() const;
976 void clear_precision();
977 ::PROTOBUF_NAMESPACE_ID::
int32 precision() const;
978 void set_precision(::PROTOBUF_NAMESPACE_ID::
int32 value);
980 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_precision() const;
981 void _internal_set_precision(::PROTOBUF_NAMESPACE_ID::
int32 value);
985 bool has_min() const;
987 bool _internal_has_min() const;
991 void set_min(
double value);
993 double _internal_min() const;
994 void _internal_set_min(
double value);
998 bool has_max() const;
1000 bool _internal_has_max() const;
1004 void set_max(
double value);
1006 double _internal_max() const;
1007 void _internal_set_max(
double value);
1011 bool has_max_length() const;
1013 bool _internal_has_max_length() const;
1015 void clear_max_length();
1016 ::PROTOBUF_NAMESPACE_ID::
uint32 max_length() const;
1017 void set_max_length(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1019 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_max_length() const;
1020 void _internal_set_max_length(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1024 bool has_max_repeat() const;
1026 bool _internal_has_max_repeat() const;
1028 void clear_max_repeat();
1029 ::PROTOBUF_NAMESPACE_ID::
uint32 max_repeat() const;
1030 void set_max_repeat(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1032 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_max_repeat() const;
1033 void _internal_set_max_repeat(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1037 bool has_min_repeat() const;
1039 bool _internal_has_min_repeat() const;
1041 void clear_min_repeat();
1042 ::PROTOBUF_NAMESPACE_ID::
uint32 min_repeat() const;
1043 void set_min_repeat(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1045 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_min_repeat() const;
1046 void _internal_set_min_repeat(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1050 bool has_num_days() const;
1052 bool _internal_has_num_days() const;
1054 void clear_num_days();
1055 ::PROTOBUF_NAMESPACE_ID::
uint32 num_days() const;
1056 void set_num_days(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1058 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_num_days() const;
1059 void _internal_set_num_days(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1063 bool has_packed_enum() const;
1065 bool _internal_has_packed_enum() const;
1067 void clear_packed_enum();
1068 bool packed_enum() const;
1069 void set_packed_enum(
bool value);
1071 bool _internal_packed_enum() const;
1072 void _internal_set_packed_enum(
bool value);
1076 bool has_resolution() const;
1078 bool _internal_has_resolution() const;
1080 void clear_resolution();
1081 double resolution() const;
1082 void set_resolution(
double value);
1084 double _internal_resolution() const;
1085 void _internal_set_resolution(
double value);
1088 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(DCCLFieldOptions)
1093 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
1095 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1096 typedef
void InternalArenaConstructable_;
1097 typedef
void DestructorSkippable_;
1098 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1099 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1101 static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::
string> _i_give_permission_to_break_this_code_default_codec_;
1103 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr codec_;
1104 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr static_value_;
1105 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
1106 ::
dccl::DCCLFieldOptions_Units* units_;
1107 ::
dccl::DCCLFieldOptions_Conditions* dynamic_conditions_;
1110 ::PROTOBUF_NAMESPACE_ID::
int32 precision_;
1113 ::PROTOBUF_NAMESPACE_ID::
uint32 max_length_;
1114 ::PROTOBUF_NAMESPACE_ID::
uint32 max_repeat_;
1115 ::PROTOBUF_NAMESPACE_ID::
uint32 min_repeat_;
1116 ::PROTOBUF_NAMESPACE_ID::
uint32 num_days_;
1124 public ::PROTOBUF_NAMESPACE_ID::Message {
1126 inline DCCLMessageOptions() : DCCLMessageOptions(nullptr) {};
1127 virtual ~DCCLMessageOptions();
1129 DCCLMessageOptions(
const DCCLMessageOptions& from);
1130 DCCLMessageOptions(DCCLMessageOptions&& from) noexcept
1131 : DCCLMessageOptions() {
1132 *
this = ::std::move(from);
1135 inline DCCLMessageOptions& operator=(
const DCCLMessageOptions& from) {
1139 inline DCCLMessageOptions& operator=(DCCLMessageOptions&& from) noexcept {
1140 if (GetArena() == from.GetArena()) {
1141 if (
this != &from) InternalSwap(&from);
1148 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
1149 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1151 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1152 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1155 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1156 return GetDescriptor();
1158 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1159 return GetMetadataStatic().descriptor;
1161 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1162 return GetMetadataStatic().reflection;
1164 static const DCCLMessageOptions& default_instance();
1166 static void InitAsDefaultInstance();
1167 static inline const DCCLMessageOptions* internal_default_instance() {
1168 return reinterpret_cast<const DCCLMessageOptions*
>(
1169 &_DCCLMessageOptions_default_instance_);
1171 static constexpr
int kIndexInFileMessages =
1174 friend void swap(DCCLMessageOptions& a, DCCLMessageOptions& b) {
1177 inline void Swap(DCCLMessageOptions* other) {
1178 if (other ==
this)
return;
1179 if (GetArena() == other->GetArena()) {
1180 InternalSwap(other);
1182 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1185 void UnsafeArenaSwap(DCCLMessageOptions* other) {
1186 if (other ==
this)
return;
1187 GOOGLE_DCHECK(GetArena() == other->GetArena());
1188 InternalSwap(other);
1193 inline DCCLMessageOptions* New() const final {
1194 return CreateMaybeMessage<DCCLMessageOptions>(
nullptr);
1197 DCCLMessageOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
1198 return CreateMaybeMessage<DCCLMessageOptions>(arena);
1200 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
1201 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
1202 void CopyFrom(
const DCCLMessageOptions& from);
1203 void MergeFrom(
const DCCLMessageOptions& from);
1204 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1205 bool IsInitialized() const final;
1207 size_t ByteSizeLong() const final;
1208 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1209 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
1210 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1211 int GetCachedSize() const final {
return _cached_size_.Get(); }
1214 inline void SharedCtor();
1215 inline void SharedDtor();
1216 void SetCachedSize(
int size)
const final;
1217 void InternalSwap(DCCLMessageOptions* other);
1218 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1219 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1220 return "dccl.DCCLMessageOptions";
1223 explicit DCCLMessageOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1225 static void ArenaDtor(
void*
object);
1226 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1229 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1231 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1232 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_dccl_2foption_5fextensions_2eproto);
1233 return ::descriptor_table_dccl_2foption_5fextensions_2eproto.file_level_metadata[kIndexInFileMessages];
1243 kCodecFieldNumber = 3,
1244 kCodecGroupFieldNumber = 4,
1245 kUnitSystemFieldNumber = 30,
1247 kMaxBytesFieldNumber = 2,
1248 kCodecVersionFieldNumber = 5,
1249 kOmitIdFieldNumber = 10,
1252 bool has_codec()
const;
1254 bool _internal_has_codec()
const;
1257 const std::string& codec()
const;
1258 void set_codec(
const std::string& value);
1259 void set_codec(std::string&& value);
1260 void set_codec(
const char* value);
1261 void set_codec(
const char* value,
size_t size);
1262 std::string* mutable_codec();
1263 std::string* release_codec();
1264 void set_allocated_codec(std::string* codec);
1265 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
1266 " string fields are deprecated and will be removed in a"
1268 std::
string* unsafe_arena_release_codec();
1269 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1270 "
string fields are deprecated and will be removed in a"
1272 void unsafe_arena_set_allocated_codec(
1273 std::
string* codec);
1275 const std::
string& _internal_codec() const;
1276 void _internal_set_codec(const std::
string& value);
1277 std::
string* _internal_mutable_codec();
1281 bool has_codec_group() const;
1283 bool _internal_has_codec_group() const;
1285 void clear_codec_group();
1286 const std::
string& codec_group() const;
1287 void set_codec_group(const std::
string& value);
1288 void set_codec_group(std::
string&& value);
1289 void set_codec_group(const
char* value);
1290 void set_codec_group(const
char* value,
size_t size);
1291 std::
string* mutable_codec_group();
1292 std::
string* release_codec_group();
1293 void set_allocated_codec_group(std::
string* codec_group);
1294 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1295 "
string fields are deprecated and will be removed in a"
1297 std::
string* unsafe_arena_release_codec_group();
1298 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1299 "
string fields are deprecated and will be removed in a"
1301 void unsafe_arena_set_allocated_codec_group(
1302 std::
string* codec_group);
1304 const std::
string& _internal_codec_group() const;
1305 void _internal_set_codec_group(const std::
string& value);
1306 std::
string* _internal_mutable_codec_group();
1310 bool has_unit_system() const;
1312 bool _internal_has_unit_system() const;
1314 void clear_unit_system();
1315 const std::
string& unit_system() const;
1316 void set_unit_system(const std::
string& value);
1317 void set_unit_system(std::
string&& value);
1318 void set_unit_system(const
char* value);
1319 void set_unit_system(const
char* value,
size_t size);
1320 std::
string* mutable_unit_system();
1321 std::
string* release_unit_system();
1322 void set_allocated_unit_system(std::
string* unit_system);
1323 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1324 "
string fields are deprecated and will be removed in a"
1326 std::
string* unsafe_arena_release_unit_system();
1327 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1328 "
string fields are deprecated and will be removed in a"
1330 void unsafe_arena_set_allocated_unit_system(
1331 std::
string* unit_system);
1333 const std::
string& _internal_unit_system() const;
1334 void _internal_set_unit_system(const std::
string& value);
1335 std::
string* _internal_mutable_unit_system();
1339 bool has_id() const;
1341 bool _internal_has_id() const;
1344 ::PROTOBUF_NAMESPACE_ID::
int32 id() const;
1345 void set_id(::PROTOBUF_NAMESPACE_ID::
int32 value);
1347 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_id() const;
1348 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::
int32 value);
1352 bool has_max_bytes() const;
1354 bool _internal_has_max_bytes() const;
1356 void clear_max_bytes();
1357 ::PROTOBUF_NAMESPACE_ID::
uint32 max_bytes() const;
1358 void set_max_bytes(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1360 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_max_bytes() const;
1361 void _internal_set_max_bytes(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1365 bool has_codec_version() const;
1367 bool _internal_has_codec_version() const;
1369 void clear_codec_version();
1370 ::PROTOBUF_NAMESPACE_ID::
int32 codec_version() const;
1371 void set_codec_version(::PROTOBUF_NAMESPACE_ID::
int32 value);
1373 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_codec_version() const;
1374 void _internal_set_codec_version(::PROTOBUF_NAMESPACE_ID::
int32 value);
1378 bool has_omit_id() const;
1380 bool _internal_has_omit_id() const;
1382 void clear_omit_id();
1383 bool omit_id() const;
1384 void set_omit_id(
bool value);
1386 bool _internal_omit_id() const;
1387 void _internal_set_omit_id(
bool value);
1394 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1395 typedef
void InternalArenaConstructable_;
1396 typedef
void DestructorSkippable_;
1397 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1398 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1399 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr codec_;
1400 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr codec_group_;
1402 static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::
string> _i_give_permission_to_break_this_code_default_unit_system_;
1404 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr unit_system_;
1405 ::PROTOBUF_NAMESPACE_ID::
int32 id_;
1406 ::PROTOBUF_NAMESPACE_ID::
uint32 max_bytes_;
1407 ::PROTOBUF_NAMESPACE_ID::
int32 codec_version_;
1413 static const
int kFieldFieldNumber = 1012;
1414 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
1415 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::
dccl::DCCLFieldOptions >, 11, false >
1417 static const
int kMsgFieldNumber = 1012;
1418 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions,
1419 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::
dccl::DCCLMessageOptions >, 11, false >
1425 #pragma GCC diagnostic push
1426 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1431 inline bool DCCLFieldOptions_Units::_internal_has_base_dimensions()
const {
1432 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1435 inline bool DCCLFieldOptions_Units::has_base_dimensions()
const {
1436 return _internal_has_base_dimensions();
1438 inline void DCCLFieldOptions_Units::clear_base_dimensions() {
1439 base_dimensions_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1440 _has_bits_[0] &= ~0x00000001u;
1442 inline const std::string& DCCLFieldOptions_Units::base_dimensions()
const {
1444 return _internal_base_dimensions();
1446 inline void DCCLFieldOptions_Units::set_base_dimensions(
const std::string& value) {
1447 _internal_set_base_dimensions(value);
1450 inline std::string* DCCLFieldOptions_Units::mutable_base_dimensions() {
1452 return _internal_mutable_base_dimensions();
1454 inline const std::string& DCCLFieldOptions_Units::_internal_base_dimensions()
const {
1455 return base_dimensions_.Get();
1457 inline void DCCLFieldOptions_Units::_internal_set_base_dimensions(
const std::string& value) {
1458 _has_bits_[0] |= 0x00000001u;
1459 base_dimensions_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1461 inline void DCCLFieldOptions_Units::set_base_dimensions(std::string&& value) {
1462 _has_bits_[0] |= 0x00000001u;
1463 base_dimensions_.Set(
1464 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1467 inline void DCCLFieldOptions_Units::set_base_dimensions(
const char* value) {
1468 GOOGLE_DCHECK(value !=
nullptr);
1469 _has_bits_[0] |= 0x00000001u;
1470 base_dimensions_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1474 inline void DCCLFieldOptions_Units::set_base_dimensions(
const char* value,
1476 _has_bits_[0] |= 0x00000001u;
1477 base_dimensions_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1478 reinterpret_cast<const char*
>(value), size), GetArena());
1481 inline std::string* DCCLFieldOptions_Units::_internal_mutable_base_dimensions() {
1482 _has_bits_[0] |= 0x00000001u;
1483 return base_dimensions_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1485 inline std::string* DCCLFieldOptions_Units::release_base_dimensions() {
1487 if (!_internal_has_base_dimensions()) {
1490 _has_bits_[0] &= ~0x00000001u;
1491 return base_dimensions_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1493 inline void DCCLFieldOptions_Units::set_allocated_base_dimensions(std::string* base_dimensions) {
1494 if (base_dimensions !=
nullptr) {
1495 _has_bits_[0] |= 0x00000001u;
1497 _has_bits_[0] &= ~0x00000001u;
1499 base_dimensions_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), base_dimensions,
1503 inline std::string* DCCLFieldOptions_Units::unsafe_arena_release_base_dimensions() {
1505 GOOGLE_DCHECK(GetArena() !=
nullptr);
1506 _has_bits_[0] &= ~0x00000001u;
1507 return base_dimensions_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1510 inline void DCCLFieldOptions_Units::unsafe_arena_set_allocated_base_dimensions(
1511 std::string* base_dimensions) {
1512 GOOGLE_DCHECK(GetArena() !=
nullptr);
1513 if (base_dimensions !=
nullptr) {
1514 _has_bits_[0] |= 0x00000001u;
1516 _has_bits_[0] &= ~0x00000001u;
1518 base_dimensions_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1519 base_dimensions, GetArena());
1524 inline bool DCCLFieldOptions_Units::_internal_has_derived_dimensions()
const {
1525 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1528 inline bool DCCLFieldOptions_Units::has_derived_dimensions()
const {
1529 return _internal_has_derived_dimensions();
1531 inline void DCCLFieldOptions_Units::clear_derived_dimensions() {
1532 derived_dimensions_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1533 _has_bits_[0] &= ~0x00000002u;
1535 inline const std::string& DCCLFieldOptions_Units::derived_dimensions()
const {
1537 return _internal_derived_dimensions();
1539 inline void DCCLFieldOptions_Units::set_derived_dimensions(
const std::string& value) {
1540 _internal_set_derived_dimensions(value);
1543 inline std::string* DCCLFieldOptions_Units::mutable_derived_dimensions() {
1545 return _internal_mutable_derived_dimensions();
1547 inline const std::string& DCCLFieldOptions_Units::_internal_derived_dimensions()
const {
1548 return derived_dimensions_.Get();
1550 inline void DCCLFieldOptions_Units::_internal_set_derived_dimensions(
const std::string& value) {
1551 _has_bits_[0] |= 0x00000002u;
1552 derived_dimensions_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1554 inline void DCCLFieldOptions_Units::set_derived_dimensions(std::string&& value) {
1555 _has_bits_[0] |= 0x00000002u;
1556 derived_dimensions_.Set(
1557 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1560 inline void DCCLFieldOptions_Units::set_derived_dimensions(
const char* value) {
1561 GOOGLE_DCHECK(value !=
nullptr);
1562 _has_bits_[0] |= 0x00000002u;
1563 derived_dimensions_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1567 inline void DCCLFieldOptions_Units::set_derived_dimensions(
const char* value,
1569 _has_bits_[0] |= 0x00000002u;
1570 derived_dimensions_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1571 reinterpret_cast<const char*
>(value), size), GetArena());
1574 inline std::string* DCCLFieldOptions_Units::_internal_mutable_derived_dimensions() {
1575 _has_bits_[0] |= 0x00000002u;
1576 return derived_dimensions_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1578 inline std::string* DCCLFieldOptions_Units::release_derived_dimensions() {
1580 if (!_internal_has_derived_dimensions()) {
1583 _has_bits_[0] &= ~0x00000002u;
1584 return derived_dimensions_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1586 inline void DCCLFieldOptions_Units::set_allocated_derived_dimensions(std::string* derived_dimensions) {
1587 if (derived_dimensions !=
nullptr) {
1588 _has_bits_[0] |= 0x00000002u;
1590 _has_bits_[0] &= ~0x00000002u;
1592 derived_dimensions_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), derived_dimensions,
1596 inline std::string* DCCLFieldOptions_Units::unsafe_arena_release_derived_dimensions() {
1598 GOOGLE_DCHECK(GetArena() !=
nullptr);
1599 _has_bits_[0] &= ~0x00000002u;
1600 return derived_dimensions_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1603 inline void DCCLFieldOptions_Units::unsafe_arena_set_allocated_derived_dimensions(
1604 std::string* derived_dimensions) {
1605 GOOGLE_DCHECK(GetArena() !=
nullptr);
1606 if (derived_dimensions !=
nullptr) {
1607 _has_bits_[0] |= 0x00000002u;
1609 _has_bits_[0] &= ~0x00000002u;
1611 derived_dimensions_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1612 derived_dimensions, GetArena());
1617 inline bool DCCLFieldOptions_Units::_internal_has_system()
const {
1618 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1621 inline bool DCCLFieldOptions_Units::has_system()
const {
1622 return _internal_has_system();
1624 inline void DCCLFieldOptions_Units::clear_system() {
1625 system_.ClearToDefault(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), GetArena());
1626 _has_bits_[0] &= ~0x00000004u;
1628 inline const std::string& DCCLFieldOptions_Units::system()
const {
1630 return _internal_system();
1632 inline void DCCLFieldOptions_Units::set_system(
const std::string& value) {
1633 _internal_set_system(value);
1636 inline std::string* DCCLFieldOptions_Units::mutable_system() {
1638 return _internal_mutable_system();
1640 inline const std::string& DCCLFieldOptions_Units::_internal_system()
const {
1641 return system_.Get();
1643 inline void DCCLFieldOptions_Units::_internal_set_system(
const std::string& value) {
1644 _has_bits_[0] |= 0x00000004u;
1645 system_.Set(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), value, GetArena());
1647 inline void DCCLFieldOptions_Units::set_system(std::string&& value) {
1648 _has_bits_[0] |= 0x00000004u;
1650 &::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), ::std::move(value), GetArena());
1653 inline void DCCLFieldOptions_Units::set_system(
const char* value) {
1654 GOOGLE_DCHECK(value !=
nullptr);
1655 _has_bits_[0] |= 0x00000004u;
1656 system_.Set(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), ::std::string(value),
1660 inline void DCCLFieldOptions_Units::set_system(
const char* value,
1662 _has_bits_[0] |= 0x00000004u;
1663 system_.Set(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), ::std::string(
1664 reinterpret_cast<const char*
>(value), size), GetArena());
1667 inline std::string* DCCLFieldOptions_Units::_internal_mutable_system() {
1668 _has_bits_[0] |= 0x00000004u;
1669 return system_.Mutable(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), GetArena());
1671 inline std::string* DCCLFieldOptions_Units::release_system() {
1673 if (!_internal_has_system()) {
1676 _has_bits_[0] &= ~0x00000004u;
1677 return system_.ReleaseNonDefault(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), GetArena());
1679 inline void DCCLFieldOptions_Units::set_allocated_system(std::string* system) {
1680 if (system !=
nullptr) {
1681 _has_bits_[0] |= 0x00000004u;
1683 _has_bits_[0] &= ~0x00000004u;
1685 system_.SetAllocated(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(), system,
1689 inline std::string* DCCLFieldOptions_Units::unsafe_arena_release_system() {
1691 GOOGLE_DCHECK(GetArena() !=
nullptr);
1692 _has_bits_[0] &= ~0x00000004u;
1693 return system_.UnsafeArenaRelease(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(),
1696 inline void DCCLFieldOptions_Units::unsafe_arena_set_allocated_system(
1697 std::string* system) {
1698 GOOGLE_DCHECK(GetArena() !=
nullptr);
1699 if (system !=
nullptr) {
1700 _has_bits_[0] |= 0x00000004u;
1702 _has_bits_[0] &= ~0x00000004u;
1704 system_.UnsafeArenaSetAllocated(&::dccl::DCCLFieldOptions_Units::_i_give_permission_to_break_this_code_default_system_.get(),
1705 system, GetArena());
1710 inline bool DCCLFieldOptions_Units::_internal_has_relative_temperature()
const {
1711 bool value = (_has_bits_[0] & 0x00000020u) != 0;
1714 inline bool DCCLFieldOptions_Units::has_relative_temperature()
const {
1715 return _internal_has_relative_temperature();
1717 inline void DCCLFieldOptions_Units::clear_relative_temperature() {
1718 relative_temperature_ =
false;
1719 _has_bits_[0] &= ~0x00000020u;
1721 inline bool DCCLFieldOptions_Units::_internal_relative_temperature()
const {
1722 return relative_temperature_;
1724 inline bool DCCLFieldOptions_Units::relative_temperature()
const {
1726 return _internal_relative_temperature();
1728 inline void DCCLFieldOptions_Units::_internal_set_relative_temperature(
bool value) {
1729 _has_bits_[0] |= 0x00000020u;
1730 relative_temperature_ = value;
1732 inline void DCCLFieldOptions_Units::set_relative_temperature(
bool value) {
1733 _internal_set_relative_temperature(value);
1738 inline bool DCCLFieldOptions_Units::_internal_has_unit()
const {
1739 bool value = (_has_bits_[0] & 0x00000008u) != 0;
1742 inline bool DCCLFieldOptions_Units::has_unit()
const {
1743 return _internal_has_unit();
1745 inline void DCCLFieldOptions_Units::clear_unit() {
1746 unit_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1747 _has_bits_[0] &= ~0x00000008u;
1749 inline const std::string& DCCLFieldOptions_Units::unit()
const {
1751 return _internal_unit();
1753 inline void DCCLFieldOptions_Units::set_unit(
const std::string& value) {
1754 _internal_set_unit(value);
1757 inline std::string* DCCLFieldOptions_Units::mutable_unit() {
1759 return _internal_mutable_unit();
1761 inline const std::string& DCCLFieldOptions_Units::_internal_unit()
const {
1764 inline void DCCLFieldOptions_Units::_internal_set_unit(
const std::string& value) {
1765 _has_bits_[0] |= 0x00000008u;
1766 unit_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1768 inline void DCCLFieldOptions_Units::set_unit(std::string&& value) {
1769 _has_bits_[0] |= 0x00000008u;
1771 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1774 inline void DCCLFieldOptions_Units::set_unit(
const char* value) {
1775 GOOGLE_DCHECK(value !=
nullptr);
1776 _has_bits_[0] |= 0x00000008u;
1777 unit_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1781 inline void DCCLFieldOptions_Units::set_unit(
const char* value,
1783 _has_bits_[0] |= 0x00000008u;
1784 unit_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1785 reinterpret_cast<const char*
>(value), size), GetArena());
1788 inline std::string* DCCLFieldOptions_Units::_internal_mutable_unit() {
1789 _has_bits_[0] |= 0x00000008u;
1790 return unit_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1792 inline std::string* DCCLFieldOptions_Units::release_unit() {
1794 if (!_internal_has_unit()) {
1797 _has_bits_[0] &= ~0x00000008u;
1798 return unit_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1800 inline void DCCLFieldOptions_Units::set_allocated_unit(std::string* unit) {
1801 if (unit !=
nullptr) {
1802 _has_bits_[0] |= 0x00000008u;
1804 _has_bits_[0] &= ~0x00000008u;
1806 unit_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), unit,
1810 inline std::string* DCCLFieldOptions_Units::unsafe_arena_release_unit() {
1812 GOOGLE_DCHECK(GetArena() !=
nullptr);
1813 _has_bits_[0] &= ~0x00000008u;
1814 return unit_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1817 inline void DCCLFieldOptions_Units::unsafe_arena_set_allocated_unit(
1818 std::string* unit) {
1819 GOOGLE_DCHECK(GetArena() !=
nullptr);
1820 if (unit !=
nullptr) {
1821 _has_bits_[0] |= 0x00000008u;
1823 _has_bits_[0] &= ~0x00000008u;
1825 unit_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1831 inline bool DCCLFieldOptions_Units::_internal_has_prefix()
const {
1832 bool value = (_has_bits_[0] & 0x00000010u) != 0;
1835 inline bool DCCLFieldOptions_Units::has_prefix()
const {
1836 return _internal_has_prefix();
1838 inline void DCCLFieldOptions_Units::clear_prefix() {
1839 prefix_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1840 _has_bits_[0] &= ~0x00000010u;
1842 inline const std::string& DCCLFieldOptions_Units::prefix()
const {
1844 return _internal_prefix();
1846 inline void DCCLFieldOptions_Units::set_prefix(
const std::string& value) {
1847 _internal_set_prefix(value);
1850 inline std::string* DCCLFieldOptions_Units::mutable_prefix() {
1852 return _internal_mutable_prefix();
1854 inline const std::string& DCCLFieldOptions_Units::_internal_prefix()
const {
1855 return prefix_.Get();
1857 inline void DCCLFieldOptions_Units::_internal_set_prefix(
const std::string& value) {
1858 _has_bits_[0] |= 0x00000010u;
1859 prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1861 inline void DCCLFieldOptions_Units::set_prefix(std::string&& value) {
1862 _has_bits_[0] |= 0x00000010u;
1864 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1867 inline void DCCLFieldOptions_Units::set_prefix(
const char* value) {
1868 GOOGLE_DCHECK(value !=
nullptr);
1869 _has_bits_[0] |= 0x00000010u;
1870 prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1874 inline void DCCLFieldOptions_Units::set_prefix(
const char* value,
1876 _has_bits_[0] |= 0x00000010u;
1877 prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1878 reinterpret_cast<const char*
>(value), size), GetArena());
1881 inline std::string* DCCLFieldOptions_Units::_internal_mutable_prefix() {
1882 _has_bits_[0] |= 0x00000010u;
1883 return prefix_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1885 inline std::string* DCCLFieldOptions_Units::release_prefix() {
1887 if (!_internal_has_prefix()) {
1890 _has_bits_[0] &= ~0x00000010u;
1891 return prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1893 inline void DCCLFieldOptions_Units::set_allocated_prefix(std::string* prefix) {
1894 if (prefix !=
nullptr) {
1895 _has_bits_[0] |= 0x00000010u;
1897 _has_bits_[0] &= ~0x00000010u;
1899 prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), prefix,
1903 inline std::string* DCCLFieldOptions_Units::unsafe_arena_release_prefix() {
1905 GOOGLE_DCHECK(GetArena() !=
nullptr);
1906 _has_bits_[0] &= ~0x00000010u;
1907 return prefix_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1910 inline void DCCLFieldOptions_Units::unsafe_arena_set_allocated_prefix(
1911 std::string* prefix) {
1912 GOOGLE_DCHECK(GetArena() !=
nullptr);
1913 if (prefix !=
nullptr) {
1914 _has_bits_[0] |= 0x00000010u;
1916 _has_bits_[0] &= ~0x00000010u;
1918 prefix_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1919 prefix, GetArena());
1928 inline bool DCCLFieldOptions_Conditions::_internal_has_required_if()
const {
1929 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1932 inline bool DCCLFieldOptions_Conditions::has_required_if()
const {
1933 return _internal_has_required_if();
1935 inline void DCCLFieldOptions_Conditions::clear_required_if() {
1936 required_if_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1937 _has_bits_[0] &= ~0x00000001u;
1939 inline const std::string& DCCLFieldOptions_Conditions::required_if()
const {
1941 return _internal_required_if();
1943 inline void DCCLFieldOptions_Conditions::set_required_if(
const std::string& value) {
1944 _internal_set_required_if(value);
1947 inline std::string* DCCLFieldOptions_Conditions::mutable_required_if() {
1949 return _internal_mutable_required_if();
1951 inline const std::string& DCCLFieldOptions_Conditions::_internal_required_if()
const {
1952 return required_if_.Get();
1954 inline void DCCLFieldOptions_Conditions::_internal_set_required_if(
const std::string& value) {
1955 _has_bits_[0] |= 0x00000001u;
1956 required_if_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1958 inline void DCCLFieldOptions_Conditions::set_required_if(std::string&& value) {
1959 _has_bits_[0] |= 0x00000001u;
1961 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1964 inline void DCCLFieldOptions_Conditions::set_required_if(
const char* value) {
1965 GOOGLE_DCHECK(value !=
nullptr);
1966 _has_bits_[0] |= 0x00000001u;
1967 required_if_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1971 inline void DCCLFieldOptions_Conditions::set_required_if(
const char* value,
1973 _has_bits_[0] |= 0x00000001u;
1974 required_if_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1975 reinterpret_cast<const char*
>(value), size), GetArena());
1978 inline std::string* DCCLFieldOptions_Conditions::_internal_mutable_required_if() {
1979 _has_bits_[0] |= 0x00000001u;
1980 return required_if_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1982 inline std::string* DCCLFieldOptions_Conditions::release_required_if() {
1984 if (!_internal_has_required_if()) {
1987 _has_bits_[0] &= ~0x00000001u;
1988 return required_if_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1990 inline void DCCLFieldOptions_Conditions::set_allocated_required_if(std::string* required_if) {
1991 if (required_if !=
nullptr) {
1992 _has_bits_[0] |= 0x00000001u;
1994 _has_bits_[0] &= ~0x00000001u;
1996 required_if_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), required_if,
2000 inline std::string* DCCLFieldOptions_Conditions::unsafe_arena_release_required_if() {
2002 GOOGLE_DCHECK(GetArena() !=
nullptr);
2003 _has_bits_[0] &= ~0x00000001u;
2004 return required_if_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2007 inline void DCCLFieldOptions_Conditions::unsafe_arena_set_allocated_required_if(
2008 std::string* required_if) {
2009 GOOGLE_DCHECK(GetArena() !=
nullptr);
2010 if (required_if !=
nullptr) {
2011 _has_bits_[0] |= 0x00000001u;
2013 _has_bits_[0] &= ~0x00000001u;
2015 required_if_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2016 required_if, GetArena());
2021 inline bool DCCLFieldOptions_Conditions::_internal_has_omit_if()
const {
2022 bool value = (_has_bits_[0] & 0x00000002u) != 0;
2025 inline bool DCCLFieldOptions_Conditions::has_omit_if()
const {
2026 return _internal_has_omit_if();
2028 inline void DCCLFieldOptions_Conditions::clear_omit_if() {
2029 omit_if_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2030 _has_bits_[0] &= ~0x00000002u;
2032 inline const std::string& DCCLFieldOptions_Conditions::omit_if()
const {
2034 return _internal_omit_if();
2036 inline void DCCLFieldOptions_Conditions::set_omit_if(
const std::string& value) {
2037 _internal_set_omit_if(value);
2040 inline std::string* DCCLFieldOptions_Conditions::mutable_omit_if() {
2042 return _internal_mutable_omit_if();
2044 inline const std::string& DCCLFieldOptions_Conditions::_internal_omit_if()
const {
2045 return omit_if_.Get();
2047 inline void DCCLFieldOptions_Conditions::_internal_set_omit_if(
const std::string& value) {
2048 _has_bits_[0] |= 0x00000002u;
2049 omit_if_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
2051 inline void DCCLFieldOptions_Conditions::set_omit_if(std::string&& value) {
2052 _has_bits_[0] |= 0x00000002u;
2054 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
2057 inline void DCCLFieldOptions_Conditions::set_omit_if(
const char* value) {
2058 GOOGLE_DCHECK(value !=
nullptr);
2059 _has_bits_[0] |= 0x00000002u;
2060 omit_if_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
2064 inline void DCCLFieldOptions_Conditions::set_omit_if(
const char* value,
2066 _has_bits_[0] |= 0x00000002u;
2067 omit_if_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
2068 reinterpret_cast<const char*
>(value), size), GetArena());
2071 inline std::string* DCCLFieldOptions_Conditions::_internal_mutable_omit_if() {
2072 _has_bits_[0] |= 0x00000002u;
2073 return omit_if_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2075 inline std::string* DCCLFieldOptions_Conditions::release_omit_if() {
2077 if (!_internal_has_omit_if()) {
2080 _has_bits_[0] &= ~0x00000002u;
2081 return omit_if_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2083 inline void DCCLFieldOptions_Conditions::set_allocated_omit_if(std::string* omit_if) {
2084 if (omit_if !=
nullptr) {
2085 _has_bits_[0] |= 0x00000002u;
2087 _has_bits_[0] &= ~0x00000002u;
2089 omit_if_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), omit_if,
2093 inline std::string* DCCLFieldOptions_Conditions::unsafe_arena_release_omit_if() {
2095 GOOGLE_DCHECK(GetArena() !=
nullptr);
2096 _has_bits_[0] &= ~0x00000002u;
2097 return omit_if_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2100 inline void DCCLFieldOptions_Conditions::unsafe_arena_set_allocated_omit_if(
2101 std::string* omit_if) {
2102 GOOGLE_DCHECK(GetArena() !=
nullptr);
2103 if (omit_if !=
nullptr) {
2104 _has_bits_[0] |= 0x00000002u;
2106 _has_bits_[0] &= ~0x00000002u;
2108 omit_if_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2109 omit_if, GetArena());
2114 inline bool DCCLFieldOptions_Conditions::_internal_has_only_if()
const {
2115 bool value = (_has_bits_[0] & 0x00000004u) != 0;
2118 inline bool DCCLFieldOptions_Conditions::has_only_if()
const {
2119 return _internal_has_only_if();
2121 inline void DCCLFieldOptions_Conditions::clear_only_if() {
2122 only_if_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2123 _has_bits_[0] &= ~0x00000004u;
2125 inline const std::string& DCCLFieldOptions_Conditions::only_if()
const {
2127 return _internal_only_if();
2129 inline void DCCLFieldOptions_Conditions::set_only_if(
const std::string& value) {
2130 _internal_set_only_if(value);
2133 inline std::string* DCCLFieldOptions_Conditions::mutable_only_if() {
2135 return _internal_mutable_only_if();
2137 inline const std::string& DCCLFieldOptions_Conditions::_internal_only_if()
const {
2138 return only_if_.Get();
2140 inline void DCCLFieldOptions_Conditions::_internal_set_only_if(
const std::string& value) {
2141 _has_bits_[0] |= 0x00000004u;
2142 only_if_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
2144 inline void DCCLFieldOptions_Conditions::set_only_if(std::string&& value) {
2145 _has_bits_[0] |= 0x00000004u;
2147 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
2150 inline void DCCLFieldOptions_Conditions::set_only_if(
const char* value) {
2151 GOOGLE_DCHECK(value !=
nullptr);
2152 _has_bits_[0] |= 0x00000004u;
2153 only_if_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
2157 inline void DCCLFieldOptions_Conditions::set_only_if(
const char* value,
2159 _has_bits_[0] |= 0x00000004u;
2160 only_if_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
2161 reinterpret_cast<const char*
>(value), size), GetArena());
2164 inline std::string* DCCLFieldOptions_Conditions::_internal_mutable_only_if() {
2165 _has_bits_[0] |= 0x00000004u;
2166 return only_if_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2168 inline std::string* DCCLFieldOptions_Conditions::release_only_if() {
2170 if (!_internal_has_only_if()) {
2173 _has_bits_[0] &= ~0x00000004u;
2174 return only_if_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2176 inline void DCCLFieldOptions_Conditions::set_allocated_only_if(std::string* only_if) {
2177 if (only_if !=
nullptr) {
2178 _has_bits_[0] |= 0x00000004u;
2180 _has_bits_[0] &= ~0x00000004u;
2182 only_if_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), only_if,
2186 inline std::string* DCCLFieldOptions_Conditions::unsafe_arena_release_only_if() {
2188 GOOGLE_DCHECK(GetArena() !=
nullptr);
2189 _has_bits_[0] &= ~0x00000004u;
2190 return only_if_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2193 inline void DCCLFieldOptions_Conditions::unsafe_arena_set_allocated_only_if(
2194 std::string* only_if) {
2195 GOOGLE_DCHECK(GetArena() !=
nullptr);
2196 if (only_if !=
nullptr) {
2197 _has_bits_[0] |= 0x00000004u;
2199 _has_bits_[0] &= ~0x00000004u;
2201 only_if_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2202 only_if, GetArena());
2207 inline bool DCCLFieldOptions_Conditions::_internal_has_min()
const {
2208 bool value = (_has_bits_[0] & 0x00000008u) != 0;
2211 inline bool DCCLFieldOptions_Conditions::has_min()
const {
2212 return _internal_has_min();
2214 inline void DCCLFieldOptions_Conditions::clear_min() {
2215 min_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2216 _has_bits_[0] &= ~0x00000008u;
2218 inline const std::string& DCCLFieldOptions_Conditions::min()
const {
2220 return _internal_min();
2222 inline void DCCLFieldOptions_Conditions::set_min(
const std::string& value) {
2223 _internal_set_min(value);
2226 inline std::string* DCCLFieldOptions_Conditions::mutable_min() {
2228 return _internal_mutable_min();
2230 inline const std::string& DCCLFieldOptions_Conditions::_internal_min()
const {
2233 inline void DCCLFieldOptions_Conditions::_internal_set_min(
const std::string& value) {
2234 _has_bits_[0] |= 0x00000008u;
2235 min_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
2237 inline void DCCLFieldOptions_Conditions::set_min(std::string&& value) {
2238 _has_bits_[0] |= 0x00000008u;
2240 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
2243 inline void DCCLFieldOptions_Conditions::set_min(
const char* value) {
2244 GOOGLE_DCHECK(value !=
nullptr);
2245 _has_bits_[0] |= 0x00000008u;
2246 min_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
2250 inline void DCCLFieldOptions_Conditions::set_min(
const char* value,
2252 _has_bits_[0] |= 0x00000008u;
2253 min_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
2254 reinterpret_cast<const char*
>(value), size), GetArena());
2257 inline std::string* DCCLFieldOptions_Conditions::_internal_mutable_min() {
2258 _has_bits_[0] |= 0x00000008u;
2259 return min_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2261 inline std::string* DCCLFieldOptions_Conditions::release_min() {
2263 if (!_internal_has_min()) {
2266 _has_bits_[0] &= ~0x00000008u;
2267 return min_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2269 inline void DCCLFieldOptions_Conditions::set_allocated_min(std::string* min) {
2270 if (min !=
nullptr) {
2271 _has_bits_[0] |= 0x00000008u;
2273 _has_bits_[0] &= ~0x00000008u;
2275 min_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), min,
2279 inline std::string* DCCLFieldOptions_Conditions::unsafe_arena_release_min() {
2281 GOOGLE_DCHECK(GetArena() !=
nullptr);
2282 _has_bits_[0] &= ~0x00000008u;
2283 return min_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2286 inline void DCCLFieldOptions_Conditions::unsafe_arena_set_allocated_min(
2288 GOOGLE_DCHECK(GetArena() !=
nullptr);
2289 if (min !=
nullptr) {
2290 _has_bits_[0] |= 0x00000008u;
2292 _has_bits_[0] &= ~0x00000008u;
2294 min_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2300 inline bool DCCLFieldOptions_Conditions::_internal_has_max()
const {
2301 bool value = (_has_bits_[0] & 0x00000010u) != 0;
2304 inline bool DCCLFieldOptions_Conditions::has_max()
const {
2305 return _internal_has_max();
2307 inline void DCCLFieldOptions_Conditions::clear_max() {
2308 max_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2309 _has_bits_[0] &= ~0x00000010u;
2311 inline const std::string& DCCLFieldOptions_Conditions::max()
const {
2313 return _internal_max();
2315 inline void DCCLFieldOptions_Conditions::set_max(
const std::string& value) {
2316 _internal_set_max(value);
2319 inline std::string* DCCLFieldOptions_Conditions::mutable_max() {
2321 return _internal_mutable_max();
2323 inline const std::string& DCCLFieldOptions_Conditions::_internal_max()
const {
2326 inline void DCCLFieldOptions_Conditions::_internal_set_max(
const std::string& value) {
2327 _has_bits_[0] |= 0x00000010u;
2328 max_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
2330 inline void DCCLFieldOptions_Conditions::set_max(std::string&& value) {
2331 _has_bits_[0] |= 0x00000010u;
2333 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
2336 inline void DCCLFieldOptions_Conditions::set_max(
const char* value) {
2337 GOOGLE_DCHECK(value !=
nullptr);
2338 _has_bits_[0] |= 0x00000010u;
2339 max_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
2343 inline void DCCLFieldOptions_Conditions::set_max(
const char* value,
2345 _has_bits_[0] |= 0x00000010u;
2346 max_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
2347 reinterpret_cast<const char*
>(value), size), GetArena());
2350 inline std::string* DCCLFieldOptions_Conditions::_internal_mutable_max() {
2351 _has_bits_[0] |= 0x00000010u;
2352 return max_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2354 inline std::string* DCCLFieldOptions_Conditions::release_max() {
2356 if (!_internal_has_max()) {
2359 _has_bits_[0] &= ~0x00000010u;
2360 return max_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2362 inline void DCCLFieldOptions_Conditions::set_allocated_max(std::string* max) {
2363 if (max !=
nullptr) {
2364 _has_bits_[0] |= 0x00000010u;
2366 _has_bits_[0] &= ~0x00000010u;
2368 max_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), max,
2372 inline std::string* DCCLFieldOptions_Conditions::unsafe_arena_release_max() {
2374 GOOGLE_DCHECK(GetArena() !=
nullptr);
2375 _has_bits_[0] &= ~0x00000010u;
2376 return max_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2379 inline void DCCLFieldOptions_Conditions::unsafe_arena_set_allocated_max(
2381 GOOGLE_DCHECK(GetArena() !=
nullptr);
2382 if (max !=
nullptr) {
2383 _has_bits_[0] |= 0x00000010u;
2385 _has_bits_[0] &= ~0x00000010u;
2387 max_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2397 inline bool DCCLFieldOptions::_internal_has_codec()
const {
2398 bool value = (_has_bits_[0] & 0x00000001u) != 0;
2401 inline bool DCCLFieldOptions::has_codec()
const {
2402 return _internal_has_codec();
2404 inline void DCCLFieldOptions::clear_codec() {
2405 codec_.ClearToDefault(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), GetArena());
2406 _has_bits_[0] &= ~0x00000001u;
2408 inline const std::string& DCCLFieldOptions::codec()
const {
2410 return _internal_codec();
2412 inline void DCCLFieldOptions::set_codec(
const std::string& value) {
2413 _internal_set_codec(value);
2416 inline std::string* DCCLFieldOptions::mutable_codec() {
2418 return _internal_mutable_codec();
2420 inline const std::string& DCCLFieldOptions::_internal_codec()
const {
2421 return codec_.Get();
2423 inline void DCCLFieldOptions::_internal_set_codec(
const std::string& value) {
2424 _has_bits_[0] |= 0x00000001u;
2425 codec_.Set(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), value, GetArena());
2427 inline void DCCLFieldOptions::set_codec(std::string&& value) {
2428 _has_bits_[0] |= 0x00000001u;
2430 &::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), ::std::move(value), GetArena());
2433 inline void DCCLFieldOptions::set_codec(
const char* value) {
2434 GOOGLE_DCHECK(value !=
nullptr);
2435 _has_bits_[0] |= 0x00000001u;
2436 codec_.Set(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), ::std::string(value),
2440 inline void DCCLFieldOptions::set_codec(
const char* value,
2442 _has_bits_[0] |= 0x00000001u;
2443 codec_.Set(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), ::std::string(
2444 reinterpret_cast<const char*
>(value), size), GetArena());
2447 inline std::string* DCCLFieldOptions::_internal_mutable_codec() {
2448 _has_bits_[0] |= 0x00000001u;
2449 return codec_.Mutable(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), GetArena());
2451 inline std::string* DCCLFieldOptions::release_codec() {
2453 if (!_internal_has_codec()) {
2456 _has_bits_[0] &= ~0x00000001u;
2457 return codec_.ReleaseNonDefault(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), GetArena());
2459 inline void DCCLFieldOptions::set_allocated_codec(std::string* codec) {
2460 if (codec !=
nullptr) {
2461 _has_bits_[0] |= 0x00000001u;
2463 _has_bits_[0] &= ~0x00000001u;
2465 codec_.SetAllocated(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(), codec,
2469 inline std::string* DCCLFieldOptions::unsafe_arena_release_codec() {
2471 GOOGLE_DCHECK(GetArena() !=
nullptr);
2472 _has_bits_[0] &= ~0x00000001u;
2473 return codec_.UnsafeArenaRelease(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(),
2476 inline void DCCLFieldOptions::unsafe_arena_set_allocated_codec(
2477 std::string* codec) {
2478 GOOGLE_DCHECK(GetArena() !=
nullptr);
2479 if (codec !=
nullptr) {
2480 _has_bits_[0] |= 0x00000001u;
2482 _has_bits_[0] &= ~0x00000001u;
2484 codec_.UnsafeArenaSetAllocated(&::dccl::DCCLFieldOptions::_i_give_permission_to_break_this_code_default_codec_.get(),
2490 inline bool DCCLFieldOptions::_internal_has_omit()
const {
2491 bool value = (_has_bits_[0] & 0x00000020u) != 0;
2494 inline bool DCCLFieldOptions::has_omit()
const {
2495 return _internal_has_omit();
2497 inline void DCCLFieldOptions::clear_omit() {
2499 _has_bits_[0] &= ~0x00000020u;
2501 inline bool DCCLFieldOptions::_internal_omit()
const {
2504 inline bool DCCLFieldOptions::omit()
const {
2506 return _internal_omit();
2508 inline void DCCLFieldOptions::_internal_set_omit(
bool value) {
2509 _has_bits_[0] |= 0x00000020u;
2512 inline void DCCLFieldOptions::set_omit(
bool value) {
2513 _internal_set_omit(value);
2518 inline bool DCCLFieldOptions::_internal_has_in_head()
const {
2519 bool value = (_has_bits_[0] & 0x00000040u) != 0;
2522 inline bool DCCLFieldOptions::has_in_head()
const {
2523 return _internal_has_in_head();
2525 inline void DCCLFieldOptions::clear_in_head() {
2527 _has_bits_[0] &= ~0x00000040u;
2529 inline bool DCCLFieldOptions::_internal_in_head()
const {
2532 inline bool DCCLFieldOptions::in_head()
const {
2534 return _internal_in_head();
2536 inline void DCCLFieldOptions::_internal_set_in_head(
bool value) {
2537 _has_bits_[0] |= 0x00000040u;
2540 inline void DCCLFieldOptions::set_in_head(
bool value) {
2541 _internal_set_in_head(value);
2546 inline bool DCCLFieldOptions::_internal_has_precision()
const {
2547 bool value = (_has_bits_[0] & 0x00000080u) != 0;
2550 inline bool DCCLFieldOptions::has_precision()
const {
2551 return _internal_has_precision();
2553 inline void DCCLFieldOptions::clear_precision() {
2555 _has_bits_[0] &= ~0x00000080u;
2557 inline ::PROTOBUF_NAMESPACE_ID::int32 DCCLFieldOptions::_internal_precision()
const {
2560 inline ::PROTOBUF_NAMESPACE_ID::int32 DCCLFieldOptions::precision()
const {
2562 return _internal_precision();
2564 inline void DCCLFieldOptions::_internal_set_precision(::PROTOBUF_NAMESPACE_ID::int32 value) {
2565 _has_bits_[0] |= 0x00000080u;
2568 inline void DCCLFieldOptions::set_precision(::PROTOBUF_NAMESPACE_ID::int32 value) {
2569 _internal_set_precision(value);
2574 inline bool DCCLFieldOptions::_internal_has_resolution()
const {
2575 bool value = (_has_bits_[0] & 0x00008000u) != 0;
2578 inline bool DCCLFieldOptions::has_resolution()
const {
2579 return _internal_has_resolution();
2581 inline void DCCLFieldOptions::clear_resolution() {
2583 _has_bits_[0] &= ~0x00008000u;
2585 inline double DCCLFieldOptions::_internal_resolution()
const {
2588 inline double DCCLFieldOptions::resolution()
const {
2590 return _internal_resolution();
2592 inline void DCCLFieldOptions::_internal_set_resolution(
double value) {
2593 _has_bits_[0] |= 0x00008000u;
2594 resolution_ = value;
2596 inline void DCCLFieldOptions::set_resolution(
double value) {
2597 _internal_set_resolution(value);
2602 inline bool DCCLFieldOptions::_internal_has_min()
const {
2603 bool value = (_has_bits_[0] & 0x00000100u) != 0;
2606 inline bool DCCLFieldOptions::has_min()
const {
2607 return _internal_has_min();
2609 inline void DCCLFieldOptions::clear_min() {
2611 _has_bits_[0] &= ~0x00000100u;
2613 inline double DCCLFieldOptions::_internal_min()
const {
2616 inline double DCCLFieldOptions::min()
const {
2618 return _internal_min();
2620 inline void DCCLFieldOptions::_internal_set_min(
double value) {
2621 _has_bits_[0] |= 0x00000100u;
2624 inline void DCCLFieldOptions::set_min(
double value) {
2625 _internal_set_min(value);
2630 inline bool DCCLFieldOptions::_internal_has_max()
const {
2631 bool value = (_has_bits_[0] & 0x00000200u) != 0;
2634 inline bool DCCLFieldOptions::has_max()
const {
2635 return _internal_has_max();
2637 inline void DCCLFieldOptions::clear_max() {
2639 _has_bits_[0] &= ~0x00000200u;
2641 inline double DCCLFieldOptions::_internal_max()
const {
2644 inline double DCCLFieldOptions::max()
const {
2646 return _internal_max();
2648 inline void DCCLFieldOptions::_internal_set_max(
double value) {
2649 _has_bits_[0] |= 0x00000200u;
2652 inline void DCCLFieldOptions::set_max(
double value) {
2653 _internal_set_max(value);
2658 inline bool DCCLFieldOptions::_internal_has_num_days()
const {
2659 bool value = (_has_bits_[0] & 0x00002000u) != 0;
2662 inline bool DCCLFieldOptions::has_num_days()
const {
2663 return _internal_has_num_days();
2665 inline void DCCLFieldOptions::clear_num_days() {
2667 _has_bits_[0] &= ~0x00002000u;
2669 inline ::PROTOBUF_NAMESPACE_ID::uint32 DCCLFieldOptions::_internal_num_days()
const {
2672 inline ::PROTOBUF_NAMESPACE_ID::uint32 DCCLFieldOptions::num_days()
const {
2674 return _internal_num_days();
2676 inline void DCCLFieldOptions::_internal_set_num_days(::PROTOBUF_NAMESPACE_ID::uint32 value) {
2677 _has_bits_[0] |= 0x00002000u;
2680 inline void DCCLFieldOptions::set_num_days(::PROTOBUF_NAMESPACE_ID::uint32 value) {
2681 _internal_set_num_days(value);
2686 inline bool DCCLFieldOptions::_internal_has_static_value()
const {
2687 bool value = (_has_bits_[0] & 0x00000002u) != 0;
2690 inline bool DCCLFieldOptions::has_static_value()
const {
2691 return _internal_has_static_value();
2693 inline void DCCLFieldOptions::clear_static_value() {
2694 static_value_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2695 _has_bits_[0] &= ~0x00000002u;
2697 inline const std::string& DCCLFieldOptions::static_value()
const {
2699 return _internal_static_value();
2701 inline void DCCLFieldOptions::set_static_value(
const std::string& value) {
2702 _internal_set_static_value(value);
2705 inline std::string* DCCLFieldOptions::mutable_static_value() {
2707 return _internal_mutable_static_value();
2709 inline const std::string& DCCLFieldOptions::_internal_static_value()
const {
2710 return static_value_.Get();
2712 inline void DCCLFieldOptions::_internal_set_static_value(
const std::string& value) {
2713 _has_bits_[0] |= 0x00000002u;
2714 static_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
2716 inline void DCCLFieldOptions::set_static_value(std::string&& value) {
2717 _has_bits_[0] |= 0x00000002u;
2719 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
2722 inline void DCCLFieldOptions::set_static_value(
const char* value) {
2723 GOOGLE_DCHECK(value !=
nullptr);
2724 _has_bits_[0] |= 0x00000002u;
2725 static_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
2729 inline void DCCLFieldOptions::set_static_value(
const char* value,
2731 _has_bits_[0] |= 0x00000002u;
2732 static_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
2733 reinterpret_cast<const char*
>(value), size), GetArena());
2736 inline std::string* DCCLFieldOptions::_internal_mutable_static_value() {
2737 _has_bits_[0] |= 0x00000002u;
2738 return static_value_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2740 inline std::string* DCCLFieldOptions::release_static_value() {
2742 if (!_internal_has_static_value()) {
2745 _has_bits_[0] &= ~0x00000002u;
2746 return static_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2748 inline void DCCLFieldOptions::set_allocated_static_value(std::string* static_value) {
2749 if (static_value !=
nullptr) {
2750 _has_bits_[0] |= 0x00000002u;
2752 _has_bits_[0] &= ~0x00000002u;
2754 static_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), static_value,
2758 inline std::string* DCCLFieldOptions::unsafe_arena_release_static_value() {
2760 GOOGLE_DCHECK(GetArena() !=
nullptr);
2761 _has_bits_[0] &= ~0x00000002u;
2762 return static_value_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2765 inline void DCCLFieldOptions::unsafe_arena_set_allocated_static_value(
2766 std::string* static_value) {
2767 GOOGLE_DCHECK(GetArena() !=
nullptr);
2768 if (static_value !=
nullptr) {
2769 _has_bits_[0] |= 0x00000002u;
2771 _has_bits_[0] &= ~0x00000002u;
2773 static_value_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2774 static_value, GetArena());
2779 inline bool DCCLFieldOptions::_internal_has_max_length()
const {
2780 bool value = (_has_bits_[0] & 0x00000400u) != 0;
2783 inline bool DCCLFieldOptions::has_max_length()
const {
2784 return _internal_has_max_length();
2786 inline void DCCLFieldOptions::clear_max_length() {
2788 _has_bits_[0] &= ~0x00000400u;
2790 inline ::PROTOBUF_NAMESPACE_ID::uint32 DCCLFieldOptions::_internal_max_length()
const {
2793 inline ::PROTOBUF_NAMESPACE_ID::uint32 DCCLFieldOptions::max_length()
const {
2795 return _internal_max_length();
2797 inline void DCCLFieldOptions::_internal_set_max_length(::PROTOBUF_NAMESPACE_ID::uint32 value) {
2798 _has_bits_[0] |= 0x00000400u;
2799 max_length_ = value;
2801 inline void DCCLFieldOptions::set_max_length(::PROTOBUF_NAMESPACE_ID::uint32 value) {
2802 _internal_set_max_length(value);
2807 inline bool DCCLFieldOptions::_internal_has_max_repeat()
const {
2808 bool value = (_has_bits_[0] & 0x00000800u) != 0;
2811 inline bool DCCLFieldOptions::has_max_repeat()
const {
2812 return _internal_has_max_repeat();
2814 inline void DCCLFieldOptions::clear_max_repeat() {
2816 _has_bits_[0] &= ~0x00000800u;
2818 inline ::PROTOBUF_NAMESPACE_ID::uint32 DCCLFieldOptions::_internal_max_repeat()
const {
2821 inline ::PROTOBUF_NAMESPACE_ID::uint32 DCCLFieldOptions::max_repeat()
const {
2823 return _internal_max_repeat();
2825 inline void DCCLFieldOptions::_internal_set_max_repeat(::PROTOBUF_NAMESPACE_ID::uint32 value) {
2826 _has_bits_[0] |= 0x00000800u;
2827 max_repeat_ = value;
2829 inline void DCCLFieldOptions::set_max_repeat(::PROTOBUF_NAMESPACE_ID::uint32 value) {
2830 _internal_set_max_repeat(value);
2835 inline bool DCCLFieldOptions::_internal_has_min_repeat()
const {
2836 bool value = (_has_bits_[0] & 0x00001000u) != 0;
2839 inline bool DCCLFieldOptions::has_min_repeat()
const {
2840 return _internal_has_min_repeat();
2842 inline void DCCLFieldOptions::clear_min_repeat() {
2844 _has_bits_[0] &= ~0x00001000u;
2846 inline ::PROTOBUF_NAMESPACE_ID::uint32 DCCLFieldOptions::_internal_min_repeat()
const {
2849 inline ::PROTOBUF_NAMESPACE_ID::uint32 DCCLFieldOptions::min_repeat()
const {
2851 return _internal_min_repeat();
2853 inline void DCCLFieldOptions::_internal_set_min_repeat(::PROTOBUF_NAMESPACE_ID::uint32 value) {
2854 _has_bits_[0] |= 0x00001000u;
2855 min_repeat_ = value;
2857 inline void DCCLFieldOptions::set_min_repeat(::PROTOBUF_NAMESPACE_ID::uint32 value) {
2858 _internal_set_min_repeat(value);
2863 inline bool DCCLFieldOptions::_internal_has_packed_enum()
const {
2864 bool value = (_has_bits_[0] & 0x00004000u) != 0;
2867 inline bool DCCLFieldOptions::has_packed_enum()
const {
2868 return _internal_has_packed_enum();
2870 inline void DCCLFieldOptions::clear_packed_enum() {
2871 packed_enum_ =
true;
2872 _has_bits_[0] &= ~0x00004000u;
2874 inline bool DCCLFieldOptions::_internal_packed_enum()
const {
2875 return packed_enum_;
2877 inline bool DCCLFieldOptions::packed_enum()
const {
2879 return _internal_packed_enum();
2881 inline void DCCLFieldOptions::_internal_set_packed_enum(
bool value) {
2882 _has_bits_[0] |= 0x00004000u;
2883 packed_enum_ = value;
2885 inline void DCCLFieldOptions::set_packed_enum(
bool value) {
2886 _internal_set_packed_enum(value);
2891 inline bool DCCLFieldOptions::_internal_has_description()
const {
2892 bool value = (_has_bits_[0] & 0x00000004u) != 0;
2895 inline bool DCCLFieldOptions::has_description()
const {
2896 return _internal_has_description();
2898 inline void DCCLFieldOptions::clear_description() {
2899 description_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2900 _has_bits_[0] &= ~0x00000004u;
2902 inline const std::string& DCCLFieldOptions::description()
const {
2904 return _internal_description();
2906 inline void DCCLFieldOptions::set_description(
const std::string& value) {
2907 _internal_set_description(value);
2910 inline std::string* DCCLFieldOptions::mutable_description() {
2912 return _internal_mutable_description();
2914 inline const std::string& DCCLFieldOptions::_internal_description()
const {
2915 return description_.Get();
2917 inline void DCCLFieldOptions::_internal_set_description(
const std::string& value) {
2918 _has_bits_[0] |= 0x00000004u;
2919 description_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
2921 inline void DCCLFieldOptions::set_description(std::string&& value) {
2922 _has_bits_[0] |= 0x00000004u;
2924 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
2927 inline void DCCLFieldOptions::set_description(
const char* value) {
2928 GOOGLE_DCHECK(value !=
nullptr);
2929 _has_bits_[0] |= 0x00000004u;
2930 description_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
2934 inline void DCCLFieldOptions::set_description(
const char* value,
2936 _has_bits_[0] |= 0x00000004u;
2937 description_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
2938 reinterpret_cast<const char*
>(value), size), GetArena());
2941 inline std::string* DCCLFieldOptions::_internal_mutable_description() {
2942 _has_bits_[0] |= 0x00000004u;
2943 return description_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2945 inline std::string* DCCLFieldOptions::release_description() {
2947 if (!_internal_has_description()) {
2950 _has_bits_[0] &= ~0x00000004u;
2951 return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2953 inline void DCCLFieldOptions::set_allocated_description(std::string* description) {
2954 if (description !=
nullptr) {
2955 _has_bits_[0] |= 0x00000004u;
2957 _has_bits_[0] &= ~0x00000004u;
2959 description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
2963 inline std::string* DCCLFieldOptions::unsafe_arena_release_description() {
2965 GOOGLE_DCHECK(GetArena() !=
nullptr);
2966 _has_bits_[0] &= ~0x00000004u;
2967 return description_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2970 inline void DCCLFieldOptions::unsafe_arena_set_allocated_description(
2971 std::string* description) {
2972 GOOGLE_DCHECK(GetArena() !=
nullptr);
2973 if (description !=
nullptr) {
2974 _has_bits_[0] |= 0x00000004u;
2976 _has_bits_[0] &= ~0x00000004u;
2978 description_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2979 description, GetArena());
2984 inline bool DCCLFieldOptions::_internal_has_units()
const {
2985 bool value = (_has_bits_[0] & 0x00000008u) != 0;
2986 PROTOBUF_ASSUME(!value || units_ !=
nullptr);
2989 inline bool DCCLFieldOptions::has_units()
const {
2990 return _internal_has_units();
2992 inline void DCCLFieldOptions::clear_units() {
2993 if (units_ !=
nullptr) units_->Clear();
2994 _has_bits_[0] &= ~0x00000008u;
2996 inline const ::dccl::DCCLFieldOptions_Units& DCCLFieldOptions::_internal_units()
const {
2997 const ::dccl::DCCLFieldOptions_Units* p = units_;
2998 return p !=
nullptr ? *p : *
reinterpret_cast<const ::dccl::DCCLFieldOptions_Units*
>(
2999 &::dccl::_DCCLFieldOptions_Units_default_instance_);
3001 inline const ::dccl::DCCLFieldOptions_Units& DCCLFieldOptions::units()
const {
3003 return _internal_units();
3005 inline void DCCLFieldOptions::unsafe_arena_set_allocated_units(
3006 ::dccl::DCCLFieldOptions_Units* units) {
3007 if (GetArena() ==
nullptr) {
3008 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(units_);
3012 _has_bits_[0] |= 0x00000008u;
3014 _has_bits_[0] &= ~0x00000008u;
3018 inline ::dccl::DCCLFieldOptions_Units* DCCLFieldOptions::release_units() {
3019 auto temp = unsafe_arena_release_units();
3020 if (GetArena() !=
nullptr) {
3021 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3025 inline ::dccl::DCCLFieldOptions_Units* DCCLFieldOptions::unsafe_arena_release_units() {
3027 _has_bits_[0] &= ~0x00000008u;
3028 ::dccl::DCCLFieldOptions_Units* temp = units_;
3032 inline ::dccl::DCCLFieldOptions_Units* DCCLFieldOptions::_internal_mutable_units() {
3033 _has_bits_[0] |= 0x00000008u;
3034 if (units_ ==
nullptr) {
3035 auto* p = CreateMaybeMessage<::dccl::DCCLFieldOptions_Units>(GetArena());
3040 inline ::dccl::DCCLFieldOptions_Units* DCCLFieldOptions::mutable_units() {
3042 return _internal_mutable_units();
3044 inline void DCCLFieldOptions::set_allocated_units(::dccl::DCCLFieldOptions_Units* units) {
3045 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
3046 if (message_arena ==
nullptr) {
3050 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3051 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(units);
3052 if (message_arena != submessage_arena) {
3053 units = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3054 message_arena, units, submessage_arena);
3056 _has_bits_[0] |= 0x00000008u;
3058 _has_bits_[0] &= ~0x00000008u;
3065 inline bool DCCLFieldOptions::_internal_has_dynamic_conditions()
const {
3066 bool value = (_has_bits_[0] & 0x00000010u) != 0;
3067 PROTOBUF_ASSUME(!value || dynamic_conditions_ !=
nullptr);
3070 inline bool DCCLFieldOptions::has_dynamic_conditions()
const {
3071 return _internal_has_dynamic_conditions();
3073 inline void DCCLFieldOptions::clear_dynamic_conditions() {
3074 if (dynamic_conditions_ !=
nullptr) dynamic_conditions_->Clear();
3075 _has_bits_[0] &= ~0x00000010u;
3077 inline const ::dccl::DCCLFieldOptions_Conditions& DCCLFieldOptions::_internal_dynamic_conditions()
const {
3078 const ::dccl::DCCLFieldOptions_Conditions* p = dynamic_conditions_;
3079 return p !=
nullptr ? *p : *
reinterpret_cast<const ::dccl::DCCLFieldOptions_Conditions*
>(
3080 &::dccl::_DCCLFieldOptions_Conditions_default_instance_);
3082 inline const ::dccl::DCCLFieldOptions_Conditions& DCCLFieldOptions::dynamic_conditions()
const {
3084 return _internal_dynamic_conditions();
3086 inline void DCCLFieldOptions::unsafe_arena_set_allocated_dynamic_conditions(
3087 ::dccl::DCCLFieldOptions_Conditions* dynamic_conditions) {
3088 if (GetArena() ==
nullptr) {
3089 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(dynamic_conditions_);
3091 dynamic_conditions_ = dynamic_conditions;
3092 if (dynamic_conditions) {
3093 _has_bits_[0] |= 0x00000010u;
3095 _has_bits_[0] &= ~0x00000010u;
3099 inline ::dccl::DCCLFieldOptions_Conditions* DCCLFieldOptions::release_dynamic_conditions() {
3100 auto temp = unsafe_arena_release_dynamic_conditions();
3101 if (GetArena() !=
nullptr) {
3102 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3106 inline ::dccl::DCCLFieldOptions_Conditions* DCCLFieldOptions::unsafe_arena_release_dynamic_conditions() {
3108 _has_bits_[0] &= ~0x00000010u;
3109 ::dccl::DCCLFieldOptions_Conditions* temp = dynamic_conditions_;
3110 dynamic_conditions_ =
nullptr;
3113 inline ::dccl::DCCLFieldOptions_Conditions* DCCLFieldOptions::_internal_mutable_dynamic_conditions() {
3114 _has_bits_[0] |= 0x00000010u;
3115 if (dynamic_conditions_ ==
nullptr) {
3116 auto* p = CreateMaybeMessage<::dccl::DCCLFieldOptions_Conditions>(GetArena());
3117 dynamic_conditions_ = p;
3119 return dynamic_conditions_;
3121 inline ::dccl::DCCLFieldOptions_Conditions* DCCLFieldOptions::mutable_dynamic_conditions() {
3123 return _internal_mutable_dynamic_conditions();
3125 inline void DCCLFieldOptions::set_allocated_dynamic_conditions(::dccl::DCCLFieldOptions_Conditions* dynamic_conditions) {
3126 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
3127 if (message_arena ==
nullptr) {
3128 delete dynamic_conditions_;
3130 if (dynamic_conditions) {
3131 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3132 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(dynamic_conditions);
3133 if (message_arena != submessage_arena) {
3134 dynamic_conditions = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3135 message_arena, dynamic_conditions, submessage_arena);
3137 _has_bits_[0] |= 0x00000010u;
3139 _has_bits_[0] &= ~0x00000010u;
3141 dynamic_conditions_ = dynamic_conditions;
3150 inline bool DCCLMessageOptions::_internal_has_id()
const {
3151 bool value = (_has_bits_[0] & 0x00000008u) != 0;
3154 inline bool DCCLMessageOptions::has_id()
const {
3155 return _internal_has_id();
3157 inline void DCCLMessageOptions::clear_id() {
3159 _has_bits_[0] &= ~0x00000008u;
3161 inline ::PROTOBUF_NAMESPACE_ID::int32 DCCLMessageOptions::_internal_id()
const {
3164 inline ::PROTOBUF_NAMESPACE_ID::int32 DCCLMessageOptions::id()
const {
3166 return _internal_id();
3168 inline void DCCLMessageOptions::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
3169 _has_bits_[0] |= 0x00000008u;
3172 inline void DCCLMessageOptions::set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
3173 _internal_set_id(value);
3178 inline bool DCCLMessageOptions::_internal_has_max_bytes()
const {
3179 bool value = (_has_bits_[0] & 0x00000010u) != 0;
3182 inline bool DCCLMessageOptions::has_max_bytes()
const {
3183 return _internal_has_max_bytes();
3185 inline void DCCLMessageOptions::clear_max_bytes() {
3187 _has_bits_[0] &= ~0x00000010u;
3189 inline ::PROTOBUF_NAMESPACE_ID::uint32 DCCLMessageOptions::_internal_max_bytes()
const {
3192 inline ::PROTOBUF_NAMESPACE_ID::uint32 DCCLMessageOptions::max_bytes()
const {
3194 return _internal_max_bytes();
3196 inline void DCCLMessageOptions::_internal_set_max_bytes(::PROTOBUF_NAMESPACE_ID::uint32 value) {
3197 _has_bits_[0] |= 0x00000010u;
3200 inline void DCCLMessageOptions::set_max_bytes(::PROTOBUF_NAMESPACE_ID::uint32 value) {
3201 _internal_set_max_bytes(value);
3206 inline bool DCCLMessageOptions::_internal_has_codec()
const {
3207 bool value = (_has_bits_[0] & 0x00000001u) != 0;
3210 inline bool DCCLMessageOptions::has_codec()
const {
3211 return _internal_has_codec();
3213 inline void DCCLMessageOptions::clear_codec() {
3214 codec_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
3215 _has_bits_[0] &= ~0x00000001u;
3217 inline const std::string& DCCLMessageOptions::codec()
const {
3219 return _internal_codec();
3221 inline void DCCLMessageOptions::set_codec(
const std::string& value) {
3222 _internal_set_codec(value);
3225 inline std::string* DCCLMessageOptions::mutable_codec() {
3227 return _internal_mutable_codec();
3229 inline const std::string& DCCLMessageOptions::_internal_codec()
const {
3230 return codec_.Get();
3232 inline void DCCLMessageOptions::_internal_set_codec(
const std::string& value) {
3233 _has_bits_[0] |= 0x00000001u;
3234 codec_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
3236 inline void DCCLMessageOptions::set_codec(std::string&& value) {
3237 _has_bits_[0] |= 0x00000001u;
3239 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
3242 inline void DCCLMessageOptions::set_codec(
const char* value) {
3243 GOOGLE_DCHECK(value !=
nullptr);
3244 _has_bits_[0] |= 0x00000001u;
3245 codec_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
3249 inline void DCCLMessageOptions::set_codec(
const char* value,
3251 _has_bits_[0] |= 0x00000001u;
3252 codec_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
3253 reinterpret_cast<const char*
>(value), size), GetArena());
3256 inline std::string* DCCLMessageOptions::_internal_mutable_codec() {
3257 _has_bits_[0] |= 0x00000001u;
3258 return codec_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
3260 inline std::string* DCCLMessageOptions::release_codec() {
3262 if (!_internal_has_codec()) {
3265 _has_bits_[0] &= ~0x00000001u;
3266 return codec_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
3268 inline void DCCLMessageOptions::set_allocated_codec(std::string* codec) {
3269 if (codec !=
nullptr) {
3270 _has_bits_[0] |= 0x00000001u;
3272 _has_bits_[0] &= ~0x00000001u;
3274 codec_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), codec,
3278 inline std::string* DCCLMessageOptions::unsafe_arena_release_codec() {
3280 GOOGLE_DCHECK(GetArena() !=
nullptr);
3281 _has_bits_[0] &= ~0x00000001u;
3282 return codec_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
3285 inline void DCCLMessageOptions::unsafe_arena_set_allocated_codec(
3286 std::string* codec) {
3287 GOOGLE_DCHECK(GetArena() !=
nullptr);
3288 if (codec !=
nullptr) {
3289 _has_bits_[0] |= 0x00000001u;
3291 _has_bits_[0] &= ~0x00000001u;
3293 codec_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
3299 inline bool DCCLMessageOptions::_internal_has_codec_group()
const {
3300 bool value = (_has_bits_[0] & 0x00000002u) != 0;
3303 inline bool DCCLMessageOptions::has_codec_group()
const {
3304 return _internal_has_codec_group();
3306 inline void DCCLMessageOptions::clear_codec_group() {
3307 codec_group_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
3308 _has_bits_[0] &= ~0x00000002u;
3310 inline const std::string& DCCLMessageOptions::codec_group()
const {
3312 return _internal_codec_group();
3314 inline void DCCLMessageOptions::set_codec_group(
const std::string& value) {
3315 _internal_set_codec_group(value);
3318 inline std::string* DCCLMessageOptions::mutable_codec_group() {
3320 return _internal_mutable_codec_group();
3322 inline const std::string& DCCLMessageOptions::_internal_codec_group()
const {
3323 return codec_group_.Get();
3325 inline void DCCLMessageOptions::_internal_set_codec_group(
const std::string& value) {
3326 _has_bits_[0] |= 0x00000002u;
3327 codec_group_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
3329 inline void DCCLMessageOptions::set_codec_group(std::string&& value) {
3330 _has_bits_[0] |= 0x00000002u;
3332 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
3335 inline void DCCLMessageOptions::set_codec_group(
const char* value) {
3336 GOOGLE_DCHECK(value !=
nullptr);
3337 _has_bits_[0] |= 0x00000002u;
3338 codec_group_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
3342 inline void DCCLMessageOptions::set_codec_group(
const char* value,
3344 _has_bits_[0] |= 0x00000002u;
3345 codec_group_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
3346 reinterpret_cast<const char*
>(value), size), GetArena());
3349 inline std::string* DCCLMessageOptions::_internal_mutable_codec_group() {
3350 _has_bits_[0] |= 0x00000002u;
3351 return codec_group_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
3353 inline std::string* DCCLMessageOptions::release_codec_group() {
3355 if (!_internal_has_codec_group()) {
3358 _has_bits_[0] &= ~0x00000002u;
3359 return codec_group_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
3361 inline void DCCLMessageOptions::set_allocated_codec_group(std::string* codec_group) {
3362 if (codec_group !=
nullptr) {
3363 _has_bits_[0] |= 0x00000002u;
3365 _has_bits_[0] &= ~0x00000002u;
3367 codec_group_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), codec_group,
3371 inline std::string* DCCLMessageOptions::unsafe_arena_release_codec_group() {
3373 GOOGLE_DCHECK(GetArena() !=
nullptr);
3374 _has_bits_[0] &= ~0x00000002u;
3375 return codec_group_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
3378 inline void DCCLMessageOptions::unsafe_arena_set_allocated_codec_group(
3379 std::string* codec_group) {
3380 GOOGLE_DCHECK(GetArena() !=
nullptr);
3381 if (codec_group !=
nullptr) {
3382 _has_bits_[0] |= 0x00000002u;
3384 _has_bits_[0] &= ~0x00000002u;
3386 codec_group_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
3387 codec_group, GetArena());
3392 inline bool DCCLMessageOptions::_internal_has_codec_version()
const {
3393 bool value = (_has_bits_[0] & 0x00000020u) != 0;
3396 inline bool DCCLMessageOptions::has_codec_version()
const {
3397 return _internal_has_codec_version();
3399 inline void DCCLMessageOptions::clear_codec_version() {
3401 _has_bits_[0] &= ~0x00000020u;
3403 inline ::PROTOBUF_NAMESPACE_ID::int32 DCCLMessageOptions::_internal_codec_version()
const {
3404 return codec_version_;
3406 inline ::PROTOBUF_NAMESPACE_ID::int32 DCCLMessageOptions::codec_version()
const {
3408 return _internal_codec_version();
3410 inline void DCCLMessageOptions::_internal_set_codec_version(::PROTOBUF_NAMESPACE_ID::int32 value) {
3411 _has_bits_[0] |= 0x00000020u;
3412 codec_version_ = value;
3414 inline void DCCLMessageOptions::set_codec_version(::PROTOBUF_NAMESPACE_ID::int32 value) {
3415 _internal_set_codec_version(value);
3420 inline bool DCCLMessageOptions::_internal_has_omit_id()
const {
3421 bool value = (_has_bits_[0] & 0x00000040u) != 0;
3424 inline bool DCCLMessageOptions::has_omit_id()
const {
3425 return _internal_has_omit_id();
3427 inline void DCCLMessageOptions::clear_omit_id() {
3429 _has_bits_[0] &= ~0x00000040u;
3431 inline bool DCCLMessageOptions::_internal_omit_id()
const {
3434 inline bool DCCLMessageOptions::omit_id()
const {
3436 return _internal_omit_id();
3438 inline void DCCLMessageOptions::_internal_set_omit_id(
bool value) {
3439 _has_bits_[0] |= 0x00000040u;
3442 inline void DCCLMessageOptions::set_omit_id(
bool value) {
3443 _internal_set_omit_id(value);
3448 inline bool DCCLMessageOptions::_internal_has_unit_system()
const {
3449 bool value = (_has_bits_[0] & 0x00000004u) != 0;
3452 inline bool DCCLMessageOptions::has_unit_system()
const {
3453 return _internal_has_unit_system();
3455 inline void DCCLMessageOptions::clear_unit_system() {
3456 unit_system_.ClearToDefault(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), GetArena());
3457 _has_bits_[0] &= ~0x00000004u;
3459 inline const std::string& DCCLMessageOptions::unit_system()
const {
3461 return _internal_unit_system();
3463 inline void DCCLMessageOptions::set_unit_system(
const std::string& value) {
3464 _internal_set_unit_system(value);
3467 inline std::string* DCCLMessageOptions::mutable_unit_system() {
3469 return _internal_mutable_unit_system();
3471 inline const std::string& DCCLMessageOptions::_internal_unit_system()
const {
3472 return unit_system_.Get();
3474 inline void DCCLMessageOptions::_internal_set_unit_system(
const std::string& value) {
3475 _has_bits_[0] |= 0x00000004u;
3476 unit_system_.Set(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), value, GetArena());
3478 inline void DCCLMessageOptions::set_unit_system(std::string&& value) {
3479 _has_bits_[0] |= 0x00000004u;
3481 &::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), ::std::move(value), GetArena());
3484 inline void DCCLMessageOptions::set_unit_system(
const char* value) {
3485 GOOGLE_DCHECK(value !=
nullptr);
3486 _has_bits_[0] |= 0x00000004u;
3487 unit_system_.Set(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), ::std::string(value),
3491 inline void DCCLMessageOptions::set_unit_system(
const char* value,
3493 _has_bits_[0] |= 0x00000004u;
3494 unit_system_.Set(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), ::std::string(
3495 reinterpret_cast<const char*
>(value), size), GetArena());
3498 inline std::string* DCCLMessageOptions::_internal_mutable_unit_system() {
3499 _has_bits_[0] |= 0x00000004u;
3500 return unit_system_.Mutable(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), GetArena());
3502 inline std::string* DCCLMessageOptions::release_unit_system() {
3504 if (!_internal_has_unit_system()) {
3507 _has_bits_[0] &= ~0x00000004u;
3508 return unit_system_.ReleaseNonDefault(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), GetArena());
3510 inline void DCCLMessageOptions::set_allocated_unit_system(std::string* unit_system) {
3511 if (unit_system !=
nullptr) {
3512 _has_bits_[0] |= 0x00000004u;
3514 _has_bits_[0] &= ~0x00000004u;
3516 unit_system_.SetAllocated(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(), unit_system,
3520 inline std::string* DCCLMessageOptions::unsafe_arena_release_unit_system() {
3522 GOOGLE_DCHECK(GetArena() !=
nullptr);
3523 _has_bits_[0] &= ~0x00000004u;
3524 return unit_system_.UnsafeArenaRelease(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(),
3527 inline void DCCLMessageOptions::unsafe_arena_set_allocated_unit_system(
3528 std::string* unit_system) {
3529 GOOGLE_DCHECK(GetArena() !=
nullptr);
3530 if (unit_system !=
nullptr) {
3531 _has_bits_[0] |= 0x00000004u;
3533 _has_bits_[0] &= ~0x00000004u;
3535 unit_system_.UnsafeArenaSetAllocated(&::dccl::DCCLMessageOptions::_i_give_permission_to_break_this_code_default_unit_system_.get(),
3536 unit_system, GetArena());
3541 #pragma GCC diagnostic pop
3556 #include <google/protobuf/port_undef.inc>
Dynamic Compact Control Language namespace.
google::protobuf::int32 int32
a signed 32 bit integer
google::protobuf::uint32 uint32
an unsigned 32 bit integer