4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fserializer_5ftransporter_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fserializer_5ftransporter_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>
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>
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>
34#include "dccl/option_extensions.pb.h"
36#include <google/protobuf/descriptor.pb.h>
37#include <boost/units/quantity.hpp>
38#include <boost/units/absolute.hpp>
39#include <boost/units/dimensionless_type.hpp>
40#include <boost/units/make_scaled_unit.hpp>
42#include <boost/units/systems/si.hpp>
44#include <google/protobuf/port_def.inc>
45#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2fserializer_5ftransporter_2eproto
46PROTOBUF_NAMESPACE_OPEN
50PROTOBUF_NAMESPACE_CLOSE
60class SerializerMetadataRequest;
61struct SerializerMetadataRequestDefaultTypeInternal;
63class SerializerProtobufMetadata;
64struct SerializerProtobufMetadataDefaultTypeInternal;
66class SerializerTransporterKey;
67struct SerializerTransporterKeyDefaultTypeInternal;
69class SerializerTransporterMessage;
70struct SerializerTransporterMessageDefaultTypeInternal;
75PROTOBUF_NAMESPACE_OPEN
80PROTOBUF_NAMESPACE_CLOSE
97 static_assert(::std::is_same<T, SerializerMetadataRequest_Request>::value ||
98 ::std::is_integral<T>::value,
99 "Incorrect type passed to function SerializerMetadataRequest_Request_Name.");
100 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
105 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SerializerMetadataRequest_Request>(
111 public ::PROTOBUF_NAMESPACE_ID::Message {
120 *
this = ::std::move(from);
128 if (
this == &from)
return *
this;
129 if (GetOwningArena() == from.GetOwningArena()
130 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
131 && GetOwningArena() !=
nullptr
142 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
145 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
148 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
171 if (other ==
this)
return;
172 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
173 if (GetOwningArena() !=
nullptr &&
174 GetOwningArena() == other->GetOwningArena()) {
176 if (GetOwningArena() == other->GetOwningArena()) {
180 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
184 if (other ==
this)
return;
185 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
192 return CreateMaybeMessage<SerializerProtobufMetadata>(arena);
194 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
196 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
198 SerializerProtobufMetadata::MergeImpl(*
this, from);
201 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
203 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
209 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
213 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
215 void SetCachedSize(
int size)
const final;
219 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
220 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
221 return "goby.middleware.protobuf.SerializerProtobufMetadata";
225 bool is_message_owned =
false);
229 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
244 int _internal_file_descriptor_size()
const;
248 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
251 const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& _internal_file_descriptor(
int index)
const;
252 ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _internal_add_file_descriptor();
254 const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto&
file_descriptor(
int index)
const;
256 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
262 bool _internal_has_protobuf_name()
const;
266 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
272 const std::string& _internal_protobuf_name()
const;
273 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_protobuf_name(
const std::string& value);
274 std::string* _internal_mutable_protobuf_name();
281 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
282 typedef void InternalArenaConstructable_;
283 typedef void DestructorSkippable_;
285 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
286 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
287 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto > file_descriptor_;
288 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr protobuf_name_;
291 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fserializer_5ftransporter_2eproto;
296 public ::PROTOBUF_NAMESPACE_ID::Message {
305 *
this = ::std::move(from);
313 if (
this == &from)
return *
this;
314 if (GetOwningArena() == from.GetOwningArena()
315 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
316 && GetOwningArena() !=
nullptr
327 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
330 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
333 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
334 return GetDescriptor();
337 return default_instance().GetMetadata().descriptor;
340 return default_instance().GetMetadata().reflection;
343 return *internal_default_instance();
349 static constexpr int kIndexInFileMessages =
356 if (other ==
this)
return;
357 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
358 if (GetOwningArena() !=
nullptr &&
359 GetOwningArena() == other->GetOwningArena()) {
361 if (GetOwningArena() == other->GetOwningArena()) {
365 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
369 if (other ==
this)
return;
370 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
377 return CreateMaybeMessage<SerializerTransporterKey>(arena);
379 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
381 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
383 SerializerTransporterKey::MergeImpl(*
this, from);
386 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
388 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
389 bool IsInitialized() const final;
392 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
393 uint8_t* _InternalSerialize(
394 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
395 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
398 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
400 void SetCachedSize(
int size)
const final;
404 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
405 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
406 return "goby.middleware.protobuf.SerializerTransporterKey";
410 bool is_message_owned =
false);
414 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
416 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
423 kTypeFieldNumber = 2,
424 kGroupFieldNumber = 3,
425 kCfgFieldNumber = 10,
426 kMetadataFieldNumber = 20,
427 kMarshallingSchemeFieldNumber = 1,
428 kGroupNumericFieldNumber = 4,
429 kSerializeTimeFieldNumber = 5,
432 bool has_type()
const;
434 bool _internal_has_type()
const;
437 const std::string& type()
const;
438 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
440 std::string* mutable_type();
441 PROTOBUF_NODISCARD std::string* release_type();
442 void set_allocated_type(std::string* type);
444 const std::string& _internal_type()
const;
445 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_type(
const std::string& value);
446 std::string* _internal_mutable_type();
450 bool has_group()
const;
452 bool _internal_has_group()
const;
455 const std::string&
group()
const;
456 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
458 std::string* mutable_group();
459 PROTOBUF_NODISCARD std::string* release_group();
460 void set_allocated_group(std::string*
group);
462 const std::string& _internal_group()
const;
463 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_group(
const std::string& value);
464 std::string* _internal_mutable_group();
468 bool has_cfg()
const;
470 bool _internal_has_cfg()
const;
473 const ::goby::middleware::protobuf::TransporterConfig& cfg()
const;
474 PROTOBUF_NODISCARD ::goby::middleware::protobuf::TransporterConfig* release_cfg();
478 const ::goby::middleware::protobuf::TransporterConfig& _internal_cfg()
const;
481 void unsafe_arena_set_allocated_cfg(
486 bool has_metadata()
const;
488 bool _internal_has_metadata()
const;
490 void clear_metadata();
491 const ::goby::middleware::protobuf::SerializerProtobufMetadata& metadata()
const;
492 PROTOBUF_NODISCARD ::goby::middleware::protobuf::SerializerProtobufMetadata* release_metadata();
496 const ::goby::middleware::protobuf::SerializerProtobufMetadata& _internal_metadata()
const;
499 void unsafe_arena_set_allocated_metadata(
504 bool has_marshalling_scheme()
const;
506 bool _internal_has_marshalling_scheme()
const;
508 void clear_marshalling_scheme();
509 int32_t marshalling_scheme()
const;
510 void set_marshalling_scheme(int32_t value);
512 int32_t _internal_marshalling_scheme()
const;
513 void _internal_set_marshalling_scheme(int32_t value);
517 bool has_group_numeric()
const;
519 bool _internal_has_group_numeric()
const;
521 void clear_group_numeric();
522 uint32_t group_numeric()
const;
523 void set_group_numeric(uint32_t value);
525 uint32_t _internal_group_numeric()
const;
526 void _internal_set_group_numeric(uint32_t value);
530 bool has_serialize_time()
const;
532 bool _internal_has_serialize_time()
const;
534 void clear_serialize_time();
535 uint64_t serialize_time()
const;
536 void set_serialize_time(uint64_t value);
538 uint64_t _internal_serialize_time()
const;
539 void _internal_set_serialize_time(uint64_t value);
544 typedef boost::units::make_scaled_unit<boost::units::unit<serialize_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
serialize_time_unit;
546 template<
typename Quantity >
548 { set_serialize_time(boost::units::quantity<serialize_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
550 template<
typename Quantity >
555 {
return serialize_time_with_units<boost::units::quantity< serialize_time_unit,google::protobuf::uint64 > >(); };
562 size_t RequiredFieldsByteSizeFallback()
const;
564 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
565 typedef void InternalArenaConstructable_;
566 typedef void DestructorSkippable_;
568 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
569 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
570 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
571 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_;
574 int32_t marshalling_scheme_;
575 uint32_t group_numeric_;
576 uint64_t serialize_time_;
579 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fserializer_5ftransporter_2eproto;
584 public ::PROTOBUF_NAMESPACE_ID::Message {
593 *
this = ::std::move(from);
601 if (
this == &from)
return *
this;
602 if (GetOwningArena() == from.GetOwningArena()
603 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
604 && GetOwningArena() !=
nullptr
615 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
618 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
621 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
622 return GetDescriptor();
625 return default_instance().GetMetadata().descriptor;
628 return default_instance().GetMetadata().reflection;
631 return *internal_default_instance();
637 static constexpr int kIndexInFileMessages =
644 if (other ==
this)
return;
645 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
646 if (GetOwningArena() !=
nullptr &&
647 GetOwningArena() == other->GetOwningArena()) {
649 if (GetOwningArena() == other->GetOwningArena()) {
653 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
657 if (other ==
this)
return;
658 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
665 return CreateMaybeMessage<SerializerTransporterMessage>(arena);
667 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
669 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
671 SerializerTransporterMessage::MergeImpl(*
this, from);
674 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
676 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
677 bool IsInitialized() const final;
680 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
681 uint8_t* _InternalSerialize(
682 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
683 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
686 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
688 void SetCachedSize(
int size)
const final;
692 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
693 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
694 return "goby.middleware.protobuf.SerializerTransporterMessage";
698 bool is_message_owned =
false);
702 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
704 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
711 kDataFieldNumber = 4,
715 bool has_data()
const;
717 bool _internal_has_data()
const;
720 const std::string& data()
const;
721 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
723 std::string* mutable_data();
724 PROTOBUF_NODISCARD std::string* release_data();
725 void set_allocated_data(std::string* data);
727 const std::string& _internal_data()
const;
728 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_data(
const std::string& value);
729 std::string* _internal_mutable_data();
733 bool has_key()
const;
735 bool _internal_has_key()
const;
738 const ::goby::middleware::protobuf::SerializerTransporterKey& key()
const;
739 PROTOBUF_NODISCARD ::goby::middleware::protobuf::SerializerTransporterKey* release_key();
743 const ::goby::middleware::protobuf::SerializerTransporterKey& _internal_key()
const;
746 void unsafe_arena_set_allocated_key(
754 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
755 typedef void InternalArenaConstructable_;
756 typedef void DestructorSkippable_;
758 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
759 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
760 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
764 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fserializer_5ftransporter_2eproto;
769 public ::PROTOBUF_NAMESPACE_ID::Message {
778 *
this = ::std::move(from);
786 if (
this == &from)
return *
this;
787 if (GetOwningArena() == from.GetOwningArena()
788 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
789 && GetOwningArena() !=
nullptr
800 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
803 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
806 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
807 return GetDescriptor();
810 return default_instance().GetMetadata().descriptor;
813 return default_instance().GetMetadata().reflection;
816 return *internal_default_instance();
822 static constexpr int kIndexInFileMessages =
829 if (other ==
this)
return;
830 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
831 if (GetOwningArena() !=
nullptr &&
832 GetOwningArena() == other->GetOwningArena()) {
834 if (GetOwningArena() == other->GetOwningArena()) {
838 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
842 if (other ==
this)
return;
843 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
850 return CreateMaybeMessage<SerializerMetadataRequest>(arena);
852 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
854 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
856 SerializerMetadataRequest::MergeImpl(*
this, from);
859 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
861 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
862 bool IsInitialized() const final;
865 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
866 uint8_t* _InternalSerialize(
867 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
868 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
871 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
873 void SetCachedSize(
int size)
const final;
877 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
878 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
879 return "goby.middleware.protobuf.SerializerMetadataRequest";
883 bool is_message_owned =
false);
887 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
889 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
895 SerializerMetadataRequest_Request_METADATA_INCLUDE;
897 SerializerMetadataRequest_Request_METADATA_EXCLUDE;
898 static inline
bool Request_IsValid(
int value) {
905 static constexpr int Request_ARRAYSIZE =
907 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
913 static_assert(::std::is_same<T, Request>::value ||
914 ::std::is_integral<T>::value,
915 "Incorrect type passed to function Request_Name.");
918 static inline bool Request_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
927 kRequestFieldNumber = 2,
930 bool has_key()
const;
932 bool _internal_has_key()
const;
935 const ::goby::middleware::protobuf::SerializerTransporterKey& key()
const;
936 PROTOBUF_NODISCARD ::goby::middleware::protobuf::SerializerTransporterKey* release_key();
940 const ::goby::middleware::protobuf::SerializerTransporterKey& _internal_key()
const;
943 void unsafe_arena_set_allocated_key(
948 bool has_request()
const;
950 bool _internal_has_request()
const;
952 void clear_request();
965 size_t RequiredFieldsByteSizeFallback()
const;
967 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
968 typedef void InternalArenaConstructable_;
969 typedef void DestructorSkippable_;
971 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
972 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
977 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fserializer_5ftransporter_2eproto;
985 #pragma GCC diagnostic push
986 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
991inline bool SerializerProtobufMetadata::_internal_has_protobuf_name()
const {
992 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
995inline bool SerializerProtobufMetadata::has_protobuf_name()
const {
996 return _internal_has_protobuf_name();
998inline void SerializerProtobufMetadata::clear_protobuf_name() {
999 _impl_.protobuf_name_.ClearToEmpty();
1000 _impl_._has_bits_[0] &= ~0x00000001u;
1002inline const std::string& SerializerProtobufMetadata::protobuf_name()
const {
1004 return _internal_protobuf_name();
1006template <
typename ArgT0,
typename... ArgT>
1007inline PROTOBUF_ALWAYS_INLINE
1008void SerializerProtobufMetadata::set_protobuf_name(ArgT0&& arg0, ArgT... args) {
1009 _impl_._has_bits_[0] |= 0x00000001u;
1010 _impl_.protobuf_name_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1013inline std::string* SerializerProtobufMetadata::mutable_protobuf_name() {
1014 std::string* _s = _internal_mutable_protobuf_name();
1018inline const std::string& SerializerProtobufMetadata::_internal_protobuf_name()
const {
1019 return _impl_.protobuf_name_.Get();
1021inline void SerializerProtobufMetadata::_internal_set_protobuf_name(
const std::string& value) {
1022 _impl_._has_bits_[0] |= 0x00000001u;
1023 _impl_.protobuf_name_.Set(value, GetArenaForAllocation());
1025inline std::string* SerializerProtobufMetadata::_internal_mutable_protobuf_name() {
1026 _impl_._has_bits_[0] |= 0x00000001u;
1027 return _impl_.protobuf_name_.Mutable(GetArenaForAllocation());
1029inline std::string* SerializerProtobufMetadata::release_protobuf_name() {
1031 if (!_internal_has_protobuf_name()) {
1034 _impl_._has_bits_[0] &= ~0x00000001u;
1035 auto* p = _impl_.protobuf_name_.Release();
1036#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1037 if (_impl_.protobuf_name_.IsDefault()) {
1038 _impl_.protobuf_name_.Set(
"", GetArenaForAllocation());
1043inline void SerializerProtobufMetadata::set_allocated_protobuf_name(std::string* protobuf_name) {
1044 if (protobuf_name !=
nullptr) {
1045 _impl_._has_bits_[0] |= 0x00000001u;
1047 _impl_._has_bits_[0] &= ~0x00000001u;
1049 _impl_.protobuf_name_.SetAllocated(protobuf_name, GetArenaForAllocation());
1050#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1051 if (_impl_.protobuf_name_.IsDefault()) {
1052 _impl_.protobuf_name_.Set(
"", GetArenaForAllocation());
1059inline int SerializerProtobufMetadata::_internal_file_descriptor_size()
const {
1060 return _impl_.file_descriptor_.size();
1062inline int SerializerProtobufMetadata::file_descriptor_size()
const {
1063 return _internal_file_descriptor_size();
1065inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* SerializerProtobufMetadata::mutable_file_descriptor(
int index) {
1067 return _impl_.file_descriptor_.Mutable(index);
1069inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
1070SerializerProtobufMetadata::mutable_file_descriptor() {
1072 return &_impl_.file_descriptor_;
1074inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& SerializerProtobufMetadata::_internal_file_descriptor(
int index)
const {
1075 return _impl_.file_descriptor_.Get(index);
1077inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& SerializerProtobufMetadata::file_descriptor(
int index)
const {
1079 return _internal_file_descriptor(index);
1081inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* SerializerProtobufMetadata::_internal_add_file_descriptor() {
1082 return _impl_.file_descriptor_.Add();
1084inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* SerializerProtobufMetadata::add_file_descriptor() {
1085 ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _add = _internal_add_file_descriptor();
1089inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
1090SerializerProtobufMetadata::file_descriptor()
const {
1092 return _impl_.file_descriptor_;
1100inline bool SerializerTransporterKey::_internal_has_marshalling_scheme()
const {
1101 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1104inline bool SerializerTransporterKey::has_marshalling_scheme()
const {
1105 return _internal_has_marshalling_scheme();
1107inline void SerializerTransporterKey::clear_marshalling_scheme() {
1108 _impl_.marshalling_scheme_ = 0;
1109 _impl_._has_bits_[0] &= ~0x00000010u;
1111inline int32_t SerializerTransporterKey::_internal_marshalling_scheme()
const {
1112 return _impl_.marshalling_scheme_;
1114inline int32_t SerializerTransporterKey::marshalling_scheme()
const {
1116 return _internal_marshalling_scheme();
1118inline void SerializerTransporterKey::_internal_set_marshalling_scheme(int32_t value) {
1119 _impl_._has_bits_[0] |= 0x00000010u;
1120 _impl_.marshalling_scheme_ = value;
1122inline void SerializerTransporterKey::set_marshalling_scheme(int32_t value) {
1123 _internal_set_marshalling_scheme(value);
1128inline bool SerializerTransporterKey::_internal_has_type()
const {
1129 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1132inline bool SerializerTransporterKey::has_type()
const {
1133 return _internal_has_type();
1135inline void SerializerTransporterKey::clear_type() {
1136 _impl_.type_.ClearToEmpty();
1137 _impl_._has_bits_[0] &= ~0x00000001u;
1139inline const std::string& SerializerTransporterKey::type()
const {
1141 return _internal_type();
1143template <
typename ArgT0,
typename... ArgT>
1144inline PROTOBUF_ALWAYS_INLINE
1145void SerializerTransporterKey::set_type(ArgT0&& arg0, ArgT... args) {
1146 _impl_._has_bits_[0] |= 0x00000001u;
1147 _impl_.type_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1150inline std::string* SerializerTransporterKey::mutable_type() {
1151 std::string* _s = _internal_mutable_type();
1155inline const std::string& SerializerTransporterKey::_internal_type()
const {
1156 return _impl_.type_.Get();
1158inline void SerializerTransporterKey::_internal_set_type(
const std::string& value) {
1159 _impl_._has_bits_[0] |= 0x00000001u;
1160 _impl_.type_.Set(value, GetArenaForAllocation());
1162inline std::string* SerializerTransporterKey::_internal_mutable_type() {
1163 _impl_._has_bits_[0] |= 0x00000001u;
1164 return _impl_.type_.Mutable(GetArenaForAllocation());
1166inline std::string* SerializerTransporterKey::release_type() {
1168 if (!_internal_has_type()) {
1171 _impl_._has_bits_[0] &= ~0x00000001u;
1172 auto* p = _impl_.type_.Release();
1173#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1174 if (_impl_.type_.IsDefault()) {
1175 _impl_.type_.Set(
"", GetArenaForAllocation());
1180inline void SerializerTransporterKey::set_allocated_type(std::string* type) {
1181 if (type !=
nullptr) {
1182 _impl_._has_bits_[0] |= 0x00000001u;
1184 _impl_._has_bits_[0] &= ~0x00000001u;
1186 _impl_.type_.SetAllocated(type, GetArenaForAllocation());
1187#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1188 if (_impl_.type_.IsDefault()) {
1189 _impl_.type_.Set(
"", GetArenaForAllocation());
1196inline bool SerializerTransporterKey::_internal_has_group()
const {
1197 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1200inline bool SerializerTransporterKey::has_group()
const {
1201 return _internal_has_group();
1203inline void SerializerTransporterKey::clear_group() {
1204 _impl_.group_.ClearToEmpty();
1205 _impl_._has_bits_[0] &= ~0x00000002u;
1207inline const std::string& SerializerTransporterKey::group()
const {
1209 return _internal_group();
1211template <
typename ArgT0,
typename... ArgT>
1212inline PROTOBUF_ALWAYS_INLINE
1213void SerializerTransporterKey::set_group(ArgT0&& arg0, ArgT... args) {
1214 _impl_._has_bits_[0] |= 0x00000002u;
1215 _impl_.group_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1218inline std::string* SerializerTransporterKey::mutable_group() {
1219 std::string* _s = _internal_mutable_group();
1223inline const std::string& SerializerTransporterKey::_internal_group()
const {
1224 return _impl_.group_.Get();
1226inline void SerializerTransporterKey::_internal_set_group(
const std::string& value) {
1227 _impl_._has_bits_[0] |= 0x00000002u;
1228 _impl_.group_.Set(value, GetArenaForAllocation());
1230inline std::string* SerializerTransporterKey::_internal_mutable_group() {
1231 _impl_._has_bits_[0] |= 0x00000002u;
1232 return _impl_.group_.Mutable(GetArenaForAllocation());
1234inline std::string* SerializerTransporterKey::release_group() {
1236 if (!_internal_has_group()) {
1239 _impl_._has_bits_[0] &= ~0x00000002u;
1240 auto* p = _impl_.group_.Release();
1241#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1242 if (_impl_.group_.IsDefault()) {
1243 _impl_.group_.Set(
"", GetArenaForAllocation());
1248inline void SerializerTransporterKey::set_allocated_group(std::string*
group) {
1249 if (
group !=
nullptr) {
1250 _impl_._has_bits_[0] |= 0x00000002u;
1252 _impl_._has_bits_[0] &= ~0x00000002u;
1254 _impl_.group_.SetAllocated(
group, GetArenaForAllocation());
1255#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1256 if (_impl_.group_.IsDefault()) {
1257 _impl_.group_.Set(
"", GetArenaForAllocation());
1264inline bool SerializerTransporterKey::_internal_has_group_numeric()
const {
1265 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1268inline bool SerializerTransporterKey::has_group_numeric()
const {
1269 return _internal_has_group_numeric();
1271inline void SerializerTransporterKey::clear_group_numeric() {
1272 _impl_.group_numeric_ = 0u;
1273 _impl_._has_bits_[0] &= ~0x00000020u;
1275inline uint32_t SerializerTransporterKey::_internal_group_numeric()
const {
1276 return _impl_.group_numeric_;
1278inline uint32_t SerializerTransporterKey::group_numeric()
const {
1280 return _internal_group_numeric();
1282inline void SerializerTransporterKey::_internal_set_group_numeric(uint32_t value) {
1283 _impl_._has_bits_[0] |= 0x00000020u;
1284 _impl_.group_numeric_ = value;
1286inline void SerializerTransporterKey::set_group_numeric(uint32_t value) {
1287 _internal_set_group_numeric(value);
1292inline bool SerializerTransporterKey::_internal_has_serialize_time()
const {
1293 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1296inline bool SerializerTransporterKey::has_serialize_time()
const {
1297 return _internal_has_serialize_time();
1299inline void SerializerTransporterKey::clear_serialize_time() {
1300 _impl_.serialize_time_ = uint64_t{0u};
1301 _impl_._has_bits_[0] &= ~0x00000040u;
1303inline uint64_t SerializerTransporterKey::_internal_serialize_time()
const {
1304 return _impl_.serialize_time_;
1306inline uint64_t SerializerTransporterKey::serialize_time()
const {
1308 return _internal_serialize_time();
1310inline void SerializerTransporterKey::_internal_set_serialize_time(uint64_t value) {
1311 _impl_._has_bits_[0] |= 0x00000040u;
1312 _impl_.serialize_time_ = value;
1314inline void SerializerTransporterKey::set_serialize_time(uint64_t value) {
1315 _internal_set_serialize_time(value);
1320inline bool SerializerTransporterKey::_internal_has_cfg()
const {
1321 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1322 PROTOBUF_ASSUME(!value || _impl_.cfg_ !=
nullptr);
1325inline bool SerializerTransporterKey::has_cfg()
const {
1326 return _internal_has_cfg();
1328inline const ::goby::middleware::protobuf::TransporterConfig& SerializerTransporterKey::_internal_cfg()
const {
1329 const ::goby::middleware::protobuf::TransporterConfig* p = _impl_.cfg_;
1333inline const ::goby::middleware::protobuf::TransporterConfig& SerializerTransporterKey::cfg()
const {
1335 return _internal_cfg();
1337inline void SerializerTransporterKey::unsafe_arena_set_allocated_cfg(
1339 if (GetArenaForAllocation() ==
nullptr) {
1340 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.cfg_);
1344 _impl_._has_bits_[0] |= 0x00000004u;
1346 _impl_._has_bits_[0] &= ~0x00000004u;
1350inline ::goby::middleware::protobuf::TransporterConfig* SerializerTransporterKey::release_cfg() {
1351 _impl_._has_bits_[0] &= ~0x00000004u;
1353 _impl_.cfg_ =
nullptr;
1354#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1355 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1356 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1357 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1359 if (GetArenaForAllocation() !=
nullptr) {
1360 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1365inline ::goby::middleware::protobuf::TransporterConfig* SerializerTransporterKey::unsafe_arena_release_cfg() {
1367 _impl_._has_bits_[0] &= ~0x00000004u;
1369 _impl_.cfg_ =
nullptr;
1372inline ::goby::middleware::protobuf::TransporterConfig* SerializerTransporterKey::_internal_mutable_cfg() {
1373 _impl_._has_bits_[0] |= 0x00000004u;
1374 if (_impl_.cfg_ ==
nullptr) {
1380inline ::goby::middleware::protobuf::TransporterConfig* SerializerTransporterKey::mutable_cfg() {
1386 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1387 if (message_arena ==
nullptr) {
1388 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.cfg_);
1391 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1392 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1393 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(cfg));
1394 if (message_arena != submessage_arena) {
1395 cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1396 message_arena, cfg, submessage_arena);
1398 _impl_._has_bits_[0] |= 0x00000004u;
1400 _impl_._has_bits_[0] &= ~0x00000004u;
1407inline bool SerializerTransporterKey::_internal_has_metadata()
const {
1408 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1409 PROTOBUF_ASSUME(!value || _impl_.metadata_ !=
nullptr);
1412inline bool SerializerTransporterKey::has_metadata()
const {
1413 return _internal_has_metadata();
1415inline void SerializerTransporterKey::clear_metadata() {
1416 if (_impl_.metadata_ !=
nullptr) _impl_.metadata_->Clear();
1417 _impl_._has_bits_[0] &= ~0x00000008u;
1419inline const ::goby::middleware::protobuf::SerializerProtobufMetadata& SerializerTransporterKey::_internal_metadata()
const {
1420 const ::goby::middleware::protobuf::SerializerProtobufMetadata* p = _impl_.metadata_;
1424inline const ::goby::middleware::protobuf::SerializerProtobufMetadata& SerializerTransporterKey::metadata()
const {
1426 return _internal_metadata();
1428inline void SerializerTransporterKey::unsafe_arena_set_allocated_metadata(
1430 if (GetArenaForAllocation() ==
nullptr) {
1431 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.metadata_);
1433 _impl_.metadata_ = metadata;
1435 _impl_._has_bits_[0] |= 0x00000008u;
1437 _impl_._has_bits_[0] &= ~0x00000008u;
1441inline ::goby::middleware::protobuf::SerializerProtobufMetadata* SerializerTransporterKey::release_metadata() {
1442 _impl_._has_bits_[0] &= ~0x00000008u;
1444 _impl_.metadata_ =
nullptr;
1445#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1446 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1447 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1448 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1450 if (GetArenaForAllocation() !=
nullptr) {
1451 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1456inline ::goby::middleware::protobuf::SerializerProtobufMetadata* SerializerTransporterKey::unsafe_arena_release_metadata() {
1458 _impl_._has_bits_[0] &= ~0x00000008u;
1460 _impl_.metadata_ =
nullptr;
1463inline ::goby::middleware::protobuf::SerializerProtobufMetadata* SerializerTransporterKey::_internal_mutable_metadata() {
1464 _impl_._has_bits_[0] |= 0x00000008u;
1465 if (_impl_.metadata_ ==
nullptr) {
1467 _impl_.metadata_ = p;
1469 return _impl_.metadata_;
1471inline ::goby::middleware::protobuf::SerializerProtobufMetadata* SerializerTransporterKey::mutable_metadata() {
1477 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1478 if (message_arena ==
nullptr) {
1479 delete _impl_.metadata_;
1482 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1483 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(metadata);
1484 if (message_arena != submessage_arena) {
1485 metadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1486 message_arena, metadata, submessage_arena);
1488 _impl_._has_bits_[0] |= 0x00000008u;
1490 _impl_._has_bits_[0] &= ~0x00000008u;
1492 _impl_.metadata_ = metadata;
1501inline bool SerializerTransporterMessage::_internal_has_key()
const {
1502 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1503 PROTOBUF_ASSUME(!value || _impl_.key_ !=
nullptr);
1506inline bool SerializerTransporterMessage::has_key()
const {
1507 return _internal_has_key();
1509inline void SerializerTransporterMessage::clear_key() {
1510 if (_impl_.key_ !=
nullptr) _impl_.key_->Clear();
1511 _impl_._has_bits_[0] &= ~0x00000002u;
1513inline const ::goby::middleware::protobuf::SerializerTransporterKey& SerializerTransporterMessage::_internal_key()
const {
1514 const ::goby::middleware::protobuf::SerializerTransporterKey* p = _impl_.key_;
1518inline const ::goby::middleware::protobuf::SerializerTransporterKey& SerializerTransporterMessage::key()
const {
1520 return _internal_key();
1522inline void SerializerTransporterMessage::unsafe_arena_set_allocated_key(
1524 if (GetArenaForAllocation() ==
nullptr) {
1525 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.key_);
1529 _impl_._has_bits_[0] |= 0x00000002u;
1531 _impl_._has_bits_[0] &= ~0x00000002u;
1535inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerTransporterMessage::release_key() {
1536 _impl_._has_bits_[0] &= ~0x00000002u;
1538 _impl_.key_ =
nullptr;
1539#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1540 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1541 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1542 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1544 if (GetArenaForAllocation() !=
nullptr) {
1545 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1550inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerTransporterMessage::unsafe_arena_release_key() {
1552 _impl_._has_bits_[0] &= ~0x00000002u;
1554 _impl_.key_ =
nullptr;
1557inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerTransporterMessage::_internal_mutable_key() {
1558 _impl_._has_bits_[0] |= 0x00000002u;
1559 if (_impl_.key_ ==
nullptr) {
1565inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerTransporterMessage::mutable_key() {
1571 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1572 if (message_arena ==
nullptr) {
1576 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1577 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(key);
1578 if (message_arena != submessage_arena) {
1579 key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1580 message_arena, key, submessage_arena);
1582 _impl_._has_bits_[0] |= 0x00000002u;
1584 _impl_._has_bits_[0] &= ~0x00000002u;
1591inline bool SerializerTransporterMessage::_internal_has_data()
const {
1592 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1595inline bool SerializerTransporterMessage::has_data()
const {
1596 return _internal_has_data();
1598inline void SerializerTransporterMessage::clear_data() {
1599 _impl_.data_.ClearToEmpty();
1600 _impl_._has_bits_[0] &= ~0x00000001u;
1602inline const std::string& SerializerTransporterMessage::data()
const {
1604 return _internal_data();
1606template <
typename ArgT0,
typename... ArgT>
1607inline PROTOBUF_ALWAYS_INLINE
1608void SerializerTransporterMessage::set_data(ArgT0&& arg0, ArgT... args) {
1609 _impl_._has_bits_[0] |= 0x00000001u;
1610 _impl_.data_.SetBytes(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1613inline std::string* SerializerTransporterMessage::mutable_data() {
1614 std::string* _s = _internal_mutable_data();
1618inline const std::string& SerializerTransporterMessage::_internal_data()
const {
1619 return _impl_.data_.Get();
1621inline void SerializerTransporterMessage::_internal_set_data(
const std::string& value) {
1622 _impl_._has_bits_[0] |= 0x00000001u;
1623 _impl_.data_.Set(value, GetArenaForAllocation());
1625inline std::string* SerializerTransporterMessage::_internal_mutable_data() {
1626 _impl_._has_bits_[0] |= 0x00000001u;
1627 return _impl_.data_.Mutable(GetArenaForAllocation());
1629inline std::string* SerializerTransporterMessage::release_data() {
1631 if (!_internal_has_data()) {
1634 _impl_._has_bits_[0] &= ~0x00000001u;
1635 auto* p = _impl_.data_.Release();
1636#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1637 if (_impl_.data_.IsDefault()) {
1638 _impl_.data_.Set(
"", GetArenaForAllocation());
1643inline void SerializerTransporterMessage::set_allocated_data(std::string* data) {
1644 if (data !=
nullptr) {
1645 _impl_._has_bits_[0] |= 0x00000001u;
1647 _impl_._has_bits_[0] &= ~0x00000001u;
1649 _impl_.data_.SetAllocated(data, GetArenaForAllocation());
1650#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1651 if (_impl_.data_.IsDefault()) {
1652 _impl_.data_.Set(
"", GetArenaForAllocation());
1663inline bool SerializerMetadataRequest::_internal_has_key()
const {
1664 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1665 PROTOBUF_ASSUME(!value || _impl_.key_ !=
nullptr);
1668inline bool SerializerMetadataRequest::has_key()
const {
1669 return _internal_has_key();
1671inline void SerializerMetadataRequest::clear_key() {
1672 if (_impl_.key_ !=
nullptr) _impl_.key_->Clear();
1673 _impl_._has_bits_[0] &= ~0x00000001u;
1675inline const ::goby::middleware::protobuf::SerializerTransporterKey& SerializerMetadataRequest::_internal_key()
const {
1676 const ::goby::middleware::protobuf::SerializerTransporterKey* p = _impl_.key_;
1680inline const ::goby::middleware::protobuf::SerializerTransporterKey& SerializerMetadataRequest::key()
const {
1682 return _internal_key();
1684inline void SerializerMetadataRequest::unsafe_arena_set_allocated_key(
1686 if (GetArenaForAllocation() ==
nullptr) {
1687 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.key_);
1691 _impl_._has_bits_[0] |= 0x00000001u;
1693 _impl_._has_bits_[0] &= ~0x00000001u;
1697inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerMetadataRequest::release_key() {
1698 _impl_._has_bits_[0] &= ~0x00000001u;
1700 _impl_.key_ =
nullptr;
1701#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1702 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1703 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1704 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1706 if (GetArenaForAllocation() !=
nullptr) {
1707 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1712inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerMetadataRequest::unsafe_arena_release_key() {
1714 _impl_._has_bits_[0] &= ~0x00000001u;
1716 _impl_.key_ =
nullptr;
1719inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerMetadataRequest::_internal_mutable_key() {
1720 _impl_._has_bits_[0] |= 0x00000001u;
1721 if (_impl_.key_ ==
nullptr) {
1727inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerMetadataRequest::mutable_key() {
1733 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1734 if (message_arena ==
nullptr) {
1738 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1739 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(key);
1740 if (message_arena != submessage_arena) {
1741 key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1742 message_arena, key, submessage_arena);
1744 _impl_._has_bits_[0] |= 0x00000001u;
1746 _impl_._has_bits_[0] &= ~0x00000001u;
1753inline bool SerializerMetadataRequest::_internal_has_request()
const {
1754 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1757inline bool SerializerMetadataRequest::has_request()
const {
1758 return _internal_has_request();
1760inline void SerializerMetadataRequest::clear_request() {
1761 _impl_.request_ = 1;
1762 _impl_._has_bits_[0] &= ~0x00000002u;
1764inline ::goby::middleware::protobuf::SerializerMetadataRequest_Request SerializerMetadataRequest::_internal_request()
const {
1767inline ::goby::middleware::protobuf::SerializerMetadataRequest_Request SerializerMetadataRequest::request()
const {
1769 return _internal_request();
1773 _impl_._has_bits_[0] |= 0x00000002u;
1774 _impl_.request_ = value;
1777 _internal_set_request(value);
1782 #pragma GCC diagnostic pop
1797PROTOBUF_NAMESPACE_OPEN
1802 return ::goby::middleware::protobuf::SerializerMetadataRequest_Request_descriptor();
1805PROTOBUF_NAMESPACE_CLOSE
1809#include <google/protobuf/port_undef.inc>
static const ClassData _class_data_
SerializerTransporterKey * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_group(ArgT0 &&arg0, ArgT... args)
friend void swap(SerializerTransporterKey &a, SerializerTransporterKey &b)
SerializerTransporterKey & operator=(SerializerTransporterKey &&from) noexcept
void MergeFrom(const SerializerTransporterKey &from)
void set_type(ArgT0 &&arg0, ArgT... args)
void set_serialize_time_with_units(Quantity value_w_units)
void CopyFrom(const SerializerTransporterKey &from)
SerializerTransporterKey()
~SerializerTransporterKey() override
SerializerTransporterKey(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Quantity serialize_time_with_units() const
boost::units::make_scaled_unit< boost::units::unit< serialize_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type serialize_time_unit
SerializerTransporterKey(const SerializerTransporterKey &from)
PROTOBUF_CONSTEXPR SerializerTransporterKey(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type serialize_time_dimension
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
SerializerTransporterKey & operator=(const SerializerTransporterKey &from)
SerializerTransporterKey(SerializerTransporterKey &&from) noexcept
void Swap(SerializerTransporterKey *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const SerializerTransporterKey * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::quantity< serialize_time_unit, google::protobuf::uint64 > serialize_time_with_units() const
static const SerializerTransporterKey & default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(SerializerTransporterKey *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const SerializerTransporterMessage * internal_default_instance()
~SerializerTransporterMessage() override
PROTOBUF_CONSTEXPR SerializerTransporterMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
SerializerTransporterMessage(SerializerTransporterMessage &&from) noexcept
SerializerTransporterMessage * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(SerializerTransporterMessage *other)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ClassData _class_data_
void Swap(SerializerTransporterMessage *other)
SerializerTransporterMessage & operator=(const SerializerTransporterMessage &from)
SerializerTransporterMessage & operator=(SerializerTransporterMessage &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_data(ArgT0 &&arg0, ArgT... args)
void CopyFrom(const SerializerTransporterMessage &from)
SerializerTransporterMessage(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void MergeFrom(const SerializerTransporterMessage &from)
static const SerializerTransporterMessage & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
SerializerTransporterMessage()
friend void swap(SerializerTransporterMessage &a, SerializerTransporterMessage &b)
SerializerTransporterMessage(const SerializerTransporterMessage &from)
goby::util::logger::GroupSetter group(std::string n)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * SerializerMetadataRequest_Request_descriptor()
SerializerMetadataRequestDefaultTypeInternal _SerializerMetadataRequest_default_instance_
TransporterConfigDefaultTypeInternal _TransporterConfig_default_instance_
SerializerProtobufMetadataDefaultTypeInternal _SerializerProtobufMetadata_default_instance_
SerializerMetadataRequest_Request
@ SerializerMetadataRequest_Request_METADATA_EXCLUDE
@ SerializerMetadataRequest_Request_METADATA_INCLUDE
const std::string & SerializerMetadataRequest_Request_Name(T enum_t_value)
SerializerTransporterMessageDefaultTypeInternal _SerializerTransporterMessage_default_instance_
bool SerializerMetadataRequest_Request_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SerializerMetadataRequest_Request *value)
SerializerTransporterKeyDefaultTypeInternal _SerializerTransporterKey_default_instance_
bool SerializerMetadataRequest_Request_IsValid(int value)
constexpr int SerializerMetadataRequest_Request_Request_ARRAYSIZE
constexpr SerializerMetadataRequest_Request SerializerMetadataRequest_Request_Request_MIN
constexpr SerializerMetadataRequest_Request SerializerMetadataRequest_Request_Request_MAX
The global namespace for the Goby project.
::goby::middleware::protobuf::SerializerProtobufMetadata * Arena::CreateMaybeMessage<::goby::middleware::protobuf::SerializerProtobufMetadata >(Arena *)
::goby::middleware::protobuf::SerializerTransporterKey * Arena::CreateMaybeMessage<::goby::middleware::protobuf::SerializerTransporterKey >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fserializer_5ftransporter_2eproto
const EnumDescriptor * GetEnumDescriptor< ::goby::middleware::protobuf::SerializerMetadataRequest_Request >()
static const uint32_t offsets[]
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::TransporterConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::TransporterConfig >(Arena *)