Goby3  3.1.5a
2024.05.23
transporter_config.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/middleware/protobuf/transporter_config.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_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>
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"
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
39 // @@protoc_insertion_point(includes)
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto
41 
43 // Internal implementation detail -- do not use these members.
44 struct TableStruct {
45  static const ::google::protobuf::internal::ParseTableField entries[];
46  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
47  static const ::google::protobuf::internal::ParseTable schema[1];
48  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
49  static const ::google::protobuf::internal::SerializationTable serialization_table[];
51 };
52 void AddDescriptors();
53 } // namespace protobuf_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto
54 namespace goby {
55 namespace middleware {
56 namespace protobuf {
57 class TransporterConfig;
58 class TransporterConfigDefaultTypeInternal;
59 extern TransporterConfigDefaultTypeInternal _TransporterConfig_default_instance_;
60 } // namespace protobuf
61 } // namespace middleware
62 } // namespace goby
63 namespace google {
64 namespace protobuf {
65 template<> ::goby::middleware::protobuf::TransporterConfig* Arena::CreateMaybeMessage<::goby::middleware::protobuf::TransporterConfig>(Arena*);
66 } // namespace protobuf
67 } // namespace google
68 namespace goby {
69 namespace middleware {
70 namespace protobuf {
71 
72 // ===================================================================
73 
74 class TransporterConfig : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.TransporterConfig) */ {
75  public:
77  virtual ~TransporterConfig();
78 
80 
82  CopyFrom(from);
83  return *this;
84  }
85  #if LANG_CXX11
86  TransporterConfig(TransporterConfig&& from) noexcept
87  : TransporterConfig() {
88  *this = ::std::move(from);
89  }
90 
91  inline TransporterConfig& operator=(TransporterConfig&& from) noexcept {
92  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
93  if (this != &from) InternalSwap(&from);
94  } else {
95  CopyFrom(from);
96  }
97  return *this;
98  }
99  #endif
100  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
101  return _internal_metadata_.unknown_fields();
102  }
103  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
104  return _internal_metadata_.mutable_unknown_fields();
105  }
106 
107  static const ::google::protobuf::Descriptor* descriptor();
108  static const TransporterConfig& default_instance();
109 
110  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
112  return reinterpret_cast<const TransporterConfig*>(
114  }
115  static constexpr int kIndexInFileMessages =
116  0;
117 
118  void Swap(TransporterConfig* other);
120  a.Swap(&b);
121  }
122 
123  // implements Message ----------------------------------------------
124 
125  inline TransporterConfig* New() const final {
126  return CreateMaybeMessage<TransporterConfig>(NULL);
127  }
128 
130  return CreateMaybeMessage<TransporterConfig>(arena);
131  }
132  void CopyFrom(const ::google::protobuf::Message& from) final;
133  void MergeFrom(const ::google::protobuf::Message& from) final;
134  void CopyFrom(const TransporterConfig& from);
135  void MergeFrom(const TransporterConfig& from);
136  void Clear() final;
137  bool IsInitialized() const final;
138 
139  size_t ByteSizeLong() const final;
141  ::google::protobuf::io::CodedInputStream* input) final;
143  ::google::protobuf::io::CodedOutputStream* output) const final;
145  bool deterministic, ::google::protobuf::uint8* target) const final;
146  int GetCachedSize() const final { return _cached_size_.Get(); }
147 
148  private:
149  void SharedCtor();
150  void SharedDtor();
151  void SetCachedSize(int size) const final;
152  void InternalSwap(TransporterConfig* other);
153  private:
154  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
155  return NULL;
156  }
157  inline void* MaybeArenaPtr() const {
158  return NULL;
159  }
160  public:
161 
163 
164  // nested types ----------------------------------------------------
165 
166  // accessors -------------------------------------------------------
167 
168  // optional .goby.middleware.intervehicle.protobuf.TransporterConfig intervehicle = 10;
169  bool has_intervehicle() const;
170  void clear_intervehicle();
171  static const int kIntervehicleFieldNumber = 10;
172  private:
173  const ::goby::middleware::intervehicle::protobuf::TransporterConfig& _internal_intervehicle() const;
174  public:
175  const ::goby::middleware::intervehicle::protobuf::TransporterConfig& intervehicle() const;
176  ::goby::middleware::intervehicle::protobuf::TransporterConfig* release_intervehicle();
177  ::goby::middleware::intervehicle::protobuf::TransporterConfig* mutable_intervehicle();
179 
180  // optional bool echo = 1 [default = false];
181  bool has_echo() const;
182  void clear_echo();
183  static const int kEchoFieldNumber = 1;
184  bool echo() const;
185  void set_echo(bool value);
186 
187  // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.TransporterConfig)
188  private:
189  void set_has_echo();
190  void clear_has_echo();
191  void set_has_intervehicle();
192  void clear_has_intervehicle();
193 
194  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
195  ::google::protobuf::internal::HasBits<1> _has_bits_;
196  mutable ::google::protobuf::internal::CachedSize _cached_size_;
197  ::goby::middleware::intervehicle::protobuf::TransporterConfig* intervehicle_;
198  bool echo_;
200 };
201 // ===================================================================
202 
203 
204 // ===================================================================
205 
206 #ifdef __GNUC__
207  #pragma GCC diagnostic push
208  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
209 #endif // __GNUC__
210 // TransporterConfig
211 
212 // optional bool echo = 1 [default = false];
213 inline bool TransporterConfig::has_echo() const {
214  return (_has_bits_[0] & 0x00000002u) != 0;
215 }
216 inline void TransporterConfig::set_has_echo() {
217  _has_bits_[0] |= 0x00000002u;
218 }
219 inline void TransporterConfig::clear_has_echo() {
220  _has_bits_[0] &= ~0x00000002u;
221 }
223  echo_ = false;
224  clear_has_echo();
225 }
226 inline bool TransporterConfig::echo() const {
227  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.TransporterConfig.echo)
228  return echo_;
229 }
230 inline void TransporterConfig::set_echo(bool value) {
231  set_has_echo();
232  echo_ = value;
233  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.TransporterConfig.echo)
234 }
235 
236 // optional .goby.middleware.intervehicle.protobuf.TransporterConfig intervehicle = 10;
238  return (_has_bits_[0] & 0x00000001u) != 0;
239 }
240 inline void TransporterConfig::set_has_intervehicle() {
241  _has_bits_[0] |= 0x00000001u;
242 }
243 inline void TransporterConfig::clear_has_intervehicle() {
244  _has_bits_[0] &= ~0x00000001u;
245 }
246 inline const ::goby::middleware::intervehicle::protobuf::TransporterConfig& TransporterConfig::_internal_intervehicle() const {
247  return *intervehicle_;
248 }
249 inline const ::goby::middleware::intervehicle::protobuf::TransporterConfig& TransporterConfig::intervehicle() const {
250  const ::goby::middleware::intervehicle::protobuf::TransporterConfig* p = intervehicle_;
251  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.TransporterConfig.intervehicle)
252  return p != NULL ? *p : *reinterpret_cast<const ::goby::middleware::intervehicle::protobuf::TransporterConfig*>(
254 }
255 inline ::goby::middleware::intervehicle::protobuf::TransporterConfig* TransporterConfig::release_intervehicle() {
256  // @@protoc_insertion_point(field_release:goby.middleware.protobuf.TransporterConfig.intervehicle)
257  clear_has_intervehicle();
259  intervehicle_ = NULL;
260  return temp;
261 }
262 inline ::goby::middleware::intervehicle::protobuf::TransporterConfig* TransporterConfig::mutable_intervehicle() {
263  set_has_intervehicle();
264  if (intervehicle_ == NULL) {
265  auto* p = CreateMaybeMessage<::goby::middleware::intervehicle::protobuf::TransporterConfig>(GetArenaNoVirtual());
266  intervehicle_ = p;
267  }
268  // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.TransporterConfig.intervehicle)
269  return intervehicle_;
270 }
272  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
273  if (message_arena == NULL) {
274  delete reinterpret_cast< ::google::protobuf::MessageLite*>(intervehicle_);
275  }
276  if (intervehicle) {
277  ::google::protobuf::Arena* submessage_arena = NULL;
278  if (message_arena != submessage_arena) {
279  intervehicle = ::google::protobuf::internal::GetOwnedMessage(
280  message_arena, intervehicle, submessage_arena);
281  }
282  set_has_intervehicle();
283  } else {
284  clear_has_intervehicle();
285  }
286  intervehicle_ = intervehicle;
287  // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.TransporterConfig.intervehicle)
288 }
289 
290 #ifdef __GNUC__
291  #pragma GCC diagnostic pop
292 #endif // __GNUC__
293 
294 // @@protoc_insertion_point(namespace_scope)
295 
296 } // namespace protobuf
297 } // namespace middleware
298 } // namespace goby
299 
300 // @@protoc_insertion_point(global_scope)
301 
302 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto
goby::middleware::intervehicle::protobuf::TransporterConfig
Definition: intervehicle_transporter_config.pb.h:77
goby::middleware::protobuf::TransporterConfig::set_allocated_intervehicle
void set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::TransporterConfig *intervehicle)
Definition: transporter_config.pb.h:271
protobuf_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: transporter_config.pb.h:45
goby::middleware::protobuf::_TransporterConfig_default_instance_
TransporterConfigDefaultTypeInternal _TransporterConfig_default_instance_
goby::middleware::protobuf::TransporterConfig::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::middleware::protobuf::TransporterConfig::Swap
void Swap(TransporterConfig *other)
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::middleware::protobuf::TransporterConfig::kEchoFieldNumber
static const int kEchoFieldNumber
Definition: transporter_config.pb.h:183
goby::middleware::protobuf::TransporterConfig::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::middleware::protobuf::TransporterConfig::descriptor
static const ::google::protobuf::Descriptor * descriptor()
google::protobuf::MessageLite
Definition: message_lite.h:164
goby::middleware::protobuf::TransporterConfig::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::middleware::protobuf::TransporterConfig::~TransporterConfig
virtual ~TransporterConfig()
goby::middleware::protobuf::TransporterConfig::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: transporter_config.pb.h:100
goby::middleware::protobuf::TransporterConfig::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::middleware::protobuf::TransporterConfig::default_instance
static const TransporterConfig & default_instance()
google::protobuf::Arena
Definition: arena.h:244
goby::middleware::protobuf::TransporterConfig::operator=
TransporterConfig & operator=(const TransporterConfig &from)
Definition: transporter_config.pb.h:81
goby::middleware::protobuf::TransporterConfig
Definition: transporter_config.pb.h:74
goby::middleware::protobuf::TransporterConfig::internal_default_instance
static const TransporterConfig * internal_default_instance()
Definition: transporter_config.pb.h:111
protobuf_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto::TableStruct
Definition: transporter_config.pb.h:44
goby::middleware::protobuf::TransporterConfig::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: transporter_config.pb.h:103
goby::middleware::protobuf::TransporterConfig::echo
bool echo() const
Definition: transporter_config.pb.h:226
goby::middleware::protobuf::TransporterConfig::intervehicle
const ::goby::middleware::intervehicle::protobuf::TransporterConfig & intervehicle() const
Definition: transporter_config.pb.h:249
goby::middleware::protobuf::TransporterConfig::ByteSizeLong
size_t ByteSizeLong() const final
goby::middleware::protobuf::TransporterConfig::Clear
void Clear() final
goby::middleware::protobuf::TransporterConfig::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
protobuf_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[1]
Definition: transporter_config.pb.h:47
message.h
goby::middleware::protobuf::TransporterConfig::IsInitialized
bool IsInitialized() const final
protobuf_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto::AddDescriptors
void AddDescriptors()
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::middleware::protobuf::TransporterConfig::mutable_intervehicle
::goby::middleware::intervehicle::protobuf::TransporterConfig * mutable_intervehicle()
Definition: transporter_config.pb.h:262
goby::middleware::protobuf::TransporterConfig::swap
friend void swap(TransporterConfig &a, TransporterConfig &b)
Definition: transporter_config.pb.h:119
goby::middleware::protobuf::TransporterConfig::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
google::protobuf::Metadata
Definition: message.h:174
goby::middleware::protobuf::TransporterConfig::New
TransporterConfig * New(::google::protobuf::Arena *arena) const final
Definition: transporter_config.pb.h:129
google::protobuf::Message
Definition: message.h:189
goby::middleware::protobuf::TransporterConfig::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::middleware::protobuf::TransporterConfig::kIntervehicleFieldNumber
static const int kIntervehicleFieldNumber
Definition: transporter_config.pb.h:171
goby::middleware::protobuf::TransporterConfig::GetCachedSize
int GetCachedSize() const final
Definition: transporter_config.pb.h:146
protobuf_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto
Definition: transporter_config.pb.h:42
goby::middleware::protobuf::TransporterConfig::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: transporter_config.pb.h:115
protobuf_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: transporter_config.pb.h:50
goby::middleware::protobuf::TransporterConfig::has_intervehicle
bool has_intervehicle() const
Definition: transporter_config.pb.h:237
arena.h
goby::middleware::protobuf::TransporterConfig::release_intervehicle
::goby::middleware::intervehicle::protobuf::TransporterConfig * release_intervehicle()
Definition: transporter_config.pb.h:255
protobuf_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: transporter_config.pb.h:48
protobuf_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: transporter_config.pb.h:46
goby::middleware::protobuf::TransporterConfig::clear_intervehicle
void clear_intervehicle()
goby::middleware::protobuf::TransporterConfig::has_echo
bool has_echo() const
Definition: transporter_config.pb.h:213
goby::middleware::protobuf::TransporterConfig::TransporterConfig
TransporterConfig()
protobuf_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: transporter_config.pb.h:49
goby::middleware::protobuf::TransporterConfig::New
TransporterConfig * New() const final
Definition: transporter_config.pb.h:125
goby::middleware::protobuf::TransporterConfig::set_echo
void set_echo(bool value)
Definition: transporter_config.pb.h:230
intervehicle_transporter_config.pb.h
friend
google
Definition: dccl.h:57
goby::middleware::protobuf::TransporterConfig::clear_echo
void clear_echo()
Definition: transporter_config.pb.h:222