github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/c-deps/libroach/protos/kv/kvserver/concurrency/lock/locking.pb.h (about) 1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: kv/kvserver/concurrency/lock/locking.proto 3 4 #ifndef PROTOBUF_INCLUDED_kv_2fkvserver_2fconcurrency_2flock_2flocking_2eproto 5 #define PROTOBUF_INCLUDED_kv_2fkvserver_2fconcurrency_2flock_2flocking_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/repeated_field.h> // IWYU pragma: export 30 #include <google/protobuf/extension_set.h> // IWYU pragma: export 31 #include <google/protobuf/generated_enum_util.h> 32 // @@protoc_insertion_point(includes) 33 #define PROTOBUF_INTERNAL_EXPORT_protobuf_kv_2fkvserver_2fconcurrency_2flock_2flocking_2eproto 34 35 namespace protobuf_kv_2fkvserver_2fconcurrency_2flock_2flocking_2eproto { 36 // Internal implementation detail -- do not use these members. 37 struct TableStruct { 38 static const ::google::protobuf::internal::ParseTableField entries[]; 39 static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; 40 static const ::google::protobuf::internal::ParseTable schema[1]; 41 static const ::google::protobuf::internal::FieldMetadata field_metadata[]; 42 static const ::google::protobuf::internal::SerializationTable serialization_table[]; 43 static const ::google::protobuf::uint32 offsets[]; 44 }; 45 } // namespace protobuf_kv_2fkvserver_2fconcurrency_2flock_2flocking_2eproto 46 namespace cockroach { 47 namespace kv { 48 namespace kvserver { 49 namespace concurrency { 50 namespace lock { 51 } // namespace lock 52 } // namespace concurrency 53 } // namespace kvserver 54 } // namespace kv 55 } // namespace cockroach 56 namespace cockroach { 57 namespace kv { 58 namespace kvserver { 59 namespace concurrency { 60 namespace lock { 61 62 enum Strength { 63 None = 0, 64 Shared = 1, 65 Upgrade = 2, 66 Exclusive = 3, 67 Strength_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, 68 Strength_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max 69 }; 70 bool Strength_IsValid(int value); 71 const Strength Strength_MIN = None; 72 const Strength Strength_MAX = Exclusive; 73 const int Strength_ARRAYSIZE = Strength_MAX + 1; 74 75 enum Durability { 76 Replicated = 0, 77 Unreplicated = 1, 78 Durability_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, 79 Durability_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max 80 }; 81 bool Durability_IsValid(int value); 82 const Durability Durability_MIN = Replicated; 83 const Durability Durability_MAX = Unreplicated; 84 const int Durability_ARRAYSIZE = Durability_MAX + 1; 85 86 // =================================================================== 87 88 89 // =================================================================== 90 91 92 // =================================================================== 93 94 #ifdef __GNUC__ 95 #pragma GCC diagnostic push 96 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 97 #endif // __GNUC__ 98 #ifdef __GNUC__ 99 #pragma GCC diagnostic pop 100 #endif // __GNUC__ 101 102 // @@protoc_insertion_point(namespace_scope) 103 104 } // namespace lock 105 } // namespace concurrency 106 } // namespace kvserver 107 } // namespace kv 108 } // namespace cockroach 109 110 namespace google { 111 namespace protobuf { 112 113 template <> struct is_proto_enum< ::cockroach::kv::kvserver::concurrency::lock::Strength> : ::std::true_type {}; 114 template <> struct is_proto_enum< ::cockroach::kv::kvserver::concurrency::lock::Durability> : ::std::true_type {}; 115 116 } // namespace protobuf 117 } // namespace google 118 119 // @@protoc_insertion_point(global_scope) 120 121 #endif // PROTOBUF_INCLUDED_kv_2fkvserver_2fconcurrency_2flock_2flocking_2eproto