DCCL v4
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 < 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
14 #error your headers.
15 #endif
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.
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_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> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
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>
40 // @@protoc_insertion_point(includes)
41 #include <google/protobuf/port_def.inc>
42 #define PROTOBUF_INTERNAL_EXPORT_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
43 PROTOBUF_NAMESPACE_OPEN
44 namespace internal {
45 class AnyMetadata;
46 } // namespace internal
47 PROTOBUF_NAMESPACE_CLOSE
48 
49 // Internal implementation detail -- do not use these members.
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[];
60 };
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
68 
69 // ===================================================================
70 
71 class LegacyCCLFieldOptions PROTOBUF_FINAL :
72  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:LegacyCCLFieldOptions) */ {
73  public:
74  inline LegacyCCLFieldOptions() : LegacyCCLFieldOptions(nullptr) {};
75  virtual ~LegacyCCLFieldOptions();
76 
77  LegacyCCLFieldOptions(const LegacyCCLFieldOptions& from);
78  LegacyCCLFieldOptions(LegacyCCLFieldOptions&& from) noexcept
79  : LegacyCCLFieldOptions() {
80  *this = ::std::move(from);
81  }
82 
83  inline LegacyCCLFieldOptions& operator=(const LegacyCCLFieldOptions& from) {
84  CopyFrom(from);
85  return *this;
86  }
87  inline LegacyCCLFieldOptions& operator=(LegacyCCLFieldOptions&& from) noexcept {
88  if (GetArena() == from.GetArena()) {
89  if (this != &from) InternalSwap(&from);
90  } else {
91  CopyFrom(from);
92  }
93  return *this;
94  }
95 
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);
98  }
99  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
100  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
101  }
102 
103  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
104  return GetDescriptor();
105  }
106  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
107  return GetMetadataStatic().descriptor;
108  }
109  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
110  return GetMetadataStatic().reflection;
111  }
112  static const LegacyCCLFieldOptions& default_instance();
113 
114  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
115  static inline const LegacyCCLFieldOptions* internal_default_instance() {
116  return reinterpret_cast<const LegacyCCLFieldOptions*>(
117  &_LegacyCCLFieldOptions_default_instance_);
118  }
119  static constexpr int kIndexInFileMessages =
120  0;
121 
122  friend void swap(LegacyCCLFieldOptions& a, LegacyCCLFieldOptions& b) {
123  a.Swap(&b);
124  }
125  inline void Swap(LegacyCCLFieldOptions* other) {
126  if (other == this) return;
127  if (GetArena() == other->GetArena()) {
128  InternalSwap(other);
129  } else {
130  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
131  }
132  }
133  void UnsafeArenaSwap(LegacyCCLFieldOptions* other) {
134  if (other == this) return;
135  GOOGLE_DCHECK(GetArena() == other->GetArena());
136  InternalSwap(other);
137  }
138 
139  // implements Message ----------------------------------------------
140 
141  inline LegacyCCLFieldOptions* New() const final {
142  return CreateMaybeMessage<LegacyCCLFieldOptions>(nullptr);
143  }
144 
145  LegacyCCLFieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
146  return CreateMaybeMessage<LegacyCCLFieldOptions>(arena);
147  }
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;
154 
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(); }
160 
161  private:
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";
169  }
170  protected:
171  explicit LegacyCCLFieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
172  private:
173  static void ArenaDtor(void* object);
174  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
175  public:
176 
177  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
178  private:
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];
182  }
183 
184  public:
185 
186  // nested types ----------------------------------------------------
187 
188  // accessors -------------------------------------------------------
189 
190  enum : int {
191  kThrustModeTagFieldNumber = 1,
192  kBitSizeFieldNumber = 2,
193  };
194  // optional uint32 thrust_mode_tag = 1;
195  bool has_thrust_mode_tag() const;
196  private:
197  bool _internal_has_thrust_mode_tag() const;
198  public:
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);
202  private:
203  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_thrust_mode_tag() const;
204  void _internal_set_thrust_mode_tag(::PROTOBUF_NAMESPACE_ID::uint32 value);
205  public:
206 
207  // optional uint32 bit_size = 2;
208  bool has_bit_size() const;
209  private:
210  bool _internal_has_bit_size() const;
211  public:
212  void clear_bit_size();
213  ::PROTOBUF_NAMESPACE_ID::uint32 bit_size() const;
214  void set_bit_size(::PROTOBUF_NAMESPACE_ID::uint32 value);
215  private:
216  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_bit_size() const;
217  void _internal_set_bit_size(::PROTOBUF_NAMESPACE_ID::uint32 value);
218  public:
219 
220  // @@protoc_insertion_point(class_scope:LegacyCCLFieldOptions)
221  private:
222  class _Internal;
223 
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;
232 };
233 // ===================================================================
234 
235 static const int kCclFieldNumber = 1000;
236 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::dccl::DCCLFieldOptions,
237  ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::LegacyCCLFieldOptions >, 11, false >
238  ccl;
239 
240 // ===================================================================
241 
242 #ifdef __GNUC__
243  #pragma GCC diagnostic push
244  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
245 #endif // __GNUC__
246 // LegacyCCLFieldOptions
247 
248 // optional uint32 thrust_mode_tag = 1;
249 inline bool LegacyCCLFieldOptions::_internal_has_thrust_mode_tag() const {
250  bool value = (_has_bits_[0] & 0x00000001u) != 0;
251  return value;
252 }
253 inline bool LegacyCCLFieldOptions::has_thrust_mode_tag() const {
254  return _internal_has_thrust_mode_tag();
255 }
256 inline void LegacyCCLFieldOptions::clear_thrust_mode_tag() {
257  thrust_mode_tag_ = 0u;
258  _has_bits_[0] &= ~0x00000001u;
259 }
260 inline ::PROTOBUF_NAMESPACE_ID::uint32 LegacyCCLFieldOptions::_internal_thrust_mode_tag() const {
261  return thrust_mode_tag_;
262 }
263 inline ::PROTOBUF_NAMESPACE_ID::uint32 LegacyCCLFieldOptions::thrust_mode_tag() const {
264  // @@protoc_insertion_point(field_get:LegacyCCLFieldOptions.thrust_mode_tag)
265  return _internal_thrust_mode_tag();
266 }
267 inline void LegacyCCLFieldOptions::_internal_set_thrust_mode_tag(::PROTOBUF_NAMESPACE_ID::uint32 value) {
268  _has_bits_[0] |= 0x00000001u;
269  thrust_mode_tag_ = value;
270 }
271 inline void LegacyCCLFieldOptions::set_thrust_mode_tag(::PROTOBUF_NAMESPACE_ID::uint32 value) {
272  _internal_set_thrust_mode_tag(value);
273  // @@protoc_insertion_point(field_set:LegacyCCLFieldOptions.thrust_mode_tag)
274 }
275 
276 // optional uint32 bit_size = 2;
277 inline bool LegacyCCLFieldOptions::_internal_has_bit_size() const {
278  bool value = (_has_bits_[0] & 0x00000002u) != 0;
279  return value;
280 }
281 inline bool LegacyCCLFieldOptions::has_bit_size() const {
282  return _internal_has_bit_size();
283 }
284 inline void LegacyCCLFieldOptions::clear_bit_size() {
285  bit_size_ = 0u;
286  _has_bits_[0] &= ~0x00000002u;
287 }
288 inline ::PROTOBUF_NAMESPACE_ID::uint32 LegacyCCLFieldOptions::_internal_bit_size() const {
289  return bit_size_;
290 }
291 inline ::PROTOBUF_NAMESPACE_ID::uint32 LegacyCCLFieldOptions::bit_size() const {
292  // @@protoc_insertion_point(field_get:LegacyCCLFieldOptions.bit_size)
293  return _internal_bit_size();
294 }
295 inline void LegacyCCLFieldOptions::_internal_set_bit_size(::PROTOBUF_NAMESPACE_ID::uint32 value) {
296  _has_bits_[0] |= 0x00000002u;
297  bit_size_ = value;
298 }
299 inline void LegacyCCLFieldOptions::set_bit_size(::PROTOBUF_NAMESPACE_ID::uint32 value) {
300  _internal_set_bit_size(value);
301  // @@protoc_insertion_point(field_set:LegacyCCLFieldOptions.bit_size)
302 }
303 
304 #ifdef __GNUC__
305  #pragma GCC diagnostic pop
306 #endif // __GNUC__
307 
308 // @@protoc_insertion_point(namespace_scope)
309 
310 
311 // @@protoc_insertion_point(global_scope)
312 
313 #include <google/protobuf/port_undef.inc>
314 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto