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 < 3012000
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 3012004 < 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/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
37 #pragma GCC system_header
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #include <sys/sysmacros.h>
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2frest_5flogout_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
54 PROTOBUF_NAMESPACE_CLOSE
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
72 class RestLogoutDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::RestLogout* Arena::CreateMaybeMessage<::ignition::msgs::RestLogout>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE RestLogout PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
93 *
this = ::std::move(from);
96 inline RestLogout&
operator=(
const RestLogout& from) {
100 inline RestLogout&
operator=(RestLogout&& from) noexcept {
101 if (GetArena() == from.GetArena()) {
102 if (
this != &from) InternalSwap(&from);
109 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
110 return GetDescriptor();
113 return GetMetadataStatic().descriptor;
116 return GetMetadataStatic().reflection;
122 return reinterpret_cast<const RestLogout*
>(
125 static constexpr
int kIndexInFileMessages =
128 friend void swap(RestLogout& a, RestLogout& b) {
131 inline void Swap(RestLogout* other) {
132 if (other ==
this)
return;
133 if (GetArena() == other->GetArena()) {
136 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
140 if (other ==
this)
return;
141 GOOGLE_DCHECK(GetArena() == other->GetArena());
147 inline RestLogout*
New() const final {
148 return CreateMaybeMessage<RestLogout>(
nullptr);
151 RestLogout*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
152 return CreateMaybeMessage<RestLogout>(arena);
154 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
155 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
158 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
159 bool IsInitialized() const final;
161 size_t ByteSizeLong() const final;
162 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
163 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
164 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
165 int GetCachedSize() const final {
return _cached_size_.Get(); }
168 inline void SharedCtor();
169 inline void SharedDtor();
170 void SetCachedSize(
int size)
const final;
171 void InternalSwap(RestLogout* other);
172 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
173 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174 return "ignition.msgs.RestLogout";
179 static void ArenaDtor(
void*
object);
180 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
185 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
198 kHeaderFieldNumber = 1,
211 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
212 " string fields are deprecated and will be removed in a"
214 std::
string* unsafe_arena_release_url();
215 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
216 "
string fields are deprecated and will be removed in a"
218 void unsafe_arena_set_allocated_url(
221 const
std::
string& _internal_url() const;
222 void _internal_set_url(const
std::
string& value);
223 std::
string* _internal_mutable_url();
227 bool has_header() const;
229 bool _internal_has_header() const;
235 void set_allocated_header(::
ignition::msgs::Header* header);
237 const ::
ignition::msgs::Header& _internal_header() const;
238 ::
ignition::msgs::Header* _internal_mutable_header();
240 void unsafe_arena_set_allocated_header(
242 ::
ignition::msgs::Header* unsafe_arena_release_header();
246 ::PROTOBUF_NAMESPACE_ID::uint32
id() const;
247 void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
249 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id() const;
250 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
257 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
258 typedef
void InternalArenaConstructable_;
259 typedef
void DestructorSkippable_;
260 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr url_;
262 ::PROTOBUF_NAMESPACE_ID::uint32 id_;
263 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
272 #pragma GCC diagnostic push
273 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
278 inline bool RestLogout::_internal_has_header()
const {
279 return this != internal_default_instance() && header_ !=
nullptr;
281 inline bool RestLogout::has_header()
const {
282 return _internal_has_header();
284 inline const ::ignition::msgs::Header& RestLogout::_internal_header()
const {
285 const ::ignition::msgs::Header* p = header_;
286 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Header*
>(
289 inline const ::ignition::msgs::Header& RestLogout::header()
const {
291 return _internal_header();
293 inline void RestLogout::unsafe_arena_set_allocated_header(
294 ::ignition::msgs::Header* header) {
295 if (GetArena() ==
nullptr) {
296 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
306 inline ::ignition::msgs::Header* RestLogout::release_header() {
307 auto temp = unsafe_arena_release_header();
308 if (GetArena() !=
nullptr) {
309 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
313 inline ::ignition::msgs::Header* RestLogout::unsafe_arena_release_header() {
316 ::ignition::msgs::Header* temp = header_;
320 inline ::ignition::msgs::Header* RestLogout::_internal_mutable_header() {
322 if (header_ ==
nullptr) {
323 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
328 inline ::ignition::msgs::Header* RestLogout::mutable_header() {
330 return _internal_mutable_header();
332 inline void RestLogout::set_allocated_header(::ignition::msgs::Header* header) {
333 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
334 if (message_arena ==
nullptr) {
335 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
338 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
339 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
340 if (message_arena != submessage_arena) {
341 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
342 message_arena, header, submessage_arena);
353 inline void RestLogout::clear_id() {
356 inline ::PROTOBUF_NAMESPACE_ID::uint32 RestLogout::_internal_id()
const {
359 inline ::PROTOBUF_NAMESPACE_ID::uint32 RestLogout::id()
const {
361 return _internal_id();
363 inline void RestLogout::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
367 inline void RestLogout::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
368 _internal_set_id(value);
373 inline void RestLogout::clear_url() {
374 url_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
376 inline const std::string& RestLogout::url()
const {
378 return _internal_url();
380 inline void RestLogout::set_url(
const std::string& value) {
381 _internal_set_url(value);
386 return _internal_mutable_url();
388 inline const std::string& RestLogout::_internal_url()
const {
391 inline void RestLogout::_internal_set_url(
const std::string& value) {
393 url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
395 inline void RestLogout::set_url(
std::string&& value) {
398 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::move(value), GetArena());
401 inline void RestLogout::set_url(
const char* value) {
402 GOOGLE_DCHECK(value !=
nullptr);
404 url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(value),
408 inline void RestLogout::set_url(
const char* value,
411 url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(
412 reinterpret_cast<const char*
>(value), size), GetArena());
415 inline std::string* RestLogout::_internal_mutable_url() {
417 return url_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
421 return url_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
423 inline void RestLogout::set_allocated_url(
std::string* url) {
424 if (url !=
nullptr) {
429 url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
433 inline std::string* RestLogout::unsafe_arena_release_url() {
435 GOOGLE_DCHECK(GetArena() !=
nullptr);
437 return url_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
440 inline void RestLogout::unsafe_arena_set_allocated_url(
442 GOOGLE_DCHECK(GetArena() !=
nullptr);
443 if (url !=
nullptr) {
448 url_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
454 #pragma GCC diagnostic pop
471 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2frest_5flogout_2eproto
static void InitAsDefaultInstance()
void set_url(const char *value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:115
RestLogout * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:151
RestLogout & operator=(const RestLogout &from)
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:96
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_url(const std::string &value)
void UnsafeArenaSwap(RestLogout *other)
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:139
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:109
RestLogout(const RestLogout &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const RestLogout * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:121
RestLogout * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:147
void MergeFrom(const RestLogout &from)
RestLogout(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_url(std::string &&value)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
friend void swap(RestLogout &a, RestLogout &b)
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:128
void set_allocated_url(std::string *url)
RestLogout()
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:87
void CopyFrom(const RestLogout &from)
std::string * mutable_url()
static const RestLogout & default_instance()
void set_url(const char *value, size_t size)
RestLogout(RestLogout &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:91
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:112
std::string * release_url()
RestLogout & operator=(RestLogout &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:100
void Swap(RestLogout *other)
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:131
const std::string & url() const
IGNITION_MSGS_VISIBLE RestLogoutDefaultTypeInternal _RestLogout_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< RestLogout > RestLogoutSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:459
std::shared_ptr< const RestLogout > ConstRestLogoutSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:460
std::unique_ptr< const RestLogout > ConstRestLogoutUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:458
std::unique_ptr< RestLogout > RestLogoutUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:457
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/rest_logout.pb.h:57
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)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)