DCCL v3
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_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto__INCLUDED
5 #define PROTOBUF_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
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 2006001 < 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/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/unknown_field_set.h>
27 #include "dccl/option_extensions.pb.h"
28 #include <boost/units/quantity.hpp>
29 #include <boost/units/absolute.hpp>
30 #include <boost/units/dimensionless_type.hpp>
31 #include <boost/units/make_scaled_unit.hpp>
32 // @@protoc_insertion_point(includes)
33 
34 // Internal implementation detail -- do not call these.
35 void protobuf_AddDesc_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto();
36 void protobuf_AssignDesc_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto();
37 void protobuf_ShutdownFile_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto();
38 
40 
41 // ===================================================================
42 
43 class LegacyCCLFieldOptions : public ::google::protobuf::Message {
44  public:
46  virtual ~LegacyCCLFieldOptions();
47 
49 
50  inline LegacyCCLFieldOptions& operator=(const LegacyCCLFieldOptions& from) {
51  CopyFrom(from);
52  return *this;
53  }
54 
55  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
56  return _unknown_fields_;
57  }
58 
59  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
60  return &_unknown_fields_;
61  }
62 
63  static const ::google::protobuf::Descriptor* descriptor();
64  static const LegacyCCLFieldOptions& default_instance();
65 
66  void Swap(LegacyCCLFieldOptions* other);
67 
68  // implements Message ----------------------------------------------
69 
70  LegacyCCLFieldOptions* New() const;
71  void CopyFrom(const ::google::protobuf::Message& from);
72  void MergeFrom(const ::google::protobuf::Message& from);
73  void CopyFrom(const LegacyCCLFieldOptions& from);
74  void MergeFrom(const LegacyCCLFieldOptions& from);
75  void Clear();
76  bool IsInitialized() const;
77 
78  int ByteSize() const;
79  bool MergePartialFromCodedStream(
80  ::google::protobuf::io::CodedInputStream* input);
81  void SerializeWithCachedSizes(
82  ::google::protobuf::io::CodedOutputStream* output) const;
83  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
84  int GetCachedSize() const { return _cached_size_; }
85  private:
86  void SharedCtor();
87  void SharedDtor();
88  void SetCachedSize(int size) const;
89  public:
90  ::google::protobuf::Metadata GetMetadata() const;
91 
92  // nested types ----------------------------------------------------
93 
94  // accessors -------------------------------------------------------
95 
96  // optional uint32 thrust_mode_tag = 1;
97  inline bool has_thrust_mode_tag() const;
98  inline void clear_thrust_mode_tag();
99  static const int kThrustModeTagFieldNumber = 1;
100  inline ::google::protobuf::uint32 thrust_mode_tag() const;
101  inline void set_thrust_mode_tag(::google::protobuf::uint32 value);
102 
103  // optional uint32 bit_size = 2;
104  inline bool has_bit_size() const;
105  inline void clear_bit_size();
106  static const int kBitSizeFieldNumber = 2;
107  inline ::google::protobuf::uint32 bit_size() const;
108  inline void set_bit_size(::google::protobuf::uint32 value);
109 
110  // @@protoc_insertion_point(class_scope:LegacyCCLFieldOptions)
111  private:
112  inline void set_has_thrust_mode_tag();
113  inline void clear_has_thrust_mode_tag();
114  inline void set_has_bit_size();
115  inline void clear_has_bit_size();
116 
117  ::google::protobuf::UnknownFieldSet _unknown_fields_;
118 
119  ::google::protobuf::uint32 _has_bits_[1];
120  mutable int _cached_size_;
121  ::google::protobuf::uint32 thrust_mode_tag_;
122  ::google::protobuf::uint32 bit_size_;
123  friend void protobuf_AddDesc_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto();
124  friend void protobuf_AssignDesc_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto();
125  friend void protobuf_ShutdownFile_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto();
126 
127  void InitAsDefaultInstance();
128  static LegacyCCLFieldOptions* default_instance_;
129 };
130 // ===================================================================
131 
132 static const int kCclFieldNumber = 1000;
133 extern ::google::protobuf::internal::ExtensionIdentifier< ::dccl::DCCLFieldOptions,
134  ::google::protobuf::internal::MessageTypeTraits< ::LegacyCCLFieldOptions >, 11, false >
135  ccl;
136 
137 // ===================================================================
138 
139 // LegacyCCLFieldOptions
140 
141 // optional uint32 thrust_mode_tag = 1;
142 inline bool LegacyCCLFieldOptions::has_thrust_mode_tag() const {
143  return (_has_bits_[0] & 0x00000001u) != 0;
144 }
145 inline void LegacyCCLFieldOptions::set_has_thrust_mode_tag() {
146  _has_bits_[0] |= 0x00000001u;
147 }
148 inline void LegacyCCLFieldOptions::clear_has_thrust_mode_tag() {
149  _has_bits_[0] &= ~0x00000001u;
150 }
151 inline void LegacyCCLFieldOptions::clear_thrust_mode_tag() {
152  thrust_mode_tag_ = 0u;
153  clear_has_thrust_mode_tag();
154 }
155 inline ::google::protobuf::uint32 LegacyCCLFieldOptions::thrust_mode_tag() const {
156  // @@protoc_insertion_point(field_get:LegacyCCLFieldOptions.thrust_mode_tag)
157  return thrust_mode_tag_;
158 }
159 inline void LegacyCCLFieldOptions::set_thrust_mode_tag(::google::protobuf::uint32 value) {
160  set_has_thrust_mode_tag();
161  thrust_mode_tag_ = value;
162  // @@protoc_insertion_point(field_set:LegacyCCLFieldOptions.thrust_mode_tag)
163 }
164 
165 // optional uint32 bit_size = 2;
166 inline bool LegacyCCLFieldOptions::has_bit_size() const {
167  return (_has_bits_[0] & 0x00000002u) != 0;
168 }
169 inline void LegacyCCLFieldOptions::set_has_bit_size() {
170  _has_bits_[0] |= 0x00000002u;
171 }
172 inline void LegacyCCLFieldOptions::clear_has_bit_size() {
173  _has_bits_[0] &= ~0x00000002u;
174 }
175 inline void LegacyCCLFieldOptions::clear_bit_size() {
176  bit_size_ = 0u;
177  clear_has_bit_size();
178 }
179 inline ::google::protobuf::uint32 LegacyCCLFieldOptions::bit_size() const {
180  // @@protoc_insertion_point(field_get:LegacyCCLFieldOptions.bit_size)
181  return bit_size_;
182 }
183 inline void LegacyCCLFieldOptions::set_bit_size(::google::protobuf::uint32 value) {
184  set_has_bit_size();
185  bit_size_ = value;
186  // @@protoc_insertion_point(field_set:LegacyCCLFieldOptions.bit_size)
187 }
188 
189 
190 // @@protoc_insertion_point(namespace_scope)
191 
192 #ifndef SWIG
193 namespace google {
194 namespace protobuf {
195 
196 
197 } // namespace google
198 } // namespace protobuf
199 #endif // SWIG
200 
201 // @@protoc_insertion_point(global_scope)
202 
203 #endif // PROTOBUF_dccl_2fccl_2fprotobuf_2fccl_5fextensions_2eproto__INCLUDED