1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: Security.proto |
3 | |
4 | #ifndef PROTOBUF_INCLUDED_Security_2eproto |
5 | #define PROTOBUF_INCLUDED_Security_2eproto |
6 | |
7 | #include <string> |
8 | |
9 | #include <google/protobuf/stubs/common.h> |
10 | |
11 | #if GOOGLE_PROTOBUF_VERSION < 3006001 |
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 3006001 < 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/inlined_string_field.h> |
28 | #include <google/protobuf/metadata.h> |
29 | #include <google/protobuf/message.h> |
30 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
31 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
32 | #include <google/protobuf/unknown_field_set.h> |
33 | // @@protoc_insertion_point(includes) |
34 | #define PROTOBUF_INTERNAL_EXPORT_protobuf_Security_2eproto |
35 | |
36 | namespace protobuf_Security_2eproto { |
37 | // Internal implementation detail -- do not use these members. |
38 | struct TableStruct { |
39 | static const ::google::protobuf::internal::ParseTableField entries[]; |
40 | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
41 | static const ::google::protobuf::internal::ParseTable schema[7]; |
42 | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
43 | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
44 | static const ::google::protobuf::uint32 offsets[]; |
45 | }; |
46 | void AddDescriptors(); |
47 | } // namespace protobuf_Security_2eproto |
48 | namespace Hdfs { |
49 | namespace Internal { |
50 | class CancelDelegationTokenRequestProto; |
51 | class CancelDelegationTokenRequestProtoDefaultTypeInternal; |
52 | extern CancelDelegationTokenRequestProtoDefaultTypeInternal _CancelDelegationTokenRequestProto_default_instance_; |
53 | class CancelDelegationTokenResponseProto; |
54 | class CancelDelegationTokenResponseProtoDefaultTypeInternal; |
55 | extern CancelDelegationTokenResponseProtoDefaultTypeInternal _CancelDelegationTokenResponseProto_default_instance_; |
56 | class GetDelegationTokenRequestProto; |
57 | class GetDelegationTokenRequestProtoDefaultTypeInternal; |
58 | extern GetDelegationTokenRequestProtoDefaultTypeInternal _GetDelegationTokenRequestProto_default_instance_; |
59 | class GetDelegationTokenResponseProto; |
60 | class GetDelegationTokenResponseProtoDefaultTypeInternal; |
61 | extern GetDelegationTokenResponseProtoDefaultTypeInternal _GetDelegationTokenResponseProto_default_instance_; |
62 | class RenewDelegationTokenRequestProto; |
63 | class RenewDelegationTokenRequestProtoDefaultTypeInternal; |
64 | extern RenewDelegationTokenRequestProtoDefaultTypeInternal _RenewDelegationTokenRequestProto_default_instance_; |
65 | class RenewDelegationTokenResponseProto; |
66 | class RenewDelegationTokenResponseProtoDefaultTypeInternal; |
67 | extern RenewDelegationTokenResponseProtoDefaultTypeInternal _RenewDelegationTokenResponseProto_default_instance_; |
68 | class TokenProto; |
69 | class TokenProtoDefaultTypeInternal; |
70 | extern TokenProtoDefaultTypeInternal _TokenProto_default_instance_; |
71 | } // namespace Internal |
72 | } // namespace Hdfs |
73 | namespace google { |
74 | namespace protobuf { |
75 | template<> ::Hdfs::Internal::CancelDelegationTokenRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CancelDelegationTokenRequestProto>(Arena*); |
76 | template<> ::Hdfs::Internal::CancelDelegationTokenResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CancelDelegationTokenResponseProto>(Arena*); |
77 | template<> ::Hdfs::Internal::GetDelegationTokenRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetDelegationTokenRequestProto>(Arena*); |
78 | template<> ::Hdfs::Internal::GetDelegationTokenResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetDelegationTokenResponseProto>(Arena*); |
79 | template<> ::Hdfs::Internal::RenewDelegationTokenRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RenewDelegationTokenRequestProto>(Arena*); |
80 | template<> ::Hdfs::Internal::RenewDelegationTokenResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RenewDelegationTokenResponseProto>(Arena*); |
81 | template<> ::Hdfs::Internal::TokenProto* Arena::CreateMaybeMessage<::Hdfs::Internal::TokenProto>(Arena*); |
82 | } // namespace protobuf |
83 | } // namespace google |
84 | namespace Hdfs { |
85 | namespace Internal { |
86 | |
87 | // =================================================================== |
88 | |
89 | class TokenProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.TokenProto) */ { |
90 | public: |
91 | TokenProto(); |
92 | virtual ~TokenProto(); |
93 | |
94 | TokenProto(const TokenProto& from); |
95 | |
96 | inline TokenProto& operator=(const TokenProto& from) { |
97 | CopyFrom(from); |
98 | return *this; |
99 | } |
100 | #if LANG_CXX11 |
101 | TokenProto(TokenProto&& from) noexcept |
102 | : TokenProto() { |
103 | *this = ::std::move(from); |
104 | } |
105 | |
106 | inline TokenProto& operator=(TokenProto&& from) noexcept { |
107 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
108 | if (this != &from) InternalSwap(&from); |
109 | } else { |
110 | CopyFrom(from); |
111 | } |
112 | return *this; |
113 | } |
114 | #endif |
115 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
116 | return _internal_metadata_.unknown_fields(); |
117 | } |
118 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
119 | return _internal_metadata_.mutable_unknown_fields(); |
120 | } |
121 | |
122 | static const ::google::protobuf::Descriptor* descriptor(); |
123 | static const TokenProto& default_instance(); |
124 | |
125 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
126 | static inline const TokenProto* internal_default_instance() { |
127 | return reinterpret_cast<const TokenProto*>( |
128 | &_TokenProto_default_instance_); |
129 | } |
130 | static constexpr int kIndexInFileMessages = |
131 | 0; |
132 | |
133 | void Swap(TokenProto* other); |
134 | friend void swap(TokenProto& a, TokenProto& b) { |
135 | a.Swap(&b); |
136 | } |
137 | |
138 | // implements Message ---------------------------------------------- |
139 | |
140 | inline TokenProto* New() const final { |
141 | return CreateMaybeMessage<TokenProto>(NULL); |
142 | } |
143 | |
144 | TokenProto* New(::google::protobuf::Arena* arena) const final { |
145 | return CreateMaybeMessage<TokenProto>(arena); |
146 | } |
147 | void CopyFrom(const ::google::protobuf::Message& from) final; |
148 | void MergeFrom(const ::google::protobuf::Message& from) final; |
149 | void CopyFrom(const TokenProto& from); |
150 | void MergeFrom(const TokenProto& from); |
151 | void Clear() final; |
152 | bool IsInitialized() const final; |
153 | |
154 | size_t ByteSizeLong() const final; |
155 | bool MergePartialFromCodedStream( |
156 | ::google::protobuf::io::CodedInputStream* input) final; |
157 | void SerializeWithCachedSizes( |
158 | ::google::protobuf::io::CodedOutputStream* output) const final; |
159 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
160 | bool deterministic, ::google::protobuf::uint8* target) const final; |
161 | int GetCachedSize() const final { return _cached_size_.Get(); } |
162 | |
163 | private: |
164 | void SharedCtor(); |
165 | void SharedDtor(); |
166 | void SetCachedSize(int size) const final; |
167 | void InternalSwap(TokenProto* other); |
168 | private: |
169 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
170 | return NULL; |
171 | } |
172 | inline void* MaybeArenaPtr() const { |
173 | return NULL; |
174 | } |
175 | public: |
176 | |
177 | ::google::protobuf::Metadata GetMetadata() const final; |
178 | |
179 | // nested types ---------------------------------------------------- |
180 | |
181 | // accessors ------------------------------------------------------- |
182 | |
183 | // required bytes identifier = 1; |
184 | bool has_identifier() const; |
185 | void clear_identifier(); |
186 | static const int kIdentifierFieldNumber = 1; |
187 | const ::std::string& identifier() const; |
188 | void set_identifier(const ::std::string& value); |
189 | #if LANG_CXX11 |
190 | void set_identifier(::std::string&& value); |
191 | #endif |
192 | void set_identifier(const char* value); |
193 | void set_identifier(const void* value, size_t size); |
194 | ::std::string* mutable_identifier(); |
195 | ::std::string* release_identifier(); |
196 | void set_allocated_identifier(::std::string* identifier); |
197 | |
198 | // required bytes password = 2; |
199 | bool has_password() const; |
200 | void clear_password(); |
201 | static const int kPasswordFieldNumber = 2; |
202 | const ::std::string& password() const; |
203 | void set_password(const ::std::string& value); |
204 | #if LANG_CXX11 |
205 | void set_password(::std::string&& value); |
206 | #endif |
207 | void set_password(const char* value); |
208 | void set_password(const void* value, size_t size); |
209 | ::std::string* mutable_password(); |
210 | ::std::string* release_password(); |
211 | void set_allocated_password(::std::string* password); |
212 | |
213 | // required string kind = 3; |
214 | bool has_kind() const; |
215 | void clear_kind(); |
216 | static const int kKindFieldNumber = 3; |
217 | const ::std::string& kind() const; |
218 | void set_kind(const ::std::string& value); |
219 | #if LANG_CXX11 |
220 | void set_kind(::std::string&& value); |
221 | #endif |
222 | void set_kind(const char* value); |
223 | void set_kind(const char* value, size_t size); |
224 | ::std::string* mutable_kind(); |
225 | ::std::string* release_kind(); |
226 | void set_allocated_kind(::std::string* kind); |
227 | |
228 | // required string service = 4; |
229 | bool has_service() const; |
230 | void clear_service(); |
231 | static const int kServiceFieldNumber = 4; |
232 | const ::std::string& service() const; |
233 | void set_service(const ::std::string& value); |
234 | #if LANG_CXX11 |
235 | void set_service(::std::string&& value); |
236 | #endif |
237 | void set_service(const char* value); |
238 | void set_service(const char* value, size_t size); |
239 | ::std::string* mutable_service(); |
240 | ::std::string* release_service(); |
241 | void set_allocated_service(::std::string* service); |
242 | |
243 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.TokenProto) |
244 | private: |
245 | void set_has_identifier(); |
246 | void clear_has_identifier(); |
247 | void set_has_password(); |
248 | void clear_has_password(); |
249 | void set_has_kind(); |
250 | void clear_has_kind(); |
251 | void set_has_service(); |
252 | void clear_has_service(); |
253 | |
254 | // helper for ByteSizeLong() |
255 | size_t RequiredFieldsByteSizeFallback() const; |
256 | |
257 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
258 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
259 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
260 | ::google::protobuf::internal::ArenaStringPtr identifier_; |
261 | ::google::protobuf::internal::ArenaStringPtr password_; |
262 | ::google::protobuf::internal::ArenaStringPtr kind_; |
263 | ::google::protobuf::internal::ArenaStringPtr service_; |
264 | friend struct ::protobuf_Security_2eproto::TableStruct; |
265 | }; |
266 | // ------------------------------------------------------------------- |
267 | |
268 | class GetDelegationTokenRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetDelegationTokenRequestProto) */ { |
269 | public: |
270 | GetDelegationTokenRequestProto(); |
271 | virtual ~GetDelegationTokenRequestProto(); |
272 | |
273 | GetDelegationTokenRequestProto(const GetDelegationTokenRequestProto& from); |
274 | |
275 | inline GetDelegationTokenRequestProto& operator=(const GetDelegationTokenRequestProto& from) { |
276 | CopyFrom(from); |
277 | return *this; |
278 | } |
279 | #if LANG_CXX11 |
280 | GetDelegationTokenRequestProto(GetDelegationTokenRequestProto&& from) noexcept |
281 | : GetDelegationTokenRequestProto() { |
282 | *this = ::std::move(from); |
283 | } |
284 | |
285 | inline GetDelegationTokenRequestProto& operator=(GetDelegationTokenRequestProto&& from) noexcept { |
286 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
287 | if (this != &from) InternalSwap(&from); |
288 | } else { |
289 | CopyFrom(from); |
290 | } |
291 | return *this; |
292 | } |
293 | #endif |
294 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
295 | return _internal_metadata_.unknown_fields(); |
296 | } |
297 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
298 | return _internal_metadata_.mutable_unknown_fields(); |
299 | } |
300 | |
301 | static const ::google::protobuf::Descriptor* descriptor(); |
302 | static const GetDelegationTokenRequestProto& default_instance(); |
303 | |
304 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
305 | static inline const GetDelegationTokenRequestProto* internal_default_instance() { |
306 | return reinterpret_cast<const GetDelegationTokenRequestProto*>( |
307 | &_GetDelegationTokenRequestProto_default_instance_); |
308 | } |
309 | static constexpr int kIndexInFileMessages = |
310 | 1; |
311 | |
312 | void Swap(GetDelegationTokenRequestProto* other); |
313 | friend void swap(GetDelegationTokenRequestProto& a, GetDelegationTokenRequestProto& b) { |
314 | a.Swap(&b); |
315 | } |
316 | |
317 | // implements Message ---------------------------------------------- |
318 | |
319 | inline GetDelegationTokenRequestProto* New() const final { |
320 | return CreateMaybeMessage<GetDelegationTokenRequestProto>(NULL); |
321 | } |
322 | |
323 | GetDelegationTokenRequestProto* New(::google::protobuf::Arena* arena) const final { |
324 | return CreateMaybeMessage<GetDelegationTokenRequestProto>(arena); |
325 | } |
326 | void CopyFrom(const ::google::protobuf::Message& from) final; |
327 | void MergeFrom(const ::google::protobuf::Message& from) final; |
328 | void CopyFrom(const GetDelegationTokenRequestProto& from); |
329 | void MergeFrom(const GetDelegationTokenRequestProto& from); |
330 | void Clear() final; |
331 | bool IsInitialized() const final; |
332 | |
333 | size_t ByteSizeLong() const final; |
334 | bool MergePartialFromCodedStream( |
335 | ::google::protobuf::io::CodedInputStream* input) final; |
336 | void SerializeWithCachedSizes( |
337 | ::google::protobuf::io::CodedOutputStream* output) const final; |
338 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
339 | bool deterministic, ::google::protobuf::uint8* target) const final; |
340 | int GetCachedSize() const final { return _cached_size_.Get(); } |
341 | |
342 | private: |
343 | void SharedCtor(); |
344 | void SharedDtor(); |
345 | void SetCachedSize(int size) const final; |
346 | void InternalSwap(GetDelegationTokenRequestProto* other); |
347 | private: |
348 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
349 | return NULL; |
350 | } |
351 | inline void* MaybeArenaPtr() const { |
352 | return NULL; |
353 | } |
354 | public: |
355 | |
356 | ::google::protobuf::Metadata GetMetadata() const final; |
357 | |
358 | // nested types ---------------------------------------------------- |
359 | |
360 | // accessors ------------------------------------------------------- |
361 | |
362 | // required string renewer = 1; |
363 | bool has_renewer() const; |
364 | void clear_renewer(); |
365 | static const int kRenewerFieldNumber = 1; |
366 | const ::std::string& renewer() const; |
367 | void set_renewer(const ::std::string& value); |
368 | #if LANG_CXX11 |
369 | void set_renewer(::std::string&& value); |
370 | #endif |
371 | void set_renewer(const char* value); |
372 | void set_renewer(const char* value, size_t size); |
373 | ::std::string* mutable_renewer(); |
374 | ::std::string* release_renewer(); |
375 | void set_allocated_renewer(::std::string* renewer); |
376 | |
377 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetDelegationTokenRequestProto) |
378 | private: |
379 | void set_has_renewer(); |
380 | void clear_has_renewer(); |
381 | |
382 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
383 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
384 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
385 | ::google::protobuf::internal::ArenaStringPtr renewer_; |
386 | friend struct ::protobuf_Security_2eproto::TableStruct; |
387 | }; |
388 | // ------------------------------------------------------------------- |
389 | |
390 | class GetDelegationTokenResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetDelegationTokenResponseProto) */ { |
391 | public: |
392 | GetDelegationTokenResponseProto(); |
393 | virtual ~GetDelegationTokenResponseProto(); |
394 | |
395 | GetDelegationTokenResponseProto(const GetDelegationTokenResponseProto& from); |
396 | |
397 | inline GetDelegationTokenResponseProto& operator=(const GetDelegationTokenResponseProto& from) { |
398 | CopyFrom(from); |
399 | return *this; |
400 | } |
401 | #if LANG_CXX11 |
402 | GetDelegationTokenResponseProto(GetDelegationTokenResponseProto&& from) noexcept |
403 | : GetDelegationTokenResponseProto() { |
404 | *this = ::std::move(from); |
405 | } |
406 | |
407 | inline GetDelegationTokenResponseProto& operator=(GetDelegationTokenResponseProto&& from) noexcept { |
408 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
409 | if (this != &from) InternalSwap(&from); |
410 | } else { |
411 | CopyFrom(from); |
412 | } |
413 | return *this; |
414 | } |
415 | #endif |
416 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
417 | return _internal_metadata_.unknown_fields(); |
418 | } |
419 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
420 | return _internal_metadata_.mutable_unknown_fields(); |
421 | } |
422 | |
423 | static const ::google::protobuf::Descriptor* descriptor(); |
424 | static const GetDelegationTokenResponseProto& default_instance(); |
425 | |
426 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
427 | static inline const GetDelegationTokenResponseProto* internal_default_instance() { |
428 | return reinterpret_cast<const GetDelegationTokenResponseProto*>( |
429 | &_GetDelegationTokenResponseProto_default_instance_); |
430 | } |
431 | static constexpr int kIndexInFileMessages = |
432 | 2; |
433 | |
434 | void Swap(GetDelegationTokenResponseProto* other); |
435 | friend void swap(GetDelegationTokenResponseProto& a, GetDelegationTokenResponseProto& b) { |
436 | a.Swap(&b); |
437 | } |
438 | |
439 | // implements Message ---------------------------------------------- |
440 | |
441 | inline GetDelegationTokenResponseProto* New() const final { |
442 | return CreateMaybeMessage<GetDelegationTokenResponseProto>(NULL); |
443 | } |
444 | |
445 | GetDelegationTokenResponseProto* New(::google::protobuf::Arena* arena) const final { |
446 | return CreateMaybeMessage<GetDelegationTokenResponseProto>(arena); |
447 | } |
448 | void CopyFrom(const ::google::protobuf::Message& from) final; |
449 | void MergeFrom(const ::google::protobuf::Message& from) final; |
450 | void CopyFrom(const GetDelegationTokenResponseProto& from); |
451 | void MergeFrom(const GetDelegationTokenResponseProto& from); |
452 | void Clear() final; |
453 | bool IsInitialized() const final; |
454 | |
455 | size_t ByteSizeLong() const final; |
456 | bool MergePartialFromCodedStream( |
457 | ::google::protobuf::io::CodedInputStream* input) final; |
458 | void SerializeWithCachedSizes( |
459 | ::google::protobuf::io::CodedOutputStream* output) const final; |
460 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
461 | bool deterministic, ::google::protobuf::uint8* target) const final; |
462 | int GetCachedSize() const final { return _cached_size_.Get(); } |
463 | |
464 | private: |
465 | void SharedCtor(); |
466 | void SharedDtor(); |
467 | void SetCachedSize(int size) const final; |
468 | void InternalSwap(GetDelegationTokenResponseProto* other); |
469 | private: |
470 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
471 | return NULL; |
472 | } |
473 | inline void* MaybeArenaPtr() const { |
474 | return NULL; |
475 | } |
476 | public: |
477 | |
478 | ::google::protobuf::Metadata GetMetadata() const final; |
479 | |
480 | // nested types ---------------------------------------------------- |
481 | |
482 | // accessors ------------------------------------------------------- |
483 | |
484 | // optional .Hdfs.Internal.TokenProto token = 1; |
485 | bool has_token() const; |
486 | void clear_token(); |
487 | static const int kTokenFieldNumber = 1; |
488 | private: |
489 | const ::Hdfs::Internal::TokenProto& _internal_token() const; |
490 | public: |
491 | const ::Hdfs::Internal::TokenProto& token() const; |
492 | ::Hdfs::Internal::TokenProto* release_token(); |
493 | ::Hdfs::Internal::TokenProto* mutable_token(); |
494 | void set_allocated_token(::Hdfs::Internal::TokenProto* token); |
495 | |
496 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetDelegationTokenResponseProto) |
497 | private: |
498 | void set_has_token(); |
499 | void clear_has_token(); |
500 | |
501 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
502 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
503 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
504 | ::Hdfs::Internal::TokenProto* token_; |
505 | friend struct ::protobuf_Security_2eproto::TableStruct; |
506 | }; |
507 | // ------------------------------------------------------------------- |
508 | |
509 | class RenewDelegationTokenRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RenewDelegationTokenRequestProto) */ { |
510 | public: |
511 | RenewDelegationTokenRequestProto(); |
512 | virtual ~RenewDelegationTokenRequestProto(); |
513 | |
514 | RenewDelegationTokenRequestProto(const RenewDelegationTokenRequestProto& from); |
515 | |
516 | inline RenewDelegationTokenRequestProto& operator=(const RenewDelegationTokenRequestProto& from) { |
517 | CopyFrom(from); |
518 | return *this; |
519 | } |
520 | #if LANG_CXX11 |
521 | RenewDelegationTokenRequestProto(RenewDelegationTokenRequestProto&& from) noexcept |
522 | : RenewDelegationTokenRequestProto() { |
523 | *this = ::std::move(from); |
524 | } |
525 | |
526 | inline RenewDelegationTokenRequestProto& operator=(RenewDelegationTokenRequestProto&& from) noexcept { |
527 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
528 | if (this != &from) InternalSwap(&from); |
529 | } else { |
530 | CopyFrom(from); |
531 | } |
532 | return *this; |
533 | } |
534 | #endif |
535 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
536 | return _internal_metadata_.unknown_fields(); |
537 | } |
538 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
539 | return _internal_metadata_.mutable_unknown_fields(); |
540 | } |
541 | |
542 | static const ::google::protobuf::Descriptor* descriptor(); |
543 | static const RenewDelegationTokenRequestProto& default_instance(); |
544 | |
545 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
546 | static inline const RenewDelegationTokenRequestProto* internal_default_instance() { |
547 | return reinterpret_cast<const RenewDelegationTokenRequestProto*>( |
548 | &_RenewDelegationTokenRequestProto_default_instance_); |
549 | } |
550 | static constexpr int kIndexInFileMessages = |
551 | 3; |
552 | |
553 | void Swap(RenewDelegationTokenRequestProto* other); |
554 | friend void swap(RenewDelegationTokenRequestProto& a, RenewDelegationTokenRequestProto& b) { |
555 | a.Swap(&b); |
556 | } |
557 | |
558 | // implements Message ---------------------------------------------- |
559 | |
560 | inline RenewDelegationTokenRequestProto* New() const final { |
561 | return CreateMaybeMessage<RenewDelegationTokenRequestProto>(NULL); |
562 | } |
563 | |
564 | RenewDelegationTokenRequestProto* New(::google::protobuf::Arena* arena) const final { |
565 | return CreateMaybeMessage<RenewDelegationTokenRequestProto>(arena); |
566 | } |
567 | void CopyFrom(const ::google::protobuf::Message& from) final; |
568 | void MergeFrom(const ::google::protobuf::Message& from) final; |
569 | void CopyFrom(const RenewDelegationTokenRequestProto& from); |
570 | void MergeFrom(const RenewDelegationTokenRequestProto& from); |
571 | void Clear() final; |
572 | bool IsInitialized() const final; |
573 | |
574 | size_t ByteSizeLong() const final; |
575 | bool MergePartialFromCodedStream( |
576 | ::google::protobuf::io::CodedInputStream* input) final; |
577 | void SerializeWithCachedSizes( |
578 | ::google::protobuf::io::CodedOutputStream* output) const final; |
579 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
580 | bool deterministic, ::google::protobuf::uint8* target) const final; |
581 | int GetCachedSize() const final { return _cached_size_.Get(); } |
582 | |
583 | private: |
584 | void SharedCtor(); |
585 | void SharedDtor(); |
586 | void SetCachedSize(int size) const final; |
587 | void InternalSwap(RenewDelegationTokenRequestProto* other); |
588 | private: |
589 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
590 | return NULL; |
591 | } |
592 | inline void* MaybeArenaPtr() const { |
593 | return NULL; |
594 | } |
595 | public: |
596 | |
597 | ::google::protobuf::Metadata GetMetadata() const final; |
598 | |
599 | // nested types ---------------------------------------------------- |
600 | |
601 | // accessors ------------------------------------------------------- |
602 | |
603 | // required .Hdfs.Internal.TokenProto token = 1; |
604 | bool has_token() const; |
605 | void clear_token(); |
606 | static const int kTokenFieldNumber = 1; |
607 | private: |
608 | const ::Hdfs::Internal::TokenProto& _internal_token() const; |
609 | public: |
610 | const ::Hdfs::Internal::TokenProto& token() const; |
611 | ::Hdfs::Internal::TokenProto* release_token(); |
612 | ::Hdfs::Internal::TokenProto* mutable_token(); |
613 | void set_allocated_token(::Hdfs::Internal::TokenProto* token); |
614 | |
615 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RenewDelegationTokenRequestProto) |
616 | private: |
617 | void set_has_token(); |
618 | void clear_has_token(); |
619 | |
620 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
621 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
622 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
623 | ::Hdfs::Internal::TokenProto* token_; |
624 | friend struct ::protobuf_Security_2eproto::TableStruct; |
625 | }; |
626 | // ------------------------------------------------------------------- |
627 | |
628 | class RenewDelegationTokenResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RenewDelegationTokenResponseProto) */ { |
629 | public: |
630 | RenewDelegationTokenResponseProto(); |
631 | virtual ~RenewDelegationTokenResponseProto(); |
632 | |
633 | RenewDelegationTokenResponseProto(const RenewDelegationTokenResponseProto& from); |
634 | |
635 | inline RenewDelegationTokenResponseProto& operator=(const RenewDelegationTokenResponseProto& from) { |
636 | CopyFrom(from); |
637 | return *this; |
638 | } |
639 | #if LANG_CXX11 |
640 | RenewDelegationTokenResponseProto(RenewDelegationTokenResponseProto&& from) noexcept |
641 | : RenewDelegationTokenResponseProto() { |
642 | *this = ::std::move(from); |
643 | } |
644 | |
645 | inline RenewDelegationTokenResponseProto& operator=(RenewDelegationTokenResponseProto&& from) noexcept { |
646 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
647 | if (this != &from) InternalSwap(&from); |
648 | } else { |
649 | CopyFrom(from); |
650 | } |
651 | return *this; |
652 | } |
653 | #endif |
654 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
655 | return _internal_metadata_.unknown_fields(); |
656 | } |
657 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
658 | return _internal_metadata_.mutable_unknown_fields(); |
659 | } |
660 | |
661 | static const ::google::protobuf::Descriptor* descriptor(); |
662 | static const RenewDelegationTokenResponseProto& default_instance(); |
663 | |
664 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
665 | static inline const RenewDelegationTokenResponseProto* internal_default_instance() { |
666 | return reinterpret_cast<const RenewDelegationTokenResponseProto*>( |
667 | &_RenewDelegationTokenResponseProto_default_instance_); |
668 | } |
669 | static constexpr int kIndexInFileMessages = |
670 | 4; |
671 | |
672 | void Swap(RenewDelegationTokenResponseProto* other); |
673 | friend void swap(RenewDelegationTokenResponseProto& a, RenewDelegationTokenResponseProto& b) { |
674 | a.Swap(&b); |
675 | } |
676 | |
677 | // implements Message ---------------------------------------------- |
678 | |
679 | inline RenewDelegationTokenResponseProto* New() const final { |
680 | return CreateMaybeMessage<RenewDelegationTokenResponseProto>(NULL); |
681 | } |
682 | |
683 | RenewDelegationTokenResponseProto* New(::google::protobuf::Arena* arena) const final { |
684 | return CreateMaybeMessage<RenewDelegationTokenResponseProto>(arena); |
685 | } |
686 | void CopyFrom(const ::google::protobuf::Message& from) final; |
687 | void MergeFrom(const ::google::protobuf::Message& from) final; |
688 | void CopyFrom(const RenewDelegationTokenResponseProto& from); |
689 | void MergeFrom(const RenewDelegationTokenResponseProto& from); |
690 | void Clear() final; |
691 | bool IsInitialized() const final; |
692 | |
693 | size_t ByteSizeLong() const final; |
694 | bool MergePartialFromCodedStream( |
695 | ::google::protobuf::io::CodedInputStream* input) final; |
696 | void SerializeWithCachedSizes( |
697 | ::google::protobuf::io::CodedOutputStream* output) const final; |
698 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
699 | bool deterministic, ::google::protobuf::uint8* target) const final; |
700 | int GetCachedSize() const final { return _cached_size_.Get(); } |
701 | |
702 | private: |
703 | void SharedCtor(); |
704 | void SharedDtor(); |
705 | void SetCachedSize(int size) const final; |
706 | void InternalSwap(RenewDelegationTokenResponseProto* other); |
707 | private: |
708 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
709 | return NULL; |
710 | } |
711 | inline void* MaybeArenaPtr() const { |
712 | return NULL; |
713 | } |
714 | public: |
715 | |
716 | ::google::protobuf::Metadata GetMetadata() const final; |
717 | |
718 | // nested types ---------------------------------------------------- |
719 | |
720 | // accessors ------------------------------------------------------- |
721 | |
722 | // required uint64 newExpiryTime = 1; |
723 | bool has_newexpirytime() const; |
724 | void clear_newexpirytime(); |
725 | static const int kNewExpiryTimeFieldNumber = 1; |
726 | ::google::protobuf::uint64 newexpirytime() const; |
727 | void set_newexpirytime(::google::protobuf::uint64 value); |
728 | |
729 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RenewDelegationTokenResponseProto) |
730 | private: |
731 | void set_has_newexpirytime(); |
732 | void clear_has_newexpirytime(); |
733 | |
734 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
735 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
736 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
737 | ::google::protobuf::uint64 newexpirytime_; |
738 | friend struct ::protobuf_Security_2eproto::TableStruct; |
739 | }; |
740 | // ------------------------------------------------------------------- |
741 | |
742 | class CancelDelegationTokenRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CancelDelegationTokenRequestProto) */ { |
743 | public: |
744 | CancelDelegationTokenRequestProto(); |
745 | virtual ~CancelDelegationTokenRequestProto(); |
746 | |
747 | CancelDelegationTokenRequestProto(const CancelDelegationTokenRequestProto& from); |
748 | |
749 | inline CancelDelegationTokenRequestProto& operator=(const CancelDelegationTokenRequestProto& from) { |
750 | CopyFrom(from); |
751 | return *this; |
752 | } |
753 | #if LANG_CXX11 |
754 | CancelDelegationTokenRequestProto(CancelDelegationTokenRequestProto&& from) noexcept |
755 | : CancelDelegationTokenRequestProto() { |
756 | *this = ::std::move(from); |
757 | } |
758 | |
759 | inline CancelDelegationTokenRequestProto& operator=(CancelDelegationTokenRequestProto&& from) noexcept { |
760 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
761 | if (this != &from) InternalSwap(&from); |
762 | } else { |
763 | CopyFrom(from); |
764 | } |
765 | return *this; |
766 | } |
767 | #endif |
768 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
769 | return _internal_metadata_.unknown_fields(); |
770 | } |
771 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
772 | return _internal_metadata_.mutable_unknown_fields(); |
773 | } |
774 | |
775 | static const ::google::protobuf::Descriptor* descriptor(); |
776 | static const CancelDelegationTokenRequestProto& default_instance(); |
777 | |
778 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
779 | static inline const CancelDelegationTokenRequestProto* internal_default_instance() { |
780 | return reinterpret_cast<const CancelDelegationTokenRequestProto*>( |
781 | &_CancelDelegationTokenRequestProto_default_instance_); |
782 | } |
783 | static constexpr int kIndexInFileMessages = |
784 | 5; |
785 | |
786 | void Swap(CancelDelegationTokenRequestProto* other); |
787 | friend void swap(CancelDelegationTokenRequestProto& a, CancelDelegationTokenRequestProto& b) { |
788 | a.Swap(&b); |
789 | } |
790 | |
791 | // implements Message ---------------------------------------------- |
792 | |
793 | inline CancelDelegationTokenRequestProto* New() const final { |
794 | return CreateMaybeMessage<CancelDelegationTokenRequestProto>(NULL); |
795 | } |
796 | |
797 | CancelDelegationTokenRequestProto* New(::google::protobuf::Arena* arena) const final { |
798 | return CreateMaybeMessage<CancelDelegationTokenRequestProto>(arena); |
799 | } |
800 | void CopyFrom(const ::google::protobuf::Message& from) final; |
801 | void MergeFrom(const ::google::protobuf::Message& from) final; |
802 | void CopyFrom(const CancelDelegationTokenRequestProto& from); |
803 | void MergeFrom(const CancelDelegationTokenRequestProto& from); |
804 | void Clear() final; |
805 | bool IsInitialized() const final; |
806 | |
807 | size_t ByteSizeLong() const final; |
808 | bool MergePartialFromCodedStream( |
809 | ::google::protobuf::io::CodedInputStream* input) final; |
810 | void SerializeWithCachedSizes( |
811 | ::google::protobuf::io::CodedOutputStream* output) const final; |
812 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
813 | bool deterministic, ::google::protobuf::uint8* target) const final; |
814 | int GetCachedSize() const final { return _cached_size_.Get(); } |
815 | |
816 | private: |
817 | void SharedCtor(); |
818 | void SharedDtor(); |
819 | void SetCachedSize(int size) const final; |
820 | void InternalSwap(CancelDelegationTokenRequestProto* other); |
821 | private: |
822 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
823 | return NULL; |
824 | } |
825 | inline void* MaybeArenaPtr() const { |
826 | return NULL; |
827 | } |
828 | public: |
829 | |
830 | ::google::protobuf::Metadata GetMetadata() const final; |
831 | |
832 | // nested types ---------------------------------------------------- |
833 | |
834 | // accessors ------------------------------------------------------- |
835 | |
836 | // required .Hdfs.Internal.TokenProto token = 1; |
837 | bool has_token() const; |
838 | void clear_token(); |
839 | static const int kTokenFieldNumber = 1; |
840 | private: |
841 | const ::Hdfs::Internal::TokenProto& _internal_token() const; |
842 | public: |
843 | const ::Hdfs::Internal::TokenProto& token() const; |
844 | ::Hdfs::Internal::TokenProto* release_token(); |
845 | ::Hdfs::Internal::TokenProto* mutable_token(); |
846 | void set_allocated_token(::Hdfs::Internal::TokenProto* token); |
847 | |
848 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CancelDelegationTokenRequestProto) |
849 | private: |
850 | void set_has_token(); |
851 | void clear_has_token(); |
852 | |
853 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
854 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
855 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
856 | ::Hdfs::Internal::TokenProto* token_; |
857 | friend struct ::protobuf_Security_2eproto::TableStruct; |
858 | }; |
859 | // ------------------------------------------------------------------- |
860 | |
861 | class CancelDelegationTokenResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CancelDelegationTokenResponseProto) */ { |
862 | public: |
863 | CancelDelegationTokenResponseProto(); |
864 | virtual ~CancelDelegationTokenResponseProto(); |
865 | |
866 | CancelDelegationTokenResponseProto(const CancelDelegationTokenResponseProto& from); |
867 | |
868 | inline CancelDelegationTokenResponseProto& operator=(const CancelDelegationTokenResponseProto& from) { |
869 | CopyFrom(from); |
870 | return *this; |
871 | } |
872 | #if LANG_CXX11 |
873 | CancelDelegationTokenResponseProto(CancelDelegationTokenResponseProto&& from) noexcept |
874 | : CancelDelegationTokenResponseProto() { |
875 | *this = ::std::move(from); |
876 | } |
877 | |
878 | inline CancelDelegationTokenResponseProto& operator=(CancelDelegationTokenResponseProto&& from) noexcept { |
879 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
880 | if (this != &from) InternalSwap(&from); |
881 | } else { |
882 | CopyFrom(from); |
883 | } |
884 | return *this; |
885 | } |
886 | #endif |
887 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
888 | return _internal_metadata_.unknown_fields(); |
889 | } |
890 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
891 | return _internal_metadata_.mutable_unknown_fields(); |
892 | } |
893 | |
894 | static const ::google::protobuf::Descriptor* descriptor(); |
895 | static const CancelDelegationTokenResponseProto& default_instance(); |
896 | |
897 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
898 | static inline const CancelDelegationTokenResponseProto* internal_default_instance() { |
899 | return reinterpret_cast<const CancelDelegationTokenResponseProto*>( |
900 | &_CancelDelegationTokenResponseProto_default_instance_); |
901 | } |
902 | static constexpr int kIndexInFileMessages = |
903 | 6; |
904 | |
905 | void Swap(CancelDelegationTokenResponseProto* other); |
906 | friend void swap(CancelDelegationTokenResponseProto& a, CancelDelegationTokenResponseProto& b) { |
907 | a.Swap(&b); |
908 | } |
909 | |
910 | // implements Message ---------------------------------------------- |
911 | |
912 | inline CancelDelegationTokenResponseProto* New() const final { |
913 | return CreateMaybeMessage<CancelDelegationTokenResponseProto>(NULL); |
914 | } |
915 | |
916 | CancelDelegationTokenResponseProto* New(::google::protobuf::Arena* arena) const final { |
917 | return CreateMaybeMessage<CancelDelegationTokenResponseProto>(arena); |
918 | } |
919 | void CopyFrom(const ::google::protobuf::Message& from) final; |
920 | void MergeFrom(const ::google::protobuf::Message& from) final; |
921 | void CopyFrom(const CancelDelegationTokenResponseProto& from); |
922 | void MergeFrom(const CancelDelegationTokenResponseProto& from); |
923 | void Clear() final; |
924 | bool IsInitialized() const final; |
925 | |
926 | size_t ByteSizeLong() const final; |
927 | bool MergePartialFromCodedStream( |
928 | ::google::protobuf::io::CodedInputStream* input) final; |
929 | void SerializeWithCachedSizes( |
930 | ::google::protobuf::io::CodedOutputStream* output) const final; |
931 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
932 | bool deterministic, ::google::protobuf::uint8* target) const final; |
933 | int GetCachedSize() const final { return _cached_size_.Get(); } |
934 | |
935 | private: |
936 | void SharedCtor(); |
937 | void SharedDtor(); |
938 | void SetCachedSize(int size) const final; |
939 | void InternalSwap(CancelDelegationTokenResponseProto* other); |
940 | private: |
941 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
942 | return NULL; |
943 | } |
944 | inline void* MaybeArenaPtr() const { |
945 | return NULL; |
946 | } |
947 | public: |
948 | |
949 | ::google::protobuf::Metadata GetMetadata() const final; |
950 | |
951 | // nested types ---------------------------------------------------- |
952 | |
953 | // accessors ------------------------------------------------------- |
954 | |
955 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CancelDelegationTokenResponseProto) |
956 | private: |
957 | |
958 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
959 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
960 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
961 | friend struct ::protobuf_Security_2eproto::TableStruct; |
962 | }; |
963 | // =================================================================== |
964 | |
965 | |
966 | // =================================================================== |
967 | |
968 | #ifdef __GNUC__ |
969 | #pragma GCC diagnostic push |
970 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
971 | #endif // __GNUC__ |
972 | // TokenProto |
973 | |
974 | // required bytes identifier = 1; |
975 | inline bool TokenProto::has_identifier() const { |
976 | return (_has_bits_[0] & 0x00000001u) != 0; |
977 | } |
978 | inline void TokenProto::set_has_identifier() { |
979 | _has_bits_[0] |= 0x00000001u; |
980 | } |
981 | inline void TokenProto::clear_has_identifier() { |
982 | _has_bits_[0] &= ~0x00000001u; |
983 | } |
984 | inline void TokenProto::clear_identifier() { |
985 | identifier_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
986 | clear_has_identifier(); |
987 | } |
988 | inline const ::std::string& TokenProto::identifier() const { |
989 | // @@protoc_insertion_point(field_get:Hdfs.Internal.TokenProto.identifier) |
990 | return identifier_.GetNoArena(); |
991 | } |
992 | inline void TokenProto::set_identifier(const ::std::string& value) { |
993 | set_has_identifier(); |
994 | identifier_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
995 | // @@protoc_insertion_point(field_set:Hdfs.Internal.TokenProto.identifier) |
996 | } |
997 | #if LANG_CXX11 |
998 | inline void TokenProto::set_identifier(::std::string&& value) { |
999 | set_has_identifier(); |
1000 | identifier_.SetNoArena( |
1001 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1002 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.TokenProto.identifier) |
1003 | } |
1004 | #endif |
1005 | inline void TokenProto::set_identifier(const char* value) { |
1006 | GOOGLE_DCHECK(value != NULL); |
1007 | set_has_identifier(); |
1008 | identifier_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1009 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.TokenProto.identifier) |
1010 | } |
1011 | inline void TokenProto::set_identifier(const void* value, size_t size) { |
1012 | set_has_identifier(); |
1013 | identifier_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1014 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1015 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.TokenProto.identifier) |
1016 | } |
1017 | inline ::std::string* TokenProto::mutable_identifier() { |
1018 | set_has_identifier(); |
1019 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.TokenProto.identifier) |
1020 | return identifier_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1021 | } |
1022 | inline ::std::string* TokenProto::release_identifier() { |
1023 | // @@protoc_insertion_point(field_release:Hdfs.Internal.TokenProto.identifier) |
1024 | if (!has_identifier()) { |
1025 | return NULL; |
1026 | } |
1027 | clear_has_identifier(); |
1028 | return identifier_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1029 | } |
1030 | inline void TokenProto::set_allocated_identifier(::std::string* identifier) { |
1031 | if (identifier != NULL) { |
1032 | set_has_identifier(); |
1033 | } else { |
1034 | clear_has_identifier(); |
1035 | } |
1036 | identifier_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), identifier); |
1037 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.TokenProto.identifier) |
1038 | } |
1039 | |
1040 | // required bytes password = 2; |
1041 | inline bool TokenProto::has_password() const { |
1042 | return (_has_bits_[0] & 0x00000002u) != 0; |
1043 | } |
1044 | inline void TokenProto::set_has_password() { |
1045 | _has_bits_[0] |= 0x00000002u; |
1046 | } |
1047 | inline void TokenProto::clear_has_password() { |
1048 | _has_bits_[0] &= ~0x00000002u; |
1049 | } |
1050 | inline void TokenProto::clear_password() { |
1051 | password_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1052 | clear_has_password(); |
1053 | } |
1054 | inline const ::std::string& TokenProto::password() const { |
1055 | // @@protoc_insertion_point(field_get:Hdfs.Internal.TokenProto.password) |
1056 | return password_.GetNoArena(); |
1057 | } |
1058 | inline void TokenProto::set_password(const ::std::string& value) { |
1059 | set_has_password(); |
1060 | password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1061 | // @@protoc_insertion_point(field_set:Hdfs.Internal.TokenProto.password) |
1062 | } |
1063 | #if LANG_CXX11 |
1064 | inline void TokenProto::set_password(::std::string&& value) { |
1065 | set_has_password(); |
1066 | password_.SetNoArena( |
1067 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1068 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.TokenProto.password) |
1069 | } |
1070 | #endif |
1071 | inline void TokenProto::set_password(const char* value) { |
1072 | GOOGLE_DCHECK(value != NULL); |
1073 | set_has_password(); |
1074 | password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1075 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.TokenProto.password) |
1076 | } |
1077 | inline void TokenProto::set_password(const void* value, size_t size) { |
1078 | set_has_password(); |
1079 | password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1080 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1081 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.TokenProto.password) |
1082 | } |
1083 | inline ::std::string* TokenProto::mutable_password() { |
1084 | set_has_password(); |
1085 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.TokenProto.password) |
1086 | return password_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1087 | } |
1088 | inline ::std::string* TokenProto::release_password() { |
1089 | // @@protoc_insertion_point(field_release:Hdfs.Internal.TokenProto.password) |
1090 | if (!has_password()) { |
1091 | return NULL; |
1092 | } |
1093 | clear_has_password(); |
1094 | return password_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1095 | } |
1096 | inline void TokenProto::set_allocated_password(::std::string* password) { |
1097 | if (password != NULL) { |
1098 | set_has_password(); |
1099 | } else { |
1100 | clear_has_password(); |
1101 | } |
1102 | password_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), password); |
1103 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.TokenProto.password) |
1104 | } |
1105 | |
1106 | // required string kind = 3; |
1107 | inline bool TokenProto::has_kind() const { |
1108 | return (_has_bits_[0] & 0x00000004u) != 0; |
1109 | } |
1110 | inline void TokenProto::set_has_kind() { |
1111 | _has_bits_[0] |= 0x00000004u; |
1112 | } |
1113 | inline void TokenProto::clear_has_kind() { |
1114 | _has_bits_[0] &= ~0x00000004u; |
1115 | } |
1116 | inline void TokenProto::clear_kind() { |
1117 | kind_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1118 | clear_has_kind(); |
1119 | } |
1120 | inline const ::std::string& TokenProto::kind() const { |
1121 | // @@protoc_insertion_point(field_get:Hdfs.Internal.TokenProto.kind) |
1122 | return kind_.GetNoArena(); |
1123 | } |
1124 | inline void TokenProto::set_kind(const ::std::string& value) { |
1125 | set_has_kind(); |
1126 | kind_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1127 | // @@protoc_insertion_point(field_set:Hdfs.Internal.TokenProto.kind) |
1128 | } |
1129 | #if LANG_CXX11 |
1130 | inline void TokenProto::set_kind(::std::string&& value) { |
1131 | set_has_kind(); |
1132 | kind_.SetNoArena( |
1133 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1134 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.TokenProto.kind) |
1135 | } |
1136 | #endif |
1137 | inline void TokenProto::set_kind(const char* value) { |
1138 | GOOGLE_DCHECK(value != NULL); |
1139 | set_has_kind(); |
1140 | kind_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1141 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.TokenProto.kind) |
1142 | } |
1143 | inline void TokenProto::set_kind(const char* value, size_t size) { |
1144 | set_has_kind(); |
1145 | kind_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1146 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1147 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.TokenProto.kind) |
1148 | } |
1149 | inline ::std::string* TokenProto::mutable_kind() { |
1150 | set_has_kind(); |
1151 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.TokenProto.kind) |
1152 | return kind_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1153 | } |
1154 | inline ::std::string* TokenProto::release_kind() { |
1155 | // @@protoc_insertion_point(field_release:Hdfs.Internal.TokenProto.kind) |
1156 | if (!has_kind()) { |
1157 | return NULL; |
1158 | } |
1159 | clear_has_kind(); |
1160 | return kind_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1161 | } |
1162 | inline void TokenProto::set_allocated_kind(::std::string* kind) { |
1163 | if (kind != NULL) { |
1164 | set_has_kind(); |
1165 | } else { |
1166 | clear_has_kind(); |
1167 | } |
1168 | kind_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), kind); |
1169 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.TokenProto.kind) |
1170 | } |
1171 | |
1172 | // required string service = 4; |
1173 | inline bool TokenProto::has_service() const { |
1174 | return (_has_bits_[0] & 0x00000008u) != 0; |
1175 | } |
1176 | inline void TokenProto::set_has_service() { |
1177 | _has_bits_[0] |= 0x00000008u; |
1178 | } |
1179 | inline void TokenProto::clear_has_service() { |
1180 | _has_bits_[0] &= ~0x00000008u; |
1181 | } |
1182 | inline void TokenProto::clear_service() { |
1183 | service_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1184 | clear_has_service(); |
1185 | } |
1186 | inline const ::std::string& TokenProto::service() const { |
1187 | // @@protoc_insertion_point(field_get:Hdfs.Internal.TokenProto.service) |
1188 | return service_.GetNoArena(); |
1189 | } |
1190 | inline void TokenProto::set_service(const ::std::string& value) { |
1191 | set_has_service(); |
1192 | service_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1193 | // @@protoc_insertion_point(field_set:Hdfs.Internal.TokenProto.service) |
1194 | } |
1195 | #if LANG_CXX11 |
1196 | inline void TokenProto::set_service(::std::string&& value) { |
1197 | set_has_service(); |
1198 | service_.SetNoArena( |
1199 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1200 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.TokenProto.service) |
1201 | } |
1202 | #endif |
1203 | inline void TokenProto::set_service(const char* value) { |
1204 | GOOGLE_DCHECK(value != NULL); |
1205 | set_has_service(); |
1206 | service_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1207 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.TokenProto.service) |
1208 | } |
1209 | inline void TokenProto::set_service(const char* value, size_t size) { |
1210 | set_has_service(); |
1211 | service_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1212 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1213 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.TokenProto.service) |
1214 | } |
1215 | inline ::std::string* TokenProto::mutable_service() { |
1216 | set_has_service(); |
1217 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.TokenProto.service) |
1218 | return service_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1219 | } |
1220 | inline ::std::string* TokenProto::release_service() { |
1221 | // @@protoc_insertion_point(field_release:Hdfs.Internal.TokenProto.service) |
1222 | if (!has_service()) { |
1223 | return NULL; |
1224 | } |
1225 | clear_has_service(); |
1226 | return service_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1227 | } |
1228 | inline void TokenProto::set_allocated_service(::std::string* service) { |
1229 | if (service != NULL) { |
1230 | set_has_service(); |
1231 | } else { |
1232 | clear_has_service(); |
1233 | } |
1234 | service_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), service); |
1235 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.TokenProto.service) |
1236 | } |
1237 | |
1238 | // ------------------------------------------------------------------- |
1239 | |
1240 | // GetDelegationTokenRequestProto |
1241 | |
1242 | // required string renewer = 1; |
1243 | inline bool GetDelegationTokenRequestProto::has_renewer() const { |
1244 | return (_has_bits_[0] & 0x00000001u) != 0; |
1245 | } |
1246 | inline void GetDelegationTokenRequestProto::set_has_renewer() { |
1247 | _has_bits_[0] |= 0x00000001u; |
1248 | } |
1249 | inline void GetDelegationTokenRequestProto::clear_has_renewer() { |
1250 | _has_bits_[0] &= ~0x00000001u; |
1251 | } |
1252 | inline void GetDelegationTokenRequestProto::clear_renewer() { |
1253 | renewer_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1254 | clear_has_renewer(); |
1255 | } |
1256 | inline const ::std::string& GetDelegationTokenRequestProto::renewer() const { |
1257 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetDelegationTokenRequestProto.renewer) |
1258 | return renewer_.GetNoArena(); |
1259 | } |
1260 | inline void GetDelegationTokenRequestProto::set_renewer(const ::std::string& value) { |
1261 | set_has_renewer(); |
1262 | renewer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1263 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetDelegationTokenRequestProto.renewer) |
1264 | } |
1265 | #if LANG_CXX11 |
1266 | inline void GetDelegationTokenRequestProto::set_renewer(::std::string&& value) { |
1267 | set_has_renewer(); |
1268 | renewer_.SetNoArena( |
1269 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1270 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetDelegationTokenRequestProto.renewer) |
1271 | } |
1272 | #endif |
1273 | inline void GetDelegationTokenRequestProto::set_renewer(const char* value) { |
1274 | GOOGLE_DCHECK(value != NULL); |
1275 | set_has_renewer(); |
1276 | renewer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1277 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetDelegationTokenRequestProto.renewer) |
1278 | } |
1279 | inline void GetDelegationTokenRequestProto::set_renewer(const char* value, size_t size) { |
1280 | set_has_renewer(); |
1281 | renewer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1282 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1283 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetDelegationTokenRequestProto.renewer) |
1284 | } |
1285 | inline ::std::string* GetDelegationTokenRequestProto::mutable_renewer() { |
1286 | set_has_renewer(); |
1287 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetDelegationTokenRequestProto.renewer) |
1288 | return renewer_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1289 | } |
1290 | inline ::std::string* GetDelegationTokenRequestProto::release_renewer() { |
1291 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetDelegationTokenRequestProto.renewer) |
1292 | if (!has_renewer()) { |
1293 | return NULL; |
1294 | } |
1295 | clear_has_renewer(); |
1296 | return renewer_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1297 | } |
1298 | inline void GetDelegationTokenRequestProto::set_allocated_renewer(::std::string* renewer) { |
1299 | if (renewer != NULL) { |
1300 | set_has_renewer(); |
1301 | } else { |
1302 | clear_has_renewer(); |
1303 | } |
1304 | renewer_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), renewer); |
1305 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetDelegationTokenRequestProto.renewer) |
1306 | } |
1307 | |
1308 | // ------------------------------------------------------------------- |
1309 | |
1310 | // GetDelegationTokenResponseProto |
1311 | |
1312 | // optional .Hdfs.Internal.TokenProto token = 1; |
1313 | inline bool GetDelegationTokenResponseProto::has_token() const { |
1314 | return (_has_bits_[0] & 0x00000001u) != 0; |
1315 | } |
1316 | inline void GetDelegationTokenResponseProto::set_has_token() { |
1317 | _has_bits_[0] |= 0x00000001u; |
1318 | } |
1319 | inline void GetDelegationTokenResponseProto::clear_has_token() { |
1320 | _has_bits_[0] &= ~0x00000001u; |
1321 | } |
1322 | inline void GetDelegationTokenResponseProto::clear_token() { |
1323 | if (token_ != NULL) token_->Clear(); |
1324 | clear_has_token(); |
1325 | } |
1326 | inline const ::Hdfs::Internal::TokenProto& GetDelegationTokenResponseProto::_internal_token() const { |
1327 | return *token_; |
1328 | } |
1329 | inline const ::Hdfs::Internal::TokenProto& GetDelegationTokenResponseProto::token() const { |
1330 | const ::Hdfs::Internal::TokenProto* p = token_; |
1331 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetDelegationTokenResponseProto.token) |
1332 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::TokenProto*>( |
1333 | &::Hdfs::Internal::_TokenProto_default_instance_); |
1334 | } |
1335 | inline ::Hdfs::Internal::TokenProto* GetDelegationTokenResponseProto::release_token() { |
1336 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetDelegationTokenResponseProto.token) |
1337 | clear_has_token(); |
1338 | ::Hdfs::Internal::TokenProto* temp = token_; |
1339 | token_ = NULL; |
1340 | return temp; |
1341 | } |
1342 | inline ::Hdfs::Internal::TokenProto* GetDelegationTokenResponseProto::mutable_token() { |
1343 | set_has_token(); |
1344 | if (token_ == NULL) { |
1345 | auto* p = CreateMaybeMessage<::Hdfs::Internal::TokenProto>(GetArenaNoVirtual()); |
1346 | token_ = p; |
1347 | } |
1348 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetDelegationTokenResponseProto.token) |
1349 | return token_; |
1350 | } |
1351 | inline void GetDelegationTokenResponseProto::set_allocated_token(::Hdfs::Internal::TokenProto* token) { |
1352 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1353 | if (message_arena == NULL) { |
1354 | delete token_; |
1355 | } |
1356 | if (token) { |
1357 | ::google::protobuf::Arena* submessage_arena = NULL; |
1358 | if (message_arena != submessage_arena) { |
1359 | token = ::google::protobuf::internal::GetOwnedMessage( |
1360 | message_arena, token, submessage_arena); |
1361 | } |
1362 | set_has_token(); |
1363 | } else { |
1364 | clear_has_token(); |
1365 | } |
1366 | token_ = token; |
1367 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetDelegationTokenResponseProto.token) |
1368 | } |
1369 | |
1370 | // ------------------------------------------------------------------- |
1371 | |
1372 | // RenewDelegationTokenRequestProto |
1373 | |
1374 | // required .Hdfs.Internal.TokenProto token = 1; |
1375 | inline bool RenewDelegationTokenRequestProto::has_token() const { |
1376 | return (_has_bits_[0] & 0x00000001u) != 0; |
1377 | } |
1378 | inline void RenewDelegationTokenRequestProto::set_has_token() { |
1379 | _has_bits_[0] |= 0x00000001u; |
1380 | } |
1381 | inline void RenewDelegationTokenRequestProto::clear_has_token() { |
1382 | _has_bits_[0] &= ~0x00000001u; |
1383 | } |
1384 | inline void RenewDelegationTokenRequestProto::clear_token() { |
1385 | if (token_ != NULL) token_->Clear(); |
1386 | clear_has_token(); |
1387 | } |
1388 | inline const ::Hdfs::Internal::TokenProto& RenewDelegationTokenRequestProto::_internal_token() const { |
1389 | return *token_; |
1390 | } |
1391 | inline const ::Hdfs::Internal::TokenProto& RenewDelegationTokenRequestProto::token() const { |
1392 | const ::Hdfs::Internal::TokenProto* p = token_; |
1393 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RenewDelegationTokenRequestProto.token) |
1394 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::TokenProto*>( |
1395 | &::Hdfs::Internal::_TokenProto_default_instance_); |
1396 | } |
1397 | inline ::Hdfs::Internal::TokenProto* RenewDelegationTokenRequestProto::release_token() { |
1398 | // @@protoc_insertion_point(field_release:Hdfs.Internal.RenewDelegationTokenRequestProto.token) |
1399 | clear_has_token(); |
1400 | ::Hdfs::Internal::TokenProto* temp = token_; |
1401 | token_ = NULL; |
1402 | return temp; |
1403 | } |
1404 | inline ::Hdfs::Internal::TokenProto* RenewDelegationTokenRequestProto::mutable_token() { |
1405 | set_has_token(); |
1406 | if (token_ == NULL) { |
1407 | auto* p = CreateMaybeMessage<::Hdfs::Internal::TokenProto>(GetArenaNoVirtual()); |
1408 | token_ = p; |
1409 | } |
1410 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.RenewDelegationTokenRequestProto.token) |
1411 | return token_; |
1412 | } |
1413 | inline void RenewDelegationTokenRequestProto::set_allocated_token(::Hdfs::Internal::TokenProto* token) { |
1414 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1415 | if (message_arena == NULL) { |
1416 | delete token_; |
1417 | } |
1418 | if (token) { |
1419 | ::google::protobuf::Arena* submessage_arena = NULL; |
1420 | if (message_arena != submessage_arena) { |
1421 | token = ::google::protobuf::internal::GetOwnedMessage( |
1422 | message_arena, token, submessage_arena); |
1423 | } |
1424 | set_has_token(); |
1425 | } else { |
1426 | clear_has_token(); |
1427 | } |
1428 | token_ = token; |
1429 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.RenewDelegationTokenRequestProto.token) |
1430 | } |
1431 | |
1432 | // ------------------------------------------------------------------- |
1433 | |
1434 | // RenewDelegationTokenResponseProto |
1435 | |
1436 | // required uint64 newExpiryTime = 1; |
1437 | inline bool RenewDelegationTokenResponseProto::has_newexpirytime() const { |
1438 | return (_has_bits_[0] & 0x00000001u) != 0; |
1439 | } |
1440 | inline void RenewDelegationTokenResponseProto::set_has_newexpirytime() { |
1441 | _has_bits_[0] |= 0x00000001u; |
1442 | } |
1443 | inline void RenewDelegationTokenResponseProto::clear_has_newexpirytime() { |
1444 | _has_bits_[0] &= ~0x00000001u; |
1445 | } |
1446 | inline void RenewDelegationTokenResponseProto::clear_newexpirytime() { |
1447 | newexpirytime_ = GOOGLE_ULONGLONG(0); |
1448 | clear_has_newexpirytime(); |
1449 | } |
1450 | inline ::google::protobuf::uint64 RenewDelegationTokenResponseProto::newexpirytime() const { |
1451 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RenewDelegationTokenResponseProto.newExpiryTime) |
1452 | return newexpirytime_; |
1453 | } |
1454 | inline void RenewDelegationTokenResponseProto::set_newexpirytime(::google::protobuf::uint64 value) { |
1455 | set_has_newexpirytime(); |
1456 | newexpirytime_ = value; |
1457 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RenewDelegationTokenResponseProto.newExpiryTime) |
1458 | } |
1459 | |
1460 | // ------------------------------------------------------------------- |
1461 | |
1462 | // CancelDelegationTokenRequestProto |
1463 | |
1464 | // required .Hdfs.Internal.TokenProto token = 1; |
1465 | inline bool CancelDelegationTokenRequestProto::has_token() const { |
1466 | return (_has_bits_[0] & 0x00000001u) != 0; |
1467 | } |
1468 | inline void CancelDelegationTokenRequestProto::set_has_token() { |
1469 | _has_bits_[0] |= 0x00000001u; |
1470 | } |
1471 | inline void CancelDelegationTokenRequestProto::clear_has_token() { |
1472 | _has_bits_[0] &= ~0x00000001u; |
1473 | } |
1474 | inline void CancelDelegationTokenRequestProto::clear_token() { |
1475 | if (token_ != NULL) token_->Clear(); |
1476 | clear_has_token(); |
1477 | } |
1478 | inline const ::Hdfs::Internal::TokenProto& CancelDelegationTokenRequestProto::_internal_token() const { |
1479 | return *token_; |
1480 | } |
1481 | inline const ::Hdfs::Internal::TokenProto& CancelDelegationTokenRequestProto::token() const { |
1482 | const ::Hdfs::Internal::TokenProto* p = token_; |
1483 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CancelDelegationTokenRequestProto.token) |
1484 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::TokenProto*>( |
1485 | &::Hdfs::Internal::_TokenProto_default_instance_); |
1486 | } |
1487 | inline ::Hdfs::Internal::TokenProto* CancelDelegationTokenRequestProto::release_token() { |
1488 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CancelDelegationTokenRequestProto.token) |
1489 | clear_has_token(); |
1490 | ::Hdfs::Internal::TokenProto* temp = token_; |
1491 | token_ = NULL; |
1492 | return temp; |
1493 | } |
1494 | inline ::Hdfs::Internal::TokenProto* CancelDelegationTokenRequestProto::mutable_token() { |
1495 | set_has_token(); |
1496 | if (token_ == NULL) { |
1497 | auto* p = CreateMaybeMessage<::Hdfs::Internal::TokenProto>(GetArenaNoVirtual()); |
1498 | token_ = p; |
1499 | } |
1500 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CancelDelegationTokenRequestProto.token) |
1501 | return token_; |
1502 | } |
1503 | inline void CancelDelegationTokenRequestProto::set_allocated_token(::Hdfs::Internal::TokenProto* token) { |
1504 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1505 | if (message_arena == NULL) { |
1506 | delete token_; |
1507 | } |
1508 | if (token) { |
1509 | ::google::protobuf::Arena* submessage_arena = NULL; |
1510 | if (message_arena != submessage_arena) { |
1511 | token = ::google::protobuf::internal::GetOwnedMessage( |
1512 | message_arena, token, submessage_arena); |
1513 | } |
1514 | set_has_token(); |
1515 | } else { |
1516 | clear_has_token(); |
1517 | } |
1518 | token_ = token; |
1519 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CancelDelegationTokenRequestProto.token) |
1520 | } |
1521 | |
1522 | // ------------------------------------------------------------------- |
1523 | |
1524 | // CancelDelegationTokenResponseProto |
1525 | |
1526 | #ifdef __GNUC__ |
1527 | #pragma GCC diagnostic pop |
1528 | #endif // __GNUC__ |
1529 | // ------------------------------------------------------------------- |
1530 | |
1531 | // ------------------------------------------------------------------- |
1532 | |
1533 | // ------------------------------------------------------------------- |
1534 | |
1535 | // ------------------------------------------------------------------- |
1536 | |
1537 | // ------------------------------------------------------------------- |
1538 | |
1539 | // ------------------------------------------------------------------- |
1540 | |
1541 | |
1542 | // @@protoc_insertion_point(namespace_scope) |
1543 | |
1544 | } // namespace Internal |
1545 | } // namespace Hdfs |
1546 | |
1547 | // @@protoc_insertion_point(global_scope) |
1548 | |
1549 | #endif // PROTOBUF_INCLUDED_Security_2eproto |
1550 | |