4 #ifndef PROTOBUF_INCLUDED_goby_2fapps_2fmiddleware_2fgoby_5ftool_2ftool_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fapps_2fmiddleware_2fgoby_5ftool_2ftool_2eproto
9 #include <google/protobuf/stubs/common.h>
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
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.
22 #include <google/protobuf/io/coded_stream.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>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.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>
41 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fapps_2fmiddleware_2fgoby_5ftool_2ftool_2eproto
46 static const ::google::protobuf::internal::ParseTableField
entries[];
47 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
48 static const ::google::protobuf::internal::ParseTable
schema[1];
57 namespace middleware {
60 class GobyToolConfigDefaultTypeInternal;
73 namespace middleware {
90 return ::google::protobuf::internal::NameOfEnum(
95 return ::google::protobuf::internal::ParseNamedEnum<GobyToolConfig_Action>(
114 *
this = ::std::move(from);
118 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
119 if (
this != &from) InternalSwap(&from);
127 return _internal_metadata_.unknown_fields();
130 return _internal_metadata_.mutable_unknown_fields();
133 static const ::google::protobuf::Descriptor*
descriptor();
152 return CreateMaybeMessage<GobyToolConfig>(NULL);
156 return CreateMaybeMessage<GobyToolConfig>(arena);
158 void CopyFrom(const ::google::protobuf::Message& from)
final;
159 void MergeFrom(const ::google::protobuf::Message& from)
final;
171 bool deterministic, ::
google::
protobuf::uint8* target) const final;
177 void SetCachedSize(
int size)
const final;
180 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
183 inline void* MaybeArenaPtr()
const {
212 static inline const ::google::protobuf::EnumDescriptor*
231 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
233 const ::goby::middleware::protobuf::AppConfig&
app()
const;
248 void clear_has_app();
249 void set_has_action();
250 void clear_has_action();
252 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
253 ::google::protobuf::internal::HasBits<1> _has_bits_;
254 mutable ::google::protobuf::internal::CachedSize _cached_size_;
257 friend struct ::protobuf_goby_2fapps_2fmiddleware_2fgoby_5ftool_2ftool_2eproto::TableStruct;
265 #pragma GCC diagnostic push
266 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
272 return (_has_bits_[0] & 0x00000001u) != 0;
274 inline void GobyToolConfig::set_has_app() {
275 _has_bits_[0] |= 0x00000001u;
277 inline void GobyToolConfig::clear_has_app() {
278 _has_bits_[0] &= ~0x00000001u;
280 inline const ::goby::middleware::protobuf::AppConfig& GobyToolConfig::_internal_app()
const {
284 const ::goby::middleware::protobuf::AppConfig* p = app_;
299 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
307 if (message_arena == NULL) {
312 if (message_arena != submessage_arena) {
313 app = ::google::protobuf::internal::GetOwnedMessage(
314 message_arena,
app, submessage_arena);
326 return (_has_bits_[0] & 0x00000002u) != 0;
328 inline void GobyToolConfig::set_has_action() {
329 _has_bits_[0] |= 0x00000002u;
331 inline void GobyToolConfig::clear_has_action() {
332 _has_bits_[0] &= ~0x00000002u;
350 #pragma GCC diagnostic pop
365 inline const EnumDescriptor* GetEnumDescriptor< ::goby::apps::middleware::protobuf::GobyToolConfig_Action>() {
374 #endif // PROTOBUF_INCLUDED_goby_2fapps_2fmiddleware_2fgoby_5ftool_2ftool_2eproto