4 #ifndef PROTOBUF_INCLUDED_jaiabot_2fmessages_2foption_5fextensions_2eproto
5 #define PROTOBUF_INCLUDED_jaiabot_2fmessages_2foption_5fextensions_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.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 <google/protobuf/descriptor.pb.h>
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2foption_5fextensions_2eproto
45 static const ::google::protobuf::internal::ParseTableField
entries[];
46 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
47 static const ::google::protobuf::internal::ParseTable
schema[5];
50 static const ::google::protobuf::uint32
offsets[];
56 class EnumValueOptionsDefaultTypeInternal;
59 class FieldOptionsDefaultTypeInternal;
62 class MessageOptionsDefaultTypeInternal;
65 class RestAPIDefaultTypeInternal;
68 class RestAPI_ExampleDefaultTypeInternal;
76 template<>
::jaia::RestAPI* Arena::CreateMaybeMessage<::jaia::RestAPI>(Arena*);
94 return ::google::protobuf::internal::NameOfEnum(
99 return ::google::protobuf::internal::ParseNamedEnum<RestAPI_Presence>(
118 *
this = ::std::move(from);
122 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
123 if (
this != &from) InternalSwap(&from);
131 return _internal_metadata_.unknown_fields();
134 return _internal_metadata_.mutable_unknown_fields();
137 static const ::google::protobuf::Descriptor*
descriptor();
156 return CreateMaybeMessage<RestAPI_Example>(NULL);
160 return CreateMaybeMessage<RestAPI_Example>(arena);
162 void CopyFrom(const ::google::protobuf::Message& from)
final;
163 void MergeFrom(const ::google::protobuf::Message& from)
final;
171 ::
google::protobuf::io::CodedInputStream* input) final;
173 ::
google::protobuf::io::CodedOutputStream* output) const final;
175 bool deterministic, ::
google::protobuf::uint8* target) const final;
181 void SetCachedSize(
int size)
const final;
184 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
187 inline void* MaybeArenaPtr()
const {
192 ::google::protobuf::Metadata
GetMetadata() const final;
202 const ::std::
string&
request() const;
217 const ::std::string&
response()
const;
230 void set_has_request();
231 void clear_has_request();
232 void set_has_response();
233 void clear_has_response();
236 size_t RequiredFieldsByteSizeFallback()
const;
238 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
239 ::google::protobuf::internal::HasBits<1> _has_bits_;
240 mutable ::google::protobuf::internal::CachedSize _cached_size_;
241 ::google::protobuf::internal::ArenaStringPtr request_;
242 ::google::protobuf::internal::ArenaStringPtr response_;
243 friend struct ::protobuf_jaiabot_2fmessages_2foption_5fextensions_2eproto::TableStruct;
247 class RestAPI :
public ::google::protobuf::Message {
261 *
this = ::std::move(from);
265 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
266 if (
this != &from) InternalSwap(&from);
274 return _internal_metadata_.unknown_fields();
277 return _internal_metadata_.mutable_unknown_fields();
280 static const ::google::protobuf::Descriptor*
descriptor();
285 return reinterpret_cast<const RestAPI*
>(
299 return CreateMaybeMessage<RestAPI>(NULL);
303 return CreateMaybeMessage<RestAPI>(arena);
305 void CopyFrom(const ::google::protobuf::Message& from)
final;
306 void MergeFrom(const ::google::protobuf::Message& from)
final;
314 ::
google::protobuf::io::CodedInputStream* input) final;
316 ::
google::protobuf::io::CodedOutputStream* output) const final;
318 bool deterministic, ::
google::protobuf::uint8* target) const final;
324 void SetCachedSize(
int size)
const final;
325 void InternalSwap(
RestAPI* other);
327 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
330 inline void* MaybeArenaPtr()
const {
335 ::google::protobuf::Metadata
GetMetadata() const final;
357 static inline const ::google::protobuf::EnumDescriptor*
375 const ::std::string&
doc()
const;
376 void set_doc(const ::std::string& value);
378 void set_doc(::std::string&& value);
380 void set_doc(
const char* value);
381 void set_doc(
const char* value,
size_t size);
391 const ::jaia::RestAPI_Example& _internal_example()
const;
393 const ::jaia::RestAPI_Example&
example()
const;
407 void set_has_presence();
408 void clear_has_presence();
410 void clear_has_doc();
411 void set_has_example();
412 void clear_has_example();
414 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
415 ::google::protobuf::internal::HasBits<1> _has_bits_;
416 mutable ::google::protobuf::internal::CachedSize _cached_size_;
417 ::google::protobuf::internal::ArenaStringPtr doc_;
420 friend struct ::protobuf_jaiabot_2fmessages_2foption_5fextensions_2eproto::TableStruct;
438 *
this = ::std::move(from);
442 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
443 if (
this != &from) InternalSwap(&from);
451 return _internal_metadata_.unknown_fields();
454 return _internal_metadata_.mutable_unknown_fields();
457 static const ::google::protobuf::Descriptor*
descriptor();
476 return CreateMaybeMessage<FieldOptions>(NULL);
480 return CreateMaybeMessage<FieldOptions>(arena);
482 void CopyFrom(const ::google::protobuf::Message& from)
final;
483 void MergeFrom(const ::google::protobuf::Message& from)
final;
491 ::
google::protobuf::io::CodedInputStream* input) final;
493 ::
google::protobuf::io::CodedOutputStream* output) const final;
495 bool deterministic, ::
google::protobuf::uint8* target) const final;
501 void SetCachedSize(
int size)
const final;
504 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
507 inline void* MaybeArenaPtr()
const {
512 ::google::protobuf::Metadata
GetMetadata() const final;
532 void set_has_rest_api();
533 void clear_has_rest_api();
535 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
536 ::
google::protobuf::internal::HasBits<1> _has_bits_;
537 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
557 *
this = ::std::move(from);
560 inline MessageOptions&
operator=(MessageOptions&& from) noexcept {
561 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
562 if (
this != &from) InternalSwap(&from);
570 return _internal_metadata_.unknown_fields();
573 return _internal_metadata_.mutable_unknown_fields();
576 static const ::google::protobuf::Descriptor*
descriptor();
595 return CreateMaybeMessage<MessageOptions>(NULL);
599 return CreateMaybeMessage<MessageOptions>(arena);
601 void CopyFrom(const ::google::protobuf::Message& from)
final;
602 void MergeFrom(const ::google::protobuf::Message& from)
final;
610 ::
google::protobuf::io::CodedInputStream* input) final;
612 ::
google::protobuf::io::CodedOutputStream* output) const final;
614 bool deterministic, ::
google::protobuf::uint8* target) const final;
620 void SetCachedSize(
int size)
const final;
623 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
626 inline void* MaybeArenaPtr()
const {
631 ::google::protobuf::Metadata
GetMetadata() const final;
640 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
641 ::
google::protobuf::internal::HasBits<1> _has_bits_;
642 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
661 *
this = ::std::move(from);
664 inline EnumValueOptions&
operator=(EnumValueOptions&& from) noexcept {
665 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
666 if (
this != &from) InternalSwap(&from);
674 return _internal_metadata_.unknown_fields();
677 return _internal_metadata_.mutable_unknown_fields();
680 static const ::google::protobuf::Descriptor*
descriptor();
699 return CreateMaybeMessage<EnumValueOptions>(NULL);
703 return CreateMaybeMessage<EnumValueOptions>(arena);
705 void CopyFrom(const ::google::protobuf::Message& from)
final;
706 void MergeFrom(const ::google::protobuf::Message& from)
final;
714 ::
google::protobuf::io::CodedInputStream* input) final;
716 ::
google::protobuf::io::CodedOutputStream* output) const final;
718 bool deterministic, ::
google::protobuf::uint8* target) const final;
724 void SetCachedSize(
int size)
const final;
727 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
730 inline void* MaybeArenaPtr()
const {
735 ::google::protobuf::Metadata
GetMetadata() const final;
755 void set_has_rest_api();
756 void clear_has_rest_api();
758 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
759 ::
google::protobuf::internal::HasBits<1> _has_bits_;
760 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
782 #pragma GCC diagnostic push
783 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
789 return (_has_bits_[0] & 0x00000001u) != 0;
791 inline void RestAPI_Example::set_has_request() {
792 _has_bits_[0] |= 0x00000001u;
794 inline void RestAPI_Example::clear_has_request() {
795 _has_bits_[0] &= ~0x00000001u;
798 request_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
803 return request_.GetNoArena();
807 request_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
814 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
819 GOOGLE_DCHECK(value != NULL);
821 request_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
826 request_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
827 ::std::string(
reinterpret_cast<const char*
>(value), size));
833 return request_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
837 if (!has_request()) {
841 return request_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
844 if (request != NULL) {
849 request_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), request);
855 return (_has_bits_[0] & 0x00000002u) != 0;
857 inline void RestAPI_Example::set_has_response() {
858 _has_bits_[0] |= 0x00000002u;
860 inline void RestAPI_Example::clear_has_response() {
861 _has_bits_[0] &= ~0x00000002u;
864 response_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
865 clear_has_response();
869 return response_.GetNoArena();
873 response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
879 response_.SetNoArena(
880 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
885 GOOGLE_DCHECK(value != NULL);
887 response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
892 response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
893 ::std::string(
reinterpret_cast<const char*
>(value), size));
899 return response_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
903 if (!has_response()) {
906 clear_has_response();
907 return response_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
910 if (response != NULL) {
913 clear_has_response();
915 response_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), response);
925 return (_has_bits_[0] & 0x00000004u) != 0;
927 inline void RestAPI::set_has_presence() {
928 _has_bits_[0] |= 0x00000004u;
930 inline void RestAPI::clear_has_presence() {
931 _has_bits_[0] &= ~0x00000004u;
935 clear_has_presence();
950 return (_has_bits_[0] & 0x00000001u) != 0;
952 inline void RestAPI::set_has_doc() {
953 _has_bits_[0] |= 0x00000001u;
955 inline void RestAPI::clear_has_doc() {
956 _has_bits_[0] &= ~0x00000001u;
959 doc_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
964 return doc_.GetNoArena();
968 doc_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
975 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
980 GOOGLE_DCHECK(value != NULL);
982 doc_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
987 doc_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
988 ::std::string(
reinterpret_cast<const char*
>(value), size));
994 return doc_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1002 return doc_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1010 doc_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), doc);
1016 return (_has_bits_[0] & 0x00000002u) != 0;
1018 inline void RestAPI::set_has_example() {
1019 _has_bits_[0] |= 0x00000002u;
1021 inline void RestAPI::clear_has_example() {
1022 _has_bits_[0] &= ~0x00000002u;
1025 if (example_ != NULL) example_->Clear();
1026 clear_has_example();
1028 inline const ::jaia::RestAPI_Example& RestAPI::_internal_example()
const {
1032 const ::jaia::RestAPI_Example* p = example_;
1039 clear_has_example();
1046 if (example_ == NULL) {
1047 auto* p = CreateMaybeMessage<::jaia::RestAPI_Example>(GetArenaNoVirtual());
1054 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1055 if (message_arena == NULL) {
1059 ::google::protobuf::Arena* submessage_arena = NULL;
1060 if (message_arena != submessage_arena) {
1061 example = ::google::protobuf::internal::GetOwnedMessage(
1062 message_arena,
example, submessage_arena);
1066 clear_has_example();
1078 return (_has_bits_[0] & 0x00000001u) != 0;
1080 inline void FieldOptions::set_has_rest_api() {
1081 _has_bits_[0] |= 0x00000001u;
1083 inline void FieldOptions::clear_has_rest_api() {
1084 _has_bits_[0] &= ~0x00000001u;
1087 if (rest_api_ != NULL) rest_api_->Clear();
1088 clear_has_rest_api();
1090 inline const ::jaia::RestAPI& FieldOptions::_internal_rest_api()
const {
1094 const ::jaia::RestAPI* p = rest_api_;
1096 return p != NULL ? *p : *
reinterpret_cast<const ::
jaia::RestAPI*
>(
1101 clear_has_rest_api();
1108 if (rest_api_ == NULL) {
1109 auto* p = CreateMaybeMessage<::jaia::RestAPI>(GetArenaNoVirtual());
1116 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1117 if (message_arena == NULL) {
1121 ::google::protobuf::Arena* submessage_arena = NULL;
1122 if (message_arena != submessage_arena) {
1123 rest_api = ::google::protobuf::internal::GetOwnedMessage(
1124 message_arena,
rest_api, submessage_arena);
1128 clear_has_rest_api();
1144 return (_has_bits_[0] & 0x00000001u) != 0;
1146 inline void EnumValueOptions::set_has_rest_api() {
1147 _has_bits_[0] |= 0x00000001u;
1149 inline void EnumValueOptions::clear_has_rest_api() {
1150 _has_bits_[0] &= ~0x00000001u;
1153 if (rest_api_ != NULL) rest_api_->Clear();
1154 clear_has_rest_api();
1156 inline const ::jaia::RestAPI& EnumValueOptions::_internal_rest_api()
const {
1160 const ::jaia::RestAPI* p = rest_api_;
1162 return p != NULL ? *p : *
reinterpret_cast<const ::
jaia::RestAPI*
>(
1167 clear_has_rest_api();
1174 if (rest_api_ == NULL) {
1175 auto* p = CreateMaybeMessage<::jaia::RestAPI>(GetArenaNoVirtual());
1182 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1183 if (message_arena == NULL) {
1187 ::google::protobuf::Arena* submessage_arena = NULL;
1188 if (message_arena != submessage_arena) {
1189 rest_api = ::google::protobuf::internal::GetOwnedMessage(
1190 message_arena,
rest_api, submessage_arena);
1194 clear_has_rest_api();
1201 #pragma GCC diagnostic pop
1217 namespace protobuf {
1221 inline const EnumDescriptor* GetEnumDescriptor< ::jaia::RestAPI_Presence>() {
1230 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2foption_5fextensions_2eproto