4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2frest_5flogout_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2frest_5flogout_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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_2frest_5flogout_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 uint32_t offsets[];
71 struct RestLogoutDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::RestLogout* Arena::CreateMaybeMessage<::ignition::msgs::RestLogout>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
84 public ::PROTOBUF_NAMESPACE_ID::Message {
88 explicit constexpr
RestLogout(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
93 *
this = ::std::move(from);
101 if (
this == &from)
return *
this;
102 if (GetOwningArena() == from.GetOwningArena()
103 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104 && GetOwningArena() !=
nullptr
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
115 return GetDescriptor();
118 return default_instance().GetMetadata().descriptor;
121 return default_instance().GetMetadata().reflection;
124 return *internal_default_instance();
130 static constexpr
int kIndexInFileMessages =
137 if (other ==
this)
return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() !=
nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
142 if (GetOwningArena() == other->GetOwningArena()) {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
150 if (other ==
this)
return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
157 RestLogout*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
158 return CreateMaybeMessage<RestLogout>(arena);
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
168 bool IsInitialized() const final;
170 size_t ByteSizeLong() const final;
171 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
172 uint8_t* _InternalSerialize(
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 void SetCachedSize(
int size)
const final;
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "ignition.msgs.RestLogout";
189 bool is_message_owned =
false);
191 static void ArenaDtor(
void*
object);
192 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
198 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
206 kHeaderFieldNumber = 1,
212 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
219 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_url(
const std::string& value);
224 bool has_header()
const;
226 bool _internal_has_header()
const;
229 const ::ignition::msgs::Header& header()
const;
230 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
234 const ::ignition::msgs::Header& _internal_header()
const;
237 void unsafe_arena_set_allocated_header(
244 void set_id(uint32_t value);
246 uint32_t _internal_id()
const;
247 void _internal_set_id(uint32_t value);
254 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
255 typedef void InternalArenaConstructable_;
256 typedef void DestructorSkippable_;
257 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
260 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
261 friend struct ::TableStruct_ignition_2fmsgs_2frest_5flogout_2eproto;
269 #pragma GCC diagnostic push
270 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
275 inline bool RestLogout::_internal_has_header()
const {
276 return this != internal_default_instance() && header_ !=
nullptr;
279 return _internal_has_header();
281 inline const ::ignition::msgs::Header& RestLogout::_internal_header()
const {
282 const ::ignition::msgs::Header* p = header_;
288 return _internal_header();
292 if (GetArenaForAllocation() ==
nullptr) {
293 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
307 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
308 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
309 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
310 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
312 if (GetArenaForAllocation() !=
nullptr) {
313 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
325 inline ::ignition::msgs::Header* RestLogout::_internal_mutable_header() {
327 if (header_ ==
nullptr) {
328 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
339 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
340 if (message_arena ==
nullptr) {
341 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
344 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
345 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
346 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
347 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
348 if (message_arena != submessage_arena) {
349 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
350 message_arena, header, submessage_arena);
364 inline uint32_t RestLogout::_internal_id()
const {
369 return _internal_id();
371 inline void RestLogout::_internal_set_id(uint32_t value) {
376 _internal_set_id(value);
386 return _internal_url();
388 template <
typename ArgT0,
typename... ArgT>
389 inline PROTOBUF_ALWAYS_INLINE
392 url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
400 inline const std::string& RestLogout::_internal_url()
const {
403 inline void RestLogout::_internal_set_url(
const std::string& value) {
405 url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
407 inline std::string* RestLogout::_internal_mutable_url() {
409 return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
413 return url_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
416 if (url !=
nullptr) {
421 url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
422 GetArenaForAllocation());
423 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
424 if (url_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
425 url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
"", GetArenaForAllocation());
432 #pragma GCC diagnostic pop
449 #include <google/protobuf/port_undef.inc>
Definition: rest_logout.pb.h:84
RestLogout * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: rest_logout.pb.h:157
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: rest_logout.pb.h:120
std::string * mutable_url()
Definition: rest_logout.pb.h:395
bool has_header() const
Definition: rest_logout.pb.h:278
RestLogout & operator=(const RestLogout &from)
Definition: rest_logout.pb.h:96
::ignition::msgs::Header * mutable_header()
Definition: rest_logout.pb.h:333
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(RestLogout *other)
Definition: rest_logout.pb.h:149
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: rest_logout.pb.h:114
RestLogout(const RestLogout &from)
PROTOBUF_NODISCARD std::string * release_url()
Definition: rest_logout.pb.h:411
RestLogout(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void clear_id()
Definition: rest_logout.pb.h:361
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: rest_logout.pb.h:290
static const RestLogout * internal_default_instance()
Definition: rest_logout.pb.h:126
void MergeFrom(const RestLogout &from)
void set_url(ArgT0 &&arg0, ArgT... args)
friend void swap(RestLogout &a, RestLogout &b)
Definition: rest_logout.pb.h:133
void set_allocated_url(std::string *url)
Definition: rest_logout.pb.h:415
RestLogout()
Definition: rest_logout.pb.h:86
void clear_url()
Definition: rest_logout.pb.h:381
void CopyFrom(const RestLogout &from)
void set_allocated_header(::ignition::msgs::Header *header)
Definition: rest_logout.pb.h:338
static const RestLogout & default_instance()
Definition: rest_logout.pb.h:123
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: rest_logout.pb.h:303
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
RestLogout(RestLogout &&from) noexcept
Definition: rest_logout.pb.h:91
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: rest_logout.pb.h:117
const ::ignition::msgs::Header & header() const
Definition: rest_logout.pb.h:286
RestLogout & operator=(RestLogout &&from) noexcept
Definition: rest_logout.pb.h:100
void Swap(RestLogout *other)
Definition: rest_logout.pb.h:136
const std::string & url() const
Definition: rest_logout.pb.h:384
static const ClassData _class_data_
Definition: rest_logout.pb.h:195
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: rest_logout.pb.h:318
void set_id(uint32_t value)
Definition: rest_logout.pb.h:375
uint32_t id() const
Definition: rest_logout.pb.h:367
constexpr RestLogout(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
IGNITION_MSGS_VISIBLE RestLogoutDefaultTypeInternal _RestLogout_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< RestLogout > RestLogoutSharedPtr
Definition: rest_logout.pb.h:437
std::shared_ptr< const RestLogout > ConstRestLogoutSharedPtr
Definition: rest_logout.pb.h:438
std::unique_ptr< const RestLogout > ConstRestLogoutUniquePtr
Definition: rest_logout.pb.h:436
std::unique_ptr< RestLogout > RestLogoutUniquePtr
Definition: rest_logout.pb.h:435
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2frest_5flogout_2eproto
Definition: rest_logout.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)