Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fgui_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fgui_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < 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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fgui_2eproto IGNITION_MSGS_VISIBLE
53 static const ::google::protobuf::internal::ParseTableField entries[];
54 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
55 static const ::google::protobuf::internal::ParseTable schema[1];
56 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
57 static const ::google::protobuf::internal::SerializationTable serialization_table[];
58 static const ::google::protobuf::uint32 offsets[];
65 class GUIDefaultTypeInternal;
71 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::GUI* Arena::CreateMaybeMessage<::ignition::msgs::GUI>(Arena*);
79 class IGNITION_MSGS_VISIBLE
GUI :
public ::google::protobuf::Message {
93 *
this = ::std::move(from);
96 inline GUI& operator=(GUI&& from) noexcept {
97 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
98 if (
this != &from) InternalSwap(&from);
105 static const ::google::protobuf::Descriptor* descriptor();
106 static const GUI& default_instance();
108 static void InitAsDefaultInstance();
110 return reinterpret_cast<const GUI*
>(
113 static constexpr
int kIndexInFileMessages =
116 void Swap(
GUI* other);
124 return CreateMaybeMessage<GUI>(NULL);
127 GUI*
New(::google::protobuf::Arena* arena)
const final {
128 return CreateMaybeMessage<GUI>(arena);
130 void CopyFrom(const ::google::protobuf::Message& from)
final;
131 void MergeFrom(const ::google::protobuf::Message& from)
final;
132 void CopyFrom(
const GUI& from);
133 void MergeFrom(
const GUI& from);
135 bool IsInitialized() const final;
137 size_t ByteSizeLong() const final;
138 bool MergePartialFromCodedStream(
139 ::
google::protobuf::io::CodedInputStream* input) final;
140 void SerializeWithCachedSizes(
141 ::
google::protobuf::io::CodedOutputStream* output) const final;
142 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
143 bool deterministic, ::
google::protobuf::uint8* target) const final;
144 int GetCachedSize() const final {
return _cached_size_.Get(); }
149 void SetCachedSize(
int size)
const final;
150 void InternalSwap(
GUI* other);
152 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
155 inline void* MaybeArenaPtr()
const {
160 ::google::protobuf::Metadata GetMetadata() const final;
167 int plugin_size() const;
169 static const
int kPluginFieldNumber = 4;
179 bool has_header() const;
181 static const
int kHeaderFieldNumber = 1;
191 bool has_camera() const;
193 static const
int kCameraFieldNumber = 3;
203 void clear_fullscreen();
204 static const
int kFullscreenFieldNumber = 2;
205 bool fullscreen() const;
206 void set_fullscreen(
bool value);
211 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
216 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
225 #pragma GCC diagnostic push
226 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
232 return this != internal_default_instance() && header_ != NULL;
234 inline const ::ignition::msgs::Header& GUI::_internal_header()
const {
238 const ::ignition::msgs::Header* p = header_;
252 if (header_ == NULL) {
253 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
260 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
261 if (message_arena == NULL) {
262 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
265 ::google::protobuf::Arena* submessage_arena = NULL;
266 if (message_arena != submessage_arena) {
267 header = ::google::protobuf::internal::GetOwnedMessage(
268 message_arena, header, submessage_arena);
294 return this != internal_default_instance() && camera_ != NULL;
296 inline const ::ignition::msgs::GUICamera& GUI::_internal_camera()
const {
300 const ::ignition::msgs::GUICamera* p = camera_;
314 if (camera_ == NULL) {
315 auto* p = CreateMaybeMessage<::ignition::msgs::GUICamera>(GetArenaNoVirtual());
322 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
323 if (message_arena == NULL) {
324 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(camera_);
327 ::google::protobuf::Arena* submessage_arena = NULL;
328 if (message_arena != submessage_arena) {
329 camera = ::google::protobuf::internal::GetOwnedMessage(
330 message_arena, camera, submessage_arena);
342 return plugin_.size();
346 return plugin_.Mutable(index);
348 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >*
353 inline const ::ignition::msgs::Plugin&
GUI::plugin(
int index)
const {
355 return plugin_.Get(index);
359 return plugin_.Add();
361 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin >&
368 #pragma GCC diagnostic pop
385 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fgui_2eproto
std::unique_ptr< const GUI > ConstGUIUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:372
IGNITION_MSGS_VISIBLE GUIDefaultTypeInternal _GUI_default_instance_
void IGNITION_MSGS_VISIBLE AddDescriptors()
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin > & plugin() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:362
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:52
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:259
IGNITION_MSGS_VISIBLE GUICameraDefaultTypeInternal _GUICamera_default_instance_
static const GUI * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:109
void clear_fullscreen()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:279
GUI * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:123
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:79
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:237
GUI * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:127
std::shared_ptr< const GUI > ConstGUISharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:374
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:243
int plugin_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:341
::ignition::msgs::Plugin * add_plugin()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:357
bool fullscreen() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:282
std::unique_ptr< GUI > GUIUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:371
::ignition::msgs::GUICamera * mutable_camera()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:312
const ::ignition::msgs::GUICamera & camera() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:299
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:250
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:231
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Plugin > * mutable_plugin()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:349
Definition: build/ignition-msgs8/include/ignition/msgs/gui_camera.pb.h:79
std::shared_ptr< GUI > GUISharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:373
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
::ignition::msgs::GUICamera * release_camera()
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:305
bool has_camera() const
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:293
void set_allocated_camera(::ignition::msgs::GUICamera *camera)
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:321
GUI & operator=(const GUI &from)
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:86
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:50
Definition: build/ignition-msgs8/include/ignition/msgs/plugin.pb.h:77
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
void set_fullscreen(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:286
friend void swap(GUI &a, GUI &b)
Definition: build/ignition-msgs8/include/ignition/msgs/gui.pb.h:117