DCCL v4
Loading...
Searching...
No Matches
ccl_extensions.pb.h
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: dccl/ccl/protobuf/ccl_extensions.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/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_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/unknown_field_set.h>
33#include "dccl/option_extensions.pb.h"
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
38// @@protoc_insertion_point(includes)
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
41PROTOBUF_NAMESPACE_OPEN
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
49 static const uint32_t offsets[];
50};
51extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto;
53struct LegacyCCLFieldOptionsDefaultTypeInternal;
54extern LegacyCCLFieldOptionsDefaultTypeInternal _LegacyCCLFieldOptions_default_instance_;
55PROTOBUF_NAMESPACE_OPEN
56template<> ::LegacyCCLFieldOptions* Arena::CreateMaybeMessage<::LegacyCCLFieldOptions>(Arena*);
57PROTOBUF_NAMESPACE_CLOSE
58
59// ===================================================================
60
62 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:LegacyCCLFieldOptions) */ {
63 public:
64 inline LegacyCCLFieldOptions() : LegacyCCLFieldOptions(nullptr) {}
65 ~LegacyCCLFieldOptions() override;
66 explicit PROTOBUF_CONSTEXPR LegacyCCLFieldOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
67
71 *this = ::std::move(from);
72 }
73
74 inline LegacyCCLFieldOptions& operator=(const LegacyCCLFieldOptions& from) {
75 CopyFrom(from);
76 return *this;
77 }
78 inline LegacyCCLFieldOptions& operator=(LegacyCCLFieldOptions&& from) noexcept {
79 if (this == &from) return *this;
80 if (GetOwningArena() == from.GetOwningArena()
81 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
82 && GetOwningArena() != nullptr
83 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
84 ) {
85 InternalSwap(&from);
86 } else {
87 CopyFrom(from);
88 }
89 return *this;
90 }
91
92 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
93 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
94 }
95 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
96 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
97 }
98
99 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
100 return GetDescriptor();
101 }
102 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
103 return default_instance().GetMetadata().descriptor;
104 }
105 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
106 return default_instance().GetMetadata().reflection;
107 }
108 static const LegacyCCLFieldOptions& default_instance() {
109 return *internal_default_instance();
110 }
111 static inline const LegacyCCLFieldOptions* internal_default_instance() {
112 return reinterpret_cast<const LegacyCCLFieldOptions*>(
113 &_LegacyCCLFieldOptions_default_instance_);
114 }
115 static constexpr int kIndexInFileMessages =
116 0;
117
118 friend void swap(LegacyCCLFieldOptions& a, LegacyCCLFieldOptions& b) {
119 a.Swap(&b);
120 }
121 inline void Swap(LegacyCCLFieldOptions* other) {
122 if (other == this) return;
123 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
124 if (GetOwningArena() != nullptr &&
125 GetOwningArena() == other->GetOwningArena()) {
126 #else // PROTOBUF_FORCE_COPY_IN_SWAP
127 if (GetOwningArena() == other->GetOwningArena()) {
128 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
129 InternalSwap(other);
130 } else {
131 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
132 }
133 }
134 void UnsafeArenaSwap(LegacyCCLFieldOptions* other) {
135 if (other == this) return;
136 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
137 InternalSwap(other);
138 }
139
140 // implements Message ----------------------------------------------
141
142 LegacyCCLFieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
143 return CreateMaybeMessage<LegacyCCLFieldOptions>(arena);
144 }
145 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
146 void CopyFrom(const LegacyCCLFieldOptions& from);
147 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
148 void MergeFrom( const LegacyCCLFieldOptions& from) {
149 LegacyCCLFieldOptions::MergeImpl(*this, from);
150 }
151 private:
152 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
153 public:
154 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
155 bool IsInitialized() const final;
156
157 size_t ByteSizeLong() const final;
158 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
159 uint8_t* _InternalSerialize(
160 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
161 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
162
163 private:
164 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
165 void SharedDtor();
166 void SetCachedSize(int size) const final;
167 void InternalSwap(LegacyCCLFieldOptions* other);
168
169 private:
170 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172 return "LegacyCCLFieldOptions";
173 }
174 protected:
175 explicit LegacyCCLFieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
176 bool is_message_owned = false);
177 public:
178
179 static const ClassData _class_data_;
180 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
181
182 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
183
184 // nested types ----------------------------------------------------
185
186 // accessors -------------------------------------------------------
187
188 enum : int {
189 kThrustModeTagFieldNumber = 1,
190 kBitSizeFieldNumber = 2,
191 };
192 // optional uint32 thrust_mode_tag = 1;
193 bool has_thrust_mode_tag() const;
194 private:
195 bool _internal_has_thrust_mode_tag() const;
196 public:
197 void clear_thrust_mode_tag();
198 uint32_t thrust_mode_tag() const;
199 void set_thrust_mode_tag(uint32_t value);
200 private:
201 uint32_t _internal_thrust_mode_tag() const;
202 void _internal_set_thrust_mode_tag(uint32_t value);
203 public:
204
205 // optional uint32 bit_size = 2;
206 bool has_bit_size() const;
207 private:
208 bool _internal_has_bit_size() const;
209 public:
210 void clear_bit_size();
211 uint32_t bit_size() const;
212 void set_bit_size(uint32_t value);
213 private:
214 uint32_t _internal_bit_size() const;
215 void _internal_set_bit_size(uint32_t value);
216 public:
217
218 // @@protoc_insertion_point(class_scope:LegacyCCLFieldOptions)
219 private:
220 class _Internal;
221
222 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
223 typedef void InternalArenaConstructable_;
224 typedef void DestructorSkippable_;
225 struct Impl_ {
226 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
227 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
228 uint32_t thrust_mode_tag_;
229 uint32_t bit_size_;
230 };
231 union { Impl_ _impl_; };
232 friend struct ::TableStruct_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto;
233};
234// ===================================================================
235
236static const int kCclFieldNumber = 1000;
237extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::dccl::DCCLFieldOptions,
238 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::LegacyCCLFieldOptions >, 11, false >
239 ccl;
240
241// ===================================================================
242
243#ifdef __GNUC__
244 #pragma GCC diagnostic push
245 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
246#endif // __GNUC__
247// LegacyCCLFieldOptions
248
249// optional uint32 thrust_mode_tag = 1;
250inline bool LegacyCCLFieldOptions::_internal_has_thrust_mode_tag() const {
251 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
252 return value;
253}
254inline bool LegacyCCLFieldOptions::has_thrust_mode_tag() const {
255 return _internal_has_thrust_mode_tag();
256}
257inline void LegacyCCLFieldOptions::clear_thrust_mode_tag() {
258 _impl_.thrust_mode_tag_ = 0u;
259 _impl_._has_bits_[0] &= ~0x00000001u;
260}
261inline uint32_t LegacyCCLFieldOptions::_internal_thrust_mode_tag() const {
262 return _impl_.thrust_mode_tag_;
263}
264inline uint32_t LegacyCCLFieldOptions::thrust_mode_tag() const {
265 // @@protoc_insertion_point(field_get:LegacyCCLFieldOptions.thrust_mode_tag)
266 return _internal_thrust_mode_tag();
267}
268inline void LegacyCCLFieldOptions::_internal_set_thrust_mode_tag(uint32_t value) {
269 _impl_._has_bits_[0] |= 0x00000001u;
270 _impl_.thrust_mode_tag_ = value;
271}
272inline void LegacyCCLFieldOptions::set_thrust_mode_tag(uint32_t value) {
273 _internal_set_thrust_mode_tag(value);
274 // @@protoc_insertion_point(field_set:LegacyCCLFieldOptions.thrust_mode_tag)
275}
276
277// optional uint32 bit_size = 2;
278inline bool LegacyCCLFieldOptions::_internal_has_bit_size() const {
279 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
280 return value;
281}
282inline bool LegacyCCLFieldOptions::has_bit_size() const {
283 return _internal_has_bit_size();
284}
285inline void LegacyCCLFieldOptions::clear_bit_size() {
286 _impl_.bit_size_ = 0u;
287 _impl_._has_bits_[0] &= ~0x00000002u;
288}
289inline uint32_t LegacyCCLFieldOptions::_internal_bit_size() const {
290 return _impl_.bit_size_;
291}
292inline uint32_t LegacyCCLFieldOptions::bit_size() const {
293 // @@protoc_insertion_point(field_get:LegacyCCLFieldOptions.bit_size)
294 return _internal_bit_size();
295}
296inline void LegacyCCLFieldOptions::_internal_set_bit_size(uint32_t value) {
297 _impl_._has_bits_[0] |= 0x00000002u;
298 _impl_.bit_size_ = value;
299}
300inline void LegacyCCLFieldOptions::set_bit_size(uint32_t value) {
301 _internal_set_bit_size(value);
302 // @@protoc_insertion_point(field_set:LegacyCCLFieldOptions.bit_size)
303}
304
305#ifdef __GNUC__
306 #pragma GCC diagnostic pop
307#endif // __GNUC__
308
309// @@protoc_insertion_point(namespace_scope)
310
311
312// @@protoc_insertion_point(global_scope)
313
314#include <google/protobuf/port_undef.inc>
315#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto