4 #ifndef GOOGLE_PROTOBUF_INCLUDED_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_dccl_2fccl_2fprotobuf_2fccl_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 "dccl/option_extensions.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_2fccl_2fprotobuf_2fccl_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[1]
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_2fccl_2fprotobuf_2fccl_5fextensions_2eproto;
62 class LegacyCCLFieldOptions;
63 class LegacyCCLFieldOptionsDefaultTypeInternal;
64 extern LegacyCCLFieldOptionsDefaultTypeInternal _LegacyCCLFieldOptions_default_instance_;
65 PROTOBUF_NAMESPACE_OPEN
66 template<> ::LegacyCCLFieldOptions* Arena::CreateMaybeMessage<::LegacyCCLFieldOptions>(Arena*);
67 PROTOBUF_NAMESPACE_CLOSE
72 public ::PROTOBUF_NAMESPACE_ID::Message {
74 inline LegacyCCLFieldOptions() : LegacyCCLFieldOptions(nullptr) {};
75 virtual ~LegacyCCLFieldOptions();
77 LegacyCCLFieldOptions(
const LegacyCCLFieldOptions& from);
78 LegacyCCLFieldOptions(LegacyCCLFieldOptions&& from) noexcept
79 : LegacyCCLFieldOptions() {
80 *
this = ::std::move(from);
83 inline LegacyCCLFieldOptions& operator=(
const LegacyCCLFieldOptions& from) {
87 inline LegacyCCLFieldOptions& operator=(LegacyCCLFieldOptions&& from) noexcept {
88 if (GetArena() == from.GetArena()) {
89 if (
this != &from) InternalSwap(&from);
96 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
97 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
99 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
100 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
103 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
104 return GetDescriptor();
106 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
107 return GetMetadataStatic().descriptor;
109 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
110 return GetMetadataStatic().reflection;
112 static const LegacyCCLFieldOptions& default_instance();
114 static void InitAsDefaultInstance();
115 static inline const LegacyCCLFieldOptions* internal_default_instance() {
116 return reinterpret_cast<const LegacyCCLFieldOptions*
>(
117 &_LegacyCCLFieldOptions_default_instance_);
119 static constexpr
int kIndexInFileMessages =
122 friend void swap(LegacyCCLFieldOptions& a, LegacyCCLFieldOptions& b) {
125 inline void Swap(LegacyCCLFieldOptions* other) {
126 if (other ==
this)
return;
127 if (GetArena() == other->GetArena()) {
130 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
133 void UnsafeArenaSwap(LegacyCCLFieldOptions* other) {
134 if (other ==
this)
return;
135 GOOGLE_DCHECK(GetArena() == other->GetArena());
141 inline LegacyCCLFieldOptions* New() const final {
142 return CreateMaybeMessage<LegacyCCLFieldOptions>(
nullptr);
145 LegacyCCLFieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
146 return CreateMaybeMessage<LegacyCCLFieldOptions>(arena);
148 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
149 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
150 void CopyFrom(
const LegacyCCLFieldOptions& from);
151 void MergeFrom(
const LegacyCCLFieldOptions& from);
152 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
153 bool IsInitialized() const final;
155 size_t ByteSizeLong() const final;
156 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
157 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
158 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
159 int GetCachedSize() const final {
return _cached_size_.Get(); }
162 inline void SharedCtor();
163 inline void SharedDtor();
164 void SetCachedSize(
int size)
const final;
165 void InternalSwap(LegacyCCLFieldOptions* other);
166 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
167 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
168 return "LegacyCCLFieldOptions";
171 explicit LegacyCCLFieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
173 static void ArenaDtor(
void*
object);
174 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
177 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
179 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
180 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto);
181 return ::descriptor_table_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto.file_level_metadata[kIndexInFileMessages];
191 kThrustModeTagFieldNumber = 1,
192 kBitSizeFieldNumber = 2,
195 bool has_thrust_mode_tag()
const;
197 bool _internal_has_thrust_mode_tag()
const;
199 void clear_thrust_mode_tag();
200 ::PROTOBUF_NAMESPACE_ID::uint32 thrust_mode_tag()
const;
201 void set_thrust_mode_tag(::PROTOBUF_NAMESPACE_ID::uint32 value);
203 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_thrust_mode_tag()
const;
204 void _internal_set_thrust_mode_tag(::PROTOBUF_NAMESPACE_ID::uint32 value);
208 bool has_bit_size()
const;
210 bool _internal_has_bit_size()
const;
212 void clear_bit_size();
213 ::PROTOBUF_NAMESPACE_ID::uint32 bit_size()
const;
214 void set_bit_size(::PROTOBUF_NAMESPACE_ID::uint32 value);
216 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_bit_size()
const;
217 void _internal_set_bit_size(::PROTOBUF_NAMESPACE_ID::uint32 value);
224 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
225 typedef void InternalArenaConstructable_;
226 typedef void DestructorSkippable_;
227 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
228 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
229 ::PROTOBUF_NAMESPACE_ID::uint32 thrust_mode_tag_;
230 ::PROTOBUF_NAMESPACE_ID::uint32 bit_size_;
231 friend struct ::TableStruct_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto;
235 static const int kCclFieldNumber = 1000;
236 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::dccl::DCCLFieldOptions,
237 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::LegacyCCLFieldOptions >, 11,
false >
243 #pragma GCC diagnostic push
244 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
249 inline bool LegacyCCLFieldOptions::_internal_has_thrust_mode_tag()
const {
250 bool value = (_has_bits_[0] & 0x00000001u) != 0;
253 inline bool LegacyCCLFieldOptions::has_thrust_mode_tag()
const {
254 return _internal_has_thrust_mode_tag();
256 inline void LegacyCCLFieldOptions::clear_thrust_mode_tag() {
257 thrust_mode_tag_ = 0u;
258 _has_bits_[0] &= ~0x00000001u;
260 inline ::PROTOBUF_NAMESPACE_ID::uint32 LegacyCCLFieldOptions::_internal_thrust_mode_tag()
const {
261 return thrust_mode_tag_;
263 inline ::PROTOBUF_NAMESPACE_ID::uint32 LegacyCCLFieldOptions::thrust_mode_tag()
const {
265 return _internal_thrust_mode_tag();
267 inline void LegacyCCLFieldOptions::_internal_set_thrust_mode_tag(::PROTOBUF_NAMESPACE_ID::uint32 value) {
268 _has_bits_[0] |= 0x00000001u;
269 thrust_mode_tag_ = value;
271 inline void LegacyCCLFieldOptions::set_thrust_mode_tag(::PROTOBUF_NAMESPACE_ID::uint32 value) {
272 _internal_set_thrust_mode_tag(value);
277 inline bool LegacyCCLFieldOptions::_internal_has_bit_size()
const {
278 bool value = (_has_bits_[0] & 0x00000002u) != 0;
281 inline bool LegacyCCLFieldOptions::has_bit_size()
const {
282 return _internal_has_bit_size();
284 inline void LegacyCCLFieldOptions::clear_bit_size() {
286 _has_bits_[0] &= ~0x00000002u;
288 inline ::PROTOBUF_NAMESPACE_ID::uint32 LegacyCCLFieldOptions::_internal_bit_size()
const {
291 inline ::PROTOBUF_NAMESPACE_ID::uint32 LegacyCCLFieldOptions::bit_size()
const {
293 return _internal_bit_size();
295 inline void LegacyCCLFieldOptions::_internal_set_bit_size(::PROTOBUF_NAMESPACE_ID::uint32 value) {
296 _has_bits_[0] |= 0x00000002u;
299 inline void LegacyCCLFieldOptions::set_bit_size(::PROTOBUF_NAMESPACE_ID::uint32 value) {
300 _internal_set_bit_size(value);
305 #pragma GCC diagnostic pop
313 #include <google/protobuf/port_undef.inc>