4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flog_5fcontrol_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flog_5fcontrol_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_2flog_5fcontrol_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 LogControlDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::LogControl* Arena::CreateMaybeMessage<::ignition::msgs::LogControl>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
83 class IGNITION_MSGS_VISIBLE LogControl PROTOBUF_FINAL :
84 public ::PROTOBUF_NAMESPACE_ID::Message {
92 *
this = ::std::move(from);
95 inline LogControl&
operator=(
const LogControl& from) {
99 inline LogControl&
operator=(LogControl&& 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 LogControl*
>(
123 static constexpr
int kIndexInFileMessages =
126 friend void swap(LogControl& a, LogControl& b) {
129 inline void Swap(LogControl* 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 LogControl*
New() const final {
146 return CreateMaybeMessage<LogControl>(
nullptr);
149 LogControl*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
150 return CreateMaybeMessage<LogControl>(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(LogControl* other);
170 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172 return "ignition.msgs.LogControl";
177 static void ArenaDtor(
void*
object);
178 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
195 kBasePathFieldNumber = 5,
196 kEncodingFieldNumber = 6,
197 kRecordResourcesFieldNumber = 7,
198 kHeaderFieldNumber = 1,
199 kStartFieldNumber = 2,
200 kStopFieldNumber = 3,
201 kPausedFieldNumber = 4,
215 void _internal_set_base_path(
const std::string& value);
231 void _internal_set_encoding(
const std::string& value);
246 const std::string& _internal_record_resources()
const;
247 void _internal_set_record_resources(
const std::string& value);
254 bool _internal_has_header()
const;
257 const ::ignition::msgs::Header&
header()
const;
262 const ::ignition::msgs::Header& _internal_header()
const;
263 ::ignition::msgs::Header* _internal_mutable_header();
266 ::ignition::msgs::Header* header);
274 bool _internal_start()
const;
275 void _internal_set_start(
bool value);
283 bool _internal_stop()
const;
284 void _internal_set_stop(
bool value);
292 bool _internal_paused()
const;
293 void _internal_set_paused(
bool value);
300 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
301 typedef void InternalArenaConstructable_;
302 typedef void DestructorSkippable_;
303 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr base_path_;
304 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encoding_;
305 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr record_resources_;
306 ::ignition::msgs::Header* header_;
310 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
311 friend struct ::TableStruct_ignition_2fmsgs_2flog_5fcontrol_2eproto;
319 #pragma GCC diagnostic push
320 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
325 inline bool LogControl::_internal_has_header()
const {
326 return this != internal_default_instance() && header_ !=
nullptr;
328 inline bool LogControl::has_header()
const {
329 return _internal_has_header();
331 inline const ::ignition::msgs::Header& LogControl::_internal_header()
const {
332 const ::ignition::msgs::Header* p = header_;
333 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
336 inline const ::ignition::msgs::Header& LogControl::header()
const {
338 return _internal_header();
340 inline void LogControl::unsafe_arena_set_allocated_header(
341 ::ignition::msgs::Header* header) {
342 if (GetArena() ==
nullptr) {
343 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
353 inline ::ignition::msgs::Header* LogControl::release_header() {
355 ::ignition::msgs::Header* temp = header_;
357 if (GetArena() !=
nullptr) {
358 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
362 inline ::ignition::msgs::Header* LogControl::unsafe_arena_release_header() {
365 ::ignition::msgs::Header* temp = header_;
369 inline ::ignition::msgs::Header* LogControl::_internal_mutable_header() {
371 if (header_ ==
nullptr) {
372 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
377 inline ::ignition::msgs::Header* LogControl::mutable_header() {
379 return _internal_mutable_header();
381 inline void LogControl::set_allocated_header(::ignition::msgs::Header* header) {
382 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
383 if (message_arena ==
nullptr) {
384 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
387 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
388 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
389 if (message_arena != submessage_arena) {
390 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
391 message_arena, header, submessage_arena);
402 inline void LogControl::clear_start() {
405 inline bool LogControl::_internal_start()
const {
408 inline bool LogControl::start()
const {
410 return _internal_start();
412 inline void LogControl::_internal_set_start(
bool value) {
416 inline void LogControl::set_start(
bool value) {
417 _internal_set_start(value);
422 inline void LogControl::clear_stop() {
425 inline bool LogControl::_internal_stop()
const {
428 inline bool LogControl::stop()
const {
430 return _internal_stop();
432 inline void LogControl::_internal_set_stop(
bool value) {
436 inline void LogControl::set_stop(
bool value) {
437 _internal_set_stop(value);
442 inline void LogControl::clear_paused() {
445 inline bool LogControl::_internal_paused()
const {
448 inline bool LogControl::paused()
const {
450 return _internal_paused();
452 inline void LogControl::_internal_set_paused(
bool value) {
456 inline void LogControl::set_paused(
bool value) {
457 _internal_set_paused(value);
462 inline void LogControl::clear_base_path() {
463 base_path_.ClearToEmpty();
465 inline const std::string& LogControl::base_path()
const {
467 return _internal_base_path();
469 inline void LogControl::set_base_path(
const std::string& value) {
470 _internal_set_base_path(value);
473 inline std::string* LogControl::mutable_base_path() {
475 return _internal_mutable_base_path();
477 inline const std::string& LogControl::_internal_base_path()
const {
478 return base_path_.Get();
480 inline void LogControl::_internal_set_base_path(
const std::string& value) {
482 base_path_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
484 inline void LogControl::set_base_path(
std::string&& value) {
487 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
490 inline void LogControl::set_base_path(
const char* value) {
491 GOOGLE_DCHECK(value !=
nullptr);
493 base_path_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
496 inline void LogControl::set_base_path(
const char* value,
499 base_path_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
500 reinterpret_cast<const char*
>(value), size), GetArena());
503 inline std::string* LogControl::_internal_mutable_base_path() {
505 return base_path_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
507 inline std::string* LogControl::release_base_path() {
509 return base_path_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
511 inline void LogControl::set_allocated_base_path(
std::string* base_path) {
512 if (base_path !=
nullptr) {
517 base_path_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), base_path,
523 inline void LogControl::clear_encoding() {
524 encoding_.ClearToEmpty();
526 inline const std::string& LogControl::encoding()
const {
528 return _internal_encoding();
530 inline void LogControl::set_encoding(
const std::string& value) {
531 _internal_set_encoding(value);
534 inline std::string* LogControl::mutable_encoding() {
536 return _internal_mutable_encoding();
538 inline const std::string& LogControl::_internal_encoding()
const {
539 return encoding_.Get();
541 inline void LogControl::_internal_set_encoding(
const std::string& value) {
543 encoding_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
545 inline void LogControl::set_encoding(
std::string&& value) {
548 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
551 inline void LogControl::set_encoding(
const char* value) {
552 GOOGLE_DCHECK(value !=
nullptr);
554 encoding_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
557 inline void LogControl::set_encoding(
const char* value,
560 encoding_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
561 reinterpret_cast<const char*
>(value), size), GetArena());
564 inline std::string* LogControl::_internal_mutable_encoding() {
566 return encoding_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
568 inline std::string* LogControl::release_encoding() {
570 return encoding_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
572 inline void LogControl::set_allocated_encoding(
std::string* encoding) {
573 if (encoding !=
nullptr) {
578 encoding_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), encoding,
584 inline void LogControl::clear_record_resources() {
585 record_resources_.ClearToEmpty();
587 inline const std::string& LogControl::record_resources()
const {
589 return _internal_record_resources();
591 inline void LogControl::set_record_resources(
const std::string& value) {
592 _internal_set_record_resources(value);
595 inline std::string* LogControl::mutable_record_resources() {
597 return _internal_mutable_record_resources();
599 inline const std::string& LogControl::_internal_record_resources()
const {
600 return record_resources_.Get();
602 inline void LogControl::_internal_set_record_resources(
const std::string& value) {
604 record_resources_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
606 inline void LogControl::set_record_resources(
std::string&& value) {
608 record_resources_.Set(
609 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
612 inline void LogControl::set_record_resources(
const char* value) {
613 GOOGLE_DCHECK(value !=
nullptr);
615 record_resources_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
618 inline void LogControl::set_record_resources(
const char* value,
621 record_resources_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
622 reinterpret_cast<const char*
>(value), size), GetArena());
625 inline std::string* LogControl::_internal_mutable_record_resources() {
627 return record_resources_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
629 inline std::string* LogControl::release_record_resources() {
631 return record_resources_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
633 inline void LogControl::set_allocated_record_resources(
std::string* record_resources) {
634 if (record_resources !=
nullptr) {
639 record_resources_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), record_resources,
645 #pragma GCC diagnostic pop
662 #include <google/protobuf/port_undef.inc>
const std::string & encoding() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: log_control.pb.h:114
void MergeFrom(const LogControl &from)
void clear_record_resources()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const std::string & record_resources() const
::ignition::msgs::Header * release_header()
void set_record_resources(std::string &&value)
static const LogControl * internal_default_instance()
Definition: log_control.pb.h:119
void set_record_resources(const std::string &value)
::ignition::msgs::Header * mutable_header()
std::string * mutable_base_path()
void set_allocated_base_path(std::string *base_path)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: log_control.pb.h:108
friend void swap(LogControl &a, LogControl &b)
Definition: log_control.pb.h:126
static const LogControl & default_instance()
LogControl(const LogControl &from)
LogControl()
Definition: log_control.pb.h:86
void UnsafeArenaSwap(LogControl *other)
Definition: log_control.pb.h:137
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
std::string * release_record_resources()
LogControl & operator=(const LogControl &from)
Definition: log_control.pb.h:95
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
std::string * release_encoding()
LogControl * New() const final
Definition: log_control.pb.h:145
void set_paused(bool value)
LogControl * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: log_control.pb.h:149
std::string * release_base_path()
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_record_resources(const char *value, size_t size)
const std::string & base_path() const
void set_base_path(const std::string &value)
LogControl(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_stop(bool value)
void set_allocated_header(::ignition::msgs::Header *header)
void set_encoding(const char *value, size_t size)
void set_encoding(const std::string &value)
LogControl & operator=(LogControl &&from) noexcept
Definition: log_control.pb.h:99
void set_allocated_encoding(std::string *encoding)
LogControl(LogControl &&from) noexcept
Definition: log_control.pb.h:90
void set_record_resources(const char *value)
void set_allocated_record_resources(std::string *record_resources)
void set_base_path(const char *value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_encoding(const char *value)
std::string * mutable_record_resources()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: log_control.pb.h:111
void set_start(bool value)
void set_encoding(std::string &&value)
void CopyFrom(const LogControl &from)
std::string * mutable_encoding()
void set_base_path(std::string &&value)
void Swap(LogControl *other)
Definition: log_control.pb.h:129
const ::ignition::msgs::Header & header() const
void set_base_path(const char *value, size_t size)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2flog_5fcontrol_2eproto
IGNITION_MSGS_VISIBLE LogControlDefaultTypeInternal _LogControl_default_instance_
std::shared_ptr< const LogControl > ConstLogControlSharedPtr
Definition: log_control.pb.h:651
std::unique_ptr< const LogControl > ConstLogControlUniquePtr
Definition: log_control.pb.h:649
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< LogControl > LogControlUniquePtr
Definition: log_control.pb.h:648
std::shared_ptr< LogControl > LogControlSharedPtr
Definition: log_control.pb.h:650
Definition: actor.pb.h:52
Definition: log_control.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)