4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmoos_5fgateway_2fjaiabot_5fgateway_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmoos_5fgateway_2fjaiabot_5fgateway_5fconfig_2eproto
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
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.
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>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.h>
33#include "goby/moos/protobuf/moos_gateway_config.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>
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmoos_5fgateway_2fjaiabot_5fgateway_5fconfig_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
54class MOOSGatewayConfig;
55struct MOOSGatewayConfigDefaultTypeInternal;
59PROTOBUF_NAMESPACE_OPEN
61PROTOBUF_NAMESPACE_CLOSE
68 public ::PROTOBUF_NAMESPACE_ID::Message {
72 explicit PROTOBUF_CONSTEXPR
MOOSGatewayConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
77 *
this = ::std::move(from);
85 if (
this == &from)
return *
this;
86 if (GetOwningArena() == from.GetOwningArena()
87 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
88 && GetOwningArena() !=
nullptr
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);
102 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
105 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
128 if (other ==
this)
return;
129 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
130 if (GetOwningArena() !=
nullptr &&
131 GetOwningArena() == other->GetOwningArena()) {
133 if (GetOwningArena() == other->GetOwningArena()) {
137 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
141 if (other ==
this)
return;
142 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
149 return CreateMaybeMessage<MOOSGatewayConfig>(arena);
151 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
153 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
155 MOOSGatewayConfig::MergeImpl(*
this, from);
158 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
160 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
166 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
170 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
172 void SetCachedSize(
int size)
const final;
176 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
177 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
178 return "jaiabot.protobuf.MOOSGatewayConfig";
182 bool is_message_owned =
false);
186 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
201 bool _internal_has_logging_omit_var_regex()
const;
205 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
211 const std::string& _internal_logging_omit_var_regex()
const;
212 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_logging_omit_var_regex(
const std::string& value);
213 std::string* _internal_mutable_logging_omit_var_regex();
219 bool _internal_has_logging_omit_app_regex()
const;
223 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
229 const std::string& _internal_logging_omit_app_regex()
const;
230 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_logging_omit_app_regex(
const std::string& value);
231 std::string* _internal_mutable_logging_omit_app_regex();
238 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
239 typedef void InternalArenaConstructable_;
240 typedef void DestructorSkippable_;
242 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
243 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
244 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr logging_omit_var_regex_;
245 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr logging_omit_app_regex_;
248 friend struct ::TableStruct_jaiabot_2fmoos_5fgateway_2fjaiabot_5fgateway_5fconfig_2eproto;
253extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig,
254 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::protobuf::MOOSGatewayConfig >, 11,
false >
260 #pragma GCC diagnostic push
261 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
266inline bool MOOSGatewayConfig::_internal_has_logging_omit_var_regex()
const {
267 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
271 return _internal_has_logging_omit_var_regex();
274 _impl_.logging_omit_var_regex_.ClearToEmpty();
275 _impl_._has_bits_[0] &= ~0x00000001u;
279 return _internal_logging_omit_var_regex();
281template <
typename ArgT0,
typename... ArgT>
282inline PROTOBUF_ALWAYS_INLINE
284 _impl_._has_bits_[0] |= 0x00000001u;
285 _impl_.logging_omit_var_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
289 std::string* _s = _internal_mutable_logging_omit_var_regex();
293inline const std::string& MOOSGatewayConfig::_internal_logging_omit_var_regex()
const {
294 return _impl_.logging_omit_var_regex_.Get();
296inline void MOOSGatewayConfig::_internal_set_logging_omit_var_regex(
const std::string& value) {
297 _impl_._has_bits_[0] |= 0x00000001u;
298 _impl_.logging_omit_var_regex_.Set(value, GetArenaForAllocation());
300inline std::string* MOOSGatewayConfig::_internal_mutable_logging_omit_var_regex() {
301 _impl_._has_bits_[0] |= 0x00000001u;
302 return _impl_.logging_omit_var_regex_.Mutable(GetArenaForAllocation());
306 if (!_internal_has_logging_omit_var_regex()) {
309 _impl_._has_bits_[0] &= ~0x00000001u;
310 auto* p =
_impl_.logging_omit_var_regex_.Release();
311#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
312 if (
_impl_.logging_omit_var_regex_.IsDefault()) {
313 _impl_.logging_omit_var_regex_.Set(
"", GetArenaForAllocation());
320 _impl_._has_bits_[0] |= 0x00000001u;
322 _impl_._has_bits_[0] &= ~0x00000001u;
325#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
326 if (
_impl_.logging_omit_var_regex_.IsDefault()) {
327 _impl_.logging_omit_var_regex_.Set(
"", GetArenaForAllocation());
334inline bool MOOSGatewayConfig::_internal_has_logging_omit_app_regex()
const {
335 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
339 return _internal_has_logging_omit_app_regex();
342 _impl_.logging_omit_app_regex_.ClearToEmpty();
343 _impl_._has_bits_[0] &= ~0x00000002u;
347 return _internal_logging_omit_app_regex();
349template <
typename ArgT0,
typename... ArgT>
350inline PROTOBUF_ALWAYS_INLINE
352 _impl_._has_bits_[0] |= 0x00000002u;
353 _impl_.logging_omit_app_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
357 std::string* _s = _internal_mutable_logging_omit_app_regex();
361inline const std::string& MOOSGatewayConfig::_internal_logging_omit_app_regex()
const {
362 return _impl_.logging_omit_app_regex_.Get();
364inline void MOOSGatewayConfig::_internal_set_logging_omit_app_regex(
const std::string& value) {
365 _impl_._has_bits_[0] |= 0x00000002u;
366 _impl_.logging_omit_app_regex_.Set(value, GetArenaForAllocation());
368inline std::string* MOOSGatewayConfig::_internal_mutable_logging_omit_app_regex() {
369 _impl_._has_bits_[0] |= 0x00000002u;
370 return _impl_.logging_omit_app_regex_.Mutable(GetArenaForAllocation());
374 if (!_internal_has_logging_omit_app_regex()) {
377 _impl_._has_bits_[0] &= ~0x00000002u;
378 auto* p =
_impl_.logging_omit_app_regex_.Release();
379#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
380 if (
_impl_.logging_omit_app_regex_.IsDefault()) {
381 _impl_.logging_omit_app_regex_.Set(
"", GetArenaForAllocation());
388 _impl_._has_bits_[0] |= 0x00000002u;
390 _impl_._has_bits_[0] &= ~0x00000002u;
393#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
394 if (
_impl_.logging_omit_app_regex_.IsDefault()) {
395 _impl_.logging_omit_app_regex_.Set(
"", GetArenaForAllocation());
402 #pragma GCC diagnostic pop
412#include <google/protobuf/port_undef.inc>
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const MOOSGatewayConfig & default_instance()
static const MOOSGatewayConfig * internal_default_instance()
friend void swap(MOOSGatewayConfig &a, MOOSGatewayConfig &b)
std::string * mutable_logging_omit_app_regex()
MOOSGatewayConfig(const MOOSGatewayConfig &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_NODISCARD std::string * release_logging_omit_app_regex()
void clear_logging_omit_var_regex()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_allocated_logging_omit_app_regex(std::string *logging_omit_app_regex)
MOOSGatewayConfig(MOOSGatewayConfig &&from) noexcept
const std::string & logging_omit_app_regex() const
size_t ByteSizeLong() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_allocated_logging_omit_var_regex(std::string *logging_omit_var_regex)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
bool has_logging_omit_app_regex() const
@ kLoggingOmitAppRegexFieldNumber
@ kLoggingOmitVarRegexFieldNumber
const std::string & logging_omit_var_regex() const
std::string * mutable_logging_omit_var_regex()
void Swap(MOOSGatewayConfig *other)
MOOSGatewayConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
MOOSGatewayConfig & operator=(const MOOSGatewayConfig &from)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
MOOSGatewayConfig & operator=(MOOSGatewayConfig &&from) noexcept
void set_logging_omit_var_regex(ArgT0 &&arg0, ArgT... args)
void MergeFrom(const MOOSGatewayConfig &from)
PROTOBUF_CONSTEXPR MOOSGatewayConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void CopyFrom(const MOOSGatewayConfig &from)
void set_logging_omit_app_regex(ArgT0 &&arg0, ArgT... args)
~MOOSGatewayConfig() override
static const ClassData _class_data_
MOOSGatewayConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
bool IsInitialized() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static constexpr int kIndexInFileMessages
bool has_logging_omit_var_regex() const
PROTOBUF_NODISCARD std::string * release_logging_omit_var_regex()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void clear_logging_omit_app_regex()
int GetCachedSize() const final
void UnsafeArenaSwap(MOOSGatewayConfig *other)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmoos_5fgateway_2fjaiabot_5fgateway_5fconfig_2eproto
static const int kJaiabotGatewayConfigFieldNumber
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::protobuf::MOOSGatewayConfig >, 11, false > jaiabot_gateway_config
MOOSGatewayConfigDefaultTypeInternal _MOOSGatewayConfig_default_instance_
static const uint32_t offsets[]