4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fresponse_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fresponse_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_2fresponse_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 ResponseDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Response* Arena::CreateMaybeMessage<::ignition::msgs::Response>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
83 class IGNITION_MSGS_VISIBLE Response PROTOBUF_FINAL :
84 public ::PROTOBUF_NAMESPACE_ID::Message {
92 *
this = ::std::move(from);
99 inline Response&
operator=(Response&& 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 Response*
>(
123 static constexpr
int kIndexInFileMessages =
126 friend void swap(Response& a, Response& b) {
129 inline void Swap(Response* 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 Response*
New() const final {
146 return CreateMaybeMessage<Response>(
nullptr);
149 Response*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
150 return CreateMaybeMessage<Response>(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(Response* other);
170 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172 return "ignition.msgs.Response";
175 explicit Response(::PROTOBUF_NAMESPACE_ID::Arena* arena);
177 static void ArenaDtor(
void*
object);
178 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
195 kRequestFieldNumber = 3,
196 kResponseFieldNumber = 4,
197 kTypeFieldNumber = 5,
198 kSerializedDataFieldNumber = 6,
199 kHeaderFieldNumber = 1,
214 void _internal_set_request(
const std::string& value);
230 void _internal_set_response(
const std::string& value);
261 const std::string& _internal_serialized_data()
const;
262 void _internal_set_serialized_data(
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);
286 ::PROTOBUF_NAMESPACE_ID::int32
id()
const;
287 void set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
289 ::PROTOBUF_NAMESPACE_ID::int32 _internal_id()
const;
290 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 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 request_;
301 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_;
302 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
303 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serialized_data_;
304 ::ignition::msgs::Header* header_;
305 ::PROTOBUF_NAMESPACE_ID::int32 id_;
306 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
307 friend struct ::TableStruct_ignition_2fmsgs_2fresponse_2eproto;
315 #pragma GCC diagnostic push
316 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
321 inline bool Response::_internal_has_header()
const {
322 return this != internal_default_instance() && header_ !=
nullptr;
324 inline bool Response::has_header()
const {
325 return _internal_has_header();
327 inline const ::ignition::msgs::Header& Response::_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& Response::header()
const {
334 return _internal_header();
336 inline void Response::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* Response::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* Response::unsafe_arena_release_header() {
361 ::ignition::msgs::Header* temp = header_;
365 inline ::ignition::msgs::Header* Response::_internal_mutable_header() {
367 if (header_ ==
nullptr) {
368 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
373 inline ::ignition::msgs::Header* Response::mutable_header() {
375 return _internal_mutable_header();
377 inline void Response::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 Response::clear_id() {
401 inline ::PROTOBUF_NAMESPACE_ID::int32 Response::_internal_id()
const {
404 inline ::PROTOBUF_NAMESPACE_ID::int32 Response::id()
const {
406 return _internal_id();
408 inline void Response::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
412 inline void Response::set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
413 _internal_set_id(value);
418 inline void Response::clear_request() {
419 request_.ClearToEmpty();
421 inline const std::string& Response::request()
const {
423 return _internal_request();
425 inline void Response::set_request(
const std::string& value) {
426 _internal_set_request(value);
431 return _internal_mutable_request();
433 inline const std::string& Response::_internal_request()
const {
434 return request_.Get();
436 inline void Response::_internal_set_request(
const std::string& value) {
438 request_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
440 inline void Response::set_request(
std::string&& value) {
443 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
446 inline void Response::set_request(
const char* value) {
447 GOOGLE_DCHECK(value !=
nullptr);
449 request_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
452 inline void Response::set_request(
const char* value,
455 request_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
456 reinterpret_cast<const char*
>(value), size), GetArena());
459 inline std::string* Response::_internal_mutable_request() {
461 return request_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
465 return request_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
467 inline void Response::set_allocated_request(
std::string* request) {
468 if (request !=
nullptr) {
473 request_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), request,
479 inline void Response::clear_response() {
480 response_.ClearToEmpty();
482 inline const std::string& Response::response()
const {
484 return _internal_response();
486 inline void Response::set_response(
const std::string& value) {
487 _internal_set_response(value);
492 return _internal_mutable_response();
494 inline const std::string& Response::_internal_response()
const {
495 return response_.Get();
497 inline void Response::_internal_set_response(
const std::string& value) {
499 response_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
501 inline void Response::set_response(
std::string&& value) {
504 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
507 inline void Response::set_response(
const char* value) {
508 GOOGLE_DCHECK(value !=
nullptr);
510 response_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
513 inline void Response::set_response(
const char* value,
516 response_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
517 reinterpret_cast<const char*
>(value), size), GetArena());
520 inline std::string* Response::_internal_mutable_response() {
522 return response_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
526 return response_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
528 inline void Response::set_allocated_response(
std::string* response) {
529 if (response !=
nullptr) {
534 response_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), response,
540 inline void Response::clear_type() {
541 type_.ClearToEmpty();
545 return _internal_type();
547 inline void Response::set_type(
const std::string& value) {
548 _internal_set_type(value);
553 return _internal_mutable_type();
555 inline const std::string& Response::_internal_type()
const {
558 inline void Response::_internal_set_type(
const std::string& value) {
560 type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
562 inline void Response::set_type(
std::string&& value) {
565 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
568 inline void Response::set_type(
const char* value) {
569 GOOGLE_DCHECK(value !=
nullptr);
571 type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
574 inline void Response::set_type(
const char* value,
577 type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
578 reinterpret_cast<const char*
>(value), size), GetArena());
581 inline std::string* Response::_internal_mutable_type() {
583 return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
587 return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
589 inline void Response::set_allocated_type(
std::string* type) {
590 if (type !=
nullptr) {
595 type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
601 inline void Response::clear_serialized_data() {
602 serialized_data_.ClearToEmpty();
604 inline const std::string& Response::serialized_data()
const {
606 return _internal_serialized_data();
608 inline void Response::set_serialized_data(
const std::string& value) {
609 _internal_set_serialized_data(value);
612 inline std::string* Response::mutable_serialized_data() {
614 return _internal_mutable_serialized_data();
616 inline const std::string& Response::_internal_serialized_data()
const {
617 return serialized_data_.Get();
619 inline void Response::_internal_set_serialized_data(
const std::string& value) {
621 serialized_data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
623 inline void Response::set_serialized_data(
std::string&& value) {
625 serialized_data_.Set(
626 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
629 inline void Response::set_serialized_data(
const char* value) {
630 GOOGLE_DCHECK(value !=
nullptr);
632 serialized_data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
635 inline void Response::set_serialized_data(
const void* value,
638 serialized_data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
639 reinterpret_cast<const char*
>(value), size), GetArena());
642 inline std::string* Response::_internal_mutable_serialized_data() {
644 return serialized_data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
646 inline std::string* Response::release_serialized_data() {
648 return serialized_data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
650 inline void Response::set_allocated_serialized_data(
std::string* serialized_data) {
651 if (serialized_data !=
nullptr) {
656 serialized_data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serialized_data,
662 #pragma GCC diagnostic pop
679 #include <google/protobuf/port_undef.inc>
std::string * release_response()
Response * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: response.pb.h:149
void set_id(::PROTOBUF_NAMESPACE_ID::int32 value)
std::string * mutable_type()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: response.pb.h:114
Response & operator=(Response &&from) noexcept
Definition: response.pb.h:99
const std::string & serialized_data() const
void set_allocated_response(std::string *response)
std::string * mutable_serialized_data()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
void set_allocated_request(std::string *request)
Response(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::ignition::msgs::Header * mutable_header()
const std::string & request() const
std::string * mutable_response()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: response.pb.h:108
void clear_serialized_data()
void set_request(std::string &&value)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_request(const char *value)
Response(const Response &from)
::PROTOBUF_NAMESPACE_ID::int32 id() const
void CopyFrom(const Response &from)
void set_type(const std::string &value)
void set_response(const std::string &value)
void set_request(const char *value, size_t size)
void set_serialized_data(const char *value)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_serialized_data(const void *value, size_t size)
Response & operator=(const Response &from)
Definition: response.pb.h:95
void set_type(const char *value)
std::string * mutable_request()
void Swap(Response *other)
Definition: response.pb.h:129
const std::string & response() const
std::string * release_type()
void MergeFrom(const Response &from)
void set_type(std::string &&value)
void set_serialized_data(const std::string &value)
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const Response & default_instance()
void set_response(const char *value)
void set_request(const std::string &value)
void set_response(std::string &&value)
void set_allocated_header(::ignition::msgs::Header *header)
Response()
Definition: response.pb.h:86
void UnsafeArenaSwap(Response *other)
Definition: response.pb.h:137
std::string * release_request()
static const Response * internal_default_instance()
Definition: response.pb.h:119
friend void swap(Response &a, Response &b)
Definition: response.pb.h:126
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: response.pb.h:111
void set_allocated_type(std::string *type)
void set_serialized_data(std::string &&value)
std::string * release_serialized_data()
void set_allocated_serialized_data(std::string *serialized_data)
void set_response(const char *value, size_t size)
Response * New() const final
Definition: response.pb.h:145
Response(Response &&from) noexcept
Definition: response.pb.h:90
void set_type(const char *value, size_t size)
const std::string & type() const
const ::ignition::msgs::Header & header() const
std::unique_ptr< const Response > ConstResponseUniquePtr
Definition: response.pb.h:666
std::unique_ptr< Response > ResponseUniquePtr
Definition: response.pb.h:665
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE ResponseDefaultTypeInternal _Response_default_instance_
std::shared_ptr< Response > ResponseSharedPtr
Definition: response.pb.h:667
std::shared_ptr< const Response > ConstResponseSharedPtr
Definition: response.pb.h:668
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fresponse_2eproto
Definition: response.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)