github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/c-deps/libroach/protosccl/ccl/storageccl/engineccl/enginepbccl/stats.pb.h (about)

     1  // Generated by the protocol buffer compiler.  DO NOT EDIT!
     2  // source: ccl/storageccl/engineccl/enginepbccl/stats.proto
     3  
     4  #ifndef PROTOBUF_INCLUDED_ccl_2fstorageccl_2fengineccl_2fenginepbccl_2fstats_2eproto
     5  #define PROTOBUF_INCLUDED_ccl_2fstorageccl_2fengineccl_2fenginepbccl_2fstats_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 "ccl/storageccl/engineccl/enginepbccl/key_registry.pb.h"
    33  // @@protoc_insertion_point(includes)
    34  #define PROTOBUF_INTERNAL_EXPORT_protobuf_ccl_2fstorageccl_2fengineccl_2fenginepbccl_2fstats_2eproto 
    35  
    36  namespace protobuf_ccl_2fstorageccl_2fengineccl_2fenginepbccl_2fstats_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[1];
    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_2fstorageccl_2fengineccl_2fenginepbccl_2fstats_2eproto
    47  namespace cockroach {
    48  namespace ccl {
    49  namespace storageccl {
    50  namespace engineccl {
    51  namespace enginepbccl {
    52  class EncryptionStatus;
    53  class EncryptionStatusDefaultTypeInternal;
    54  extern EncryptionStatusDefaultTypeInternal _EncryptionStatus_default_instance_;
    55  }  // namespace enginepbccl
    56  }  // namespace engineccl
    57  }  // namespace storageccl
    58  }  // namespace ccl
    59  }  // namespace cockroach
    60  namespace google {
    61  namespace protobuf {
    62  template<> ::cockroach::ccl::storageccl::engineccl::enginepbccl::EncryptionStatus* Arena::CreateMaybeMessage<::cockroach::ccl::storageccl::engineccl::enginepbccl::EncryptionStatus>(Arena*);
    63  }  // namespace protobuf
    64  }  // namespace google
    65  namespace cockroach {
    66  namespace ccl {
    67  namespace storageccl {
    68  namespace engineccl {
    69  namespace enginepbccl {
    70  
    71  // ===================================================================
    72  
    73  class EncryptionStatus : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.ccl.storageccl.engineccl.enginepbccl.EncryptionStatus) */ {
    74   public:
    75    EncryptionStatus();
    76    virtual ~EncryptionStatus();
    77  
    78    EncryptionStatus(const EncryptionStatus& from);
    79  
    80    inline EncryptionStatus& operator=(const EncryptionStatus& from) {
    81      CopyFrom(from);
    82      return *this;
    83    }
    84    #if LANG_CXX11
    85    EncryptionStatus(EncryptionStatus&& from) noexcept
    86      : EncryptionStatus() {
    87      *this = ::std::move(from);
    88    }
    89  
    90    inline EncryptionStatus& operator=(EncryptionStatus&& from) noexcept {
    91      if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
    92        if (this != &from) InternalSwap(&from);
    93      } else {
    94        CopyFrom(from);
    95      }
    96      return *this;
    97    }
    98    #endif
    99    static const EncryptionStatus& default_instance();
   100  
   101    static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
   102    static inline const EncryptionStatus* internal_default_instance() {
   103      return reinterpret_cast<const EncryptionStatus*>(
   104                 &_EncryptionStatus_default_instance_);
   105    }
   106    static constexpr int kIndexInFileMessages =
   107      0;
   108  
   109    void Swap(EncryptionStatus* other);
   110    friend void swap(EncryptionStatus& a, EncryptionStatus& b) {
   111      a.Swap(&b);
   112    }
   113  
   114    // implements Message ----------------------------------------------
   115  
   116    inline EncryptionStatus* New() const final {
   117      return CreateMaybeMessage<EncryptionStatus>(NULL);
   118    }
   119  
   120    EncryptionStatus* New(::google::protobuf::Arena* arena) const final {
   121      return CreateMaybeMessage<EncryptionStatus>(arena);
   122    }
   123    void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
   124      final;
   125    void CopyFrom(const EncryptionStatus& from);
   126    void MergeFrom(const EncryptionStatus& from);
   127    void Clear() final;
   128    bool IsInitialized() const final;
   129  
   130    size_t ByteSizeLong() const final;
   131    bool MergePartialFromCodedStream(
   132        ::google::protobuf::io::CodedInputStream* input) final;
   133    void SerializeWithCachedSizes(
   134        ::google::protobuf::io::CodedOutputStream* output) const final;
   135    void DiscardUnknownFields();
   136    int GetCachedSize() const final { return _cached_size_.Get(); }
   137  
   138    private:
   139    void SharedCtor();
   140    void SharedDtor();
   141    void SetCachedSize(int size) const;
   142    void InternalSwap(EncryptionStatus* other);
   143    private:
   144    inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
   145      return NULL;
   146    }
   147    inline void* MaybeArenaPtr() const {
   148      return NULL;
   149    }
   150    public:
   151  
   152    ::std::string GetTypeName() const final;
   153  
   154    // nested types ----------------------------------------------------
   155  
   156    // accessors -------------------------------------------------------
   157  
   158    // .cockroach.ccl.storageccl.engineccl.enginepbccl.KeyInfo active_store_key = 1;
   159    bool has_active_store_key() const;
   160    void clear_active_store_key();
   161    static const int kActiveStoreKeyFieldNumber = 1;
   162    private:
   163    const ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo& _internal_active_store_key() const;
   164    public:
   165    const ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo& active_store_key() const;
   166    ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* release_active_store_key();
   167    ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* mutable_active_store_key();
   168    void set_allocated_active_store_key(::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* active_store_key);
   169  
   170    // .cockroach.ccl.storageccl.engineccl.enginepbccl.KeyInfo active_data_key = 2;
   171    bool has_active_data_key() const;
   172    void clear_active_data_key();
   173    static const int kActiveDataKeyFieldNumber = 2;
   174    private:
   175    const ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo& _internal_active_data_key() const;
   176    public:
   177    const ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo& active_data_key() const;
   178    ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* release_active_data_key();
   179    ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* mutable_active_data_key();
   180    void set_allocated_active_data_key(::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* active_data_key);
   181  
   182    // @@protoc_insertion_point(class_scope:cockroach.ccl.storageccl.engineccl.enginepbccl.EncryptionStatus)
   183   private:
   184  
   185    ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
   186    ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* active_store_key_;
   187    ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* active_data_key_;
   188    mutable ::google::protobuf::internal::CachedSize _cached_size_;
   189    friend struct ::protobuf_ccl_2fstorageccl_2fengineccl_2fenginepbccl_2fstats_2eproto::TableStruct;
   190  };
   191  // ===================================================================
   192  
   193  
   194  // ===================================================================
   195  
   196  #ifdef __GNUC__
   197    #pragma GCC diagnostic push
   198    #pragma GCC diagnostic ignored "-Wstrict-aliasing"
   199  #endif  // __GNUC__
   200  // EncryptionStatus
   201  
   202  // .cockroach.ccl.storageccl.engineccl.enginepbccl.KeyInfo active_store_key = 1;
   203  inline bool EncryptionStatus::has_active_store_key() const {
   204    return this != internal_default_instance() && active_store_key_ != NULL;
   205  }
   206  inline const ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo& EncryptionStatus::_internal_active_store_key() const {
   207    return *active_store_key_;
   208  }
   209  inline const ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo& EncryptionStatus::active_store_key() const {
   210    const ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* p = active_store_key_;
   211    // @@protoc_insertion_point(field_get:cockroach.ccl.storageccl.engineccl.enginepbccl.EncryptionStatus.active_store_key)
   212    return p != NULL ? *p : *reinterpret_cast<const ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo*>(
   213        &::cockroach::ccl::storageccl::engineccl::enginepbccl::_KeyInfo_default_instance_);
   214  }
   215  inline ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* EncryptionStatus::release_active_store_key() {
   216    // @@protoc_insertion_point(field_release:cockroach.ccl.storageccl.engineccl.enginepbccl.EncryptionStatus.active_store_key)
   217    
   218    ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* temp = active_store_key_;
   219    active_store_key_ = NULL;
   220    return temp;
   221  }
   222  inline ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* EncryptionStatus::mutable_active_store_key() {
   223    
   224    if (active_store_key_ == NULL) {
   225      auto* p = CreateMaybeMessage<::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo>(GetArenaNoVirtual());
   226      active_store_key_ = p;
   227    }
   228    // @@protoc_insertion_point(field_mutable:cockroach.ccl.storageccl.engineccl.enginepbccl.EncryptionStatus.active_store_key)
   229    return active_store_key_;
   230  }
   231  inline void EncryptionStatus::set_allocated_active_store_key(::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* active_store_key) {
   232    ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
   233    if (message_arena == NULL) {
   234      delete reinterpret_cast< ::google::protobuf::MessageLite*>(active_store_key_);
   235    }
   236    if (active_store_key) {
   237      ::google::protobuf::Arena* submessage_arena = NULL;
   238      if (message_arena != submessage_arena) {
   239        active_store_key = ::google::protobuf::internal::GetOwnedMessage(
   240            message_arena, active_store_key, submessage_arena);
   241      }
   242      
   243    } else {
   244      
   245    }
   246    active_store_key_ = active_store_key;
   247    // @@protoc_insertion_point(field_set_allocated:cockroach.ccl.storageccl.engineccl.enginepbccl.EncryptionStatus.active_store_key)
   248  }
   249  
   250  // .cockroach.ccl.storageccl.engineccl.enginepbccl.KeyInfo active_data_key = 2;
   251  inline bool EncryptionStatus::has_active_data_key() const {
   252    return this != internal_default_instance() && active_data_key_ != NULL;
   253  }
   254  inline const ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo& EncryptionStatus::_internal_active_data_key() const {
   255    return *active_data_key_;
   256  }
   257  inline const ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo& EncryptionStatus::active_data_key() const {
   258    const ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* p = active_data_key_;
   259    // @@protoc_insertion_point(field_get:cockroach.ccl.storageccl.engineccl.enginepbccl.EncryptionStatus.active_data_key)
   260    return p != NULL ? *p : *reinterpret_cast<const ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo*>(
   261        &::cockroach::ccl::storageccl::engineccl::enginepbccl::_KeyInfo_default_instance_);
   262  }
   263  inline ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* EncryptionStatus::release_active_data_key() {
   264    // @@protoc_insertion_point(field_release:cockroach.ccl.storageccl.engineccl.enginepbccl.EncryptionStatus.active_data_key)
   265    
   266    ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* temp = active_data_key_;
   267    active_data_key_ = NULL;
   268    return temp;
   269  }
   270  inline ::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* EncryptionStatus::mutable_active_data_key() {
   271    
   272    if (active_data_key_ == NULL) {
   273      auto* p = CreateMaybeMessage<::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo>(GetArenaNoVirtual());
   274      active_data_key_ = p;
   275    }
   276    // @@protoc_insertion_point(field_mutable:cockroach.ccl.storageccl.engineccl.enginepbccl.EncryptionStatus.active_data_key)
   277    return active_data_key_;
   278  }
   279  inline void EncryptionStatus::set_allocated_active_data_key(::cockroach::ccl::storageccl::engineccl::enginepbccl::KeyInfo* active_data_key) {
   280    ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
   281    if (message_arena == NULL) {
   282      delete reinterpret_cast< ::google::protobuf::MessageLite*>(active_data_key_);
   283    }
   284    if (active_data_key) {
   285      ::google::protobuf::Arena* submessage_arena = NULL;
   286      if (message_arena != submessage_arena) {
   287        active_data_key = ::google::protobuf::internal::GetOwnedMessage(
   288            message_arena, active_data_key, submessage_arena);
   289      }
   290      
   291    } else {
   292      
   293    }
   294    active_data_key_ = active_data_key;
   295    // @@protoc_insertion_point(field_set_allocated:cockroach.ccl.storageccl.engineccl.enginepbccl.EncryptionStatus.active_data_key)
   296  }
   297  
   298  #ifdef __GNUC__
   299    #pragma GCC diagnostic pop
   300  #endif  // __GNUC__
   301  
   302  // @@protoc_insertion_point(namespace_scope)
   303  
   304  }  // namespace enginepbccl
   305  }  // namespace engineccl
   306  }  // namespace storageccl
   307  }  // namespace ccl
   308  }  // namespace cockroach
   309  
   310  // @@protoc_insertion_point(global_scope)
   311  
   312  #endif  // PROTOBUF_INCLUDED_ccl_2fstorageccl_2fengineccl_2fenginepbccl_2fstats_2eproto