github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/c-deps/libroach/protosccl/ccl/baseccl/encryption_options.pb.h (about) 1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: ccl/baseccl/encryption_options.proto 3 4 #ifndef PROTOBUF_INCLUDED_ccl_2fbaseccl_2fencryption_5foptions_2eproto 5 #define PROTOBUF_INCLUDED_ccl_2fbaseccl_2fencryption_5foptions_2eproto 6 7 #include <string> 8 9 #include <google/protobuf/stubs/common.h> 10 11 #if GOOGLE_PROTOBUF_VERSION < 3006000 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 3006000 < 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_lite.h> 29 #include <google/protobuf/message_lite.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/generated_enum_util.h> 33 // @@protoc_insertion_point(includes) 34 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ccl_2fbaseccl_2fencryption_5foptions_2eproto 35 36 namespace protobuf_ccl_2fbaseccl_2fencryption_5foptions_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[2]; 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 } // namespace protobuf_ccl_2fbaseccl_2fencryption_5foptions_2eproto 47 namespace cockroach { 48 namespace ccl { 49 namespace baseccl { 50 class EncryptionKeyFiles; 51 class EncryptionKeyFilesDefaultTypeInternal; 52 extern EncryptionKeyFilesDefaultTypeInternal _EncryptionKeyFiles_default_instance_; 53 class EncryptionOptions; 54 class EncryptionOptionsDefaultTypeInternal; 55 extern EncryptionOptionsDefaultTypeInternal _EncryptionOptions_default_instance_; 56 } // namespace baseccl 57 } // namespace ccl 58 } // namespace cockroach 59 namespace google { 60 namespace protobuf { 61 template<> ::cockroach::ccl::baseccl::EncryptionKeyFiles* Arena::CreateMaybeMessage<::cockroach::ccl::baseccl::EncryptionKeyFiles>(Arena*); 62 template<> ::cockroach::ccl::baseccl::EncryptionOptions* Arena::CreateMaybeMessage<::cockroach::ccl::baseccl::EncryptionOptions>(Arena*); 63 } // namespace protobuf 64 } // namespace google 65 namespace cockroach { 66 namespace ccl { 67 namespace baseccl { 68 69 enum EncryptionKeySource { 70 KeyFiles = 0, 71 EncryptionKeySource_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, 72 EncryptionKeySource_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max 73 }; 74 bool EncryptionKeySource_IsValid(int value); 75 const EncryptionKeySource EncryptionKeySource_MIN = KeyFiles; 76 const EncryptionKeySource EncryptionKeySource_MAX = KeyFiles; 77 const int EncryptionKeySource_ARRAYSIZE = EncryptionKeySource_MAX + 1; 78 79 // =================================================================== 80 81 class EncryptionKeyFiles : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.ccl.baseccl.EncryptionKeyFiles) */ { 82 public: 83 EncryptionKeyFiles(); 84 virtual ~EncryptionKeyFiles(); 85 86 EncryptionKeyFiles(const EncryptionKeyFiles& from); 87 88 inline EncryptionKeyFiles& operator=(const EncryptionKeyFiles& from) { 89 CopyFrom(from); 90 return *this; 91 } 92 #if LANG_CXX11 93 EncryptionKeyFiles(EncryptionKeyFiles&& from) noexcept 94 : EncryptionKeyFiles() { 95 *this = ::std::move(from); 96 } 97 98 inline EncryptionKeyFiles& operator=(EncryptionKeyFiles&& from) noexcept { 99 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 100 if (this != &from) InternalSwap(&from); 101 } else { 102 CopyFrom(from); 103 } 104 return *this; 105 } 106 #endif 107 static const EncryptionKeyFiles& default_instance(); 108 109 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 110 static inline const EncryptionKeyFiles* internal_default_instance() { 111 return reinterpret_cast<const EncryptionKeyFiles*>( 112 &_EncryptionKeyFiles_default_instance_); 113 } 114 static constexpr int kIndexInFileMessages = 115 0; 116 117 void Swap(EncryptionKeyFiles* other); 118 friend void swap(EncryptionKeyFiles& a, EncryptionKeyFiles& b) { 119 a.Swap(&b); 120 } 121 122 // implements Message ---------------------------------------------- 123 124 inline EncryptionKeyFiles* New() const final { 125 return CreateMaybeMessage<EncryptionKeyFiles>(NULL); 126 } 127 128 EncryptionKeyFiles* New(::google::protobuf::Arena* arena) const final { 129 return CreateMaybeMessage<EncryptionKeyFiles>(arena); 130 } 131 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 132 final; 133 void CopyFrom(const EncryptionKeyFiles& from); 134 void MergeFrom(const EncryptionKeyFiles& from); 135 void Clear() final; 136 bool IsInitialized() const final; 137 138 size_t ByteSizeLong() const final; 139 bool MergePartialFromCodedStream( 140 ::google::protobuf::io::CodedInputStream* input) final; 141 void SerializeWithCachedSizes( 142 ::google::protobuf::io::CodedOutputStream* output) const final; 143 void DiscardUnknownFields(); 144 int GetCachedSize() const final { return _cached_size_.Get(); } 145 146 private: 147 void SharedCtor(); 148 void SharedDtor(); 149 void SetCachedSize(int size) const; 150 void InternalSwap(EncryptionKeyFiles* other); 151 private: 152 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 153 return NULL; 154 } 155 inline void* MaybeArenaPtr() const { 156 return NULL; 157 } 158 public: 159 160 ::std::string GetTypeName() const final; 161 162 // nested types ---------------------------------------------------- 163 164 // accessors ------------------------------------------------------- 165 166 // string current_key = 1; 167 void clear_current_key(); 168 static const int kCurrentKeyFieldNumber = 1; 169 const ::std::string& current_key() const; 170 void set_current_key(const ::std::string& value); 171 #if LANG_CXX11 172 void set_current_key(::std::string&& value); 173 #endif 174 void set_current_key(const char* value); 175 void set_current_key(const char* value, size_t size); 176 ::std::string* mutable_current_key(); 177 ::std::string* release_current_key(); 178 void set_allocated_current_key(::std::string* current_key); 179 180 // string old_key = 2; 181 void clear_old_key(); 182 static const int kOldKeyFieldNumber = 2; 183 const ::std::string& old_key() const; 184 void set_old_key(const ::std::string& value); 185 #if LANG_CXX11 186 void set_old_key(::std::string&& value); 187 #endif 188 void set_old_key(const char* value); 189 void set_old_key(const char* value, size_t size); 190 ::std::string* mutable_old_key(); 191 ::std::string* release_old_key(); 192 void set_allocated_old_key(::std::string* old_key); 193 194 // @@protoc_insertion_point(class_scope:cockroach.ccl.baseccl.EncryptionKeyFiles) 195 private: 196 197 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 198 ::google::protobuf::internal::ArenaStringPtr current_key_; 199 ::google::protobuf::internal::ArenaStringPtr old_key_; 200 mutable ::google::protobuf::internal::CachedSize _cached_size_; 201 friend struct ::protobuf_ccl_2fbaseccl_2fencryption_5foptions_2eproto::TableStruct; 202 }; 203 // ------------------------------------------------------------------- 204 205 class EncryptionOptions : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.ccl.baseccl.EncryptionOptions) */ { 206 public: 207 EncryptionOptions(); 208 virtual ~EncryptionOptions(); 209 210 EncryptionOptions(const EncryptionOptions& from); 211 212 inline EncryptionOptions& operator=(const EncryptionOptions& from) { 213 CopyFrom(from); 214 return *this; 215 } 216 #if LANG_CXX11 217 EncryptionOptions(EncryptionOptions&& from) noexcept 218 : EncryptionOptions() { 219 *this = ::std::move(from); 220 } 221 222 inline EncryptionOptions& operator=(EncryptionOptions&& from) noexcept { 223 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 224 if (this != &from) InternalSwap(&from); 225 } else { 226 CopyFrom(from); 227 } 228 return *this; 229 } 230 #endif 231 static const EncryptionOptions& default_instance(); 232 233 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 234 static inline const EncryptionOptions* internal_default_instance() { 235 return reinterpret_cast<const EncryptionOptions*>( 236 &_EncryptionOptions_default_instance_); 237 } 238 static constexpr int kIndexInFileMessages = 239 1; 240 241 void Swap(EncryptionOptions* other); 242 friend void swap(EncryptionOptions& a, EncryptionOptions& b) { 243 a.Swap(&b); 244 } 245 246 // implements Message ---------------------------------------------- 247 248 inline EncryptionOptions* New() const final { 249 return CreateMaybeMessage<EncryptionOptions>(NULL); 250 } 251 252 EncryptionOptions* New(::google::protobuf::Arena* arena) const final { 253 return CreateMaybeMessage<EncryptionOptions>(arena); 254 } 255 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 256 final; 257 void CopyFrom(const EncryptionOptions& from); 258 void MergeFrom(const EncryptionOptions& from); 259 void Clear() final; 260 bool IsInitialized() const final; 261 262 size_t ByteSizeLong() const final; 263 bool MergePartialFromCodedStream( 264 ::google::protobuf::io::CodedInputStream* input) final; 265 void SerializeWithCachedSizes( 266 ::google::protobuf::io::CodedOutputStream* output) const final; 267 void DiscardUnknownFields(); 268 int GetCachedSize() const final { return _cached_size_.Get(); } 269 270 private: 271 void SharedCtor(); 272 void SharedDtor(); 273 void SetCachedSize(int size) const; 274 void InternalSwap(EncryptionOptions* other); 275 private: 276 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 277 return NULL; 278 } 279 inline void* MaybeArenaPtr() const { 280 return NULL; 281 } 282 public: 283 284 ::std::string GetTypeName() const final; 285 286 // nested types ---------------------------------------------------- 287 288 // accessors ------------------------------------------------------- 289 290 // .cockroach.ccl.baseccl.EncryptionKeyFiles key_files = 2; 291 bool has_key_files() const; 292 void clear_key_files(); 293 static const int kKeyFilesFieldNumber = 2; 294 private: 295 const ::cockroach::ccl::baseccl::EncryptionKeyFiles& _internal_key_files() const; 296 public: 297 const ::cockroach::ccl::baseccl::EncryptionKeyFiles& key_files() const; 298 ::cockroach::ccl::baseccl::EncryptionKeyFiles* release_key_files(); 299 ::cockroach::ccl::baseccl::EncryptionKeyFiles* mutable_key_files(); 300 void set_allocated_key_files(::cockroach::ccl::baseccl::EncryptionKeyFiles* key_files); 301 302 // int64 data_key_rotation_period = 3; 303 void clear_data_key_rotation_period(); 304 static const int kDataKeyRotationPeriodFieldNumber = 3; 305 ::google::protobuf::int64 data_key_rotation_period() const; 306 void set_data_key_rotation_period(::google::protobuf::int64 value); 307 308 // .cockroach.ccl.baseccl.EncryptionKeySource key_source = 1; 309 void clear_key_source(); 310 static const int kKeySourceFieldNumber = 1; 311 ::cockroach::ccl::baseccl::EncryptionKeySource key_source() const; 312 void set_key_source(::cockroach::ccl::baseccl::EncryptionKeySource value); 313 314 // @@protoc_insertion_point(class_scope:cockroach.ccl.baseccl.EncryptionOptions) 315 private: 316 317 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 318 ::cockroach::ccl::baseccl::EncryptionKeyFiles* key_files_; 319 ::google::protobuf::int64 data_key_rotation_period_; 320 int key_source_; 321 mutable ::google::protobuf::internal::CachedSize _cached_size_; 322 friend struct ::protobuf_ccl_2fbaseccl_2fencryption_5foptions_2eproto::TableStruct; 323 }; 324 // =================================================================== 325 326 327 // =================================================================== 328 329 #ifdef __GNUC__ 330 #pragma GCC diagnostic push 331 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 332 #endif // __GNUC__ 333 // EncryptionKeyFiles 334 335 // string current_key = 1; 336 inline void EncryptionKeyFiles::clear_current_key() { 337 current_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 338 } 339 inline const ::std::string& EncryptionKeyFiles::current_key() const { 340 // @@protoc_insertion_point(field_get:cockroach.ccl.baseccl.EncryptionKeyFiles.current_key) 341 return current_key_.GetNoArena(); 342 } 343 inline void EncryptionKeyFiles::set_current_key(const ::std::string& value) { 344 345 current_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 346 // @@protoc_insertion_point(field_set:cockroach.ccl.baseccl.EncryptionKeyFiles.current_key) 347 } 348 #if LANG_CXX11 349 inline void EncryptionKeyFiles::set_current_key(::std::string&& value) { 350 351 current_key_.SetNoArena( 352 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 353 // @@protoc_insertion_point(field_set_rvalue:cockroach.ccl.baseccl.EncryptionKeyFiles.current_key) 354 } 355 #endif 356 inline void EncryptionKeyFiles::set_current_key(const char* value) { 357 GOOGLE_DCHECK(value != NULL); 358 359 current_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 360 // @@protoc_insertion_point(field_set_char:cockroach.ccl.baseccl.EncryptionKeyFiles.current_key) 361 } 362 inline void EncryptionKeyFiles::set_current_key(const char* value, size_t size) { 363 364 current_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 365 ::std::string(reinterpret_cast<const char*>(value), size)); 366 // @@protoc_insertion_point(field_set_pointer:cockroach.ccl.baseccl.EncryptionKeyFiles.current_key) 367 } 368 inline ::std::string* EncryptionKeyFiles::mutable_current_key() { 369 370 // @@protoc_insertion_point(field_mutable:cockroach.ccl.baseccl.EncryptionKeyFiles.current_key) 371 return current_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 372 } 373 inline ::std::string* EncryptionKeyFiles::release_current_key() { 374 // @@protoc_insertion_point(field_release:cockroach.ccl.baseccl.EncryptionKeyFiles.current_key) 375 376 return current_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 377 } 378 inline void EncryptionKeyFiles::set_allocated_current_key(::std::string* current_key) { 379 if (current_key != NULL) { 380 381 } else { 382 383 } 384 current_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), current_key); 385 // @@protoc_insertion_point(field_set_allocated:cockroach.ccl.baseccl.EncryptionKeyFiles.current_key) 386 } 387 388 // string old_key = 2; 389 inline void EncryptionKeyFiles::clear_old_key() { 390 old_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 391 } 392 inline const ::std::string& EncryptionKeyFiles::old_key() const { 393 // @@protoc_insertion_point(field_get:cockroach.ccl.baseccl.EncryptionKeyFiles.old_key) 394 return old_key_.GetNoArena(); 395 } 396 inline void EncryptionKeyFiles::set_old_key(const ::std::string& value) { 397 398 old_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 399 // @@protoc_insertion_point(field_set:cockroach.ccl.baseccl.EncryptionKeyFiles.old_key) 400 } 401 #if LANG_CXX11 402 inline void EncryptionKeyFiles::set_old_key(::std::string&& value) { 403 404 old_key_.SetNoArena( 405 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 406 // @@protoc_insertion_point(field_set_rvalue:cockroach.ccl.baseccl.EncryptionKeyFiles.old_key) 407 } 408 #endif 409 inline void EncryptionKeyFiles::set_old_key(const char* value) { 410 GOOGLE_DCHECK(value != NULL); 411 412 old_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 413 // @@protoc_insertion_point(field_set_char:cockroach.ccl.baseccl.EncryptionKeyFiles.old_key) 414 } 415 inline void EncryptionKeyFiles::set_old_key(const char* value, size_t size) { 416 417 old_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 418 ::std::string(reinterpret_cast<const char*>(value), size)); 419 // @@protoc_insertion_point(field_set_pointer:cockroach.ccl.baseccl.EncryptionKeyFiles.old_key) 420 } 421 inline ::std::string* EncryptionKeyFiles::mutable_old_key() { 422 423 // @@protoc_insertion_point(field_mutable:cockroach.ccl.baseccl.EncryptionKeyFiles.old_key) 424 return old_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 425 } 426 inline ::std::string* EncryptionKeyFiles::release_old_key() { 427 // @@protoc_insertion_point(field_release:cockroach.ccl.baseccl.EncryptionKeyFiles.old_key) 428 429 return old_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 430 } 431 inline void EncryptionKeyFiles::set_allocated_old_key(::std::string* old_key) { 432 if (old_key != NULL) { 433 434 } else { 435 436 } 437 old_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), old_key); 438 // @@protoc_insertion_point(field_set_allocated:cockroach.ccl.baseccl.EncryptionKeyFiles.old_key) 439 } 440 441 // ------------------------------------------------------------------- 442 443 // EncryptionOptions 444 445 // .cockroach.ccl.baseccl.EncryptionKeySource key_source = 1; 446 inline void EncryptionOptions::clear_key_source() { 447 key_source_ = 0; 448 } 449 inline ::cockroach::ccl::baseccl::EncryptionKeySource EncryptionOptions::key_source() const { 450 // @@protoc_insertion_point(field_get:cockroach.ccl.baseccl.EncryptionOptions.key_source) 451 return static_cast< ::cockroach::ccl::baseccl::EncryptionKeySource >(key_source_); 452 } 453 inline void EncryptionOptions::set_key_source(::cockroach::ccl::baseccl::EncryptionKeySource value) { 454 455 key_source_ = value; 456 // @@protoc_insertion_point(field_set:cockroach.ccl.baseccl.EncryptionOptions.key_source) 457 } 458 459 // .cockroach.ccl.baseccl.EncryptionKeyFiles key_files = 2; 460 inline bool EncryptionOptions::has_key_files() const { 461 return this != internal_default_instance() && key_files_ != NULL; 462 } 463 inline void EncryptionOptions::clear_key_files() { 464 if (GetArenaNoVirtual() == NULL && key_files_ != NULL) { 465 delete key_files_; 466 } 467 key_files_ = NULL; 468 } 469 inline const ::cockroach::ccl::baseccl::EncryptionKeyFiles& EncryptionOptions::_internal_key_files() const { 470 return *key_files_; 471 } 472 inline const ::cockroach::ccl::baseccl::EncryptionKeyFiles& EncryptionOptions::key_files() const { 473 const ::cockroach::ccl::baseccl::EncryptionKeyFiles* p = key_files_; 474 // @@protoc_insertion_point(field_get:cockroach.ccl.baseccl.EncryptionOptions.key_files) 475 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::ccl::baseccl::EncryptionKeyFiles*>( 476 &::cockroach::ccl::baseccl::_EncryptionKeyFiles_default_instance_); 477 } 478 inline ::cockroach::ccl::baseccl::EncryptionKeyFiles* EncryptionOptions::release_key_files() { 479 // @@protoc_insertion_point(field_release:cockroach.ccl.baseccl.EncryptionOptions.key_files) 480 481 ::cockroach::ccl::baseccl::EncryptionKeyFiles* temp = key_files_; 482 key_files_ = NULL; 483 return temp; 484 } 485 inline ::cockroach::ccl::baseccl::EncryptionKeyFiles* EncryptionOptions::mutable_key_files() { 486 487 if (key_files_ == NULL) { 488 auto* p = CreateMaybeMessage<::cockroach::ccl::baseccl::EncryptionKeyFiles>(GetArenaNoVirtual()); 489 key_files_ = p; 490 } 491 // @@protoc_insertion_point(field_mutable:cockroach.ccl.baseccl.EncryptionOptions.key_files) 492 return key_files_; 493 } 494 inline void EncryptionOptions::set_allocated_key_files(::cockroach::ccl::baseccl::EncryptionKeyFiles* key_files) { 495 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 496 if (message_arena == NULL) { 497 delete key_files_; 498 } 499 if (key_files) { 500 ::google::protobuf::Arena* submessage_arena = NULL; 501 if (message_arena != submessage_arena) { 502 key_files = ::google::protobuf::internal::GetOwnedMessage( 503 message_arena, key_files, submessage_arena); 504 } 505 506 } else { 507 508 } 509 key_files_ = key_files; 510 // @@protoc_insertion_point(field_set_allocated:cockroach.ccl.baseccl.EncryptionOptions.key_files) 511 } 512 513 // int64 data_key_rotation_period = 3; 514 inline void EncryptionOptions::clear_data_key_rotation_period() { 515 data_key_rotation_period_ = GOOGLE_LONGLONG(0); 516 } 517 inline ::google::protobuf::int64 EncryptionOptions::data_key_rotation_period() const { 518 // @@protoc_insertion_point(field_get:cockroach.ccl.baseccl.EncryptionOptions.data_key_rotation_period) 519 return data_key_rotation_period_; 520 } 521 inline void EncryptionOptions::set_data_key_rotation_period(::google::protobuf::int64 value) { 522 523 data_key_rotation_period_ = value; 524 // @@protoc_insertion_point(field_set:cockroach.ccl.baseccl.EncryptionOptions.data_key_rotation_period) 525 } 526 527 #ifdef __GNUC__ 528 #pragma GCC diagnostic pop 529 #endif // __GNUC__ 530 // ------------------------------------------------------------------- 531 532 533 // @@protoc_insertion_point(namespace_scope) 534 535 } // namespace baseccl 536 } // namespace ccl 537 } // namespace cockroach 538 539 namespace google { 540 namespace protobuf { 541 542 template <> struct is_proto_enum< ::cockroach::ccl::baseccl::EncryptionKeySource> : ::std::true_type {}; 543 544 } // namespace protobuf 545 } // namespace google 546 547 // @@protoc_insertion_point(global_scope) 548 549 #endif // PROTOBUF_INCLUDED_ccl_2fbaseccl_2fencryption_5foptions_2eproto