/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/util/version_info.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: yb/util/version_info.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2futil_2fversion_5finfo_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2futil_2fversion_5finfo_2eproto__INCLUDED |
6 | | |
7 | | #include <string> |
8 | | |
9 | | #include <google/protobuf/stubs/common.h> |
10 | | |
11 | | #if GOOGLE_PROTOBUF_VERSION < 3005000 |
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 3005001 < 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/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/metadata.h> |
28 | | #include <google/protobuf/message.h> |
29 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
30 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
31 | | #include <google/protobuf/unknown_field_set.h> |
32 | | // @@protoc_insertion_point(includes) |
33 | | |
34 | | namespace protobuf_yb_2futil_2fversion_5finfo_2eproto { |
35 | | // Internal implementation detail -- do not use these members. |
36 | | struct TableStruct { |
37 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
38 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
39 | | static const ::google::protobuf::internal::ParseTable schema[1]; |
40 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
41 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
42 | | static const ::google::protobuf::uint32 offsets[]; |
43 | | }; |
44 | | void AddDescriptors(); |
45 | | void InitDefaultsVersionInfoPBImpl(); |
46 | | void InitDefaultsVersionInfoPB(); |
47 | 20.6k | inline void InitDefaults() { |
48 | 20.6k | InitDefaultsVersionInfoPB(); |
49 | 20.6k | } |
50 | | } // namespace protobuf_yb_2futil_2fversion_5finfo_2eproto |
51 | | namespace yb { |
52 | | class VersionInfoPB; |
53 | | class VersionInfoPBDefaultTypeInternal; |
54 | | extern VersionInfoPBDefaultTypeInternal _VersionInfoPB_default_instance_; |
55 | | } // namespace yb |
56 | | namespace yb { |
57 | | |
58 | | // =================================================================== |
59 | | |
60 | | class VersionInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.VersionInfoPB) */ { |
61 | | public: |
62 | | VersionInfoPB(); |
63 | | virtual ~VersionInfoPB(); |
64 | | |
65 | | VersionInfoPB(const VersionInfoPB& from); |
66 | | |
67 | 0 | inline VersionInfoPB& operator=(const VersionInfoPB& from) { |
68 | 0 | CopyFrom(from); |
69 | 0 | return *this; |
70 | 0 | } |
71 | | #if LANG_CXX11 |
72 | | VersionInfoPB(VersionInfoPB&& from) noexcept |
73 | 0 | : VersionInfoPB() { |
74 | 0 | *this = ::std::move(from); |
75 | 0 | } |
76 | | |
77 | 0 | inline VersionInfoPB& operator=(VersionInfoPB&& from) noexcept { |
78 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
79 | 0 | if (this != &from) InternalSwap(&from); |
80 | 0 | } else { |
81 | 0 | CopyFrom(from); |
82 | 0 | } |
83 | 0 | return *this; |
84 | 0 | } |
85 | | #endif |
86 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
87 | 0 | return _internal_metadata_.unknown_fields(); |
88 | 0 | } |
89 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
90 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
91 | 0 | } |
92 | | |
93 | | static const ::google::protobuf::Descriptor* descriptor(); |
94 | | static const VersionInfoPB& default_instance(); |
95 | | |
96 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
97 | 52.5k | static inline const VersionInfoPB* internal_default_instance() { |
98 | 52.5k | return reinterpret_cast<const VersionInfoPB*>( |
99 | 52.5k | &_VersionInfoPB_default_instance_); |
100 | 52.5k | } |
101 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
102 | | 0; |
103 | | |
104 | | void Swap(VersionInfoPB* other); |
105 | 0 | friend void swap(VersionInfoPB& a, VersionInfoPB& b) { |
106 | 0 | a.Swap(&b); |
107 | 0 | } |
108 | | |
109 | | // implements Message ---------------------------------------------- |
110 | | |
111 | 0 | inline VersionInfoPB* New() const PROTOBUF_FINAL { return New(NULL); } |
112 | | |
113 | | VersionInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
114 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
115 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
116 | | void CopyFrom(const VersionInfoPB& from); |
117 | | void MergeFrom(const VersionInfoPB& from); |
118 | | void Clear() PROTOBUF_FINAL; |
119 | | bool IsInitialized() const PROTOBUF_FINAL; |
120 | | |
121 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
122 | | bool MergePartialFromCodedStream( |
123 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
124 | | void SerializeWithCachedSizes( |
125 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
126 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
127 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
128 | 2.54k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
129 | | private: |
130 | | void SharedCtor(); |
131 | | void SharedDtor(); |
132 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
133 | | void InternalSwap(VersionInfoPB* other); |
134 | | private: |
135 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
136 | 0 | return NULL; |
137 | 0 | } |
138 | 0 | inline void* MaybeArenaPtr() const { |
139 | 0 | return NULL; |
140 | 0 | } |
141 | | public: |
142 | | |
143 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
144 | | |
145 | | // nested types ---------------------------------------------------- |
146 | | |
147 | | // accessors ------------------------------------------------------- |
148 | | |
149 | | // optional string git_hash = 1; |
150 | | bool has_git_hash() const; |
151 | | void clear_git_hash(); |
152 | | static const int kGitHashFieldNumber = 1; |
153 | | const ::std::string& git_hash() const; |
154 | | void set_git_hash(const ::std::string& value); |
155 | | #if LANG_CXX11 |
156 | | void set_git_hash(::std::string&& value); |
157 | | #endif |
158 | | void set_git_hash(const char* value); |
159 | | void set_git_hash(const char* value, size_t size); |
160 | | ::std::string* mutable_git_hash(); |
161 | | ::std::string* release_git_hash(); |
162 | | void set_allocated_git_hash(::std::string* git_hash); |
163 | | |
164 | | // optional string build_hostname = 2; |
165 | | bool has_build_hostname() const; |
166 | | void clear_build_hostname(); |
167 | | static const int kBuildHostnameFieldNumber = 2; |
168 | | const ::std::string& build_hostname() const; |
169 | | void set_build_hostname(const ::std::string& value); |
170 | | #if LANG_CXX11 |
171 | | void set_build_hostname(::std::string&& value); |
172 | | #endif |
173 | | void set_build_hostname(const char* value); |
174 | | void set_build_hostname(const char* value, size_t size); |
175 | | ::std::string* mutable_build_hostname(); |
176 | | ::std::string* release_build_hostname(); |
177 | | void set_allocated_build_hostname(::std::string* build_hostname); |
178 | | |
179 | | // optional string build_timestamp = 3; |
180 | | bool has_build_timestamp() const; |
181 | | void clear_build_timestamp(); |
182 | | static const int kBuildTimestampFieldNumber = 3; |
183 | | const ::std::string& build_timestamp() const; |
184 | | void set_build_timestamp(const ::std::string& value); |
185 | | #if LANG_CXX11 |
186 | | void set_build_timestamp(::std::string&& value); |
187 | | #endif |
188 | | void set_build_timestamp(const char* value); |
189 | | void set_build_timestamp(const char* value, size_t size); |
190 | | ::std::string* mutable_build_timestamp(); |
191 | | ::std::string* release_build_timestamp(); |
192 | | void set_allocated_build_timestamp(::std::string* build_timestamp); |
193 | | |
194 | | // optional string build_username = 4; |
195 | | bool has_build_username() const; |
196 | | void clear_build_username(); |
197 | | static const int kBuildUsernameFieldNumber = 4; |
198 | | const ::std::string& build_username() const; |
199 | | void set_build_username(const ::std::string& value); |
200 | | #if LANG_CXX11 |
201 | | void set_build_username(::std::string&& value); |
202 | | #endif |
203 | | void set_build_username(const char* value); |
204 | | void set_build_username(const char* value, size_t size); |
205 | | ::std::string* mutable_build_username(); |
206 | | ::std::string* release_build_username(); |
207 | | void set_allocated_build_username(::std::string* build_username); |
208 | | |
209 | | // optional string build_id = 6; |
210 | | bool has_build_id() const; |
211 | | void clear_build_id(); |
212 | | static const int kBuildIdFieldNumber = 6; |
213 | | const ::std::string& build_id() const; |
214 | | void set_build_id(const ::std::string& value); |
215 | | #if LANG_CXX11 |
216 | | void set_build_id(::std::string&& value); |
217 | | #endif |
218 | | void set_build_id(const char* value); |
219 | | void set_build_id(const char* value, size_t size); |
220 | | ::std::string* mutable_build_id(); |
221 | | ::std::string* release_build_id(); |
222 | | void set_allocated_build_id(::std::string* build_id); |
223 | | |
224 | | // optional string build_type = 7; |
225 | | bool has_build_type() const; |
226 | | void clear_build_type(); |
227 | | static const int kBuildTypeFieldNumber = 7; |
228 | | const ::std::string& build_type() const; |
229 | | void set_build_type(const ::std::string& value); |
230 | | #if LANG_CXX11 |
231 | | void set_build_type(::std::string&& value); |
232 | | #endif |
233 | | void set_build_type(const char* value); |
234 | | void set_build_type(const char* value, size_t size); |
235 | | ::std::string* mutable_build_type(); |
236 | | ::std::string* release_build_type(); |
237 | | void set_allocated_build_type(::std::string* build_type); |
238 | | |
239 | | // optional string version_number = 9; |
240 | | bool has_version_number() const; |
241 | | void clear_version_number(); |
242 | | static const int kVersionNumberFieldNumber = 9; |
243 | | const ::std::string& version_number() const; |
244 | | void set_version_number(const ::std::string& value); |
245 | | #if LANG_CXX11 |
246 | | void set_version_number(::std::string&& value); |
247 | | #endif |
248 | | void set_version_number(const char* value); |
249 | | void set_version_number(const char* value, size_t size); |
250 | | ::std::string* mutable_version_number(); |
251 | | ::std::string* release_version_number(); |
252 | | void set_allocated_version_number(::std::string* version_number); |
253 | | |
254 | | // optional string build_number = 10; |
255 | | bool has_build_number() const; |
256 | | void clear_build_number(); |
257 | | static const int kBuildNumberFieldNumber = 10; |
258 | | const ::std::string& build_number() const; |
259 | | void set_build_number(const ::std::string& value); |
260 | | #if LANG_CXX11 |
261 | | void set_build_number(::std::string&& value); |
262 | | #endif |
263 | | void set_build_number(const char* value); |
264 | | void set_build_number(const char* value, size_t size); |
265 | | ::std::string* mutable_build_number(); |
266 | | ::std::string* release_build_number(); |
267 | | void set_allocated_build_number(::std::string* build_number); |
268 | | |
269 | | // optional bool build_clean_repo = 5; |
270 | | bool has_build_clean_repo() const; |
271 | | void clear_build_clean_repo(); |
272 | | static const int kBuildCleanRepoFieldNumber = 5; |
273 | | bool build_clean_repo() const; |
274 | | void set_build_clean_repo(bool value); |
275 | | |
276 | | // @@protoc_insertion_point(class_scope:yb.VersionInfoPB) |
277 | | private: |
278 | | void set_has_git_hash(); |
279 | | void clear_has_git_hash(); |
280 | | void set_has_build_hostname(); |
281 | | void clear_has_build_hostname(); |
282 | | void set_has_build_timestamp(); |
283 | | void clear_has_build_timestamp(); |
284 | | void set_has_build_username(); |
285 | | void clear_has_build_username(); |
286 | | void set_has_build_clean_repo(); |
287 | | void clear_has_build_clean_repo(); |
288 | | void set_has_build_id(); |
289 | | void clear_has_build_id(); |
290 | | void set_has_build_type(); |
291 | | void clear_has_build_type(); |
292 | | void set_has_version_number(); |
293 | | void clear_has_version_number(); |
294 | | void set_has_build_number(); |
295 | | void clear_has_build_number(); |
296 | | |
297 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
298 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
299 | | mutable int _cached_size_; |
300 | | ::google::protobuf::internal::ArenaStringPtr git_hash_; |
301 | | ::google::protobuf::internal::ArenaStringPtr build_hostname_; |
302 | | ::google::protobuf::internal::ArenaStringPtr build_timestamp_; |
303 | | ::google::protobuf::internal::ArenaStringPtr build_username_; |
304 | | ::google::protobuf::internal::ArenaStringPtr build_id_; |
305 | | ::google::protobuf::internal::ArenaStringPtr build_type_; |
306 | | ::google::protobuf::internal::ArenaStringPtr version_number_; |
307 | | ::google::protobuf::internal::ArenaStringPtr build_number_; |
308 | | bool build_clean_repo_; |
309 | | friend struct ::protobuf_yb_2futil_2fversion_5finfo_2eproto::TableStruct; |
310 | | friend void ::protobuf_yb_2futil_2fversion_5finfo_2eproto::InitDefaultsVersionInfoPBImpl(); |
311 | | }; |
312 | | // =================================================================== |
313 | | |
314 | | |
315 | | // =================================================================== |
316 | | |
317 | | #ifdef __GNUC__ |
318 | | #pragma GCC diagnostic push |
319 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
320 | | #endif // __GNUC__ |
321 | | // VersionInfoPB |
322 | | |
323 | | // optional string git_hash = 1; |
324 | 2.54k | inline bool VersionInfoPB::has_git_hash() const { |
325 | 2.54k | return (_has_bits_[0] & 0x00000001u) != 0; |
326 | 2.54k | } |
327 | 16.0k | inline void VersionInfoPB::set_has_git_hash() { |
328 | 16.0k | _has_bits_[0] |= 0x00000001u; |
329 | 16.0k | } |
330 | 0 | inline void VersionInfoPB::clear_has_git_hash() { |
331 | 0 | _has_bits_[0] &= ~0x00000001u; |
332 | 0 | } |
333 | 0 | inline void VersionInfoPB::clear_git_hash() { |
334 | 0 | git_hash_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
335 | 0 | clear_has_git_hash(); |
336 | 0 | } |
337 | 1.04M | inline const ::std::string& VersionInfoPB::git_hash() const { |
338 | | // @@protoc_insertion_point(field_get:yb.VersionInfoPB.git_hash) |
339 | 1.04M | return git_hash_.GetNoArena(); |
340 | 1.04M | } |
341 | 0 | inline void VersionInfoPB::set_git_hash(const ::std::string& value) { |
342 | 0 | set_has_git_hash(); |
343 | 0 | git_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
344 | 0 | // @@protoc_insertion_point(field_set:yb.VersionInfoPB.git_hash) |
345 | 0 | } |
346 | | #if LANG_CXX11 |
347 | 0 | inline void VersionInfoPB::set_git_hash(::std::string&& value) { |
348 | 0 | set_has_git_hash(); |
349 | 0 | git_hash_.SetNoArena( |
350 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
351 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.VersionInfoPB.git_hash) |
352 | 0 | } |
353 | | #endif |
354 | 0 | inline void VersionInfoPB::set_git_hash(const char* value) { |
355 | 0 | GOOGLE_DCHECK(value != NULL); |
356 | 0 | set_has_git_hash(); |
357 | 0 | git_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
358 | 0 | // @@protoc_insertion_point(field_set_char:yb.VersionInfoPB.git_hash) |
359 | 0 | } |
360 | 0 | inline void VersionInfoPB::set_git_hash(const char* value, size_t size) { |
361 | 0 | set_has_git_hash(); |
362 | 0 | git_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
363 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
364 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.VersionInfoPB.git_hash) |
365 | 0 | } |
366 | 13.4k | inline ::std::string* VersionInfoPB::mutable_git_hash() { |
367 | 13.4k | set_has_git_hash(); |
368 | | // @@protoc_insertion_point(field_mutable:yb.VersionInfoPB.git_hash) |
369 | 13.4k | return git_hash_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
370 | 13.4k | } |
371 | 0 | inline ::std::string* VersionInfoPB::release_git_hash() { |
372 | 0 | // @@protoc_insertion_point(field_release:yb.VersionInfoPB.git_hash) |
373 | 0 | clear_has_git_hash(); |
374 | 0 | return git_hash_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
375 | 0 | } |
376 | 0 | inline void VersionInfoPB::set_allocated_git_hash(::std::string* git_hash) { |
377 | 0 | if (git_hash != NULL) { |
378 | 0 | set_has_git_hash(); |
379 | 0 | } else { |
380 | 0 | clear_has_git_hash(); |
381 | 0 | } |
382 | 0 | git_hash_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), git_hash); |
383 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.VersionInfoPB.git_hash) |
384 | 0 | } |
385 | | |
386 | | // optional string build_hostname = 2; |
387 | 2.54k | inline bool VersionInfoPB::has_build_hostname() const { |
388 | 2.54k | return (_has_bits_[0] & 0x00000002u) != 0; |
389 | 2.54k | } |
390 | 16.0k | inline void VersionInfoPB::set_has_build_hostname() { |
391 | 16.0k | _has_bits_[0] |= 0x00000002u; |
392 | 16.0k | } |
393 | 0 | inline void VersionInfoPB::clear_has_build_hostname() { |
394 | 0 | _has_bits_[0] &= ~0x00000002u; |
395 | 0 | } |
396 | 0 | inline void VersionInfoPB::clear_build_hostname() { |
397 | 0 | build_hostname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
398 | 0 | clear_has_build_hostname(); |
399 | 0 | } |
400 | 13.7k | inline const ::std::string& VersionInfoPB::build_hostname() const { |
401 | | // @@protoc_insertion_point(field_get:yb.VersionInfoPB.build_hostname) |
402 | 13.7k | return build_hostname_.GetNoArena(); |
403 | 13.7k | } |
404 | 0 | inline void VersionInfoPB::set_build_hostname(const ::std::string& value) { |
405 | 0 | set_has_build_hostname(); |
406 | 0 | build_hostname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
407 | 0 | // @@protoc_insertion_point(field_set:yb.VersionInfoPB.build_hostname) |
408 | 0 | } |
409 | | #if LANG_CXX11 |
410 | 0 | inline void VersionInfoPB::set_build_hostname(::std::string&& value) { |
411 | 0 | set_has_build_hostname(); |
412 | 0 | build_hostname_.SetNoArena( |
413 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
414 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.VersionInfoPB.build_hostname) |
415 | 0 | } |
416 | | #endif |
417 | 0 | inline void VersionInfoPB::set_build_hostname(const char* value) { |
418 | 0 | GOOGLE_DCHECK(value != NULL); |
419 | 0 | set_has_build_hostname(); |
420 | 0 | build_hostname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
421 | 0 | // @@protoc_insertion_point(field_set_char:yb.VersionInfoPB.build_hostname) |
422 | 0 | } |
423 | 0 | inline void VersionInfoPB::set_build_hostname(const char* value, size_t size) { |
424 | 0 | set_has_build_hostname(); |
425 | 0 | build_hostname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
426 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
427 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.VersionInfoPB.build_hostname) |
428 | 0 | } |
429 | 13.4k | inline ::std::string* VersionInfoPB::mutable_build_hostname() { |
430 | 13.4k | set_has_build_hostname(); |
431 | | // @@protoc_insertion_point(field_mutable:yb.VersionInfoPB.build_hostname) |
432 | 13.4k | return build_hostname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
433 | 13.4k | } |
434 | 0 | inline ::std::string* VersionInfoPB::release_build_hostname() { |
435 | 0 | // @@protoc_insertion_point(field_release:yb.VersionInfoPB.build_hostname) |
436 | 0 | clear_has_build_hostname(); |
437 | 0 | return build_hostname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
438 | 0 | } |
439 | 0 | inline void VersionInfoPB::set_allocated_build_hostname(::std::string* build_hostname) { |
440 | 0 | if (build_hostname != NULL) { |
441 | 0 | set_has_build_hostname(); |
442 | 0 | } else { |
443 | 0 | clear_has_build_hostname(); |
444 | 0 | } |
445 | 0 | build_hostname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), build_hostname); |
446 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.VersionInfoPB.build_hostname) |
447 | 0 | } |
448 | | |
449 | | // optional string build_timestamp = 3; |
450 | 2.54k | inline bool VersionInfoPB::has_build_timestamp() const { |
451 | 2.54k | return (_has_bits_[0] & 0x00000004u) != 0; |
452 | 2.54k | } |
453 | 16.0k | inline void VersionInfoPB::set_has_build_timestamp() { |
454 | 16.0k | _has_bits_[0] |= 0x00000004u; |
455 | 16.0k | } |
456 | 0 | inline void VersionInfoPB::clear_has_build_timestamp() { |
457 | 0 | _has_bits_[0] &= ~0x00000004u; |
458 | 0 | } |
459 | 0 | inline void VersionInfoPB::clear_build_timestamp() { |
460 | 0 | build_timestamp_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
461 | 0 | clear_has_build_timestamp(); |
462 | 0 | } |
463 | 1.04M | inline const ::std::string& VersionInfoPB::build_timestamp() const { |
464 | | // @@protoc_insertion_point(field_get:yb.VersionInfoPB.build_timestamp) |
465 | 1.04M | return build_timestamp_.GetNoArena(); |
466 | 1.04M | } |
467 | 0 | inline void VersionInfoPB::set_build_timestamp(const ::std::string& value) { |
468 | 0 | set_has_build_timestamp(); |
469 | 0 | build_timestamp_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
470 | 0 | // @@protoc_insertion_point(field_set:yb.VersionInfoPB.build_timestamp) |
471 | 0 | } |
472 | | #if LANG_CXX11 |
473 | 0 | inline void VersionInfoPB::set_build_timestamp(::std::string&& value) { |
474 | 0 | set_has_build_timestamp(); |
475 | 0 | build_timestamp_.SetNoArena( |
476 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
477 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.VersionInfoPB.build_timestamp) |
478 | 0 | } |
479 | | #endif |
480 | 0 | inline void VersionInfoPB::set_build_timestamp(const char* value) { |
481 | 0 | GOOGLE_DCHECK(value != NULL); |
482 | 0 | set_has_build_timestamp(); |
483 | 0 | build_timestamp_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
484 | 0 | // @@protoc_insertion_point(field_set_char:yb.VersionInfoPB.build_timestamp) |
485 | 0 | } |
486 | 0 | inline void VersionInfoPB::set_build_timestamp(const char* value, size_t size) { |
487 | 0 | set_has_build_timestamp(); |
488 | 0 | build_timestamp_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
489 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
490 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.VersionInfoPB.build_timestamp) |
491 | 0 | } |
492 | 13.4k | inline ::std::string* VersionInfoPB::mutable_build_timestamp() { |
493 | 13.4k | set_has_build_timestamp(); |
494 | | // @@protoc_insertion_point(field_mutable:yb.VersionInfoPB.build_timestamp) |
495 | 13.4k | return build_timestamp_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
496 | 13.4k | } |
497 | 0 | inline ::std::string* VersionInfoPB::release_build_timestamp() { |
498 | 0 | // @@protoc_insertion_point(field_release:yb.VersionInfoPB.build_timestamp) |
499 | 0 | clear_has_build_timestamp(); |
500 | 0 | return build_timestamp_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
501 | 0 | } |
502 | 0 | inline void VersionInfoPB::set_allocated_build_timestamp(::std::string* build_timestamp) { |
503 | 0 | if (build_timestamp != NULL) { |
504 | 0 | set_has_build_timestamp(); |
505 | 0 | } else { |
506 | 0 | clear_has_build_timestamp(); |
507 | 0 | } |
508 | 0 | build_timestamp_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), build_timestamp); |
509 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.VersionInfoPB.build_timestamp) |
510 | 0 | } |
511 | | |
512 | | // optional string build_username = 4; |
513 | 2.54k | inline bool VersionInfoPB::has_build_username() const { |
514 | 2.54k | return (_has_bits_[0] & 0x00000008u) != 0; |
515 | 2.54k | } |
516 | 16.0k | inline void VersionInfoPB::set_has_build_username() { |
517 | 16.0k | _has_bits_[0] |= 0x00000008u; |
518 | 16.0k | } |
519 | 0 | inline void VersionInfoPB::clear_has_build_username() { |
520 | 0 | _has_bits_[0] &= ~0x00000008u; |
521 | 0 | } |
522 | 0 | inline void VersionInfoPB::clear_build_username() { |
523 | 0 | build_username_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
524 | 0 | clear_has_build_username(); |
525 | 0 | } |
526 | 13.7k | inline const ::std::string& VersionInfoPB::build_username() const { |
527 | | // @@protoc_insertion_point(field_get:yb.VersionInfoPB.build_username) |
528 | 13.7k | return build_username_.GetNoArena(); |
529 | 13.7k | } |
530 | 0 | inline void VersionInfoPB::set_build_username(const ::std::string& value) { |
531 | 0 | set_has_build_username(); |
532 | 0 | build_username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
533 | 0 | // @@protoc_insertion_point(field_set:yb.VersionInfoPB.build_username) |
534 | 0 | } |
535 | | #if LANG_CXX11 |
536 | 0 | inline void VersionInfoPB::set_build_username(::std::string&& value) { |
537 | 0 | set_has_build_username(); |
538 | 0 | build_username_.SetNoArena( |
539 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
540 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.VersionInfoPB.build_username) |
541 | 0 | } |
542 | | #endif |
543 | 0 | inline void VersionInfoPB::set_build_username(const char* value) { |
544 | 0 | GOOGLE_DCHECK(value != NULL); |
545 | 0 | set_has_build_username(); |
546 | 0 | build_username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
547 | 0 | // @@protoc_insertion_point(field_set_char:yb.VersionInfoPB.build_username) |
548 | 0 | } |
549 | 0 | inline void VersionInfoPB::set_build_username(const char* value, size_t size) { |
550 | 0 | set_has_build_username(); |
551 | 0 | build_username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
552 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
553 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.VersionInfoPB.build_username) |
554 | 0 | } |
555 | 13.4k | inline ::std::string* VersionInfoPB::mutable_build_username() { |
556 | 13.4k | set_has_build_username(); |
557 | | // @@protoc_insertion_point(field_mutable:yb.VersionInfoPB.build_username) |
558 | 13.4k | return build_username_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
559 | 13.4k | } |
560 | 0 | inline ::std::string* VersionInfoPB::release_build_username() { |
561 | 0 | // @@protoc_insertion_point(field_release:yb.VersionInfoPB.build_username) |
562 | 0 | clear_has_build_username(); |
563 | 0 | return build_username_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
564 | 0 | } |
565 | 0 | inline void VersionInfoPB::set_allocated_build_username(::std::string* build_username) { |
566 | 0 | if (build_username != NULL) { |
567 | 0 | set_has_build_username(); |
568 | 0 | } else { |
569 | 0 | clear_has_build_username(); |
570 | 0 | } |
571 | 0 | build_username_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), build_username); |
572 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.VersionInfoPB.build_username) |
573 | 0 | } |
574 | | |
575 | | // optional bool build_clean_repo = 5; |
576 | 2.54k | inline bool VersionInfoPB::has_build_clean_repo() const { |
577 | 2.54k | return (_has_bits_[0] & 0x00000100u) != 0; |
578 | 2.54k | } |
579 | 16.0k | inline void VersionInfoPB::set_has_build_clean_repo() { |
580 | 16.0k | _has_bits_[0] |= 0x00000100u; |
581 | 16.0k | } |
582 | 0 | inline void VersionInfoPB::clear_has_build_clean_repo() { |
583 | 0 | _has_bits_[0] &= ~0x00000100u; |
584 | 0 | } |
585 | 0 | inline void VersionInfoPB::clear_build_clean_repo() { |
586 | 0 | build_clean_repo_ = false; |
587 | 0 | clear_has_build_clean_repo(); |
588 | 0 | } |
589 | 5.08k | inline bool VersionInfoPB::build_clean_repo() const { |
590 | | // @@protoc_insertion_point(field_get:yb.VersionInfoPB.build_clean_repo) |
591 | 5.08k | return build_clean_repo_; |
592 | 5.08k | } |
593 | 14.2k | inline void VersionInfoPB::set_build_clean_repo(bool value) { |
594 | 14.2k | set_has_build_clean_repo(); |
595 | 14.2k | build_clean_repo_ = value; |
596 | | // @@protoc_insertion_point(field_set:yb.VersionInfoPB.build_clean_repo) |
597 | 14.2k | } |
598 | | |
599 | | // optional string build_id = 6; |
600 | 2.54k | inline bool VersionInfoPB::has_build_id() const { |
601 | 2.54k | return (_has_bits_[0] & 0x00000010u) != 0; |
602 | 2.54k | } |
603 | 16.0k | inline void VersionInfoPB::set_has_build_id() { |
604 | 16.0k | _has_bits_[0] |= 0x00000010u; |
605 | 16.0k | } |
606 | 0 | inline void VersionInfoPB::clear_has_build_id() { |
607 | 0 | _has_bits_[0] &= ~0x00000010u; |
608 | 0 | } |
609 | 0 | inline void VersionInfoPB::clear_build_id() { |
610 | 0 | build_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
611 | 0 | clear_has_build_id(); |
612 | 0 | } |
613 | 13.7k | inline const ::std::string& VersionInfoPB::build_id() const { |
614 | | // @@protoc_insertion_point(field_get:yb.VersionInfoPB.build_id) |
615 | 13.7k | return build_id_.GetNoArena(); |
616 | 13.7k | } |
617 | 0 | inline void VersionInfoPB::set_build_id(const ::std::string& value) { |
618 | 0 | set_has_build_id(); |
619 | 0 | build_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
620 | 0 | // @@protoc_insertion_point(field_set:yb.VersionInfoPB.build_id) |
621 | 0 | } |
622 | | #if LANG_CXX11 |
623 | 0 | inline void VersionInfoPB::set_build_id(::std::string&& value) { |
624 | 0 | set_has_build_id(); |
625 | 0 | build_id_.SetNoArena( |
626 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
627 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.VersionInfoPB.build_id) |
628 | 0 | } |
629 | | #endif |
630 | 0 | inline void VersionInfoPB::set_build_id(const char* value) { |
631 | 0 | GOOGLE_DCHECK(value != NULL); |
632 | 0 | set_has_build_id(); |
633 | 0 | build_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
634 | 0 | // @@protoc_insertion_point(field_set_char:yb.VersionInfoPB.build_id) |
635 | 0 | } |
636 | 0 | inline void VersionInfoPB::set_build_id(const char* value, size_t size) { |
637 | 0 | set_has_build_id(); |
638 | 0 | build_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
639 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
640 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.VersionInfoPB.build_id) |
641 | 0 | } |
642 | 13.4k | inline ::std::string* VersionInfoPB::mutable_build_id() { |
643 | 13.4k | set_has_build_id(); |
644 | | // @@protoc_insertion_point(field_mutable:yb.VersionInfoPB.build_id) |
645 | 13.4k | return build_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
646 | 13.4k | } |
647 | 0 | inline ::std::string* VersionInfoPB::release_build_id() { |
648 | 0 | // @@protoc_insertion_point(field_release:yb.VersionInfoPB.build_id) |
649 | 0 | clear_has_build_id(); |
650 | 0 | return build_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
651 | 0 | } |
652 | 0 | inline void VersionInfoPB::set_allocated_build_id(::std::string* build_id) { |
653 | 0 | if (build_id != NULL) { |
654 | 0 | set_has_build_id(); |
655 | 0 | } else { |
656 | 0 | clear_has_build_id(); |
657 | 0 | } |
658 | 0 | build_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), build_id); |
659 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.VersionInfoPB.build_id) |
660 | 0 | } |
661 | | |
662 | | // optional string build_type = 7; |
663 | 2.54k | inline bool VersionInfoPB::has_build_type() const { |
664 | 2.54k | return (_has_bits_[0] & 0x00000020u) != 0; |
665 | 2.54k | } |
666 | 16.0k | inline void VersionInfoPB::set_has_build_type() { |
667 | 16.0k | _has_bits_[0] |= 0x00000020u; |
668 | 16.0k | } |
669 | 0 | inline void VersionInfoPB::clear_has_build_type() { |
670 | 0 | _has_bits_[0] &= ~0x00000020u; |
671 | 0 | } |
672 | 0 | inline void VersionInfoPB::clear_build_type() { |
673 | 0 | build_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
674 | 0 | clear_has_build_type(); |
675 | 0 | } |
676 | 1.04M | inline const ::std::string& VersionInfoPB::build_type() const { |
677 | | // @@protoc_insertion_point(field_get:yb.VersionInfoPB.build_type) |
678 | 1.04M | return build_type_.GetNoArena(); |
679 | 1.04M | } |
680 | 0 | inline void VersionInfoPB::set_build_type(const ::std::string& value) { |
681 | 0 | set_has_build_type(); |
682 | 0 | build_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
683 | 0 | // @@protoc_insertion_point(field_set:yb.VersionInfoPB.build_type) |
684 | 0 | } |
685 | | #if LANG_CXX11 |
686 | 0 | inline void VersionInfoPB::set_build_type(::std::string&& value) { |
687 | 0 | set_has_build_type(); |
688 | 0 | build_type_.SetNoArena( |
689 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
690 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.VersionInfoPB.build_type) |
691 | 0 | } |
692 | | #endif |
693 | 0 | inline void VersionInfoPB::set_build_type(const char* value) { |
694 | 0 | GOOGLE_DCHECK(value != NULL); |
695 | 0 | set_has_build_type(); |
696 | 0 | build_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
697 | 0 | // @@protoc_insertion_point(field_set_char:yb.VersionInfoPB.build_type) |
698 | 0 | } |
699 | 0 | inline void VersionInfoPB::set_build_type(const char* value, size_t size) { |
700 | 0 | set_has_build_type(); |
701 | 0 | build_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
702 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
703 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.VersionInfoPB.build_type) |
704 | 0 | } |
705 | 13.4k | inline ::std::string* VersionInfoPB::mutable_build_type() { |
706 | 13.4k | set_has_build_type(); |
707 | | // @@protoc_insertion_point(field_mutable:yb.VersionInfoPB.build_type) |
708 | 13.4k | return build_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
709 | 13.4k | } |
710 | 0 | inline ::std::string* VersionInfoPB::release_build_type() { |
711 | 0 | // @@protoc_insertion_point(field_release:yb.VersionInfoPB.build_type) |
712 | 0 | clear_has_build_type(); |
713 | 0 | return build_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
714 | 0 | } |
715 | 0 | inline void VersionInfoPB::set_allocated_build_type(::std::string* build_type) { |
716 | 0 | if (build_type != NULL) { |
717 | 0 | set_has_build_type(); |
718 | 0 | } else { |
719 | 0 | clear_has_build_type(); |
720 | 0 | } |
721 | 0 | build_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), build_type); |
722 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.VersionInfoPB.build_type) |
723 | 0 | } |
724 | | |
725 | | // optional string version_number = 9; |
726 | 2.54k | inline bool VersionInfoPB::has_version_number() const { |
727 | 2.54k | return (_has_bits_[0] & 0x00000040u) != 0; |
728 | 2.54k | } |
729 | 16.0k | inline void VersionInfoPB::set_has_version_number() { |
730 | 16.0k | _has_bits_[0] |= 0x00000040u; |
731 | 16.0k | } |
732 | 0 | inline void VersionInfoPB::clear_has_version_number() { |
733 | 0 | _has_bits_[0] &= ~0x00000040u; |
734 | 0 | } |
735 | 0 | inline void VersionInfoPB::clear_version_number() { |
736 | 0 | version_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
737 | 0 | clear_has_version_number(); |
738 | 0 | } |
739 | 1.04M | inline const ::std::string& VersionInfoPB::version_number() const { |
740 | | // @@protoc_insertion_point(field_get:yb.VersionInfoPB.version_number) |
741 | 1.04M | return version_number_.GetNoArena(); |
742 | 1.04M | } |
743 | 0 | inline void VersionInfoPB::set_version_number(const ::std::string& value) { |
744 | 0 | set_has_version_number(); |
745 | 0 | version_number_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
746 | 0 | // @@protoc_insertion_point(field_set:yb.VersionInfoPB.version_number) |
747 | 0 | } |
748 | | #if LANG_CXX11 |
749 | 0 | inline void VersionInfoPB::set_version_number(::std::string&& value) { |
750 | 0 | set_has_version_number(); |
751 | 0 | version_number_.SetNoArena( |
752 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
753 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.VersionInfoPB.version_number) |
754 | 0 | } |
755 | | #endif |
756 | 0 | inline void VersionInfoPB::set_version_number(const char* value) { |
757 | 0 | GOOGLE_DCHECK(value != NULL); |
758 | 0 | set_has_version_number(); |
759 | 0 | version_number_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
760 | 0 | // @@protoc_insertion_point(field_set_char:yb.VersionInfoPB.version_number) |
761 | 0 | } |
762 | 0 | inline void VersionInfoPB::set_version_number(const char* value, size_t size) { |
763 | 0 | set_has_version_number(); |
764 | 0 | version_number_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
765 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
766 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.VersionInfoPB.version_number) |
767 | 0 | } |
768 | 13.4k | inline ::std::string* VersionInfoPB::mutable_version_number() { |
769 | 13.4k | set_has_version_number(); |
770 | | // @@protoc_insertion_point(field_mutable:yb.VersionInfoPB.version_number) |
771 | 13.4k | return version_number_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
772 | 13.4k | } |
773 | 0 | inline ::std::string* VersionInfoPB::release_version_number() { |
774 | 0 | // @@protoc_insertion_point(field_release:yb.VersionInfoPB.version_number) |
775 | 0 | clear_has_version_number(); |
776 | 0 | return version_number_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
777 | 0 | } |
778 | 0 | inline void VersionInfoPB::set_allocated_version_number(::std::string* version_number) { |
779 | 0 | if (version_number != NULL) { |
780 | 0 | set_has_version_number(); |
781 | 0 | } else { |
782 | 0 | clear_has_version_number(); |
783 | 0 | } |
784 | 0 | version_number_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version_number); |
785 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.VersionInfoPB.version_number) |
786 | 0 | } |
787 | | |
788 | | // optional string build_number = 10; |
789 | 2.54k | inline bool VersionInfoPB::has_build_number() const { |
790 | 2.54k | return (_has_bits_[0] & 0x00000080u) != 0; |
791 | 2.54k | } |
792 | 16.0k | inline void VersionInfoPB::set_has_build_number() { |
793 | 16.0k | _has_bits_[0] |= 0x00000080u; |
794 | 16.0k | } |
795 | 0 | inline void VersionInfoPB::clear_has_build_number() { |
796 | 0 | _has_bits_[0] &= ~0x00000080u; |
797 | 0 | } |
798 | 0 | inline void VersionInfoPB::clear_build_number() { |
799 | 0 | build_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
800 | 0 | clear_has_build_number(); |
801 | 0 | } |
802 | 1.04M | inline const ::std::string& VersionInfoPB::build_number() const { |
803 | | // @@protoc_insertion_point(field_get:yb.VersionInfoPB.build_number) |
804 | 1.04M | return build_number_.GetNoArena(); |
805 | 1.04M | } |
806 | 0 | inline void VersionInfoPB::set_build_number(const ::std::string& value) { |
807 | 0 | set_has_build_number(); |
808 | 0 | build_number_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
809 | 0 | // @@protoc_insertion_point(field_set:yb.VersionInfoPB.build_number) |
810 | 0 | } |
811 | | #if LANG_CXX11 |
812 | 0 | inline void VersionInfoPB::set_build_number(::std::string&& value) { |
813 | 0 | set_has_build_number(); |
814 | 0 | build_number_.SetNoArena( |
815 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
816 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.VersionInfoPB.build_number) |
817 | 0 | } |
818 | | #endif |
819 | 0 | inline void VersionInfoPB::set_build_number(const char* value) { |
820 | 0 | GOOGLE_DCHECK(value != NULL); |
821 | 0 | set_has_build_number(); |
822 | 0 | build_number_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
823 | 0 | // @@protoc_insertion_point(field_set_char:yb.VersionInfoPB.build_number) |
824 | 0 | } |
825 | 0 | inline void VersionInfoPB::set_build_number(const char* value, size_t size) { |
826 | 0 | set_has_build_number(); |
827 | 0 | build_number_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
828 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
829 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.VersionInfoPB.build_number) |
830 | 0 | } |
831 | 13.4k | inline ::std::string* VersionInfoPB::mutable_build_number() { |
832 | 13.4k | set_has_build_number(); |
833 | | // @@protoc_insertion_point(field_mutable:yb.VersionInfoPB.build_number) |
834 | 13.4k | return build_number_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
835 | 13.4k | } |
836 | 0 | inline ::std::string* VersionInfoPB::release_build_number() { |
837 | 0 | // @@protoc_insertion_point(field_release:yb.VersionInfoPB.build_number) |
838 | 0 | clear_has_build_number(); |
839 | 0 | return build_number_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
840 | 0 | } |
841 | 0 | inline void VersionInfoPB::set_allocated_build_number(::std::string* build_number) { |
842 | 0 | if (build_number != NULL) { |
843 | 0 | set_has_build_number(); |
844 | 0 | } else { |
845 | 0 | clear_has_build_number(); |
846 | 0 | } |
847 | 0 | build_number_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), build_number); |
848 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.VersionInfoPB.build_number) |
849 | 0 | } |
850 | | |
851 | | #ifdef __GNUC__ |
852 | | #pragma GCC diagnostic pop |
853 | | #endif // __GNUC__ |
854 | | |
855 | | // @@protoc_insertion_point(namespace_scope) |
856 | | |
857 | | } // namespace yb |
858 | | |
859 | | // @@protoc_insertion_point(global_scope) |
860 | | |
861 | | #endif // PROTOBUF_yb_2futil_2fversion_5finfo_2eproto__INCLUDED |