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 PROTOBUF_INCLUDED_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
5 #define PROTOBUF_INCLUDED_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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> // 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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
40 
41 namespace protobuf_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto {
42 // Internal implementation detail -- do not use these members.
43 struct TableStruct {
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[];
50 };
51 void AddDescriptors();
52 } // namespace protobuf_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
54 class LegacyCCLFieldOptionsDefaultTypeInternal;
55 extern LegacyCCLFieldOptionsDefaultTypeInternal _LegacyCCLFieldOptions_default_instance_;
56 namespace google {
57 namespace protobuf {
58 template<> ::LegacyCCLFieldOptions* Arena::CreateMaybeMessage<::LegacyCCLFieldOptions>(Arena*);
59 } // namespace protobuf
60 } // namespace google
61 
62 // ===================================================================
63 
64 class LegacyCCLFieldOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:LegacyCCLFieldOptions) */ {
65  public:
67  virtual ~LegacyCCLFieldOptions();
68 
70 
71  inline LegacyCCLFieldOptions& operator=(const LegacyCCLFieldOptions& from) {
72  CopyFrom(from);
73  return *this;
74  }
75  #if LANG_CXX11
78  *this = ::std::move(from);
79  }
80 
81  inline LegacyCCLFieldOptions& operator=(LegacyCCLFieldOptions&& from) noexcept {
82  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
83  if (this != &from) InternalSwap(&from);
84  } else {
85  CopyFrom(from);
86  }
87  return *this;
88  }
89  #endif
90  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
91  return _internal_metadata_.unknown_fields();
92  }
93  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
94  return _internal_metadata_.mutable_unknown_fields();
95  }
96 
97  static const ::google::protobuf::Descriptor* descriptor();
98  static const LegacyCCLFieldOptions& default_instance();
99 
100  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
101  static inline const LegacyCCLFieldOptions* internal_default_instance() {
102  return reinterpret_cast<const LegacyCCLFieldOptions*>(
103  &_LegacyCCLFieldOptions_default_instance_);
104  }
105  static constexpr int kIndexInFileMessages =
106  0;
107 
108  void Swap(LegacyCCLFieldOptions* other);
109  friend void swap(LegacyCCLFieldOptions& a, LegacyCCLFieldOptions& b) {
110  a.Swap(&b);
111  }
112 
113  // implements Message ----------------------------------------------
114 
115  inline LegacyCCLFieldOptions* New() const final {
116  return CreateMaybeMessage<LegacyCCLFieldOptions>(NULL);
117  }
118 
119  LegacyCCLFieldOptions* New(::google::protobuf::Arena* arena) const final {
120  return CreateMaybeMessage<LegacyCCLFieldOptions>(arena);
121  }
122  void CopyFrom(const ::google::protobuf::Message& from) final;
123  void MergeFrom(const ::google::protobuf::Message& from) final;
124  void CopyFrom(const LegacyCCLFieldOptions& from);
125  void MergeFrom(const LegacyCCLFieldOptions& from);
126  void Clear() final;
127  bool IsInitialized() const final;
128 
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(); }
137 
138  private:
139  void SharedCtor();
140  void SharedDtor();
141  void SetCachedSize(int size) const final;
142  void InternalSwap(LegacyCCLFieldOptions* other);
143  private:
144  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
145  return NULL;
146  }
147  inline void* MaybeArenaPtr() const {
148  return NULL;
149  }
150  public:
151 
152  ::google::protobuf::Metadata GetMetadata() const final;
153 
154  // nested types ----------------------------------------------------
155 
156  // accessors -------------------------------------------------------
157 
158  // optional uint32 thrust_mode_tag = 1;
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);
164 
165  // optional uint32 bit_size = 2;
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);
171 
172  // @@protoc_insertion_point(class_scope:LegacyCCLFieldOptions)
173  private:
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();
178 
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;
185 };
186 // ===================================================================
187 
188 static const int kCclFieldNumber = 1000;
189 extern ::google::protobuf::internal::ExtensionIdentifier< ::dccl::DCCLFieldOptions,
190  ::google::protobuf::internal::MessageTypeTraits< ::LegacyCCLFieldOptions >, 11, false >
191  ccl;
192 
193 // ===================================================================
194 
195 #ifdef __GNUC__
196  #pragma GCC diagnostic push
197  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
198 #endif // __GNUC__
199 // LegacyCCLFieldOptions
200 
201 // optional uint32 thrust_mode_tag = 1;
202 inline bool LegacyCCLFieldOptions::has_thrust_mode_tag() const {
203  return (_has_bits_[0] & 0x00000001u) != 0;
204 }
205 inline void LegacyCCLFieldOptions::set_has_thrust_mode_tag() {
206  _has_bits_[0] |= 0x00000001u;
207 }
208 inline void LegacyCCLFieldOptions::clear_has_thrust_mode_tag() {
209  _has_bits_[0] &= ~0x00000001u;
210 }
211 inline void LegacyCCLFieldOptions::clear_thrust_mode_tag() {
212  thrust_mode_tag_ = 0u;
213  clear_has_thrust_mode_tag();
214 }
215 inline ::google::protobuf::uint32 LegacyCCLFieldOptions::thrust_mode_tag() const {
216  // @@protoc_insertion_point(field_get:LegacyCCLFieldOptions.thrust_mode_tag)
217  return thrust_mode_tag_;
218 }
219 inline void LegacyCCLFieldOptions::set_thrust_mode_tag(::google::protobuf::uint32 value) {
220  set_has_thrust_mode_tag();
221  thrust_mode_tag_ = value;
222  // @@protoc_insertion_point(field_set:LegacyCCLFieldOptions.thrust_mode_tag)
223 }
224 
225 // optional uint32 bit_size = 2;
226 inline bool LegacyCCLFieldOptions::has_bit_size() const {
227  return (_has_bits_[0] & 0x00000002u) != 0;
228 }
229 inline void LegacyCCLFieldOptions::set_has_bit_size() {
230  _has_bits_[0] |= 0x00000002u;
231 }
232 inline void LegacyCCLFieldOptions::clear_has_bit_size() {
233  _has_bits_[0] &= ~0x00000002u;
234 }
235 inline void LegacyCCLFieldOptions::clear_bit_size() {
236  bit_size_ = 0u;
237  clear_has_bit_size();
238 }
239 inline ::google::protobuf::uint32 LegacyCCLFieldOptions::bit_size() const {
240  // @@protoc_insertion_point(field_get:LegacyCCLFieldOptions.bit_size)
241  return bit_size_;
242 }
243 inline void LegacyCCLFieldOptions::set_bit_size(::google::protobuf::uint32 value) {
244  set_has_bit_size();
245  bit_size_ = value;
246  // @@protoc_insertion_point(field_set:LegacyCCLFieldOptions.bit_size)
247 }
248 
249 #ifdef __GNUC__
250  #pragma GCC diagnostic pop
251 #endif // __GNUC__
252 
253 // @@protoc_insertion_point(namespace_scope)
254 
255 
256 // @@protoc_insertion_point(global_scope)
257 
258 #endif // PROTOBUF_INCLUDED_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto
LegacyCCLFieldOptions
Definition: ccl_extensions.pb.h:64
dccl::DCCLFieldOptions
Definition: option_extensions.pb.h:476
protobuf_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto::TableStruct
Definition: ccl_extensions.pb.h:43