4 #ifndef PROTOBUF_INCLUDED_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
5 #define PROTOBUF_INCLUDED_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/unknown_field_set.h>
33 #include "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>
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
41 namespace protobuf_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto {
44 static const ::google::protobuf::internal::ParseTableField entries[];
45 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
46 static const ::google::protobuf::internal::ParseTable schema[1];
47 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
48 static const ::google::protobuf::internal::SerializationTable serialization_table[];
49 static const ::google::protobuf::uint32 offsets[];
51 void AddDescriptors();
54 class LegacyCCLFieldOptionsDefaultTypeInternal;
55 extern LegacyCCLFieldOptionsDefaultTypeInternal _LegacyCCLFieldOptions_default_instance_;
78 *
this = ::std::move(from);
82 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
83 if (
this != &from) InternalSwap(&from);
90 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
91 return _internal_metadata_.unknown_fields();
93 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
94 return _internal_metadata_.mutable_unknown_fields();
97 static const ::google::protobuf::Descriptor* descriptor();
100 static void InitAsDefaultInstance();
103 &_LegacyCCLFieldOptions_default_instance_);
105 static constexpr
int kIndexInFileMessages =
116 return CreateMaybeMessage<LegacyCCLFieldOptions>(NULL);
120 return CreateMaybeMessage<LegacyCCLFieldOptions>(arena);
122 void CopyFrom(const ::google::protobuf::Message& from)
final;
123 void MergeFrom(const ::google::protobuf::Message& from)
final;
127 bool IsInitialized()
const final;
129 size_t ByteSizeLong()
const final;
130 bool MergePartialFromCodedStream(
131 ::google::protobuf::io::CodedInputStream* input)
final;
132 void SerializeWithCachedSizes(
133 ::google::protobuf::io::CodedOutputStream* output)
const final;
134 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
135 bool deterministic, ::google::protobuf::uint8* target)
const final;
136 int GetCachedSize()
const final {
return _cached_size_.Get(); }
141 void SetCachedSize(
int size)
const final;
144 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
147 inline void* MaybeArenaPtr()
const {
152 ::google::protobuf::Metadata GetMetadata()
const final;
159 bool has_thrust_mode_tag()
const;
160 void clear_thrust_mode_tag();
161 static const int kThrustModeTagFieldNumber = 1;
162 ::google::protobuf::uint32 thrust_mode_tag()
const;
163 void set_thrust_mode_tag(::google::protobuf::uint32 value);
166 bool has_bit_size()
const;
167 void clear_bit_size();
168 static const int kBitSizeFieldNumber = 2;
169 ::google::protobuf::uint32 bit_size()
const;
170 void set_bit_size(::google::protobuf::uint32 value);
174 void set_has_thrust_mode_tag();
175 void clear_has_thrust_mode_tag();
176 void set_has_bit_size();
177 void clear_has_bit_size();
179 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
180 ::google::protobuf::internal::HasBits<1> _has_bits_;
181 mutable ::google::protobuf::internal::CachedSize _cached_size_;
182 ::google::protobuf::uint32 thrust_mode_tag_;
183 ::google::protobuf::uint32 bit_size_;
184 friend struct ::protobuf_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto::TableStruct;
188 static const int kCclFieldNumber = 1000;
190 ::google::protobuf::internal::MessageTypeTraits< ::LegacyCCLFieldOptions >, 11,
false >
196 #pragma GCC diagnostic push
197 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
202 inline bool LegacyCCLFieldOptions::has_thrust_mode_tag()
const {
203 return (_has_bits_[0] & 0x00000001u) != 0;
205 inline void LegacyCCLFieldOptions::set_has_thrust_mode_tag() {
206 _has_bits_[0] |= 0x00000001u;
208 inline void LegacyCCLFieldOptions::clear_has_thrust_mode_tag() {
209 _has_bits_[0] &= ~0x00000001u;
211 inline void LegacyCCLFieldOptions::clear_thrust_mode_tag() {
212 thrust_mode_tag_ = 0u;
213 clear_has_thrust_mode_tag();
215 inline ::google::protobuf::uint32 LegacyCCLFieldOptions::thrust_mode_tag()
const {
217 return thrust_mode_tag_;
219 inline void LegacyCCLFieldOptions::set_thrust_mode_tag(::google::protobuf::uint32 value) {
220 set_has_thrust_mode_tag();
221 thrust_mode_tag_ = value;
226 inline bool LegacyCCLFieldOptions::has_bit_size()
const {
227 return (_has_bits_[0] & 0x00000002u) != 0;
229 inline void LegacyCCLFieldOptions::set_has_bit_size() {
230 _has_bits_[0] |= 0x00000002u;
232 inline void LegacyCCLFieldOptions::clear_has_bit_size() {
233 _has_bits_[0] &= ~0x00000002u;
235 inline void LegacyCCLFieldOptions::clear_bit_size() {
237 clear_has_bit_size();
239 inline ::google::protobuf::uint32 LegacyCCLFieldOptions::bit_size()
const {
243 inline void LegacyCCLFieldOptions::set_bit_size(::google::protobuf::uint32 value) {
250 #pragma GCC diagnostic pop
258 #endif // PROTOBUF_INCLUDED_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto