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*
390 const ::google::protobuf::RepeatedPtrField< ::std::string>&
permitted_action()
const;
397 const ::std::string&
doc()
const;
398 void set_doc(const ::std::string& value);
400 void set_doc(::std::string&& value);
402 void set_doc(
const char* value);
403 void set_doc(
const char* value,
size_t size);
413 const ::jaia::RestAPI_Example& _internal_example()
const;
415 const ::jaia::RestAPI_Example&
example()
const;
429 void set_has_presence();
430 void clear_has_presence();
432 void clear_has_doc();
433 void set_has_example();
434 void clear_has_example();
436 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
437 ::google::protobuf::internal::HasBits<1> _has_bits_;
438 mutable ::google::protobuf::internal::CachedSize _cached_size_;
439 ::google::protobuf::RepeatedPtrField< ::std::string> permitted_action_;
440 ::google::protobuf::internal::ArenaStringPtr doc_;
443 friend struct ::protobuf_jaiabot_2fmessages_2foption_5fextensions_2eproto::TableStruct;
461 *
this = ::std::move(from);
465 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
466 if (
this != &from) InternalSwap(&from);
474 return _internal_metadata_.unknown_fields();
477 return _internal_metadata_.mutable_unknown_fields();
480 static const ::google::protobuf::Descriptor*
descriptor();
499 return CreateMaybeMessage<FieldOptions>(NULL);
503 return CreateMaybeMessage<FieldOptions>(arena);
505 void CopyFrom(const ::google::protobuf::Message& from)
final;
506 void MergeFrom(const ::google::protobuf::Message& from)
final;
514 ::
google::protobuf::io::CodedInputStream* input) final;
516 ::
google::protobuf::io::CodedOutputStream* output) const final;
518 bool deterministic, ::
google::protobuf::uint8* target) const final;
524 void SetCachedSize(
int size)
const final;
527 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
530 inline void* MaybeArenaPtr()
const {
535 ::google::protobuf::Metadata
GetMetadata() const final;
555 void set_has_rest_api();
556 void clear_has_rest_api();
558 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
559 ::
google::protobuf::internal::HasBits<1> _has_bits_;
560 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
580 *
this = ::std::move(from);
583 inline MessageOptions&
operator=(MessageOptions&& from) noexcept {
584 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
585 if (
this != &from) InternalSwap(&from);
593 return _internal_metadata_.unknown_fields();
596 return _internal_metadata_.mutable_unknown_fields();
599 static const ::google::protobuf::Descriptor*
descriptor();
618 return CreateMaybeMessage<MessageOptions>(NULL);
622 return CreateMaybeMessage<MessageOptions>(arena);
624 void CopyFrom(const ::google::protobuf::Message& from)
final;
625 void MergeFrom(const ::google::protobuf::Message& from)
final;
633 ::
google::protobuf::io::CodedInputStream* input) final;
635 ::
google::protobuf::io::CodedOutputStream* output) const final;
637 bool deterministic, ::
google::protobuf::uint8* target) const final;
643 void SetCachedSize(
int size)
const final;
646 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
649 inline void* MaybeArenaPtr()
const {
654 ::google::protobuf::Metadata
GetMetadata() const final;
663 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
664 ::
google::protobuf::internal::HasBits<1> _has_bits_;
665 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
684 *
this = ::std::move(from);
687 inline EnumValueOptions&
operator=(EnumValueOptions&& from) noexcept {
688 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
689 if (
this != &from) InternalSwap(&from);
697 return _internal_metadata_.unknown_fields();
700 return _internal_metadata_.mutable_unknown_fields();
703 static const ::google::protobuf::Descriptor*
descriptor();
722 return CreateMaybeMessage<EnumValueOptions>(NULL);
726 return CreateMaybeMessage<EnumValueOptions>(arena);
728 void CopyFrom(const ::google::protobuf::Message& from)
final;
729 void MergeFrom(const ::google::protobuf::Message& from)
final;
737 ::
google::protobuf::io::CodedInputStream* input) final;
739 ::
google::protobuf::io::CodedOutputStream* output) const final;
741 bool deterministic, ::
google::protobuf::uint8* target) const final;
747 void SetCachedSize(
int size)
const final;
750 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
753 inline void* MaybeArenaPtr()
const {
758 ::google::protobuf::Metadata
GetMetadata() const final;
778 void set_has_rest_api();
779 void clear_has_rest_api();
781 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
782 ::
google::protobuf::internal::HasBits<1> _has_bits_;
783 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
805 #pragma GCC diagnostic push
806 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
812 return (_has_bits_[0] & 0x00000001u) != 0;
814 inline void RestAPI_Example::set_has_request() {
815 _has_bits_[0] |= 0x00000001u;
817 inline void RestAPI_Example::clear_has_request() {
818 _has_bits_[0] &= ~0x00000001u;
821 request_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
826 return request_.GetNoArena();
830 request_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
837 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
842 GOOGLE_DCHECK(value != NULL);
844 request_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
849 request_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
850 ::std::string(
reinterpret_cast<const char*
>(value), size));
856 return request_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
860 if (!has_request()) {
864 return request_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
867 if (request != NULL) {
872 request_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), request);
878 return (_has_bits_[0] & 0x00000002u) != 0;
880 inline void RestAPI_Example::set_has_response() {
881 _has_bits_[0] |= 0x00000002u;
883 inline void RestAPI_Example::clear_has_response() {
884 _has_bits_[0] &= ~0x00000002u;
887 response_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
888 clear_has_response();
892 return response_.GetNoArena();
896 response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
902 response_.SetNoArena(
903 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
908 GOOGLE_DCHECK(value != NULL);
910 response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
915 response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
916 ::std::string(
reinterpret_cast<const char*
>(value), size));
922 return response_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
926 if (!has_response()) {
929 clear_has_response();
930 return response_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
933 if (response != NULL) {
936 clear_has_response();
938 response_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), response);
948 return (_has_bits_[0] & 0x00000004u) != 0;
950 inline void RestAPI::set_has_presence() {
951 _has_bits_[0] |= 0x00000004u;
953 inline void RestAPI::clear_has_presence() {
954 _has_bits_[0] &= ~0x00000004u;
958 clear_has_presence();
973 return (_has_bits_[0] & 0x00000001u) != 0;
975 inline void RestAPI::set_has_doc() {
976 _has_bits_[0] |= 0x00000001u;
978 inline void RestAPI::clear_has_doc() {
979 _has_bits_[0] &= ~0x00000001u;
982 doc_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
987 return doc_.GetNoArena();
991 doc_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
998 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1003 GOOGLE_DCHECK(value != NULL);
1005 doc_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1010 doc_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1011 ::std::string(
reinterpret_cast<const char*
>(value), size));
1017 return doc_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1025 return doc_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1033 doc_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), doc);
1039 return (_has_bits_[0] & 0x00000002u) != 0;
1041 inline void RestAPI::set_has_example() {
1042 _has_bits_[0] |= 0x00000002u;
1044 inline void RestAPI::clear_has_example() {
1045 _has_bits_[0] &= ~0x00000002u;
1048 if (example_ != NULL) example_->Clear();
1049 clear_has_example();
1051 inline const ::jaia::RestAPI_Example& RestAPI::_internal_example()
const {
1055 const ::jaia::RestAPI_Example* p = example_;
1062 clear_has_example();
1069 if (example_ == NULL) {
1070 auto* p = CreateMaybeMessage<::jaia::RestAPI_Example>(GetArenaNoVirtual());
1077 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1078 if (message_arena == NULL) {
1082 ::google::protobuf::Arena* submessage_arena = NULL;
1083 if (message_arena != submessage_arena) {
1084 example = ::google::protobuf::internal::GetOwnedMessage(
1085 message_arena,
example, submessage_arena);
1089 clear_has_example();
1097 return permitted_action_.size();
1100 permitted_action_.Clear();
1104 return permitted_action_.Get(index);
1108 return permitted_action_.Mutable(index);
1112 permitted_action_.Mutable(index)->assign(value);
1117 permitted_action_.Mutable(index)->assign(std::move(value));
1121 GOOGLE_DCHECK(value != NULL);
1122 permitted_action_.Mutable(index)->assign(value);
1126 permitted_action_.Mutable(index)->assign(
1127 reinterpret_cast<const char*
>(value), size);
1132 return permitted_action_.Add();
1135 permitted_action_.Add()->assign(value);
1140 permitted_action_.Add(std::move(value));
1145 GOOGLE_DCHECK(value != NULL);
1146 permitted_action_.Add()->assign(value);
1150 permitted_action_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1153 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1156 return permitted_action_;
1158 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1161 return &permitted_action_;
1170 return (_has_bits_[0] & 0x00000001u) != 0;
1172 inline void FieldOptions::set_has_rest_api() {
1173 _has_bits_[0] |= 0x00000001u;
1175 inline void FieldOptions::clear_has_rest_api() {
1176 _has_bits_[0] &= ~0x00000001u;
1179 if (rest_api_ != NULL) rest_api_->Clear();
1180 clear_has_rest_api();
1182 inline const ::jaia::RestAPI& FieldOptions::_internal_rest_api()
const {
1186 const ::jaia::RestAPI* p = rest_api_;
1188 return p != NULL ? *p : *
reinterpret_cast<const ::
jaia::RestAPI*
>(
1193 clear_has_rest_api();
1200 if (rest_api_ == NULL) {
1201 auto* p = CreateMaybeMessage<::jaia::RestAPI>(GetArenaNoVirtual());
1208 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1209 if (message_arena == NULL) {
1213 ::google::protobuf::Arena* submessage_arena = NULL;
1214 if (message_arena != submessage_arena) {
1215 rest_api = ::google::protobuf::internal::GetOwnedMessage(
1216 message_arena,
rest_api, submessage_arena);
1220 clear_has_rest_api();
1236 return (_has_bits_[0] & 0x00000001u) != 0;
1238 inline void EnumValueOptions::set_has_rest_api() {
1239 _has_bits_[0] |= 0x00000001u;
1241 inline void EnumValueOptions::clear_has_rest_api() {
1242 _has_bits_[0] &= ~0x00000001u;
1245 if (rest_api_ != NULL) rest_api_->Clear();
1246 clear_has_rest_api();
1248 inline const ::jaia::RestAPI& EnumValueOptions::_internal_rest_api()
const {
1252 const ::jaia::RestAPI* p = rest_api_;
1254 return p != NULL ? *p : *
reinterpret_cast<const ::
jaia::RestAPI*
>(
1259 clear_has_rest_api();
1266 if (rest_api_ == NULL) {
1267 auto* p = CreateMaybeMessage<::jaia::RestAPI>(GetArenaNoVirtual());
1274 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1275 if (message_arena == NULL) {
1279 ::google::protobuf::Arena* submessage_arena = NULL;
1280 if (message_arena != submessage_arena) {
1281 rest_api = ::google::protobuf::internal::GetOwnedMessage(
1282 message_arena,
rest_api, submessage_arena);
1286 clear_has_rest_api();
1293 #pragma GCC diagnostic pop
1309 namespace protobuf {
1313 inline const EnumDescriptor* GetEnumDescriptor< ::jaia::RestAPI_Presence>() {
1322 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2foption_5fextensions_2eproto