4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2frequest_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2frequest_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_2frequest_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 RequestDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Request* Arena::CreateMaybeMessage<::ignition::msgs::Request>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
83 class IGNITION_MSGS_VISIBLE Request PROTOBUF_FINAL :
84 public ::PROTOBUF_NAMESPACE_ID::Message {
92 *
this = ::std::move(from);
99 inline Request&
operator=(Request&& 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 Request*
>(
123 static constexpr
int kIndexInFileMessages =
126 friend void swap(Request& a, Request& b) {
129 inline void Swap(Request* 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 Request*
New() const final {
146 return CreateMaybeMessage<Request>(
nullptr);
149 Request*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
150 return CreateMaybeMessage<Request>(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(Request* other);
170 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172 return "ignition.msgs.Request";
175 explicit Request(::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 kDataFieldNumber = 4,
197 kHeaderFieldNumber = 1,
198 kDblDataFieldNumber = 5,
213 void _internal_set_request(
const std::string& value);
236 bool _internal_has_header()
const;
239 const ::ignition::msgs::Header&
header()
const;
244 const ::ignition::msgs::Header& _internal_header()
const;
245 ::ignition::msgs::Header* _internal_mutable_header();
248 ::ignition::msgs::Header* header);
256 double _internal_dbl_data()
const;
257 void _internal_set_dbl_data(
double value);
262 ::PROTOBUF_NAMESPACE_ID::int32
id()
const;
263 void set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
265 ::PROTOBUF_NAMESPACE_ID::int32 _internal_id()
const;
266 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
273 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
274 typedef void InternalArenaConstructable_;
275 typedef void DestructorSkippable_;
276 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_;
277 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
278 ::ignition::msgs::Header* header_;
280 ::PROTOBUF_NAMESPACE_ID::int32 id_;
281 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
282 friend struct ::TableStruct_ignition_2fmsgs_2frequest_2eproto;
290 #pragma GCC diagnostic push
291 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
296 inline bool Request::_internal_has_header()
const {
297 return this != internal_default_instance() && header_ !=
nullptr;
299 inline bool Request::has_header()
const {
300 return _internal_has_header();
302 inline const ::ignition::msgs::Header& Request::_internal_header()
const {
303 const ::ignition::msgs::Header* p = header_;
304 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
307 inline const ::ignition::msgs::Header& Request::header()
const {
309 return _internal_header();
311 inline void Request::unsafe_arena_set_allocated_header(
312 ::ignition::msgs::Header* header) {
313 if (GetArena() ==
nullptr) {
314 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
324 inline ::ignition::msgs::Header* Request::release_header() {
326 ::ignition::msgs::Header* temp = header_;
328 if (GetArena() !=
nullptr) {
329 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
333 inline ::ignition::msgs::Header* Request::unsafe_arena_release_header() {
336 ::ignition::msgs::Header* temp = header_;
340 inline ::ignition::msgs::Header* Request::_internal_mutable_header() {
342 if (header_ ==
nullptr) {
343 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
348 inline ::ignition::msgs::Header* Request::mutable_header() {
350 return _internal_mutable_header();
352 inline void Request::set_allocated_header(::ignition::msgs::Header* header) {
353 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
354 if (message_arena ==
nullptr) {
355 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
358 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
359 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
360 if (message_arena != submessage_arena) {
361 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
362 message_arena, header, submessage_arena);
373 inline void Request::clear_id() {
376 inline ::PROTOBUF_NAMESPACE_ID::int32 Request::_internal_id()
const {
379 inline ::PROTOBUF_NAMESPACE_ID::int32 Request::id()
const {
381 return _internal_id();
383 inline void Request::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
387 inline void Request::set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
388 _internal_set_id(value);
393 inline void Request::clear_request() {
394 request_.ClearToEmpty();
396 inline const std::string& Request::request()
const {
398 return _internal_request();
400 inline void Request::set_request(
const std::string& value) {
401 _internal_set_request(value);
406 return _internal_mutable_request();
408 inline const std::string& Request::_internal_request()
const {
409 return request_.Get();
411 inline void Request::_internal_set_request(
const std::string& value) {
413 request_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
415 inline void Request::set_request(
std::string&& value) {
418 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
421 inline void Request::set_request(
const char* value) {
422 GOOGLE_DCHECK(value !=
nullptr);
424 request_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
427 inline void Request::set_request(
const char* value,
430 request_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
431 reinterpret_cast<const char*
>(value), size), GetArena());
434 inline std::string* Request::_internal_mutable_request() {
436 return request_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
440 return request_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
442 inline void Request::set_allocated_request(
std::string* request) {
443 if (request !=
nullptr) {
448 request_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), request,
454 inline void Request::clear_data() {
455 data_.ClearToEmpty();
459 return _internal_data();
461 inline void Request::set_data(
const std::string& value) {
462 _internal_set_data(value);
467 return _internal_mutable_data();
469 inline const std::string& Request::_internal_data()
const {
472 inline void Request::_internal_set_data(
const std::string& value) {
474 data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
476 inline void Request::set_data(
std::string&& value) {
479 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
482 inline void Request::set_data(
const char* value) {
483 GOOGLE_DCHECK(value !=
nullptr);
485 data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
488 inline void Request::set_data(
const char* value,
491 data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
492 reinterpret_cast<const char*
>(value), size), GetArena());
495 inline std::string* Request::_internal_mutable_data() {
497 return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
501 return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
503 inline void Request::set_allocated_data(
std::string* data) {
504 if (data !=
nullptr) {
509 data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
515 inline void Request::clear_dbl_data() {
518 inline double Request::_internal_dbl_data()
const {
521 inline double Request::dbl_data()
const {
523 return _internal_dbl_data();
525 inline void Request::_internal_set_dbl_data(
double value) {
529 inline void Request::set_dbl_data(
double value) {
530 _internal_set_dbl_data(value);
535 #pragma GCC diagnostic pop
552 #include <google/protobuf/port_undef.inc>
void set_allocated_data(std::string *data)
void set_id(::PROTOBUF_NAMESPACE_ID::int32 value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: request.pb.h:114
Request(const Request &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
void set_allocated_request(std::string *request)
void set_data(const std::string &value)
Request & operator=(Request &&from) noexcept
Definition: request.pb.h:99
::ignition::msgs::Header * mutable_header()
const std::string & request() const
Request(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Request * New() const final
Definition: request.pb.h:145
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: request.pb.h:108
std::string * release_data()
void set_request(std::string &&value)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_request(const char *value)
static const Request & default_instance()
void Swap(Request *other)
Definition: request.pb.h:129
void set_data(std::string &&value)
::PROTOBUF_NAMESPACE_ID::int32 id() const
Request * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: request.pb.h:149
const std::string & data() const
void set_request(const char *value, size_t size)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
std::string * mutable_request()
void MergeFrom(const Request &from)
static const Request * internal_default_instance()
Definition: request.pb.h:119
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_data(const char *value, size_t size)
Request(Request &&from) noexcept
Definition: request.pb.h:90
void set_request(const std::string &value)
void set_allocated_header(::ignition::msgs::Header *header)
void set_data(const char *value)
std::string * release_request()
void UnsafeArenaSwap(Request *other)
Definition: request.pb.h:137
Request & operator=(const Request &from)
Definition: request.pb.h:95
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_dbl_data(double value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: request.pb.h:111
void CopyFrom(const Request &from)
friend void swap(Request &a, Request &b)
Definition: request.pb.h:126
Request()
Definition: request.pb.h:86
const ::ignition::msgs::Header & header() const
std::string * mutable_data()
std::shared_ptr< const Request > ConstRequestSharedPtr
Definition: request.pb.h:541
std::unique_ptr< Request > RequestUniquePtr
Definition: request.pb.h:538
std::shared_ptr< Request > RequestSharedPtr
Definition: request.pb.h:540
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE RequestDefaultTypeInternal _Request_default_instance_
std::unique_ptr< const Request > ConstRequestUniquePtr
Definition: request.pb.h:539
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2frequest_2eproto
Definition: 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)