/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/rpc/rtest_diff_package.pb.cc
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: yb/rpc/rtest_diff_package.proto |
3 | | |
4 | | #include "yb/rpc/rtest_diff_package.pb.h" |
5 | | |
6 | | #include <algorithm> |
7 | | |
8 | | #include <google/protobuf/stubs/common.h> |
9 | | #include <google/protobuf/stubs/port.h> |
10 | | #include <google/protobuf/stubs/once.h> |
11 | | #include <google/protobuf/io/coded_stream.h> |
12 | | #include <google/protobuf/wire_format_lite_inl.h> |
13 | | #include <google/protobuf/descriptor.h> |
14 | | #include <google/protobuf/generated_message_reflection.h> |
15 | | #include <google/protobuf/reflection_ops.h> |
16 | | #include <google/protobuf/wire_format.h> |
17 | | // This is a temporary google only hack |
18 | | #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS |
19 | | #include "third_party/protobuf/version.h" |
20 | | #endif |
21 | | #include "yb/util/protobuf-annotations.h" |
22 | | // @@protoc_insertion_point(includes) |
23 | | namespace yb { |
24 | | namespace rpc_test_diff_package { |
25 | | class ReqDiffPackagePBDefaultTypeInternal { |
26 | | public: |
27 | | ::google::protobuf::internal::ExplicitlyConstructed<ReqDiffPackagePB> |
28 | | _instance; |
29 | | } _ReqDiffPackagePB_default_instance_; |
30 | | class RespDiffPackagePBDefaultTypeInternal { |
31 | | public: |
32 | | ::google::protobuf::internal::ExplicitlyConstructed<RespDiffPackagePB> |
33 | | _instance; |
34 | | } _RespDiffPackagePB_default_instance_; |
35 | | } // namespace rpc_test_diff_package |
36 | | } // namespace yb |
37 | | namespace protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto { |
38 | 123 | void InitDefaultsReqDiffPackagePBImpl() { |
39 | 123 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
40 | | |
41 | | #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS |
42 | | ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); |
43 | | #else |
44 | 123 | ::google::protobuf::internal::InitProtobufDefaults(); |
45 | 123 | #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS |
46 | 123 | { |
47 | 123 | void* ptr = &::yb::rpc_test_diff_package::_ReqDiffPackagePB_default_instance_; |
48 | 123 | new (ptr) ::yb::rpc_test_diff_package::ReqDiffPackagePB(); |
49 | 123 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
50 | 123 | } |
51 | 123 | ::yb::rpc_test_diff_package::ReqDiffPackagePB::InitAsDefaultInstance(); |
52 | 123 | } |
53 | | |
54 | 123 | void InitDefaultsReqDiffPackagePB() { |
55 | 123 | static GOOGLE_PROTOBUF_DECLARE_ONCE(once); |
56 | 123 | ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsReqDiffPackagePBImpl); |
57 | 123 | } |
58 | | |
59 | 123 | void InitDefaultsRespDiffPackagePBImpl() { |
60 | 123 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
61 | | |
62 | | #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS |
63 | | ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); |
64 | | #else |
65 | 123 | ::google::protobuf::internal::InitProtobufDefaults(); |
66 | 123 | #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS |
67 | 123 | { |
68 | 123 | void* ptr = &::yb::rpc_test_diff_package::_RespDiffPackagePB_default_instance_; |
69 | 123 | new (ptr) ::yb::rpc_test_diff_package::RespDiffPackagePB(); |
70 | 123 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
71 | 123 | } |
72 | 123 | ::yb::rpc_test_diff_package::RespDiffPackagePB::InitAsDefaultInstance(); |
73 | 123 | } |
74 | | |
75 | 123 | void InitDefaultsRespDiffPackagePB() { |
76 | 123 | static GOOGLE_PROTOBUF_DECLARE_ONCE(once); |
77 | 123 | ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRespDiffPackagePBImpl); |
78 | 123 | } |
79 | | |
80 | | ::google::protobuf::Metadata file_level_metadata[2]; |
81 | | |
82 | | const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
83 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::rpc_test_diff_package::ReqDiffPackagePB, _has_bits_), |
84 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::rpc_test_diff_package::ReqDiffPackagePB, _internal_metadata_), |
85 | | ~0u, // no _extensions_ |
86 | | ~0u, // no _oneof_case_ |
87 | | ~0u, // no _weak_field_map_ |
88 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::rpc_test_diff_package::RespDiffPackagePB, _has_bits_), |
89 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::rpc_test_diff_package::RespDiffPackagePB, _internal_metadata_), |
90 | | ~0u, // no _extensions_ |
91 | | ~0u, // no _oneof_case_ |
92 | | ~0u, // no _weak_field_map_ |
93 | | }; |
94 | | static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
95 | | { 0, 5, sizeof(::yb::rpc_test_diff_package::ReqDiffPackagePB)}, |
96 | | { 5, 10, sizeof(::yb::rpc_test_diff_package::RespDiffPackagePB)}, |
97 | | }; |
98 | | |
99 | | static ::google::protobuf::Message const * const file_default_instances[] = { |
100 | | reinterpret_cast<const ::google::protobuf::Message*>(&::yb::rpc_test_diff_package::_ReqDiffPackagePB_default_instance_), |
101 | | reinterpret_cast<const ::google::protobuf::Message*>(&::yb::rpc_test_diff_package::_RespDiffPackagePB_default_instance_), |
102 | | }; |
103 | | |
104 | 0 | void protobuf_AssignDescriptors() { |
105 | 0 | AddDescriptors(); |
106 | 0 | ::google::protobuf::MessageFactory* factory = NULL; |
107 | 0 | AssignDescriptors( |
108 | 0 | "yb/rpc/rtest_diff_package.proto", schemas, file_default_instances, TableStruct::offsets, factory, |
109 | 0 | file_level_metadata, NULL, NULL); |
110 | 0 | } |
111 | | |
112 | 0 | void protobuf_AssignDescriptorsOnce() { |
113 | 0 | static GOOGLE_PROTOBUF_DECLARE_ONCE(once); |
114 | 0 | ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors); |
115 | 0 | } |
116 | | |
117 | | void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; |
118 | 0 | void protobuf_RegisterTypes(const ::std::string&) { |
119 | 0 | protobuf_AssignDescriptorsOnce(); |
120 | 0 | ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 2); |
121 | 0 | } |
122 | | |
123 | 123 | void AddDescriptorsImpl() { |
124 | 123 | InitDefaults(); |
125 | 123 | static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
126 | 123 | "\n\037yb/rpc/rtest_diff_package.proto\022\030yb.rp" |
127 | 123 | "c_test_diff_package\"\022\n\020ReqDiffPackagePB\"" |
128 | 123 | "\023\n\021RespDiffPackagePB" |
129 | 123 | }; |
130 | 123 | ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( |
131 | 123 | descriptor, 100); |
132 | 123 | ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( |
133 | 123 | "yb/rpc/rtest_diff_package.proto", &protobuf_RegisterTypes); |
134 | 123 | } |
135 | | |
136 | 246 | void AddDescriptors() { |
137 | 246 | static GOOGLE_PROTOBUF_DECLARE_ONCE(once); |
138 | 246 | ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); |
139 | 246 | } |
140 | | // Force AddDescriptors() to be called at dynamic initialization time. |
141 | | struct StaticDescriptorInitializer { |
142 | 123 | StaticDescriptorInitializer() { |
143 | 123 | AddDescriptors(); |
144 | 123 | } |
145 | | } static_descriptor_initializer; |
146 | | } // namespace protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto |
147 | | namespace yb { |
148 | | namespace rpc_test_diff_package { |
149 | | |
150 | | // =================================================================== |
151 | | |
152 | 123 | void ReqDiffPackagePB::InitAsDefaultInstance() { |
153 | 123 | } |
154 | | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
155 | | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
156 | | |
157 | | ReqDiffPackagePB::ReqDiffPackagePB() |
158 | 123 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
159 | 123 | if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { |
160 | 0 | ::protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto::InitDefaultsReqDiffPackagePB(); |
161 | 0 | } |
162 | 123 | SharedCtor(); |
163 | | // @@protoc_insertion_point(constructor:yb.rpc_test_diff_package.ReqDiffPackagePB) |
164 | 123 | } |
165 | | ReqDiffPackagePB::ReqDiffPackagePB(const ReqDiffPackagePB& from) |
166 | | : ::google::protobuf::Message(), |
167 | | _internal_metadata_(NULL), |
168 | | _has_bits_(from._has_bits_), |
169 | 0 | _cached_size_(0) { |
170 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
171 | | // @@protoc_insertion_point(copy_constructor:yb.rpc_test_diff_package.ReqDiffPackagePB) |
172 | 0 | } |
173 | | |
174 | 123 | void ReqDiffPackagePB::SharedCtor() { |
175 | 123 | _cached_size_ = 0; |
176 | 123 | } |
177 | | |
178 | 0 | ReqDiffPackagePB::~ReqDiffPackagePB() { |
179 | | // @@protoc_insertion_point(destructor:yb.rpc_test_diff_package.ReqDiffPackagePB) |
180 | 0 | SharedDtor(); |
181 | 0 | } |
182 | | |
183 | 0 | void ReqDiffPackagePB::SharedDtor() { |
184 | 0 | } |
185 | | |
186 | 0 | void ReqDiffPackagePB::SetCachedSize(int size) const { |
187 | 0 | GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
188 | 0 | _cached_size_ = size; |
189 | 0 | GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
190 | 0 | } |
191 | 0 | const ::google::protobuf::Descriptor* ReqDiffPackagePB::descriptor() { |
192 | 0 | ::protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto::protobuf_AssignDescriptorsOnce(); |
193 | 0 | return ::protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
194 | 0 | } |
195 | | |
196 | 0 | const ReqDiffPackagePB& ReqDiffPackagePB::default_instance() { |
197 | 0 | ::protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto::InitDefaultsReqDiffPackagePB(); |
198 | 0 | return *internal_default_instance(); |
199 | 0 | } |
200 | | |
201 | 0 | ReqDiffPackagePB* ReqDiffPackagePB::New(::google::protobuf::Arena* arena) const { |
202 | 0 | ReqDiffPackagePB* n = new ReqDiffPackagePB; |
203 | 0 | if (arena != NULL) { |
204 | 0 | arena->Own(n); |
205 | 0 | } |
206 | 0 | return n; |
207 | 0 | } |
208 | | |
209 | 0 | void ReqDiffPackagePB::Clear() { |
210 | | // @@protoc_insertion_point(message_clear_start:yb.rpc_test_diff_package.ReqDiffPackagePB) |
211 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
212 | | // Prevent compiler warnings about cached_has_bits being unused |
213 | 0 | (void) cached_has_bits; |
214 | |
|
215 | 0 | _has_bits_.Clear(); |
216 | 0 | _internal_metadata_.Clear(); |
217 | 0 | } |
218 | | |
219 | | bool ReqDiffPackagePB::MergePartialFromCodedStream( |
220 | 0 | ::google::protobuf::io::CodedInputStream* input) { |
221 | 0 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
222 | 0 | ::google::protobuf::uint32 tag; |
223 | | // @@protoc_insertion_point(parse_start:yb.rpc_test_diff_package.ReqDiffPackagePB) |
224 | 0 | for (;;) { |
225 | 0 | ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
226 | 0 | tag = p.first; |
227 | 0 | if (!p.second) goto handle_unusual; |
228 | 0 | handle_unusual: |
229 | 0 | if (tag == 0) { |
230 | 0 | goto success; |
231 | 0 | } |
232 | 0 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
233 | 0 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
234 | 0 | } |
235 | 0 | success: |
236 | | // @@protoc_insertion_point(parse_success:yb.rpc_test_diff_package.ReqDiffPackagePB) |
237 | 0 | return true; |
238 | 0 | failure: |
239 | | // @@protoc_insertion_point(parse_failure:yb.rpc_test_diff_package.ReqDiffPackagePB) |
240 | 0 | return false; |
241 | 0 | #undef DO_ |
242 | 0 | } |
243 | | |
244 | | void ReqDiffPackagePB::SerializeWithCachedSizes( |
245 | 0 | ::google::protobuf::io::CodedOutputStream* output) const { |
246 | | // @@protoc_insertion_point(serialize_start:yb.rpc_test_diff_package.ReqDiffPackagePB) |
247 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
248 | 0 | (void) cached_has_bits; |
249 | |
|
250 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
251 | 0 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
252 | 0 | _internal_metadata_.unknown_fields(), output); |
253 | 0 | } |
254 | | // @@protoc_insertion_point(serialize_end:yb.rpc_test_diff_package.ReqDiffPackagePB) |
255 | 0 | } |
256 | | |
257 | | ::google::protobuf::uint8* ReqDiffPackagePB::InternalSerializeWithCachedSizesToArray( |
258 | 0 | bool deterministic, ::google::protobuf::uint8* target) const { |
259 | 0 | (void)deterministic; // Unused |
260 | | // @@protoc_insertion_point(serialize_to_array_start:yb.rpc_test_diff_package.ReqDiffPackagePB) |
261 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
262 | 0 | (void) cached_has_bits; |
263 | |
|
264 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
265 | 0 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
266 | 0 | _internal_metadata_.unknown_fields(), target); |
267 | 0 | } |
268 | | // @@protoc_insertion_point(serialize_to_array_end:yb.rpc_test_diff_package.ReqDiffPackagePB) |
269 | 0 | return target; |
270 | 0 | } |
271 | | |
272 | 0 | size_t ReqDiffPackagePB::ByteSizeLong() const { |
273 | | // @@protoc_insertion_point(message_byte_size_start:yb.rpc_test_diff_package.ReqDiffPackagePB) |
274 | 0 | size_t total_size = 0; |
275 | |
|
276 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
277 | 0 | total_size += |
278 | 0 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
279 | 0 | _internal_metadata_.unknown_fields()); |
280 | 0 | } |
281 | 0 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
282 | 0 | GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
283 | 0 | _cached_size_ = cached_size; |
284 | 0 | GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
285 | 0 | return total_size; |
286 | 0 | } |
287 | | |
288 | 0 | void ReqDiffPackagePB::MergeFrom(const ::google::protobuf::Message& from) { |
289 | | // @@protoc_insertion_point(generalized_merge_from_start:yb.rpc_test_diff_package.ReqDiffPackagePB) |
290 | 0 | GOOGLE_DCHECK_NE(&from, this); |
291 | 0 | const ReqDiffPackagePB* source = |
292 | 0 | ::google::protobuf::internal::DynamicCastToGenerated<const ReqDiffPackagePB>( |
293 | 0 | &from); |
294 | 0 | if (source == NULL) { |
295 | | // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.rpc_test_diff_package.ReqDiffPackagePB) |
296 | 0 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
297 | 0 | } else { |
298 | | // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.rpc_test_diff_package.ReqDiffPackagePB) |
299 | 0 | MergeFrom(*source); |
300 | 0 | } |
301 | 0 | } |
302 | | |
303 | 0 | void ReqDiffPackagePB::MergeFrom(const ReqDiffPackagePB& from) { |
304 | | // @@protoc_insertion_point(class_specific_merge_from_start:yb.rpc_test_diff_package.ReqDiffPackagePB) |
305 | 0 | GOOGLE_DCHECK_NE(&from, this); |
306 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
307 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
308 | 0 | (void) cached_has_bits; |
309 | |
|
310 | 0 | } |
311 | | |
312 | 0 | void ReqDiffPackagePB::CopyFrom(const ::google::protobuf::Message& from) { |
313 | | // @@protoc_insertion_point(generalized_copy_from_start:yb.rpc_test_diff_package.ReqDiffPackagePB) |
314 | 0 | if (&from == this) return; |
315 | 0 | Clear(); |
316 | 0 | MergeFrom(from); |
317 | 0 | } |
318 | | |
319 | 0 | void ReqDiffPackagePB::CopyFrom(const ReqDiffPackagePB& from) { |
320 | | // @@protoc_insertion_point(class_specific_copy_from_start:yb.rpc_test_diff_package.ReqDiffPackagePB) |
321 | 0 | if (&from == this) return; |
322 | 0 | Clear(); |
323 | 0 | MergeFrom(from); |
324 | 0 | } |
325 | | |
326 | 0 | bool ReqDiffPackagePB::IsInitialized() const { |
327 | 0 | return true; |
328 | 0 | } |
329 | | |
330 | 0 | void ReqDiffPackagePB::Swap(ReqDiffPackagePB* other) { |
331 | 0 | if (other == this) return; |
332 | 0 | InternalSwap(other); |
333 | 0 | } |
334 | 0 | void ReqDiffPackagePB::InternalSwap(ReqDiffPackagePB* other) { |
335 | 0 | using std::swap; |
336 | 0 | swap(_has_bits_[0], other->_has_bits_[0]); |
337 | 0 | _internal_metadata_.Swap(&other->_internal_metadata_); |
338 | 0 | swap(_cached_size_, other->_cached_size_); |
339 | 0 | } |
340 | | |
341 | 0 | ::google::protobuf::Metadata ReqDiffPackagePB::GetMetadata() const { |
342 | 0 | protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto::protobuf_AssignDescriptorsOnce(); |
343 | 0 | return ::protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto::file_level_metadata[kIndexInFileMessages]; |
344 | 0 | } |
345 | | |
346 | | |
347 | | // =================================================================== |
348 | | |
349 | 123 | void RespDiffPackagePB::InitAsDefaultInstance() { |
350 | 123 | } |
351 | | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
352 | | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
353 | | |
354 | | RespDiffPackagePB::RespDiffPackagePB() |
355 | 123 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
356 | 123 | if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { |
357 | 0 | ::protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto::InitDefaultsRespDiffPackagePB(); |
358 | 0 | } |
359 | 123 | SharedCtor(); |
360 | | // @@protoc_insertion_point(constructor:yb.rpc_test_diff_package.RespDiffPackagePB) |
361 | 123 | } |
362 | | RespDiffPackagePB::RespDiffPackagePB(const RespDiffPackagePB& from) |
363 | | : ::google::protobuf::Message(), |
364 | | _internal_metadata_(NULL), |
365 | | _has_bits_(from._has_bits_), |
366 | 0 | _cached_size_(0) { |
367 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
368 | | // @@protoc_insertion_point(copy_constructor:yb.rpc_test_diff_package.RespDiffPackagePB) |
369 | 0 | } |
370 | | |
371 | 123 | void RespDiffPackagePB::SharedCtor() { |
372 | 123 | _cached_size_ = 0; |
373 | 123 | } |
374 | | |
375 | 0 | RespDiffPackagePB::~RespDiffPackagePB() { |
376 | | // @@protoc_insertion_point(destructor:yb.rpc_test_diff_package.RespDiffPackagePB) |
377 | 0 | SharedDtor(); |
378 | 0 | } |
379 | | |
380 | 0 | void RespDiffPackagePB::SharedDtor() { |
381 | 0 | } |
382 | | |
383 | 0 | void RespDiffPackagePB::SetCachedSize(int size) const { |
384 | 0 | GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
385 | 0 | _cached_size_ = size; |
386 | 0 | GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
387 | 0 | } |
388 | 0 | const ::google::protobuf::Descriptor* RespDiffPackagePB::descriptor() { |
389 | 0 | ::protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto::protobuf_AssignDescriptorsOnce(); |
390 | 0 | return ::protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
391 | 0 | } |
392 | | |
393 | 0 | const RespDiffPackagePB& RespDiffPackagePB::default_instance() { |
394 | 0 | ::protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto::InitDefaultsRespDiffPackagePB(); |
395 | 0 | return *internal_default_instance(); |
396 | 0 | } |
397 | | |
398 | 0 | RespDiffPackagePB* RespDiffPackagePB::New(::google::protobuf::Arena* arena) const { |
399 | 0 | RespDiffPackagePB* n = new RespDiffPackagePB; |
400 | 0 | if (arena != NULL) { |
401 | 0 | arena->Own(n); |
402 | 0 | } |
403 | 0 | return n; |
404 | 0 | } |
405 | | |
406 | 0 | void RespDiffPackagePB::Clear() { |
407 | | // @@protoc_insertion_point(message_clear_start:yb.rpc_test_diff_package.RespDiffPackagePB) |
408 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
409 | | // Prevent compiler warnings about cached_has_bits being unused |
410 | 0 | (void) cached_has_bits; |
411 | |
|
412 | 0 | _has_bits_.Clear(); |
413 | 0 | _internal_metadata_.Clear(); |
414 | 0 | } |
415 | | |
416 | | bool RespDiffPackagePB::MergePartialFromCodedStream( |
417 | 0 | ::google::protobuf::io::CodedInputStream* input) { |
418 | 0 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
419 | 0 | ::google::protobuf::uint32 tag; |
420 | | // @@protoc_insertion_point(parse_start:yb.rpc_test_diff_package.RespDiffPackagePB) |
421 | 0 | for (;;) { |
422 | 0 | ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
423 | 0 | tag = p.first; |
424 | 0 | if (!p.second) goto handle_unusual; |
425 | 0 | handle_unusual: |
426 | 0 | if (tag == 0) { |
427 | 0 | goto success; |
428 | 0 | } |
429 | 0 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
430 | 0 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
431 | 0 | } |
432 | 0 | success: |
433 | | // @@protoc_insertion_point(parse_success:yb.rpc_test_diff_package.RespDiffPackagePB) |
434 | 0 | return true; |
435 | 0 | failure: |
436 | | // @@protoc_insertion_point(parse_failure:yb.rpc_test_diff_package.RespDiffPackagePB) |
437 | 0 | return false; |
438 | 0 | #undef DO_ |
439 | 0 | } |
440 | | |
441 | | void RespDiffPackagePB::SerializeWithCachedSizes( |
442 | 0 | ::google::protobuf::io::CodedOutputStream* output) const { |
443 | | // @@protoc_insertion_point(serialize_start:yb.rpc_test_diff_package.RespDiffPackagePB) |
444 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
445 | 0 | (void) cached_has_bits; |
446 | |
|
447 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
448 | 0 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
449 | 0 | _internal_metadata_.unknown_fields(), output); |
450 | 0 | } |
451 | | // @@protoc_insertion_point(serialize_end:yb.rpc_test_diff_package.RespDiffPackagePB) |
452 | 0 | } |
453 | | |
454 | | ::google::protobuf::uint8* RespDiffPackagePB::InternalSerializeWithCachedSizesToArray( |
455 | 0 | bool deterministic, ::google::protobuf::uint8* target) const { |
456 | 0 | (void)deterministic; // Unused |
457 | | // @@protoc_insertion_point(serialize_to_array_start:yb.rpc_test_diff_package.RespDiffPackagePB) |
458 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
459 | 0 | (void) cached_has_bits; |
460 | |
|
461 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
462 | 0 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
463 | 0 | _internal_metadata_.unknown_fields(), target); |
464 | 0 | } |
465 | | // @@protoc_insertion_point(serialize_to_array_end:yb.rpc_test_diff_package.RespDiffPackagePB) |
466 | 0 | return target; |
467 | 0 | } |
468 | | |
469 | 0 | size_t RespDiffPackagePB::ByteSizeLong() const { |
470 | | // @@protoc_insertion_point(message_byte_size_start:yb.rpc_test_diff_package.RespDiffPackagePB) |
471 | 0 | size_t total_size = 0; |
472 | |
|
473 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
474 | 0 | total_size += |
475 | 0 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
476 | 0 | _internal_metadata_.unknown_fields()); |
477 | 0 | } |
478 | 0 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
479 | 0 | GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
480 | 0 | _cached_size_ = cached_size; |
481 | 0 | GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
482 | 0 | return total_size; |
483 | 0 | } |
484 | | |
485 | 0 | void RespDiffPackagePB::MergeFrom(const ::google::protobuf::Message& from) { |
486 | | // @@protoc_insertion_point(generalized_merge_from_start:yb.rpc_test_diff_package.RespDiffPackagePB) |
487 | 0 | GOOGLE_DCHECK_NE(&from, this); |
488 | 0 | const RespDiffPackagePB* source = |
489 | 0 | ::google::protobuf::internal::DynamicCastToGenerated<const RespDiffPackagePB>( |
490 | 0 | &from); |
491 | 0 | if (source == NULL) { |
492 | | // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.rpc_test_diff_package.RespDiffPackagePB) |
493 | 0 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
494 | 0 | } else { |
495 | | // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.rpc_test_diff_package.RespDiffPackagePB) |
496 | 0 | MergeFrom(*source); |
497 | 0 | } |
498 | 0 | } |
499 | | |
500 | 0 | void RespDiffPackagePB::MergeFrom(const RespDiffPackagePB& from) { |
501 | | // @@protoc_insertion_point(class_specific_merge_from_start:yb.rpc_test_diff_package.RespDiffPackagePB) |
502 | 0 | GOOGLE_DCHECK_NE(&from, this); |
503 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
504 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
505 | 0 | (void) cached_has_bits; |
506 | |
|
507 | 0 | } |
508 | | |
509 | 0 | void RespDiffPackagePB::CopyFrom(const ::google::protobuf::Message& from) { |
510 | | // @@protoc_insertion_point(generalized_copy_from_start:yb.rpc_test_diff_package.RespDiffPackagePB) |
511 | 0 | if (&from == this) return; |
512 | 0 | Clear(); |
513 | 0 | MergeFrom(from); |
514 | 0 | } |
515 | | |
516 | 0 | void RespDiffPackagePB::CopyFrom(const RespDiffPackagePB& from) { |
517 | | // @@protoc_insertion_point(class_specific_copy_from_start:yb.rpc_test_diff_package.RespDiffPackagePB) |
518 | 0 | if (&from == this) return; |
519 | 0 | Clear(); |
520 | 0 | MergeFrom(from); |
521 | 0 | } |
522 | | |
523 | 0 | bool RespDiffPackagePB::IsInitialized() const { |
524 | 0 | return true; |
525 | 0 | } |
526 | | |
527 | 0 | void RespDiffPackagePB::Swap(RespDiffPackagePB* other) { |
528 | 0 | if (other == this) return; |
529 | 0 | InternalSwap(other); |
530 | 0 | } |
531 | 0 | void RespDiffPackagePB::InternalSwap(RespDiffPackagePB* other) { |
532 | 0 | using std::swap; |
533 | 0 | swap(_has_bits_[0], other->_has_bits_[0]); |
534 | 0 | _internal_metadata_.Swap(&other->_internal_metadata_); |
535 | 0 | swap(_cached_size_, other->_cached_size_); |
536 | 0 | } |
537 | | |
538 | 0 | ::google::protobuf::Metadata RespDiffPackagePB::GetMetadata() const { |
539 | 0 | protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto::protobuf_AssignDescriptorsOnce(); |
540 | 0 | return ::protobuf_yb_2frpc_2frtest_5fdiff_5fpackage_2eproto::file_level_metadata[kIndexInFileMessages]; |
541 | 0 | } |
542 | | |
543 | | |
544 | | // @@protoc_insertion_point(namespace_scope) |
545 | | } // namespace rpc_test_diff_package |
546 | | } // namespace yb |
547 | | |
548 | | // @@protoc_insertion_point(global_scope) |