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 < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
36 #include "dccl/option_extensions.pb.h"
38 #include <google/protobuf/descriptor.pb.h>
39 #include <boost/units/quantity.hpp>
40 #include <boost/units/absolute.hpp>
41 #include <boost/units/dimensionless_type.hpp>
42 #include <boost/units/make_scaled_unit.hpp>
44 #include <boost/units/systems/si.hpp>
46 #include <google/protobuf/port_def.inc>
47 #define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2fserializer_5ftransporter_2eproto
48 PROTOBUF_NAMESPACE_OPEN
52 PROTOBUF_NAMESPACE_CLOSE
56 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
68 namespace middleware {
70 class SerializerMetadataRequest;
71 class SerializerMetadataRequestDefaultTypeInternal;
73 class SerializerProtobufMetadata;
74 class SerializerProtobufMetadataDefaultTypeInternal;
76 class SerializerTransporterKey;
77 class SerializerTransporterKeyDefaultTypeInternal;
79 class SerializerTransporterMessage;
80 class SerializerTransporterMessageDefaultTypeInternal;
85 PROTOBUF_NAMESPACE_OPEN
86 template<> ::goby::middleware::protobuf::SerializerMetadataRequest* Arena::CreateMaybeMessage<::goby::middleware::protobuf::SerializerMetadataRequest>(Arena*);
87 template<> ::goby::middleware::protobuf::SerializerProtobufMetadata* Arena::CreateMaybeMessage<::goby::middleware::protobuf::SerializerProtobufMetadata>(Arena*);
88 template<> ::goby::middleware::protobuf::SerializerTransporterKey* Arena::CreateMaybeMessage<::goby::middleware::protobuf::SerializerTransporterKey>(Arena*);
89 template<> ::goby::middleware::protobuf::SerializerTransporterMessage* Arena::CreateMaybeMessage<::goby::middleware::protobuf::SerializerTransporterMessage>(Arena*);
90 PROTOBUF_NAMESPACE_CLOSE
92 namespace middleware {
107 static_assert(::std::is_same<T, SerializerMetadataRequest_Request>::value ||
108 ::std::is_integral<T>::value,
109 "Incorrect type passed to function SerializerMetadataRequest_Request_Name.");
110 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
115 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SerializerMetadataRequest_Request>(
121 public ::PROTOBUF_NAMESPACE_ID::Message {
128 : SerializerProtobufMetadata() {
129 *
this = ::std::move(from);
132 inline SerializerProtobufMetadata&
operator=(
const SerializerProtobufMetadata& from) {
136 inline SerializerProtobufMetadata&
operator=(SerializerProtobufMetadata&& from) noexcept {
137 if (GetArena() == from.GetArena()) {
138 if (
this != &from) InternalSwap(&from);
146 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
149 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
152 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
153 return GetDescriptor();
156 return GetMetadataStatic().descriptor;
159 return GetMetadataStatic().reflection;
165 return reinterpret_cast<const SerializerProtobufMetadata*
>(
168 static constexpr
int kIndexInFileMessages =
171 friend void swap(SerializerProtobufMetadata& a, SerializerProtobufMetadata& b) {
174 inline void Swap(SerializerProtobufMetadata* other) {
175 if (other ==
this)
return;
176 if (GetArena() == other->GetArena()) {
179 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
183 if (other ==
this)
return;
184 GOOGLE_DCHECK(GetArena() == other->GetArena());
190 inline SerializerProtobufMetadata*
New() const final {
191 return CreateMaybeMessage<SerializerProtobufMetadata>(
nullptr);
194 SerializerProtobufMetadata*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
195 return CreateMaybeMessage<SerializerProtobufMetadata>(arena);
197 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
198 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
199 void CopyFrom(
const SerializerProtobufMetadata& from);
201 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
202 bool IsInitialized() const final;
205 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
206 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
207 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
208 int GetCachedSize() const final {
return _cached_size_.Get(); }
211 inline void SharedCtor();
212 inline void SharedDtor();
213 void SetCachedSize(
int size)
const final;
214 void InternalSwap(SerializerProtobufMetadata* other);
215 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
216 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
217 return "goby.middleware.protobuf.SerializerProtobufMetadata";
222 static void ArenaDtor(
void*
object);
223 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
228 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
240 kFileDescriptorFieldNumber = 2,
241 kProtobufNameFieldNumber = 1,
246 int _internal_file_descriptor_size()
const;
250 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
253 const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& _internal_file_descriptor(
int index)
const;
254 PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _internal_add_file_descriptor();
258 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
264 bool _internal_has_protobuf_name()
const;
275 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
276 " string fields are deprecated and will be removed in a"
278 std::
string* unsafe_arena_release_protobuf_name();
279 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
280 "
string fields are deprecated and will be removed in a"
282 void unsafe_arena_set_allocated_protobuf_name(
283 std::
string* protobuf_name);
285 const std::
string& _internal_protobuf_name() const;
286 void _internal_set_protobuf_name(const std::
string& value);
287 std::
string* _internal_mutable_protobuf_name();
294 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
295 typedef
void InternalArenaConstructable_;
296 typedef
void DestructorSkippable_;
297 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
298 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
299 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto > file_descriptor_;
300 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr protobuf_name_;
306 public ::PROTOBUF_NAMESPACE_ID::Message {
313 : SerializerTransporterKey() {
314 *
this = ::std::move(from);
317 inline SerializerTransporterKey&
operator=(
const SerializerTransporterKey& from) {
321 inline SerializerTransporterKey&
operator=(SerializerTransporterKey&& from) noexcept {
322 if (GetArena() == from.GetArena()) {
323 if (
this != &from) InternalSwap(&from);
331 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
334 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
337 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
338 return GetDescriptor();
341 return GetMetadataStatic().descriptor;
344 return GetMetadataStatic().reflection;
350 return reinterpret_cast<const SerializerTransporterKey*
>(
353 static constexpr
int kIndexInFileMessages =
356 friend void swap(SerializerTransporterKey& a, SerializerTransporterKey& b) {
359 inline void Swap(SerializerTransporterKey* other) {
360 if (other ==
this)
return;
361 if (GetArena() == other->GetArena()) {
364 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
368 if (other ==
this)
return;
369 GOOGLE_DCHECK(GetArena() == other->GetArena());
375 inline SerializerTransporterKey*
New() const final {
376 return CreateMaybeMessage<SerializerTransporterKey>(
nullptr);
379 SerializerTransporterKey*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
380 return CreateMaybeMessage<SerializerTransporterKey>(arena);
382 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
383 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
384 void CopyFrom(
const SerializerTransporterKey& from);
386 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
387 bool IsInitialized() const final;
390 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
391 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
392 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
393 int GetCachedSize() const final {
return _cached_size_.Get(); }
396 inline void SharedCtor();
397 inline void SharedDtor();
398 void SetCachedSize(
int size)
const final;
399 void InternalSwap(SerializerTransporterKey* other);
400 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
401 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
402 return "goby.middleware.protobuf.SerializerTransporterKey";
407 static void ArenaDtor(
void*
object);
408 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
413 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
425 kTypeFieldNumber = 2,
426 kGroupFieldNumber = 3,
427 kCfgFieldNumber = 10,
428 kMetadataFieldNumber = 20,
429 kMarshallingSchemeFieldNumber = 1,
430 kGroupNumericFieldNumber = 4,
431 kSerializeTimeFieldNumber = 5,
436 bool _internal_has_type()
const;
439 const std::string&
type()
const;
447 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
448 " string fields are deprecated and will be removed in a"
450 std::
string* unsafe_arena_release_type();
451 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
452 "
string fields are deprecated and will be removed in a"
454 void unsafe_arena_set_allocated_type(
457 const std::
string& _internal_type() const;
458 void _internal_set_type(const std::
string& value);
459 std::
string* _internal_mutable_type();
463 bool has_group() const;
465 bool _internal_has_group() const;
469 void set_group(const std::
string& value);
470 void set_group(std::
string&& value);
471 void set_group(const
char* value);
472 void set_group(const
char* value,
size_t size);
473 std::
string* mutable_group();
474 std::
string* release_group();
475 void set_allocated_group(std::
string*
group);
476 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
477 "
string fields are deprecated and will be removed in a"
479 std::
string* unsafe_arena_release_group();
480 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
481 "
string fields are deprecated and will be removed in a"
483 void unsafe_arena_set_allocated_group(
486 const std::
string& _internal_group() const;
487 void _internal_set_group(const std::
string& value);
488 std::
string* _internal_mutable_group();
492 bool has_cfg() const;
494 bool _internal_has_cfg() const;
497 const ::
goby::middleware::protobuf::TransporterConfig& cfg() const;
498 ::
goby::middleware::protobuf::TransporterConfig* release_cfg();
499 ::
goby::middleware::protobuf::TransporterConfig* mutable_cfg();
500 void set_allocated_cfg(::
goby::middleware::protobuf::TransporterConfig* cfg);
502 const ::
goby::middleware::protobuf::TransporterConfig& _internal_cfg() const;
503 ::
goby::middleware::protobuf::TransporterConfig* _internal_mutable_cfg();
505 void unsafe_arena_set_allocated_cfg(
506 ::
goby::middleware::protobuf::TransporterConfig* cfg);
507 ::
goby::middleware::protobuf::TransporterConfig* unsafe_arena_release_cfg();
510 bool has_metadata() const;
512 bool _internal_has_metadata() const;
514 void clear_metadata();
515 const ::
goby::middleware::protobuf::SerializerProtobufMetadata& metadata() const;
516 ::
goby::middleware::protobuf::SerializerProtobufMetadata* release_metadata();
517 ::
goby::middleware::protobuf::SerializerProtobufMetadata* mutable_metadata();
518 void set_allocated_metadata(::
goby::middleware::protobuf::SerializerProtobufMetadata* metadata);
520 const ::
goby::middleware::protobuf::SerializerProtobufMetadata& _internal_metadata() const;
521 ::
goby::middleware::protobuf::SerializerProtobufMetadata* _internal_mutable_metadata();
523 void unsafe_arena_set_allocated_metadata(
524 ::
goby::middleware::protobuf::SerializerProtobufMetadata* metadata);
525 ::
goby::middleware::protobuf::SerializerProtobufMetadata* unsafe_arena_release_metadata();
528 bool has_marshalling_scheme() const;
530 bool _internal_has_marshalling_scheme() const;
532 void clear_marshalling_scheme();
533 ::PROTOBUF_NAMESPACE_ID::
int32 marshalling_scheme() const;
534 void set_marshalling_scheme(::PROTOBUF_NAMESPACE_ID::
int32 value);
536 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_marshalling_scheme() const;
537 void _internal_set_marshalling_scheme(::PROTOBUF_NAMESPACE_ID::
int32 value);
541 bool has_group_numeric() const;
543 bool _internal_has_group_numeric() const;
545 void clear_group_numeric();
546 ::PROTOBUF_NAMESPACE_ID::
uint32 group_numeric() const;
547 void set_group_numeric(::PROTOBUF_NAMESPACE_ID::
uint32 value);
549 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_group_numeric() const;
550 void _internal_set_group_numeric(::PROTOBUF_NAMESPACE_ID::
uint32 value);
554 bool has_serialize_time() const;
556 bool _internal_has_serialize_time() const;
558 void clear_serialize_time();
559 ::PROTOBUF_NAMESPACE_ID::
uint64 serialize_time() const;
560 void set_serialize_time(::PROTOBUF_NAMESPACE_ID::
uint64 value);
562 ::PROTOBUF_NAMESPACE_ID::
uint64 _internal_serialize_time() const;
563 void _internal_set_serialize_time(::PROTOBUF_NAMESPACE_ID::
uint64 value);
570 template<typename Quantity >
571 void set_serialize_time_with_units(Quantity value_w_units)
572 { set_serialize_time(boost::units::quantity<serialize_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
574 template<
typename Quantity >
579 {
return serialize_time_with_units<boost::units::quantity< serialize_time_unit,google::protobuf::uint64 > >(); };
586 size_t RequiredFieldsByteSizeFallback()
const;
588 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
589 typedef void InternalArenaConstructable_;
590 typedef void DestructorSkippable_;
591 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
592 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
593 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
594 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_;
595 ::goby::middleware::protobuf::TransporterConfig* cfg_;
596 ::goby::middleware::protobuf::SerializerProtobufMetadata* metadata_;
600 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fserializer_5ftransporter_2eproto;
605 public ::PROTOBUF_NAMESPACE_ID::Message {
612 : SerializerTransporterMessage() {
613 *
this = ::std::move(from);
616 inline SerializerTransporterMessage&
operator=(
const SerializerTransporterMessage& from) {
620 inline SerializerTransporterMessage&
operator=(SerializerTransporterMessage&& from) noexcept {
621 if (GetArena() == from.GetArena()) {
622 if (
this != &from) InternalSwap(&from);
630 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
633 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
636 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
637 return GetDescriptor();
640 return GetMetadataStatic().descriptor;
643 return GetMetadataStatic().reflection;
649 return reinterpret_cast<const SerializerTransporterMessage*
>(
652 static constexpr
int kIndexInFileMessages =
655 friend void swap(SerializerTransporterMessage& a, SerializerTransporterMessage& b) {
658 inline void Swap(SerializerTransporterMessage* other) {
659 if (other ==
this)
return;
660 if (GetArena() == other->GetArena()) {
663 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
667 if (other ==
this)
return;
668 GOOGLE_DCHECK(GetArena() == other->GetArena());
674 inline SerializerTransporterMessage*
New() const final {
675 return CreateMaybeMessage<SerializerTransporterMessage>(
nullptr);
678 SerializerTransporterMessage*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
679 return CreateMaybeMessage<SerializerTransporterMessage>(arena);
681 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
682 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
683 void CopyFrom(
const SerializerTransporterMessage& from);
684 void MergeFrom(
const SerializerTransporterMessage& from);
685 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
686 bool IsInitialized() const final;
689 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
690 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
691 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
692 int GetCachedSize() const final {
return _cached_size_.Get(); }
695 inline void SharedCtor();
696 inline void SharedDtor();
697 void SetCachedSize(
int size)
const final;
698 void InternalSwap(SerializerTransporterMessage* other);
699 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
700 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
701 return "goby.middleware.protobuf.SerializerTransporterMessage";
706 static void ArenaDtor(
void*
object);
707 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
712 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
724 kDataFieldNumber = 4,
730 bool _internal_has_data()
const;
733 const std::string&
data()
const;
741 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
742 " string fields are deprecated and will be removed in a"
744 std::
string* unsafe_arena_release_data();
745 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
746 "
string fields are deprecated and will be removed in a"
748 void unsafe_arena_set_allocated_data(
751 const std::
string& _internal_data() const;
752 void _internal_set_data(const std::
string& value);
753 std::
string* _internal_mutable_data();
757 bool has_key() const;
759 bool _internal_has_key() const;
762 const ::
goby::middleware::protobuf::SerializerTransporterKey& key() const;
763 ::
goby::middleware::protobuf::SerializerTransporterKey* release_key();
764 ::
goby::middleware::protobuf::SerializerTransporterKey* mutable_key();
765 void set_allocated_key(::
goby::middleware::protobuf::SerializerTransporterKey* key);
767 const ::
goby::middleware::protobuf::SerializerTransporterKey& _internal_key() const;
768 ::
goby::middleware::protobuf::SerializerTransporterKey* _internal_mutable_key();
770 void unsafe_arena_set_allocated_key(
771 ::
goby::middleware::protobuf::SerializerTransporterKey* key);
772 ::
goby::middleware::protobuf::SerializerTransporterKey* unsafe_arena_release_key();
778 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
779 typedef
void InternalArenaConstructable_;
780 typedef
void DestructorSkippable_;
781 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
782 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
783 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr data_;
784 ::
goby::middleware::protobuf::SerializerTransporterKey* key_;
790 public ::PROTOBUF_NAMESPACE_ID::Message {
797 : SerializerMetadataRequest() {
798 *
this = ::std::move(from);
801 inline SerializerMetadataRequest&
operator=(
const SerializerMetadataRequest& from) {
805 inline SerializerMetadataRequest&
operator=(SerializerMetadataRequest&& from) noexcept {
806 if (GetArena() == from.GetArena()) {
807 if (
this != &from) InternalSwap(&from);
815 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
818 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
821 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
822 return GetDescriptor();
825 return GetMetadataStatic().descriptor;
828 return GetMetadataStatic().reflection;
834 return reinterpret_cast<const SerializerMetadataRequest*
>(
837 static constexpr
int kIndexInFileMessages =
840 friend void swap(SerializerMetadataRequest& a, SerializerMetadataRequest& b) {
843 inline void Swap(SerializerMetadataRequest* other) {
844 if (other ==
this)
return;
845 if (GetArena() == other->GetArena()) {
848 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
852 if (other ==
this)
return;
853 GOOGLE_DCHECK(GetArena() == other->GetArena());
859 inline SerializerMetadataRequest*
New() const final {
860 return CreateMaybeMessage<SerializerMetadataRequest>(
nullptr);
863 SerializerMetadataRequest*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
864 return CreateMaybeMessage<SerializerMetadataRequest>(arena);
866 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
867 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
868 void CopyFrom(
const SerializerMetadataRequest& from);
870 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
871 bool IsInitialized() const final;
874 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
875 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
876 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
877 int GetCachedSize() const final {
return _cached_size_.Get(); }
880 inline void SharedCtor();
881 inline void SharedDtor();
882 void SetCachedSize(
int size)
const final;
883 void InternalSwap(SerializerMetadataRequest* other);
884 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
885 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
886 return "goby.middleware.protobuf.SerializerMetadataRequest";
891 static void ArenaDtor(
void*
object);
892 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
897 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
920 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
926 static_assert(::std::is_same<T, Request>::value ||
927 ::std::is_integral<T>::value,
928 "Incorrect type passed to function Request_Name.");
940 kRequestFieldNumber = 2,
945 bool _internal_has_key()
const;
948 const ::goby::middleware::protobuf::SerializerTransporterKey&
key()
const;
949 ::goby::middleware::protobuf::SerializerTransporterKey*
release_key();
950 ::goby::middleware::protobuf::SerializerTransporterKey*
mutable_key();
953 const ::goby::middleware::protobuf::SerializerTransporterKey& _internal_key()
const;
954 ::goby::middleware::protobuf::SerializerTransporterKey* _internal_mutable_key();
957 ::goby::middleware::protobuf::SerializerTransporterKey* key);
963 bool _internal_has_request()
const;
978 size_t RequiredFieldsByteSizeFallback()
const;
980 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
981 typedef void InternalArenaConstructable_;
982 typedef void DestructorSkippable_;
983 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
984 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
985 ::goby::middleware::protobuf::SerializerTransporterKey* key_;
987 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fserializer_5ftransporter_2eproto;
995 #pragma GCC diagnostic push
996 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1001 inline bool SerializerProtobufMetadata::_internal_has_protobuf_name()
const {
1002 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1005 inline bool SerializerProtobufMetadata::has_protobuf_name()
const {
1006 return _internal_has_protobuf_name();
1008 inline void SerializerProtobufMetadata::clear_protobuf_name() {
1010 _has_bits_[0] &= ~0x00000001u;
1012 inline const std::string& SerializerProtobufMetadata::protobuf_name()
const {
1014 return _internal_protobuf_name();
1016 inline void SerializerProtobufMetadata::set_protobuf_name(
const std::string& value) {
1017 _internal_set_protobuf_name(value);
1020 inline std::string* SerializerProtobufMetadata::mutable_protobuf_name() {
1022 return _internal_mutable_protobuf_name();
1024 inline const std::string& SerializerProtobufMetadata::_internal_protobuf_name()
const {
1025 return protobuf_name_.Get();
1027 inline void SerializerProtobufMetadata::_internal_set_protobuf_name(
const std::string& value) {
1028 _has_bits_[0] |= 0x00000001u;
1031 inline void SerializerProtobufMetadata::set_protobuf_name(std::string&& value) {
1032 _has_bits_[0] |= 0x00000001u;
1037 inline void SerializerProtobufMetadata::set_protobuf_name(
const char* value) {
1038 GOOGLE_DCHECK(value !=
nullptr);
1039 _has_bits_[0] |= 0x00000001u;
1044 inline void SerializerProtobufMetadata::set_protobuf_name(
const char* value,
1046 _has_bits_[0] |= 0x00000001u;
1048 reinterpret_cast<const char*
>(value), size), GetArena());
1051 inline std::string* SerializerProtobufMetadata::_internal_mutable_protobuf_name() {
1052 _has_bits_[0] |= 0x00000001u;
1055 inline std::string* SerializerProtobufMetadata::release_protobuf_name() {
1057 if (!_internal_has_protobuf_name()) {
1060 _has_bits_[0] &= ~0x00000001u;
1063 inline void SerializerProtobufMetadata::set_allocated_protobuf_name(std::string* protobuf_name) {
1064 if (protobuf_name !=
nullptr) {
1065 _has_bits_[0] |= 0x00000001u;
1067 _has_bits_[0] &= ~0x00000001u;
1073 inline std::string* SerializerProtobufMetadata::unsafe_arena_release_protobuf_name() {
1075 GOOGLE_DCHECK(GetArena() !=
nullptr);
1076 _has_bits_[0] &= ~0x00000001u;
1080 inline void SerializerProtobufMetadata::unsafe_arena_set_allocated_protobuf_name(
1081 std::string* protobuf_name) {
1082 GOOGLE_DCHECK(GetArena() !=
nullptr);
1083 if (protobuf_name !=
nullptr) {
1084 _has_bits_[0] |= 0x00000001u;
1086 _has_bits_[0] &= ~0x00000001u;
1089 protobuf_name, GetArena());
1094 inline int SerializerProtobufMetadata::_internal_file_descriptor_size()
const {
1095 return file_descriptor_.size();
1097 inline int SerializerProtobufMetadata::file_descriptor_size()
const {
1098 return _internal_file_descriptor_size();
1100 inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* SerializerProtobufMetadata::mutable_file_descriptor(
int index) {
1102 return file_descriptor_.Mutable(index);
1104 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
1105 SerializerProtobufMetadata::mutable_file_descriptor() {
1107 return &file_descriptor_;
1109 inline const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& SerializerProtobufMetadata::_internal_file_descriptor(
int index)
const {
1110 return file_descriptor_.Get(index);
1112 inline const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& SerializerProtobufMetadata::file_descriptor(
int index)
const {
1114 return _internal_file_descriptor(index);
1116 inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* SerializerProtobufMetadata::_internal_add_file_descriptor() {
1117 return file_descriptor_.Add();
1119 inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* SerializerProtobufMetadata::add_file_descriptor() {
1121 return _internal_add_file_descriptor();
1123 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
1124 SerializerProtobufMetadata::file_descriptor()
const {
1126 return file_descriptor_;
1134 inline bool SerializerTransporterKey::_internal_has_marshalling_scheme()
const {
1135 bool value = (_has_bits_[0] & 0x00000010u) != 0;
1138 inline bool SerializerTransporterKey::has_marshalling_scheme()
const {
1139 return _internal_has_marshalling_scheme();
1141 inline void SerializerTransporterKey::clear_marshalling_scheme() {
1142 marshalling_scheme_ = 0;
1143 _has_bits_[0] &= ~0x00000010u;
1146 return marshalling_scheme_;
1150 return _internal_marshalling_scheme();
1153 _has_bits_[0] |= 0x00000010u;
1154 marshalling_scheme_ =
value;
1157 _internal_set_marshalling_scheme(value);
1162 inline bool SerializerTransporterKey::_internal_has_type()
const {
1163 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1166 inline bool SerializerTransporterKey::has_type()
const {
1167 return _internal_has_type();
1169 inline void SerializerTransporterKey::clear_type() {
1171 _has_bits_[0] &= ~0x00000001u;
1175 return _internal_type();
1177 inline void SerializerTransporterKey::set_type(
const std::string& value) {
1178 _internal_set_type(value);
1181 inline std::string* SerializerTransporterKey::mutable_type() {
1183 return _internal_mutable_type();
1185 inline const std::string& SerializerTransporterKey::_internal_type()
const {
1188 inline void SerializerTransporterKey::_internal_set_type(
const std::string& value) {
1189 _has_bits_[0] |= 0x00000001u;
1192 inline void SerializerTransporterKey::set_type(std::string&& value) {
1193 _has_bits_[0] |= 0x00000001u;
1198 inline void SerializerTransporterKey::set_type(
const char* value) {
1199 GOOGLE_DCHECK(value !=
nullptr);
1200 _has_bits_[0] |= 0x00000001u;
1205 inline void SerializerTransporterKey::set_type(
const char* value,
1207 _has_bits_[0] |= 0x00000001u;
1209 reinterpret_cast<const char*
>(value), size), GetArena());
1212 inline std::string* SerializerTransporterKey::_internal_mutable_type() {
1213 _has_bits_[0] |= 0x00000001u;
1216 inline std::string* SerializerTransporterKey::release_type() {
1218 if (!_internal_has_type()) {
1221 _has_bits_[0] &= ~0x00000001u;
1224 inline void SerializerTransporterKey::set_allocated_type(std::string*
type) {
1225 if (
type !=
nullptr) {
1226 _has_bits_[0] |= 0x00000001u;
1228 _has_bits_[0] &= ~0x00000001u;
1234 inline std::string* SerializerTransporterKey::unsafe_arena_release_type() {
1236 GOOGLE_DCHECK(GetArena() !=
nullptr);
1237 _has_bits_[0] &= ~0x00000001u;
1241 inline void SerializerTransporterKey::unsafe_arena_set_allocated_type(
1242 std::string*
type) {
1243 GOOGLE_DCHECK(GetArena() !=
nullptr);
1244 if (
type !=
nullptr) {
1245 _has_bits_[0] |= 0x00000001u;
1247 _has_bits_[0] &= ~0x00000001u;
1255 inline bool SerializerTransporterKey::_internal_has_group()
const {
1256 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1259 inline bool SerializerTransporterKey::has_group()
const {
1260 return _internal_has_group();
1262 inline void SerializerTransporterKey::clear_group() {
1264 _has_bits_[0] &= ~0x00000002u;
1268 return _internal_group();
1270 inline void SerializerTransporterKey::set_group(
const std::string& value) {
1271 _internal_set_group(value);
1274 inline std::string* SerializerTransporterKey::mutable_group() {
1276 return _internal_mutable_group();
1278 inline const std::string& SerializerTransporterKey::_internal_group()
const {
1279 return group_.Get();
1281 inline void SerializerTransporterKey::_internal_set_group(
const std::string& value) {
1282 _has_bits_[0] |= 0x00000002u;
1285 inline void SerializerTransporterKey::set_group(std::string&& value) {
1286 _has_bits_[0] |= 0x00000002u;
1291 inline void SerializerTransporterKey::set_group(
const char* value) {
1292 GOOGLE_DCHECK(value !=
nullptr);
1293 _has_bits_[0] |= 0x00000002u;
1298 inline void SerializerTransporterKey::set_group(
const char* value,
1300 _has_bits_[0] |= 0x00000002u;
1302 reinterpret_cast<const char*
>(value), size), GetArena());
1305 inline std::string* SerializerTransporterKey::_internal_mutable_group() {
1306 _has_bits_[0] |= 0x00000002u;
1309 inline std::string* SerializerTransporterKey::release_group() {
1311 if (!_internal_has_group()) {
1314 _has_bits_[0] &= ~0x00000002u;
1317 inline void SerializerTransporterKey::set_allocated_group(std::string*
group) {
1318 if (
group !=
nullptr) {
1319 _has_bits_[0] |= 0x00000002u;
1321 _has_bits_[0] &= ~0x00000002u;
1327 inline std::string* SerializerTransporterKey::unsafe_arena_release_group() {
1329 GOOGLE_DCHECK(GetArena() !=
nullptr);
1330 _has_bits_[0] &= ~0x00000002u;
1334 inline void SerializerTransporterKey::unsafe_arena_set_allocated_group(
1335 std::string*
group) {
1336 GOOGLE_DCHECK(GetArena() !=
nullptr);
1337 if (
group !=
nullptr) {
1338 _has_bits_[0] |= 0x00000002u;
1340 _has_bits_[0] &= ~0x00000002u;
1348 inline bool SerializerTransporterKey::_internal_has_group_numeric()
const {
1349 bool value = (_has_bits_[0] & 0x00000020u) != 0;
1352 inline bool SerializerTransporterKey::has_group_numeric()
const {
1353 return _internal_has_group_numeric();
1355 inline void SerializerTransporterKey::clear_group_numeric() {
1356 group_numeric_ = 0u;
1357 _has_bits_[0] &= ~0x00000020u;
1360 return group_numeric_;
1364 return _internal_group_numeric();
1367 _has_bits_[0] |= 0x00000020u;
1368 group_numeric_ =
value;
1371 _internal_set_group_numeric(value);
1376 inline bool SerializerTransporterKey::_internal_has_serialize_time()
const {
1377 bool value = (_has_bits_[0] & 0x00000040u) != 0;
1380 inline bool SerializerTransporterKey::has_serialize_time()
const {
1381 return _internal_has_serialize_time();
1383 inline void SerializerTransporterKey::clear_serialize_time() {
1384 serialize_time_ = PROTOBUF_ULONGLONG(0);
1385 _has_bits_[0] &= ~0x00000040u;
1388 return serialize_time_;
1392 return _internal_serialize_time();
1395 _has_bits_[0] |= 0x00000040u;
1396 serialize_time_ =
value;
1399 _internal_set_serialize_time(value);
1404 inline bool SerializerTransporterKey::_internal_has_cfg()
const {
1405 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1406 PROTOBUF_ASSUME(!value || cfg_ !=
nullptr);
1409 inline bool SerializerTransporterKey::has_cfg()
const {
1410 return _internal_has_cfg();
1412 inline const ::goby::middleware::protobuf::TransporterConfig& SerializerTransporterKey::_internal_cfg()
const {
1413 const ::goby::middleware::protobuf::TransporterConfig* p = cfg_;
1414 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::TransporterConfig*
>(
1417 inline const ::goby::middleware::protobuf::TransporterConfig& SerializerTransporterKey::cfg()
const {
1419 return _internal_cfg();
1421 inline void SerializerTransporterKey::unsafe_arena_set_allocated_cfg(
1422 ::goby::middleware::protobuf::TransporterConfig* cfg) {
1423 if (GetArena() ==
nullptr) {
1424 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(cfg_);
1428 _has_bits_[0] |= 0x00000004u;
1430 _has_bits_[0] &= ~0x00000004u;
1434 inline ::goby::middleware::protobuf::TransporterConfig* SerializerTransporterKey::release_cfg() {
1435 auto temp = unsafe_arena_release_cfg();
1436 if (GetArena() !=
nullptr) {
1437 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1441 inline ::goby::middleware::protobuf::TransporterConfig* SerializerTransporterKey::unsafe_arena_release_cfg() {
1443 _has_bits_[0] &= ~0x00000004u;
1444 ::goby::middleware::protobuf::TransporterConfig* temp = cfg_;
1448 inline ::goby::middleware::protobuf::TransporterConfig* SerializerTransporterKey::_internal_mutable_cfg() {
1449 _has_bits_[0] |= 0x00000004u;
1450 if (cfg_ ==
nullptr) {
1451 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::TransporterConfig>(GetArena());
1456 inline ::goby::middleware::protobuf::TransporterConfig* SerializerTransporterKey::mutable_cfg() {
1458 return _internal_mutable_cfg();
1460 inline void SerializerTransporterKey::set_allocated_cfg(::goby::middleware::protobuf::TransporterConfig* cfg) {
1461 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1462 if (message_arena ==
nullptr) {
1463 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(cfg_);
1466 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1467 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(cfg)->GetArena();
1468 if (message_arena != submessage_arena) {
1469 cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1470 message_arena, cfg, submessage_arena);
1472 _has_bits_[0] |= 0x00000004u;
1474 _has_bits_[0] &= ~0x00000004u;
1481 inline bool SerializerTransporterKey::_internal_has_metadata()
const {
1482 bool value = (_has_bits_[0] & 0x00000008u) != 0;
1483 PROTOBUF_ASSUME(!value || metadata_ !=
nullptr);
1486 inline bool SerializerTransporterKey::has_metadata()
const {
1487 return _internal_has_metadata();
1489 inline void SerializerTransporterKey::clear_metadata() {
1490 if (metadata_ !=
nullptr) metadata_->Clear();
1491 _has_bits_[0] &= ~0x00000008u;
1493 inline const ::goby::middleware::protobuf::SerializerProtobufMetadata& SerializerTransporterKey::_internal_metadata()
const {
1494 const ::goby::middleware::protobuf::SerializerProtobufMetadata* p = metadata_;
1495 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::SerializerProtobufMetadata*
>(
1498 inline const ::goby::middleware::protobuf::SerializerProtobufMetadata& SerializerTransporterKey::metadata()
const {
1500 return _internal_metadata();
1502 inline void SerializerTransporterKey::unsafe_arena_set_allocated_metadata(
1503 ::goby::middleware::protobuf::SerializerProtobufMetadata* metadata) {
1504 if (GetArena() ==
nullptr) {
1505 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(metadata_);
1507 metadata_ = metadata;
1509 _has_bits_[0] |= 0x00000008u;
1511 _has_bits_[0] &= ~0x00000008u;
1515 inline ::goby::middleware::protobuf::SerializerProtobufMetadata* SerializerTransporterKey::release_metadata() {
1516 auto temp = unsafe_arena_release_metadata();
1517 if (GetArena() !=
nullptr) {
1518 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1522 inline ::goby::middleware::protobuf::SerializerProtobufMetadata* SerializerTransporterKey::unsafe_arena_release_metadata() {
1524 _has_bits_[0] &= ~0x00000008u;
1525 ::goby::middleware::protobuf::SerializerProtobufMetadata* temp = metadata_;
1526 metadata_ =
nullptr;
1529 inline ::goby::middleware::protobuf::SerializerProtobufMetadata* SerializerTransporterKey::_internal_mutable_metadata() {
1530 _has_bits_[0] |= 0x00000008u;
1531 if (metadata_ ==
nullptr) {
1532 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::SerializerProtobufMetadata>(GetArena());
1537 inline ::goby::middleware::protobuf::SerializerProtobufMetadata* SerializerTransporterKey::mutable_metadata() {
1539 return _internal_mutable_metadata();
1541 inline void SerializerTransporterKey::set_allocated_metadata(::goby::middleware::protobuf::SerializerProtobufMetadata* metadata) {
1542 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1543 if (message_arena ==
nullptr) {
1547 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1548 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(metadata);
1549 if (message_arena != submessage_arena) {
1550 metadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1551 message_arena, metadata, submessage_arena);
1553 _has_bits_[0] |= 0x00000008u;
1555 _has_bits_[0] &= ~0x00000008u;
1557 metadata_ = metadata;
1566 inline bool SerializerTransporterMessage::_internal_has_key()
const {
1567 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1568 PROTOBUF_ASSUME(!value || key_ !=
nullptr);
1571 inline bool SerializerTransporterMessage::has_key()
const {
1572 return _internal_has_key();
1574 inline void SerializerTransporterMessage::clear_key() {
1575 if (key_ !=
nullptr) key_->Clear();
1576 _has_bits_[0] &= ~0x00000002u;
1578 inline const ::goby::middleware::protobuf::SerializerTransporterKey& SerializerTransporterMessage::_internal_key()
const {
1579 const ::goby::middleware::protobuf::SerializerTransporterKey* p = key_;
1580 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::SerializerTransporterKey*
>(
1583 inline const ::goby::middleware::protobuf::SerializerTransporterKey& SerializerTransporterMessage::key()
const {
1585 return _internal_key();
1587 inline void SerializerTransporterMessage::unsafe_arena_set_allocated_key(
1588 ::goby::middleware::protobuf::SerializerTransporterKey* key) {
1589 if (GetArena() ==
nullptr) {
1590 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(key_);
1594 _has_bits_[0] |= 0x00000002u;
1596 _has_bits_[0] &= ~0x00000002u;
1600 inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerTransporterMessage::release_key() {
1601 auto temp = unsafe_arena_release_key();
1602 if (GetArena() !=
nullptr) {
1603 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1607 inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerTransporterMessage::unsafe_arena_release_key() {
1609 _has_bits_[0] &= ~0x00000002u;
1610 ::goby::middleware::protobuf::SerializerTransporterKey* temp = key_;
1614 inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerTransporterMessage::_internal_mutable_key() {
1615 _has_bits_[0] |= 0x00000002u;
1616 if (key_ ==
nullptr) {
1617 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::SerializerTransporterKey>(GetArena());
1622 inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerTransporterMessage::mutable_key() {
1624 return _internal_mutable_key();
1626 inline void SerializerTransporterMessage::set_allocated_key(::goby::middleware::protobuf::SerializerTransporterKey* key) {
1627 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1628 if (message_arena ==
nullptr) {
1632 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1633 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(key);
1634 if (message_arena != submessage_arena) {
1635 key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1636 message_arena, key, submessage_arena);
1638 _has_bits_[0] |= 0x00000002u;
1640 _has_bits_[0] &= ~0x00000002u;
1647 inline bool SerializerTransporterMessage::_internal_has_data()
const {
1648 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1651 inline bool SerializerTransporterMessage::has_data()
const {
1652 return _internal_has_data();
1654 inline void SerializerTransporterMessage::clear_data() {
1656 _has_bits_[0] &= ~0x00000001u;
1658 inline const std::string& SerializerTransporterMessage::data()
const {
1660 return _internal_data();
1662 inline void SerializerTransporterMessage::set_data(
const std::string& value) {
1663 _internal_set_data(value);
1666 inline std::string* SerializerTransporterMessage::mutable_data() {
1668 return _internal_mutable_data();
1670 inline const std::string& SerializerTransporterMessage::_internal_data()
const {
1673 inline void SerializerTransporterMessage::_internal_set_data(
const std::string& value) {
1674 _has_bits_[0] |= 0x00000001u;
1677 inline void SerializerTransporterMessage::set_data(std::string&& value) {
1678 _has_bits_[0] |= 0x00000001u;
1683 inline void SerializerTransporterMessage::set_data(
const char* value) {
1684 GOOGLE_DCHECK(value !=
nullptr);
1685 _has_bits_[0] |= 0x00000001u;
1690 inline void SerializerTransporterMessage::set_data(
const void* value,
1692 _has_bits_[0] |= 0x00000001u;
1694 reinterpret_cast<const char*
>(value), size), GetArena());
1697 inline std::string* SerializerTransporterMessage::_internal_mutable_data() {
1698 _has_bits_[0] |= 0x00000001u;
1701 inline std::string* SerializerTransporterMessage::release_data() {
1703 if (!_internal_has_data()) {
1706 _has_bits_[0] &= ~0x00000001u;
1709 inline void SerializerTransporterMessage::set_allocated_data(std::string* data) {
1710 if (data !=
nullptr) {
1711 _has_bits_[0] |= 0x00000001u;
1713 _has_bits_[0] &= ~0x00000001u;
1719 inline std::string* SerializerTransporterMessage::unsafe_arena_release_data() {
1721 GOOGLE_DCHECK(GetArena() !=
nullptr);
1722 _has_bits_[0] &= ~0x00000001u;
1726 inline void SerializerTransporterMessage::unsafe_arena_set_allocated_data(
1727 std::string* data) {
1728 GOOGLE_DCHECK(GetArena() !=
nullptr);
1729 if (data !=
nullptr) {
1730 _has_bits_[0] |= 0x00000001u;
1732 _has_bits_[0] &= ~0x00000001u;
1744 inline bool SerializerMetadataRequest::_internal_has_key()
const {
1745 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1746 PROTOBUF_ASSUME(!value || key_ !=
nullptr);
1749 inline bool SerializerMetadataRequest::has_key()
const {
1750 return _internal_has_key();
1752 inline void SerializerMetadataRequest::clear_key() {
1753 if (key_ !=
nullptr) key_->Clear();
1754 _has_bits_[0] &= ~0x00000001u;
1756 inline const ::goby::middleware::protobuf::SerializerTransporterKey& SerializerMetadataRequest::_internal_key()
const {
1757 const ::goby::middleware::protobuf::SerializerTransporterKey* p = key_;
1758 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::SerializerTransporterKey*
>(
1761 inline const ::goby::middleware::protobuf::SerializerTransporterKey& SerializerMetadataRequest::key()
const {
1763 return _internal_key();
1765 inline void SerializerMetadataRequest::unsafe_arena_set_allocated_key(
1766 ::goby::middleware::protobuf::SerializerTransporterKey* key) {
1767 if (GetArena() ==
nullptr) {
1768 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(key_);
1772 _has_bits_[0] |= 0x00000001u;
1774 _has_bits_[0] &= ~0x00000001u;
1778 inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerMetadataRequest::release_key() {
1779 auto temp = unsafe_arena_release_key();
1780 if (GetArena() !=
nullptr) {
1781 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1785 inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerMetadataRequest::unsafe_arena_release_key() {
1787 _has_bits_[0] &= ~0x00000001u;
1788 ::goby::middleware::protobuf::SerializerTransporterKey* temp = key_;
1792 inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerMetadataRequest::_internal_mutable_key() {
1793 _has_bits_[0] |= 0x00000001u;
1794 if (key_ ==
nullptr) {
1795 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::SerializerTransporterKey>(GetArena());
1800 inline ::goby::middleware::protobuf::SerializerTransporterKey* SerializerMetadataRequest::mutable_key() {
1802 return _internal_mutable_key();
1804 inline void SerializerMetadataRequest::set_allocated_key(::goby::middleware::protobuf::SerializerTransporterKey* key) {
1805 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1806 if (message_arena ==
nullptr) {
1810 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1811 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(key);
1812 if (message_arena != submessage_arena) {
1813 key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1814 message_arena, key, submessage_arena);
1816 _has_bits_[0] |= 0x00000001u;
1818 _has_bits_[0] &= ~0x00000001u;
1825 inline bool SerializerMetadataRequest::_internal_has_request()
const {
1826 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1829 inline bool SerializerMetadataRequest::has_request()
const {
1830 return _internal_has_request();
1832 inline void SerializerMetadataRequest::clear_request() {
1834 _has_bits_[0] &= ~0x00000002u;
1841 return _internal_request();
1845 _has_bits_[0] |= 0x00000002u;
1849 _internal_set_request(value);
1854 #pragma GCC diagnostic pop
1869 PROTOBUF_NAMESPACE_OPEN
1873 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::protobuf::SerializerMetadataRequest_Request>() {
1877 PROTOBUF_NAMESPACE_CLOSE
1881 #include <google/protobuf/port_undef.inc>
Quantity serialize_time_with_units() const
static void InitAsDefaultInstance()
SerializerTransporterMessage(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_data(const char *value)
virtual ~SerializerProtobufMetadata()
SerializerMetadataRequest(const SerializerMetadataRequest &from)
void clear_protobuf_name()
SerializerTransporterKey & operator=(const SerializerTransporterKey &from)
SerializerTransporterKey & operator=(SerializerTransporterKey &&from) noexcept
SerializerMetadataRequest * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::goby::middleware::protobuf::SerializerTransporterKey * release_key()
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
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto > * mutable_file_descriptor()
std::string * mutable_data()
PROTOBUF_NAMESPACE_ID::FileDescriptorProto * add_file_descriptor()
friend void swap(SerializerProtobufMetadata &a, SerializerProtobufMetadata &b)
std::string * release_data()
void set_allocated_key(::goby::middleware::protobuf::SerializerTransporterKey *key)
void set_data(const void *value, size_t size)
void set_protobuf_name(const char *value)
::goby::middleware::protobuf::SerializerTransporterKey * unsafe_arena_release_key()
boost::units::quantity< serialize_time_unit, google::protobuf::uint64 > serialize_time_with_units() const
SerializerTransporterMessage & operator=(const SerializerTransporterMessage &from)
SerializerProtobufMetadata()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_allocated_data(std::string *data)
SerializerProtobufMetadata(const SerializerProtobufMetadata &from)
SerializerProtobufMetadata * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
const std::string & data() const
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static bool Request_Parse(const std::string &name, Request *value)
SerializerTransporterKey(SerializerTransporterKey &&from) noexcept
void CopyFrom(const SerializerTransporterMessage &from)
SerializerMetadataRequest & operator=(SerializerMetadataRequest &&from) noexcept
static const SerializerProtobufMetadata * internal_default_instance()
friend void swap(SerializerTransporterKey &a, SerializerTransporterKey &b)
static const std::string & Request_Name(T enum_t_value)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type serialize_time_dimension
static const SerializerProtobufMetadata & default_instance()
SerializerTransporterKey(const SerializerTransporterKey &from)
const std::string & protobuf_name() const
SerializerMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void UnsafeArenaSwap(SerializerTransporterKey *other)
void set_request(::goby::middleware::protobuf::SerializerMetadataRequest_Request value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_protobuf_name(std::string &&value)
void set_data(const std::string &value)
std::string * mutable_protobuf_name()
SerializerTransporterKey()
void MergeFrom(const SerializerTransporterKey &from)
void clear_file_descriptor()
static const SerializerMetadataRequest * internal_default_instance()
::goby::middleware::protobuf::SerializerMetadataRequest_Request request() const
void set_protobuf_name(const std::string &value)
::goby::middleware::protobuf::SerializerTransporterKey * mutable_key()
void CopyFrom(const SerializerMetadataRequest &from)
void set_allocated_type(std::string *type)
void MergeFrom(const SerializerMetadataRequest &from)
SerializerTransporterMessage()
SerializerTransporterKey * New() const final
void Swap(SerializerTransporterMessage *other)
static const SerializerTransporterMessage & default_instance()
void MergeFrom(const SerializerProtobufMetadata &from)
SerializerMetadataRequest_Request Request
friend void swap(SerializerMetadataRequest &a, SerializerMetadataRequest &b)
bool has_protobuf_name() const
std::string * release_protobuf_name()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
SerializerMetadataRequest(SerializerMetadataRequest &&from) noexcept
SerializerTransporterMessage(SerializerTransporterMessage &&from) noexcept
SerializerTransporterMessage & operator=(SerializerTransporterMessage &&from) noexcept
SerializerProtobufMetadata & operator=(SerializerProtobufMetadata &&from) noexcept
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
SerializerProtobufMetadata(SerializerProtobufMetadata &&from) noexcept
void Swap(SerializerTransporterKey *other)
static const SerializerMetadataRequest & default_instance()
void MergeFrom(const SerializerTransporterMessage &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
virtual ~SerializerTransporterMessage()
void set_allocated_protobuf_name(std::string *protobuf_name)
void set_protobuf_name(const char *value, size_t size)
void set_type(const char *value)
SerializerProtobufMetadata & operator=(const SerializerProtobufMetadata &from)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto > & file_descriptor() const
SerializerMetadataRequest * New() const final
SerializerProtobufMetadata * New() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const SerializerTransporterKey & default_instance()
void UnsafeArenaSwap(SerializerTransporterMessage *other)
void set_data(std::string &&value)
const PROTOBUF_NAMESPACE_ID::FileDescriptorProto & file_descriptor(int index) const
virtual ~SerializerTransporterKey()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Request_descriptor()
static const SerializerTransporterMessage * internal_default_instance()
static bool Request_IsValid(int value)
SerializerTransporterMessage(const SerializerTransporterMessage &from)
static const SerializerTransporterKey * internal_default_instance()
PROTOBUF_NAMESPACE_ID::FileDescriptorProto * mutable_file_descriptor(int index)
SerializerMetadataRequest & operator=(const SerializerMetadataRequest &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
SerializerTransporterMessage * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void CopyFrom(const SerializerProtobufMetadata &from)
SerializerTransporterKey * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
std::string * release_type()
void Swap(SerializerProtobufMetadata *other)
void set_type(const std::string &value)
std::string * mutable_type()
friend void swap(SerializerTransporterMessage &a, SerializerTransporterMessage &b)
SerializerTransporterMessage * New() const final
void Swap(SerializerMetadataRequest *other)
virtual ~SerializerMetadataRequest()
void CopyFrom(const SerializerTransporterKey &from)
SerializerProtobufMetadata(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void UnsafeArenaSwap(SerializerProtobufMetadata *other)
const std::string & type() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void UnsafeArenaSwap(SerializerMetadataRequest *other)
void set_type(const char *value, size_t size)
void set_type(std::string &&value)
int file_descriptor_size() const
const ::goby::middleware::protobuf::SerializerTransporterKey & key() const
void unsafe_arena_set_allocated_key(::goby::middleware::protobuf::SerializerTransporterKey *key)
SerializerMetadataRequest()
SerializerTransporterKey(::PROTOBUF_NAMESPACE_ID::Arena *arena)
goby::util::logger::GroupSetter group(std::string n)
@ value
the parser finished reading a JSON value
@ key
the parser read a key of a value in an object
TransporterConfigDefaultTypeInternal _TransporterConfig_default_instance_
const std::string & SerializerMetadataRequest_Request_Name(T enum_t_value)
SerializerMetadataRequestDefaultTypeInternal _SerializerMetadataRequest_default_instance_
SerializerProtobufMetadataDefaultTypeInternal _SerializerProtobufMetadata_default_instance_
SerializerMetadataRequest_Request
@ SerializerMetadataRequest_Request_METADATA_EXCLUDE
@ SerializerMetadataRequest_Request_METADATA_INCLUDE
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * SerializerMetadataRequest_Request_descriptor()
SerializerTransporterMessageDefaultTypeInternal _SerializerTransporterMessage_default_instance_
SerializerTransporterKeyDefaultTypeInternal _SerializerTransporterKey_default_instance_
bool SerializerMetadataRequest_Request_IsValid(int value)
constexpr int SerializerMetadataRequest_Request_Request_ARRAYSIZE
constexpr SerializerMetadataRequest_Request SerializerMetadataRequest_Request_Request_MIN
bool SerializerMetadataRequest_Request_Parse(const std::string &name, SerializerMetadataRequest_Request *value)
constexpr SerializerMetadataRequest_Request SerializerMetadataRequest_Request_Request_MAX
boost::units::make_system< boost::units::angle::revolution_base_unit, boost::units::metric::minute_base_unit >::type system
constexpr Request Request_MAX
constexpr Request Request_MIN
constexpr int Request_ARRAYSIZE
The global namespace for the Goby project.
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
type
Generic JSON types used in JWTs.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fserializer_5ftransporter_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]