Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // source: test/proto/empty.proto
3 :
4 : #ifndef PROTOBUF_test_2fproto_2fempty_2eproto__INCLUDED
5 : #define PROTOBUF_test_2fproto_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 grpc {
33 : namespace testing {
34 :
35 : // Internal implementation detail -- do not call these.
36 : void protobuf_AddDesc_test_2fproto_2fempty_2eproto();
37 : void protobuf_AssignDesc_test_2fproto_2fempty_2eproto();
38 : void protobuf_ShutdownFile_test_2fproto_2fempty_2eproto();
39 :
40 : class Empty;
41 :
42 : // ===================================================================
43 :
44 : class 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 :
56 : static const ::google::protobuf::Descriptor* descriptor();
57 : static const Empty& default_instance();
58 :
59 : void Swap(Empty* other);
60 :
61 : // implements Message ----------------------------------------------
62 :
63 0 : inline Empty* New() const { return New(NULL); }
64 :
65 : Empty* New(::google::protobuf::Arena* arena) const;
66 : void CopyFrom(const ::google::protobuf::Message& from);
67 : void MergeFrom(const ::google::protobuf::Message& from);
68 : void CopyFrom(const Empty& from);
69 : void MergeFrom(const Empty& from);
70 : void Clear();
71 : bool IsInitialized() const;
72 :
73 : int ByteSize() const;
74 : bool MergePartialFromCodedStream(
75 : ::google::protobuf::io::CodedInputStream* input);
76 : void SerializeWithCachedSizes(
77 : ::google::protobuf::io::CodedOutputStream* output) const;
78 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
79 0 : int GetCachedSize() const { return _cached_size_; }
80 : private:
81 : void SharedCtor();
82 : void SharedDtor();
83 : void SetCachedSize(int size) const;
84 : void InternalSwap(Empty* other);
85 : private:
86 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
87 : return _internal_metadata_.arena();
88 : }
89 : inline void* MaybeArenaPtr() const {
90 : return _internal_metadata_.raw_arena_ptr();
91 : }
92 : public:
93 :
94 : ::google::protobuf::Metadata GetMetadata() const;
95 :
96 : // nested types ----------------------------------------------------
97 :
98 : // accessors -------------------------------------------------------
99 :
100 : // @@protoc_insertion_point(class_scope:grpc.testing.Empty)
101 : private:
102 :
103 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
104 : bool _is_default_instance_;
105 : mutable int _cached_size_;
106 : friend void protobuf_AddDesc_test_2fproto_2fempty_2eproto();
107 : friend void protobuf_AssignDesc_test_2fproto_2fempty_2eproto();
108 : friend void protobuf_ShutdownFile_test_2fproto_2fempty_2eproto();
109 :
110 : void InitAsDefaultInstance();
111 : static Empty* default_instance_;
112 : };
113 : // ===================================================================
114 :
115 :
116 : // ===================================================================
117 :
118 : #if !PROTOBUF_INLINE_NOT_IN_HEADERS
119 : // Empty
120 :
121 : #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
122 :
123 : // @@protoc_insertion_point(namespace_scope)
124 :
125 : } // namespace testing
126 : } // namespace grpc
127 :
128 : // @@protoc_insertion_point(global_scope)
129 :
130 : #endif // PROTOBUF_test_2fproto_2fempty_2eproto__INCLUDED
|