4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fweb_5frequest_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fweb_5frequest_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
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 3014000 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/unknown_field_set.h>
36 #pragma GCC system_header
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #include <sys/sysmacros.h>
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fweb_5frequest_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
53 PROTOBUF_NAMESPACE_CLOSE
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
71 class WebRequestDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::WebRequest* Arena::CreateMaybeMessage<::ignition::msgs::WebRequest>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
83 class IGNITION_MSGS_VISIBLE WebRequest PROTOBUF_FINAL :
84 public ::PROTOBUF_NAMESPACE_ID::Message {
92 *
this = ::std::move(from);
95 inline WebRequest&
operator=(
const WebRequest& from) {
99 inline WebRequest&
operator=(WebRequest&& from) noexcept {
100 if (GetArena() == from.GetArena()) {
101 if (
this != &from) InternalSwap(&from);
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
109 return GetDescriptor();
112 return GetMetadataStatic().descriptor;
115 return GetMetadataStatic().reflection;
120 return reinterpret_cast<const WebRequest*
>(
123 static constexpr
int kIndexInFileMessages =
126 friend void swap(WebRequest& a, WebRequest& b) {
129 inline void Swap(WebRequest* other) {
130 if (other ==
this)
return;
131 if (GetArena() == other->GetArena()) {
134 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
138 if (other ==
this)
return;
139 GOOGLE_DCHECK(GetArena() == other->GetArena());
145 inline WebRequest*
New() const final {
146 return CreateMaybeMessage<WebRequest>(
nullptr);
149 WebRequest*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
150 return CreateMaybeMessage<WebRequest>(arena);
152 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
153 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
156 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
157 bool IsInitialized() const final;
159 size_t ByteSizeLong() const final;
160 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
161 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
162 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
163 int GetCachedSize() const final {
return _cached_size_.Get(); }
166 inline void SharedCtor();
167 inline void SharedDtor();
168 void SetCachedSize(
int size)
const final;
169 void InternalSwap(WebRequest* other);
170 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172 return "ignition.msgs.WebRequest";
177 static void ArenaDtor(
void*
object);
178 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
195 kOperationFieldNumber = 2,
196 kTopicFieldNumber = 3,
197 kMsgTypeFieldNumber = 4,
198 kCompressionFieldNumber = 5,
199 kHeaderFieldNumber = 1,
214 void _internal_set_operation(
const std::string& value);
230 void _internal_set_topic(
const std::string& value);
246 void _internal_set_msg_type(
const std::string& value);
262 void _internal_set_compression(
const std::string& value);
269 bool _internal_has_header()
const;
272 const ::ignition::msgs::Header&
header()
const;
277 const ::ignition::msgs::Header& _internal_header()
const;
278 ::ignition::msgs::Header* _internal_mutable_header();
281 ::ignition::msgs::Header* header);
289 double _internal_hz()
const;
290 void _internal_set_hz(
double value);
297 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
298 typedef void InternalArenaConstructable_;
299 typedef void DestructorSkippable_;
300 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr operation_;
301 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr topic_;
302 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr msg_type_;
303 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr compression_;
304 ::ignition::msgs::Header* header_;
306 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
307 friend struct ::TableStruct_ignition_2fmsgs_2fweb_5frequest_2eproto;
315 #pragma GCC diagnostic push
316 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
321 inline bool WebRequest::_internal_has_header()
const {
322 return this != internal_default_instance() && header_ !=
nullptr;
324 inline bool WebRequest::has_header()
const {
325 return _internal_has_header();
327 inline const ::ignition::msgs::Header& WebRequest::_internal_header()
const {
328 const ::ignition::msgs::Header* p = header_;
329 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
332 inline const ::ignition::msgs::Header& WebRequest::header()
const {
334 return _internal_header();
336 inline void WebRequest::unsafe_arena_set_allocated_header(
337 ::ignition::msgs::Header* header) {
338 if (GetArena() ==
nullptr) {
339 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
349 inline ::ignition::msgs::Header* WebRequest::release_header() {
351 ::ignition::msgs::Header* temp = header_;
353 if (GetArena() !=
nullptr) {
354 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
358 inline ::ignition::msgs::Header* WebRequest::unsafe_arena_release_header() {
361 ::ignition::msgs::Header* temp = header_;
365 inline ::ignition::msgs::Header* WebRequest::_internal_mutable_header() {
367 if (header_ ==
nullptr) {
368 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
373 inline ::ignition::msgs::Header* WebRequest::mutable_header() {
375 return _internal_mutable_header();
377 inline void WebRequest::set_allocated_header(::ignition::msgs::Header* header) {
378 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
379 if (message_arena ==
nullptr) {
380 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
383 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
384 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
385 if (message_arena != submessage_arena) {
386 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
387 message_arena, header, submessage_arena);
398 inline void WebRequest::clear_operation() {
399 operation_.ClearToEmpty();
401 inline const std::string& WebRequest::operation()
const {
403 return _internal_operation();
405 inline void WebRequest::set_operation(
const std::string& value) {
406 _internal_set_operation(value);
409 inline std::string* WebRequest::mutable_operation() {
411 return _internal_mutable_operation();
413 inline const std::string& WebRequest::_internal_operation()
const {
414 return operation_.Get();
416 inline void WebRequest::_internal_set_operation(
const std::string& value) {
418 operation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
420 inline void WebRequest::set_operation(
std::string&& value) {
423 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
426 inline void WebRequest::set_operation(
const char* value) {
427 GOOGLE_DCHECK(value !=
nullptr);
429 operation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
432 inline void WebRequest::set_operation(
const char* value,
435 operation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
436 reinterpret_cast<const char*
>(value), size), GetArena());
439 inline std::string* WebRequest::_internal_mutable_operation() {
441 return operation_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
443 inline std::string* WebRequest::release_operation() {
445 return operation_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
447 inline void WebRequest::set_allocated_operation(
std::string* operation) {
448 if (operation !=
nullptr) {
453 operation_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), operation,
459 inline void WebRequest::clear_topic() {
460 topic_.ClearToEmpty();
462 inline const std::string& WebRequest::topic()
const {
464 return _internal_topic();
466 inline void WebRequest::set_topic(
const std::string& value) {
467 _internal_set_topic(value);
472 return _internal_mutable_topic();
474 inline const std::string& WebRequest::_internal_topic()
const {
477 inline void WebRequest::_internal_set_topic(
const std::string& value) {
479 topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
481 inline void WebRequest::set_topic(
std::string&& value) {
484 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
487 inline void WebRequest::set_topic(
const char* value) {
488 GOOGLE_DCHECK(value !=
nullptr);
490 topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
493 inline void WebRequest::set_topic(
const char* value,
496 topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
497 reinterpret_cast<const char*
>(value), size), GetArena());
500 inline std::string* WebRequest::_internal_mutable_topic() {
502 return topic_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
506 return topic_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
508 inline void WebRequest::set_allocated_topic(
std::string* topic) {
509 if (topic !=
nullptr) {
514 topic_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), topic,
520 inline void WebRequest::clear_msg_type() {
521 msg_type_.ClearToEmpty();
523 inline const std::string& WebRequest::msg_type()
const {
525 return _internal_msg_type();
527 inline void WebRequest::set_msg_type(
const std::string& value) {
528 _internal_set_msg_type(value);
531 inline std::string* WebRequest::mutable_msg_type() {
533 return _internal_mutable_msg_type();
535 inline const std::string& WebRequest::_internal_msg_type()
const {
536 return msg_type_.Get();
538 inline void WebRequest::_internal_set_msg_type(
const std::string& value) {
540 msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
542 inline void WebRequest::set_msg_type(
std::string&& value) {
545 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
548 inline void WebRequest::set_msg_type(
const char* value) {
549 GOOGLE_DCHECK(value !=
nullptr);
551 msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
554 inline void WebRequest::set_msg_type(
const char* value,
557 msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
558 reinterpret_cast<const char*
>(value), size), GetArena());
561 inline std::string* WebRequest::_internal_mutable_msg_type() {
563 return msg_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
565 inline std::string* WebRequest::release_msg_type() {
567 return msg_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
569 inline void WebRequest::set_allocated_msg_type(
std::string* msg_type) {
570 if (msg_type !=
nullptr) {
575 msg_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), msg_type,
581 inline void WebRequest::clear_compression() {
582 compression_.ClearToEmpty();
584 inline const std::string& WebRequest::compression()
const {
586 return _internal_compression();
588 inline void WebRequest::set_compression(
const std::string& value) {
589 _internal_set_compression(value);
592 inline std::string* WebRequest::mutable_compression() {
594 return _internal_mutable_compression();
596 inline const std::string& WebRequest::_internal_compression()
const {
597 return compression_.Get();
599 inline void WebRequest::_internal_set_compression(
const std::string& value) {
601 compression_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
603 inline void WebRequest::set_compression(
std::string&& value) {
606 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
609 inline void WebRequest::set_compression(
const char* value) {
610 GOOGLE_DCHECK(value !=
nullptr);
612 compression_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
615 inline void WebRequest::set_compression(
const char* value,
618 compression_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
619 reinterpret_cast<const char*
>(value), size), GetArena());
622 inline std::string* WebRequest::_internal_mutable_compression() {
624 return compression_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
626 inline std::string* WebRequest::release_compression() {
628 return compression_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
630 inline void WebRequest::set_allocated_compression(
std::string* compression) {
631 if (compression !=
nullptr) {
636 compression_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), compression,
642 inline void WebRequest::clear_hz() {
645 inline double WebRequest::_internal_hz()
const {
648 inline double WebRequest::hz()
const {
650 return _internal_hz();
652 inline void WebRequest::_internal_set_hz(
double value) {
656 inline void WebRequest::set_hz(
double value) {
657 _internal_set_hz(value);
662 #pragma GCC diagnostic pop
679 #include <google/protobuf/port_undef.inc>
void set_compression(const char *value, size_t size)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: web_request.pb.h:114
std::string * release_compression()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
void CopyFrom(const WebRequest &from)
std::string * release_operation()
void set_compression(const char *value)
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: web_request.pb.h:108
void set_compression(std::string &&value)
WebRequest(WebRequest &&from) noexcept
Definition: web_request.pb.h:90
const std::string & topic() const
void MergeFrom(const WebRequest &from)
void set_allocated_msg_type(std::string *msg_type)
void UnsafeArenaSwap(WebRequest *other)
Definition: web_request.pb.h:137
void set_topic(const std::string &value)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
std::string * mutable_operation()
void set_operation(std::string &&value)
void set_allocated_operation(std::string *operation)
WebRequest & operator=(WebRequest &&from) noexcept
Definition: web_request.pb.h:99
friend void swap(WebRequest &a, WebRequest &b)
Definition: web_request.pb.h:126
void set_operation(const std::string &value)
std::string * mutable_compression()
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_allocated_compression(std::string *compression)
static const WebRequest & default_instance()
void set_msg_type(std::string &&value)
void set_allocated_topic(std::string *topic)
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_topic(const char *value, size_t size)
void set_topic(std::string &&value)
std::string * release_msg_type()
WebRequest(const WebRequest &from)
const std::string & msg_type() const
void set_msg_type(const char *value, size_t size)
void set_allocated_header(::ignition::msgs::Header *header)
void set_operation(const char *value)
void Swap(WebRequest *other)
Definition: web_request.pb.h:129
WebRequest * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: web_request.pb.h:149
WebRequest * New() const final
Definition: web_request.pb.h:145
std::string * mutable_msg_type()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_compression(const std::string &value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: web_request.pb.h:111
void set_topic(const char *value)
WebRequest(::PROTOBUF_NAMESPACE_ID::Arena *arena)
const std::string & compression() const
WebRequest()
Definition: web_request.pb.h:86
std::string * release_topic()
const std::string & operation() const
std::string * mutable_topic()
static const WebRequest * internal_default_instance()
Definition: web_request.pb.h:119
void set_msg_type(const char *value)
void set_hz(double value)
void set_msg_type(const std::string &value)
const ::ignition::msgs::Header & header() const
void set_operation(const char *value, size_t size)
WebRequest & operator=(const WebRequest &from)
Definition: web_request.pb.h:95
std::unique_ptr< const WebRequest > ConstWebRequestUniquePtr
Definition: web_request.pb.h:666
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const WebRequest > ConstWebRequestSharedPtr
Definition: web_request.pb.h:668
IGNITION_MSGS_VISIBLE WebRequestDefaultTypeInternal _WebRequest_default_instance_
std::shared_ptr< WebRequest > WebRequestSharedPtr
Definition: web_request.pb.h:667
std::unique_ptr< WebRequest > WebRequestUniquePtr
Definition: web_request.pb.h:665
Definition: actor.pb.h:52
Definition: web_request.pb.h:56
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fweb_5frequest_2eproto