JaiaBot 2.1.1
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
comms.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/comms.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fcomms_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fcomms_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
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 3021012 < 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_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.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>
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#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fcomms_2eproto
41PROTOBUF_NAMESPACE_OPEN
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
49 static const uint32_t offsets[];
50};
51extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fcomms_2eproto;
52namespace jaiabot {
53namespace protobuf {
54class IntervehicleSubscribeRequest;
55struct IntervehicleSubscribeRequestDefaultTypeInternal;
56extern IntervehicleSubscribeRequestDefaultTypeInternal _IntervehicleSubscribeRequest_default_instance_;
57} // namespace protobuf
58} // namespace jaiabot
59PROTOBUF_NAMESPACE_OPEN
60template<> ::jaiabot::protobuf::IntervehicleSubscribeRequest* Arena::CreateMaybeMessage<::jaiabot::protobuf::IntervehicleSubscribeRequest>(Arena*);
61PROTOBUF_NAMESPACE_CLOSE
62namespace jaiabot {
63namespace protobuf {
64
65// ===================================================================
66
68 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.IntervehicleSubscribeRequest) */ {
69 public:
72 explicit PROTOBUF_CONSTEXPR IntervehicleSubscribeRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
73
77 *this = ::std::move(from);
78 }
79
81 CopyFrom(from);
82 return *this;
83 }
85 if (this == &from) return *this;
86 if (GetOwningArena() == from.GetOwningArena()
87 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
88 && GetOwningArena() != nullptr
89 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
90 ) {
91 InternalSwap(&from);
92 } else {
93 CopyFrom(from);
94 }
95 return *this;
96 }
97
98 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
99 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
100 }
101 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
102 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
103 }
104
105 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
106 return GetDescriptor();
107 }
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
109 return default_instance().GetMetadata().descriptor;
110 }
111 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
112 return default_instance().GetMetadata().reflection;
113 }
121 static constexpr int kIndexInFileMessages =
122 0;
123
127 inline void Swap(IntervehicleSubscribeRequest* other) {
128 if (other == this) return;
129 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
130 if (GetOwningArena() != nullptr &&
131 GetOwningArena() == other->GetOwningArena()) {
132 #else // PROTOBUF_FORCE_COPY_IN_SWAP
133 if (GetOwningArena() == other->GetOwningArena()) {
134 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
135 InternalSwap(other);
136 } else {
137 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
138 }
139 }
141 if (other == this) return;
142 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
143 InternalSwap(other);
144 }
145
146 // implements Message ----------------------------------------------
147
148 IntervehicleSubscribeRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
149 return CreateMaybeMessage<IntervehicleSubscribeRequest>(arena);
150 }
151 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
153 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
155 IntervehicleSubscribeRequest::MergeImpl(*this, from);
156 }
157 private:
158 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
159 public:
160 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
161 bool IsInitialized() const final;
162
163 size_t ByteSizeLong() const final;
164 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
166 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
167 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
168
169 private:
170 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
171 void SharedDtor();
172 void SetCachedSize(int size) const final;
173 void InternalSwap(IntervehicleSubscribeRequest* other);
174
175 private:
176 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
177 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
178 return "jaiabot.protobuf.IntervehicleSubscribeRequest";
179 }
180 protected:
181 explicit IntervehicleSubscribeRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
182 bool is_message_owned = false);
183 public:
184
185 static const ClassData _class_data_;
186 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
187
188 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
189
190 // nested types ----------------------------------------------------
191
192 // accessors -------------------------------------------------------
193
194 enum : int {
196 };
197 // required .jaiabot.protobuf.Link link = 1;
198 bool has_link() const;
199 private:
200 bool _internal_has_link() const;
201 public:
202 void clear_link();
205 private:
206 ::jaiabot::protobuf::Link _internal_link() const;
207 void _internal_set_link(::jaiabot::protobuf::Link value);
208 public:
209
210 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.IntervehicleSubscribeRequest)
211 private:
212 class _Internal;
213
214 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
215 typedef void InternalArenaConstructable_;
216 typedef void DestructorSkippable_;
217 struct Impl_ {
218 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
219 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
220 int link_;
221 };
222 union { Impl_ _impl_; };
223 friend struct ::TableStruct_jaiabot_2fmessages_2fcomms_2eproto;
224};
225// ===================================================================
226
227
228// ===================================================================
229
230#ifdef __GNUC__
231 #pragma GCC diagnostic push
232 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
233#endif // __GNUC__
234// IntervehicleSubscribeRequest
235
236// required .jaiabot.protobuf.Link link = 1;
237inline bool IntervehicleSubscribeRequest::_internal_has_link() const {
238 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
239 return value;
240}
242 return _internal_has_link();
243}
245 _impl_.link_ = -1;
246 _impl_._has_bits_[0] &= ~0x00000001u;
247}
248inline ::jaiabot::protobuf::Link IntervehicleSubscribeRequest::_internal_link() const {
249 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
250}
251inline ::jaiabot::protobuf::Link IntervehicleSubscribeRequest::link() const {
252 // @@protoc_insertion_point(field_get:jaiabot.protobuf.IntervehicleSubscribeRequest.link)
253 return _internal_link();
254}
255inline void IntervehicleSubscribeRequest::_internal_set_link(::jaiabot::protobuf::Link value) {
257 _impl_._has_bits_[0] |= 0x00000001u;
258 _impl_.link_ = value;
259}
261 _internal_set_link(value);
262 // @@protoc_insertion_point(field_set:jaiabot.protobuf.IntervehicleSubscribeRequest.link)
263}
264
265#ifdef __GNUC__
266 #pragma GCC diagnostic pop
267#endif // __GNUC__
268
269// @@protoc_insertion_point(namespace_scope)
270
271} // namespace protobuf
272} // namespace jaiabot
273
274// @@protoc_insertion_point(global_scope)
275
276#include <google/protobuf/port_undef.inc>
277#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fcomms_2eproto
::jaiabot::protobuf::Link link() const
Definition comms.pb.h:251
friend void swap(IntervehicleSubscribeRequest &a, IntervehicleSubscribeRequest &b)
Definition comms.pb.h:124
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition comms.pb.h:105
void MergeFrom(const IntervehicleSubscribeRequest &from)
Definition comms.pb.h:154
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const IntervehicleSubscribeRequest & default_instance()
Definition comms.pb.h:114
IntervehicleSubscribeRequest(IntervehicleSubscribeRequest &&from) noexcept
Definition comms.pb.h:75
IntervehicleSubscribeRequest(const IntervehicleSubscribeRequest &from)
static const IntervehicleSubscribeRequest * internal_default_instance()
Definition comms.pb.h:117
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition comms.pb.h:101
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition comms.pb.h:98
IntervehicleSubscribeRequest & operator=(const IntervehicleSubscribeRequest &from)
Definition comms.pb.h:80
IntervehicleSubscribeRequest & operator=(IntervehicleSubscribeRequest &&from) noexcept
Definition comms.pb.h:84
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition comms.pb.h:111
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
IntervehicleSubscribeRequest(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void Swap(IntervehicleSubscribeRequest *other)
Definition comms.pb.h:127
IntervehicleSubscribeRequest * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition comms.pb.h:148
void UnsafeArenaSwap(IntervehicleSubscribeRequest *other)
Definition comms.pb.h:140
void CopyFrom(const IntervehicleSubscribeRequest &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition comms.pb.h:108
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR IntervehicleSubscribeRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_link(::jaiabot::protobuf::Link value)
Definition comms.pb.h:260
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fcomms_2eproto
IntervehicleSubscribeRequestDefaultTypeInternal _IntervehicleSubscribeRequest_default_instance_
bool Link_IsValid(int value)