Ignition Msgs

API Reference

6.4.0
empty.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/empty.proto
3 
4 #ifndef PROTOBUF_ignition_2fmsgs_2fempty_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fempty_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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>
30 #ifndef _MSC_VER
31 #pragma GCC system_header
32 #else
33 #pragma warning(push)
34 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
35 #endif
36 #ifdef __linux__
37 #include <sys/sysmacros.h>
38 #endif
39 #include <memory>
40 #include <ignition/msgs/Export.hh>
41 // @@protoc_insertion_point(includes)
42 
43 namespace ignition {
44 namespace msgs {
45 
46 // Internal implementation detail -- do not call these.
47 void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fempty_2eproto();
50 
51 class Empty;
52 
53 // ===================================================================
54 
55 class IGNITION_MSGS_VISIBLE Empty : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Empty) */ {
56  public:
57  Empty();
58  virtual ~Empty();
59 
60  Empty(const Empty& from);
61 
62  inline Empty& operator=(const Empty& from) {
63  CopyFrom(from);
64  return *this;
65  }
66 
67  static const ::google::protobuf::Descriptor* descriptor();
68  static const Empty& default_instance();
69 
70  void Swap(Empty* other);
71 
72  // implements Message ----------------------------------------------
73 
74  inline Empty* New() const { return New(NULL); }
75 
76  Empty* New(::google::protobuf::Arena* arena) const;
77  void CopyFrom(const ::google::protobuf::Message& from);
78  void MergeFrom(const ::google::protobuf::Message& from);
79  void CopyFrom(const Empty& from);
80  void MergeFrom(const Empty& from);
81  void Clear();
82  bool IsInitialized() const;
83 
84  int ByteSize() const;
85  bool MergePartialFromCodedStream(
86  ::google::protobuf::io::CodedInputStream* input);
87  void SerializeWithCachedSizes(
88  ::google::protobuf::io::CodedOutputStream* output) const;
89  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
90  bool deterministic, ::google::protobuf::uint8* output) const;
91  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
92  return InternalSerializeWithCachedSizesToArray(false, output);
93  }
94  int GetCachedSize() const { return _cached_size_; }
95  private:
96  void SharedCtor();
97  void SharedDtor();
98  void SetCachedSize(int size) const;
99  void InternalSwap(Empty* other);
100  private:
101  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
102  return _internal_metadata_.arena();
103  }
104  inline void* MaybeArenaPtr() const {
105  return _internal_metadata_.raw_arena_ptr();
106  }
107  public:
108 
109  ::google::protobuf::Metadata GetMetadata() const;
110 
111  // nested types ----------------------------------------------------
112 
113  // accessors -------------------------------------------------------
114 
115  // optional bool unused = 1;
116  void clear_unused();
117  static const int kUnusedFieldNumber = 1;
118  bool unused() const;
119  void set_unused(bool value);
120 
121  // @@protoc_insertion_point(class_scope:ignition.msgs.Empty)
122  private:
123 
124  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
125  bool _is_default_instance_;
126  bool unused_;
127  mutable int _cached_size_;
128  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fempty_2eproto();
131 
132  void InitAsDefaultInstance();
133  static Empty* default_instance_;
134 };
135 // ===================================================================
136 
137 
138 // ===================================================================
139 
140 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
141 // Empty
142 
143 // optional bool unused = 1;
144 inline void Empty::clear_unused() {
145  unused_ = false;
146 }
147 inline bool Empty::unused() const {
148  // @@protoc_insertion_point(field_get:ignition.msgs.Empty.unused)
149  return unused_;
150 }
151 inline void Empty::set_unused(bool value) {
152 
153  unused_ = value;
154  // @@protoc_insertion_point(field_set:ignition.msgs.Empty.unused)
155 }
156 
157 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
158 
163 // @@protoc_insertion_point(namespace_scope)
164 
165 } // namespace msgs
166 } // namespace ignition
167 
168 #ifdef _MSC_VER
169 #pragma warning(pop)
170 #endif
171 // @@protoc_insertion_point(global_scope)
172 
173 #endif // PROTOBUF_ignition_2fmsgs_2fempty_2eproto__INCLUDED
int GetCachedSize() const
Definition: empty.pb.h:94
Definition: empty.pb.h:55
std::unique_ptr< const Empty > ConstEmptyUniquePtr
Definition: empty.pb.h:160
Empty & operator=(const Empty &from)
Definition: empty.pb.h:62
std::shared_ptr< Empty > EmptySharedPtr
Definition: empty.pb.h:161
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fempty_2eproto()
Empty * New() const
Definition: empty.pb.h:74
void protobuf_ShutdownFile_ignition_2fmsgs_2fempty_2eproto()
std::shared_ptr< const Empty > ConstEmptySharedPtr
Definition: empty.pb.h:162
STL class.
std::unique_ptr< Empty > EmptyUniquePtr
Definition: empty.pb.h:159
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: empty.pb.h:91
void set_unused(bool value)
Definition: empty.pb.h:151
bool unused() const
Definition: empty.pb.h:147
void protobuf_AssignDesc_ignition_2fmsgs_2fempty_2eproto()
void clear_unused()
Definition: empty.pb.h:144