4 #ifndef PROTOBUF_ignition_2fmsgs_2flog_5fcontrol_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2flog_5fcontrol_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 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 3000000 < GOOGLE_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/arena.h> 23 #include <google/protobuf/arenastring.h> 24 #include <google/protobuf/generated_message_util.h> 25 #include <google/protobuf/metadata.h> 26 #include <google/protobuf/message.h> 27 #include <google/protobuf/repeated_field.h> 28 #include <google/protobuf/extension_set.h> 29 #include <google/protobuf/unknown_field_set.h> 32 #pragma GCC system_header 35 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 38 #include <sys/sysmacros.h> 56 class IGNITION_MSGS_VISIBLE
LogControl :
public ::google::protobuf::Message {
68 static const ::google::protobuf::Descriptor* descriptor();
77 LogControl* New(::google::protobuf::Arena* arena)
const;
78 void CopyFrom(const ::google::protobuf::Message& from);
79 void MergeFrom(const ::google::protobuf::Message& from);
83 bool IsInitialized()
const;
86 bool MergePartialFromCodedStream(
87 ::google::protobuf::io::CodedInputStream* input);
88 void SerializeWithCachedSizes(
89 ::google::protobuf::io::CodedOutputStream* output)
const;
90 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
91 bool deterministic, ::google::protobuf::uint8* output)
const;
93 return InternalSerializeWithCachedSizesToArray(
false, output);
99 void SetCachedSize(
int size)
const;
102 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
103 return _internal_metadata_.arena();
105 inline void* MaybeArenaPtr()
const {
106 return _internal_metadata_.raw_arena_ptr();
110 ::google::protobuf::Metadata GetMetadata()
const;
117 bool has_header()
const;
119 static const int kHeaderFieldNumber = 1;
120 const ::ignition::msgs::Header& header()
const;
127 static const int kStartFieldNumber = 2;
129 void set_start(
bool value);
133 static const int kStopFieldNumber = 3;
135 void set_stop(
bool value);
139 static const int kPausedFieldNumber = 4;
141 void set_paused(
bool value);
144 void clear_base_path();
145 static const int kBasePathFieldNumber = 5;
146 const ::std::string& base_path()
const;
147 void set_base_path(const ::std::string& value);
148 void set_base_path(
const char* value);
149 void set_base_path(
const char* value,
size_t size);
152 void set_allocated_base_path(::
std::string* base_path);
155 void clear_encoding();
156 static const int kEncodingFieldNumber = 6;
157 const ::std::string& encoding()
const;
158 void set_encoding(const ::std::string& value);
159 void set_encoding(
const char* value);
160 void set_encoding(
const char* value,
size_t size);
163 void set_allocated_encoding(::
std::string* encoding);
166 void clear_record_resources();
167 static const int kRecordResourcesFieldNumber = 7;
168 const ::std::string& record_resources()
const;
169 void set_record_resources(const ::std::string& value);
170 void set_record_resources(
const char* value);
171 void set_record_resources(
const char* value,
size_t size);
174 void set_allocated_record_resources(::
std::string* record_resources);
179 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
180 bool _is_default_instance_;
182 ::google::protobuf::internal::ArenaStringPtr base_path_;
183 ::google::protobuf::internal::ArenaStringPtr encoding_;
184 ::google::protobuf::internal::ArenaStringPtr record_resources_;
188 mutable int _cached_size_;
193 void InitAsDefaultInstance();
201 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 206 return !_is_default_instance_ && header_ != NULL;
209 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
214 return header_ != NULL ? *header_ : *default_instance_->header_;
218 if (header_ == NULL) {
219 header_ = new ::ignition::msgs::Header;
286 base_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
290 return base_path_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
294 base_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
299 base_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
304 base_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
305 ::
std::string(reinterpret_cast<const char*>(value), size));
311 return base_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
316 return base_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
319 if (base_path != NULL) {
324 base_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), base_path);
330 encoding_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
334 return encoding_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
338 encoding_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
343 encoding_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
348 encoding_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
349 ::
std::string(reinterpret_cast<const char*>(value), size));
355 return encoding_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
360 return encoding_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
363 if (encoding != NULL) {
368 encoding_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), encoding);
374 record_resources_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
378 return record_resources_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
382 record_resources_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
387 record_resources_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
392 record_resources_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
393 ::
std::string(reinterpret_cast<const char*>(value), size));
399 return record_resources_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
404 return record_resources_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
407 if (record_resources != NULL) {
412 record_resources_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), record_resources);
416 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 432 #endif // PROTOBUF_ignition_2fmsgs_2flog_5fcontrol_2eproto__INCLUDED std::shared_ptr< const LogControl > ConstLogControlSharedPtr
Definition: log_control.pb.h:421
void protobuf_ShutdownFile_ignition_2fmsgs_2flog_5fcontrol_2eproto()
void set_base_path(const ::std::string &value)
Definition: log_control.pb.h:292
void set_allocated_encoding(::std::string *encoding)
Definition: log_control.pb.h:362
bool paused() const
Definition: log_control.pb.h:274
LogControl * New() const
Definition: log_control.pb.h:75
int GetCachedSize() const
Definition: log_control.pb.h:95
void clear_encoding()
Definition: log_control.pb.h:329
void clear_base_path()
Definition: log_control.pb.h:285
void clear_start()
Definition: log_control.pb.h:243
bool has_header() const
Definition: log_control.pb.h:205
std::shared_ptr< LogControl > LogControlSharedPtr
Definition: log_control.pb.h:420
::std::string * mutable_encoding()
Definition: log_control.pb.h:352
void set_allocated_header(::ignition::msgs::Header *header)
Definition: log_control.pb.h:231
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: log_control.pb.h:92
const ::std::string & base_path() const
Definition: log_control.pb.h:288
std::unique_ptr< const LogControl > ConstLogControlUniquePtr
Definition: log_control.pb.h:419
::std::string * mutable_record_resources()
Definition: log_control.pb.h:396
const ::std::string & encoding() const
Definition: log_control.pb.h:332
LogControl & operator=(const LogControl &from)
Definition: log_control.pb.h:63
void set_record_resources(const ::std::string &value)
Definition: log_control.pb.h:380
::std::string * release_record_resources()
Definition: log_control.pb.h:401
bool stop() const
Definition: log_control.pb.h:260
void clear_paused()
Definition: log_control.pb.h:271
const ::ignition::msgs::Header & header() const
Definition: log_control.pb.h:212
void clear_header()
Definition: log_control.pb.h:208
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2flog_5fcontrol_2eproto()
const ::std::string & record_resources() const
Definition: log_control.pb.h:376
::std::string * release_encoding()
Definition: log_control.pb.h:357
void set_encoding(const ::std::string &value)
Definition: log_control.pb.h:336
void protobuf_AssignDesc_ignition_2fmsgs_2flog_5fcontrol_2eproto()
bool start() const
Definition: log_control.pb.h:246
void set_start(bool value)
Definition: log_control.pb.h:250
void set_paused(bool value)
Definition: log_control.pb.h:278
void set_stop(bool value)
Definition: log_control.pb.h:264
void set_allocated_base_path(::std::string *base_path)
Definition: log_control.pb.h:318
void set_allocated_record_resources(::std::string *record_resources)
Definition: log_control.pb.h:406
::ignition::msgs::Header * mutable_header()
Definition: log_control.pb.h:216
Definition: log_control.pb.h:56
::std::string * release_base_path()
Definition: log_control.pb.h:313
::std::string * mutable_base_path()
Definition: log_control.pb.h:308
std::unique_ptr< LogControl > LogControlUniquePtr
Definition: log_control.pb.h:418
void clear_record_resources()
Definition: log_control.pb.h:373
void clear_stop()
Definition: log_control.pb.h:257
::ignition::msgs::Header * release_header()
Definition: log_control.pb.h:224