• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: google/protobuf/empty.proto
3 
4 #ifndef PROTOBUF_google_2fprotobuf_2fempty_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_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 // @@protoc_insertion_point(includes)
31 
32 namespace google {
33 namespace protobuf {
34 
35 // Internal implementation detail -- do not call these.
36 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fempty_2eproto();
37 void protobuf_AssignDesc_google_2fprotobuf_2fempty_2eproto();
38 void protobuf_ShutdownFile_google_2fprotobuf_2fempty_2eproto();
39 
40 class Empty;
41 
42 // ===================================================================
43 
44 class LIBPROTOBUF_EXPORT Empty : public ::google::protobuf::Message {
45  public:
46   Empty();
47   virtual ~Empty();
48 
49   Empty(const Empty& from);
50 
51   inline Empty& operator=(const Empty& from) {
52     CopyFrom(from);
53     return *this;
54   }
55 
GetArena()56   inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(); }
GetMaybeArenaPointer()57   inline void* GetMaybeArenaPointer() const {
58     return MaybeArenaPtr();
59   }
60   static const ::google::protobuf::Descriptor* descriptor();
61   static const Empty& default_instance();
62 
63   void UnsafeArenaSwap(Empty* other);
64   void Swap(Empty* other);
65 
66   // implements Message ----------------------------------------------
67 
New()68   inline Empty* New() const { return New(NULL); }
69 
70   Empty* New(::google::protobuf::Arena* arena) const;
71   void CopyFrom(const ::google::protobuf::Message& from);
72   void MergeFrom(const ::google::protobuf::Message& from);
73   void CopyFrom(const Empty& from);
74   void MergeFrom(const Empty& from);
75   void Clear();
76   bool IsInitialized() const;
77 
78   int ByteSize() const;
79   bool MergePartialFromCodedStream(
80       ::google::protobuf::io::CodedInputStream* input);
81   void SerializeWithCachedSizes(
82       ::google::protobuf::io::CodedOutputStream* output) const;
83   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()84   int GetCachedSize() const { return _cached_size_; }
85   private:
86   void SharedCtor();
87   void SharedDtor();
88   void SetCachedSize(int size) const;
89   void InternalSwap(Empty* other);
90   protected:
91   explicit Empty(::google::protobuf::Arena* arena);
92   private:
93   static void ArenaDtor(void* object);
94   inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
95   private:
GetArenaNoVirtual()96   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
97     return _internal_metadata_.arena();
98   }
MaybeArenaPtr()99   inline void* MaybeArenaPtr() const {
100     return _internal_metadata_.raw_arena_ptr();
101   }
102   public:
103 
104   ::google::protobuf::Metadata GetMetadata() const;
105 
106   // nested types ----------------------------------------------------
107 
108   // accessors -------------------------------------------------------
109 
110   // @@protoc_insertion_point(class_scope:google.protobuf.Empty)
111  private:
112 
113   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
114   friend class ::google::protobuf::Arena;
115   typedef void InternalArenaConstructable_;
116   typedef void DestructorSkippable_;
117   bool _is_default_instance_;
118   mutable int _cached_size_;
119   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fempty_2eproto();
120   friend void protobuf_AssignDesc_google_2fprotobuf_2fempty_2eproto();
121   friend void protobuf_ShutdownFile_google_2fprotobuf_2fempty_2eproto();
122 
123   void InitAsDefaultInstance();
124   static Empty* default_instance_;
125 };
126 // ===================================================================
127 
128 
129 // ===================================================================
130 
131 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
132 // Empty
133 
134 #endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS
135 
136 // @@protoc_insertion_point(namespace_scope)
137 
138 }  // namespace protobuf
139 }  // namespace google
140 
141 // @@protoc_insertion_point(global_scope)
142 
143 #endif  // PROTOBUF_google_2fprotobuf_2fempty_2eproto__INCLUDED
144