github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/c-deps/libroach/protos/util/log/log.pb.h (about)

     1  // Generated by the protocol buffer compiler.  DO NOT EDIT!
     2  // source: util/log/log.proto
     3  
     4  #ifndef PROTOBUF_INCLUDED_util_2flog_2flog_2eproto
     5  #define PROTOBUF_INCLUDED_util_2flog_2flog_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_util_2flog_2flog_2eproto 
    35  
    36  namespace protobuf_util_2flog_2flog_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[3];
    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_util_2flog_2flog_2eproto
    47  namespace cockroach {
    48  namespace util {
    49  namespace log {
    50  class Entry;
    51  class EntryDefaultTypeInternal;
    52  extern EntryDefaultTypeInternal _Entry_default_instance_;
    53  class FileDetails;
    54  class FileDetailsDefaultTypeInternal;
    55  extern FileDetailsDefaultTypeInternal _FileDetails_default_instance_;
    56  class FileInfo;
    57  class FileInfoDefaultTypeInternal;
    58  extern FileInfoDefaultTypeInternal _FileInfo_default_instance_;
    59  }  // namespace log
    60  }  // namespace util
    61  }  // namespace cockroach
    62  namespace google {
    63  namespace protobuf {
    64  template<> ::cockroach::util::log::Entry* Arena::CreateMaybeMessage<::cockroach::util::log::Entry>(Arena*);
    65  template<> ::cockroach::util::log::FileDetails* Arena::CreateMaybeMessage<::cockroach::util::log::FileDetails>(Arena*);
    66  template<> ::cockroach::util::log::FileInfo* Arena::CreateMaybeMessage<::cockroach::util::log::FileInfo>(Arena*);
    67  }  // namespace protobuf
    68  }  // namespace google
    69  namespace cockroach {
    70  namespace util {
    71  namespace log {
    72  
    73  enum Severity {
    74    UNKNOWN = 0,
    75    INFO = 1,
    76    WARNING = 2,
    77    ERROR = 3,
    78    FATAL = 4,
    79    NONE = 5,
    80    DEFAULT = 6,
    81    Severity_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
    82    Severity_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
    83  };
    84  bool Severity_IsValid(int value);
    85  const Severity Severity_MIN = UNKNOWN;
    86  const Severity Severity_MAX = DEFAULT;
    87  const int Severity_ARRAYSIZE = Severity_MAX + 1;
    88  
    89  // ===================================================================
    90  
    91  class Entry : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.util.log.Entry) */ {
    92   public:
    93    Entry();
    94    virtual ~Entry();
    95  
    96    Entry(const Entry& from);
    97  
    98    inline Entry& operator=(const Entry& from) {
    99      CopyFrom(from);
   100      return *this;
   101    }
   102    #if LANG_CXX11
   103    Entry(Entry&& from) noexcept
   104      : Entry() {
   105      *this = ::std::move(from);
   106    }
   107  
   108    inline Entry& operator=(Entry&& from) noexcept {
   109      if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
   110        if (this != &from) InternalSwap(&from);
   111      } else {
   112        CopyFrom(from);
   113      }
   114      return *this;
   115    }
   116    #endif
   117    static const Entry& default_instance();
   118  
   119    static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
   120    static inline const Entry* internal_default_instance() {
   121      return reinterpret_cast<const Entry*>(
   122                 &_Entry_default_instance_);
   123    }
   124    static constexpr int kIndexInFileMessages =
   125      0;
   126  
   127    void Swap(Entry* other);
   128    friend void swap(Entry& a, Entry& b) {
   129      a.Swap(&b);
   130    }
   131  
   132    // implements Message ----------------------------------------------
   133  
   134    inline Entry* New() const final {
   135      return CreateMaybeMessage<Entry>(NULL);
   136    }
   137  
   138    Entry* New(::google::protobuf::Arena* arena) const final {
   139      return CreateMaybeMessage<Entry>(arena);
   140    }
   141    void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
   142      final;
   143    void CopyFrom(const Entry& from);
   144    void MergeFrom(const Entry& from);
   145    void Clear() final;
   146    bool IsInitialized() const final;
   147  
   148    size_t ByteSizeLong() const final;
   149    bool MergePartialFromCodedStream(
   150        ::google::protobuf::io::CodedInputStream* input) final;
   151    void SerializeWithCachedSizes(
   152        ::google::protobuf::io::CodedOutputStream* output) const final;
   153    void DiscardUnknownFields();
   154    int GetCachedSize() const final { return _cached_size_.Get(); }
   155  
   156    private:
   157    void SharedCtor();
   158    void SharedDtor();
   159    void SetCachedSize(int size) const;
   160    void InternalSwap(Entry* other);
   161    private:
   162    inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
   163      return NULL;
   164    }
   165    inline void* MaybeArenaPtr() const {
   166      return NULL;
   167    }
   168    public:
   169  
   170    ::std::string GetTypeName() const final;
   171  
   172    // nested types ----------------------------------------------------
   173  
   174    // accessors -------------------------------------------------------
   175  
   176    // string file = 3;
   177    void clear_file();
   178    static const int kFileFieldNumber = 3;
   179    const ::std::string& file() const;
   180    void set_file(const ::std::string& value);
   181    #if LANG_CXX11
   182    void set_file(::std::string&& value);
   183    #endif
   184    void set_file(const char* value);
   185    void set_file(const char* value, size_t size);
   186    ::std::string* mutable_file();
   187    ::std::string* release_file();
   188    void set_allocated_file(::std::string* file);
   189  
   190    // string message = 5;
   191    void clear_message();
   192    static const int kMessageFieldNumber = 5;
   193    const ::std::string& message() const;
   194    void set_message(const ::std::string& value);
   195    #if LANG_CXX11
   196    void set_message(::std::string&& value);
   197    #endif
   198    void set_message(const char* value);
   199    void set_message(const char* value, size_t size);
   200    ::std::string* mutable_message();
   201    ::std::string* release_message();
   202    void set_allocated_message(::std::string* message);
   203  
   204    // int64 time = 2;
   205    void clear_time();
   206    static const int kTimeFieldNumber = 2;
   207    ::google::protobuf::int64 time() const;
   208    void set_time(::google::protobuf::int64 value);
   209  
   210    // int64 line = 4;
   211    void clear_line();
   212    static const int kLineFieldNumber = 4;
   213    ::google::protobuf::int64 line() const;
   214    void set_line(::google::protobuf::int64 value);
   215  
   216    // int64 goroutine = 6;
   217    void clear_goroutine();
   218    static const int kGoroutineFieldNumber = 6;
   219    ::google::protobuf::int64 goroutine() const;
   220    void set_goroutine(::google::protobuf::int64 value);
   221  
   222    // .cockroach.util.log.Severity severity = 1;
   223    void clear_severity();
   224    static const int kSeverityFieldNumber = 1;
   225    ::cockroach::util::log::Severity severity() const;
   226    void set_severity(::cockroach::util::log::Severity value);
   227  
   228    // @@protoc_insertion_point(class_scope:cockroach.util.log.Entry)
   229   private:
   230  
   231    ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
   232    ::google::protobuf::internal::ArenaStringPtr file_;
   233    ::google::protobuf::internal::ArenaStringPtr message_;
   234    ::google::protobuf::int64 time_;
   235    ::google::protobuf::int64 line_;
   236    ::google::protobuf::int64 goroutine_;
   237    int severity_;
   238    mutable ::google::protobuf::internal::CachedSize _cached_size_;
   239    friend struct ::protobuf_util_2flog_2flog_2eproto::TableStruct;
   240  };
   241  // -------------------------------------------------------------------
   242  
   243  class FileDetails : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.util.log.FileDetails) */ {
   244   public:
   245    FileDetails();
   246    virtual ~FileDetails();
   247  
   248    FileDetails(const FileDetails& from);
   249  
   250    inline FileDetails& operator=(const FileDetails& from) {
   251      CopyFrom(from);
   252      return *this;
   253    }
   254    #if LANG_CXX11
   255    FileDetails(FileDetails&& from) noexcept
   256      : FileDetails() {
   257      *this = ::std::move(from);
   258    }
   259  
   260    inline FileDetails& operator=(FileDetails&& from) noexcept {
   261      if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
   262        if (this != &from) InternalSwap(&from);
   263      } else {
   264        CopyFrom(from);
   265      }
   266      return *this;
   267    }
   268    #endif
   269    static const FileDetails& default_instance();
   270  
   271    static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
   272    static inline const FileDetails* internal_default_instance() {
   273      return reinterpret_cast<const FileDetails*>(
   274                 &_FileDetails_default_instance_);
   275    }
   276    static constexpr int kIndexInFileMessages =
   277      1;
   278  
   279    void Swap(FileDetails* other);
   280    friend void swap(FileDetails& a, FileDetails& b) {
   281      a.Swap(&b);
   282    }
   283  
   284    // implements Message ----------------------------------------------
   285  
   286    inline FileDetails* New() const final {
   287      return CreateMaybeMessage<FileDetails>(NULL);
   288    }
   289  
   290    FileDetails* New(::google::protobuf::Arena* arena) const final {
   291      return CreateMaybeMessage<FileDetails>(arena);
   292    }
   293    void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
   294      final;
   295    void CopyFrom(const FileDetails& from);
   296    void MergeFrom(const FileDetails& from);
   297    void Clear() final;
   298    bool IsInitialized() const final;
   299  
   300    size_t ByteSizeLong() const final;
   301    bool MergePartialFromCodedStream(
   302        ::google::protobuf::io::CodedInputStream* input) final;
   303    void SerializeWithCachedSizes(
   304        ::google::protobuf::io::CodedOutputStream* output) const final;
   305    void DiscardUnknownFields();
   306    int GetCachedSize() const final { return _cached_size_.Get(); }
   307  
   308    private:
   309    void SharedCtor();
   310    void SharedDtor();
   311    void SetCachedSize(int size) const;
   312    void InternalSwap(FileDetails* other);
   313    private:
   314    inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
   315      return NULL;
   316    }
   317    inline void* MaybeArenaPtr() const {
   318      return NULL;
   319    }
   320    public:
   321  
   322    ::std::string GetTypeName() const final;
   323  
   324    // nested types ----------------------------------------------------
   325  
   326    // accessors -------------------------------------------------------
   327  
   328    // string program = 1;
   329    void clear_program();
   330    static const int kProgramFieldNumber = 1;
   331    const ::std::string& program() const;
   332    void set_program(const ::std::string& value);
   333    #if LANG_CXX11
   334    void set_program(::std::string&& value);
   335    #endif
   336    void set_program(const char* value);
   337    void set_program(const char* value, size_t size);
   338    ::std::string* mutable_program();
   339    ::std::string* release_program();
   340    void set_allocated_program(::std::string* program);
   341  
   342    // string host = 2;
   343    void clear_host();
   344    static const int kHostFieldNumber = 2;
   345    const ::std::string& host() const;
   346    void set_host(const ::std::string& value);
   347    #if LANG_CXX11
   348    void set_host(::std::string&& value);
   349    #endif
   350    void set_host(const char* value);
   351    void set_host(const char* value, size_t size);
   352    ::std::string* mutable_host();
   353    ::std::string* release_host();
   354    void set_allocated_host(::std::string* host);
   355  
   356    // string user_name = 3;
   357    void clear_user_name();
   358    static const int kUserNameFieldNumber = 3;
   359    const ::std::string& user_name() const;
   360    void set_user_name(const ::std::string& value);
   361    #if LANG_CXX11
   362    void set_user_name(::std::string&& value);
   363    #endif
   364    void set_user_name(const char* value);
   365    void set_user_name(const char* value, size_t size);
   366    ::std::string* mutable_user_name();
   367    ::std::string* release_user_name();
   368    void set_allocated_user_name(::std::string* user_name);
   369  
   370    // int64 time = 5;
   371    void clear_time();
   372    static const int kTimeFieldNumber = 5;
   373    ::google::protobuf::int64 time() const;
   374    void set_time(::google::protobuf::int64 value);
   375  
   376    void clear_pid();
   377    static const int kPidFieldNumber = 6;
   378    ::google::protobuf::int64 pid() const;
   379    void set_pid(::google::protobuf::int64 value);
   380  
   381    // @@protoc_insertion_point(class_scope:cockroach.util.log.FileDetails)
   382   private:
   383  
   384    ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
   385    ::google::protobuf::internal::ArenaStringPtr program_;
   386    ::google::protobuf::internal::ArenaStringPtr host_;
   387    ::google::protobuf::internal::ArenaStringPtr user_name_;
   388    ::google::protobuf::int64 time_;
   389    ::google::protobuf::int64 pid_;
   390    mutable ::google::protobuf::internal::CachedSize _cached_size_;
   391    friend struct ::protobuf_util_2flog_2flog_2eproto::TableStruct;
   392  };
   393  // -------------------------------------------------------------------
   394  
   395  class FileInfo : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.util.log.FileInfo) */ {
   396   public:
   397    FileInfo();
   398    virtual ~FileInfo();
   399  
   400    FileInfo(const FileInfo& from);
   401  
   402    inline FileInfo& operator=(const FileInfo& from) {
   403      CopyFrom(from);
   404      return *this;
   405    }
   406    #if LANG_CXX11
   407    FileInfo(FileInfo&& from) noexcept
   408      : FileInfo() {
   409      *this = ::std::move(from);
   410    }
   411  
   412    inline FileInfo& operator=(FileInfo&& from) noexcept {
   413      if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
   414        if (this != &from) InternalSwap(&from);
   415      } else {
   416        CopyFrom(from);
   417      }
   418      return *this;
   419    }
   420    #endif
   421    static const FileInfo& default_instance();
   422  
   423    static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
   424    static inline const FileInfo* internal_default_instance() {
   425      return reinterpret_cast<const FileInfo*>(
   426                 &_FileInfo_default_instance_);
   427    }
   428    static constexpr int kIndexInFileMessages =
   429      2;
   430  
   431    void Swap(FileInfo* other);
   432    friend void swap(FileInfo& a, FileInfo& b) {
   433      a.Swap(&b);
   434    }
   435  
   436    // implements Message ----------------------------------------------
   437  
   438    inline FileInfo* New() const final {
   439      return CreateMaybeMessage<FileInfo>(NULL);
   440    }
   441  
   442    FileInfo* New(::google::protobuf::Arena* arena) const final {
   443      return CreateMaybeMessage<FileInfo>(arena);
   444    }
   445    void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
   446      final;
   447    void CopyFrom(const FileInfo& from);
   448    void MergeFrom(const FileInfo& from);
   449    void Clear() final;
   450    bool IsInitialized() const final;
   451  
   452    size_t ByteSizeLong() const final;
   453    bool MergePartialFromCodedStream(
   454        ::google::protobuf::io::CodedInputStream* input) final;
   455    void SerializeWithCachedSizes(
   456        ::google::protobuf::io::CodedOutputStream* output) const final;
   457    void DiscardUnknownFields();
   458    int GetCachedSize() const final { return _cached_size_.Get(); }
   459  
   460    private:
   461    void SharedCtor();
   462    void SharedDtor();
   463    void SetCachedSize(int size) const;
   464    void InternalSwap(FileInfo* other);
   465    private:
   466    inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
   467      return NULL;
   468    }
   469    inline void* MaybeArenaPtr() const {
   470      return NULL;
   471    }
   472    public:
   473  
   474    ::std::string GetTypeName() const final;
   475  
   476    // nested types ----------------------------------------------------
   477  
   478    // accessors -------------------------------------------------------
   479  
   480    // string name = 1;
   481    void clear_name();
   482    static const int kNameFieldNumber = 1;
   483    const ::std::string& name() const;
   484    void set_name(const ::std::string& value);
   485    #if LANG_CXX11
   486    void set_name(::std::string&& value);
   487    #endif
   488    void set_name(const char* value);
   489    void set_name(const char* value, size_t size);
   490    ::std::string* mutable_name();
   491    ::std::string* release_name();
   492    void set_allocated_name(::std::string* name);
   493  
   494    bool has_details() const;
   495    void clear_details();
   496    static const int kDetailsFieldNumber = 4;
   497    private:
   498    const ::cockroach::util::log::FileDetails& _internal_details() const;
   499    public:
   500    const ::cockroach::util::log::FileDetails& details() const;
   501    ::cockroach::util::log::FileDetails* release_details();
   502    ::cockroach::util::log::FileDetails* mutable_details();
   503    void set_allocated_details(::cockroach::util::log::FileDetails* details);
   504  
   505    // int64 size_bytes = 2;
   506    void clear_size_bytes();
   507    static const int kSizeBytesFieldNumber = 2;
   508    ::google::protobuf::int64 size_bytes() const;
   509    void set_size_bytes(::google::protobuf::int64 value);
   510  
   511    // int64 mod_time_nanos = 3;
   512    void clear_mod_time_nanos();
   513    static const int kModTimeNanosFieldNumber = 3;
   514    ::google::protobuf::int64 mod_time_nanos() const;
   515    void set_mod_time_nanos(::google::protobuf::int64 value);
   516  
   517    // @@protoc_insertion_point(class_scope:cockroach.util.log.FileInfo)
   518   private:
   519  
   520    ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
   521    ::google::protobuf::internal::ArenaStringPtr name_;
   522    ::cockroach::util::log::FileDetails* details_;
   523    ::google::protobuf::int64 size_bytes_;
   524    ::google::protobuf::int64 mod_time_nanos_;
   525    mutable ::google::protobuf::internal::CachedSize _cached_size_;
   526    friend struct ::protobuf_util_2flog_2flog_2eproto::TableStruct;
   527  };
   528  // ===================================================================
   529  
   530  
   531  // ===================================================================
   532  
   533  #ifdef __GNUC__
   534    #pragma GCC diagnostic push
   535    #pragma GCC diagnostic ignored "-Wstrict-aliasing"
   536  #endif  // __GNUC__
   537  // Entry
   538  
   539  // .cockroach.util.log.Severity severity = 1;
   540  inline void Entry::clear_severity() {
   541    severity_ = 0;
   542  }
   543  inline ::cockroach::util::log::Severity Entry::severity() const {
   544    // @@protoc_insertion_point(field_get:cockroach.util.log.Entry.severity)
   545    return static_cast< ::cockroach::util::log::Severity >(severity_);
   546  }
   547  inline void Entry::set_severity(::cockroach::util::log::Severity value) {
   548    
   549    severity_ = value;
   550    // @@protoc_insertion_point(field_set:cockroach.util.log.Entry.severity)
   551  }
   552  
   553  // int64 time = 2;
   554  inline void Entry::clear_time() {
   555    time_ = GOOGLE_LONGLONG(0);
   556  }
   557  inline ::google::protobuf::int64 Entry::time() const {
   558    // @@protoc_insertion_point(field_get:cockroach.util.log.Entry.time)
   559    return time_;
   560  }
   561  inline void Entry::set_time(::google::protobuf::int64 value) {
   562    
   563    time_ = value;
   564    // @@protoc_insertion_point(field_set:cockroach.util.log.Entry.time)
   565  }
   566  
   567  // int64 goroutine = 6;
   568  inline void Entry::clear_goroutine() {
   569    goroutine_ = GOOGLE_LONGLONG(0);
   570  }
   571  inline ::google::protobuf::int64 Entry::goroutine() const {
   572    // @@protoc_insertion_point(field_get:cockroach.util.log.Entry.goroutine)
   573    return goroutine_;
   574  }
   575  inline void Entry::set_goroutine(::google::protobuf::int64 value) {
   576    
   577    goroutine_ = value;
   578    // @@protoc_insertion_point(field_set:cockroach.util.log.Entry.goroutine)
   579  }
   580  
   581  // string file = 3;
   582  inline void Entry::clear_file() {
   583    file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   584  }
   585  inline const ::std::string& Entry::file() const {
   586    // @@protoc_insertion_point(field_get:cockroach.util.log.Entry.file)
   587    return file_.GetNoArena();
   588  }
   589  inline void Entry::set_file(const ::std::string& value) {
   590    
   591    file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
   592    // @@protoc_insertion_point(field_set:cockroach.util.log.Entry.file)
   593  }
   594  #if LANG_CXX11
   595  inline void Entry::set_file(::std::string&& value) {
   596    
   597    file_.SetNoArena(
   598      &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
   599    // @@protoc_insertion_point(field_set_rvalue:cockroach.util.log.Entry.file)
   600  }
   601  #endif
   602  inline void Entry::set_file(const char* value) {
   603    GOOGLE_DCHECK(value != NULL);
   604    
   605    file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
   606    // @@protoc_insertion_point(field_set_char:cockroach.util.log.Entry.file)
   607  }
   608  inline void Entry::set_file(const char* value, size_t size) {
   609    
   610    file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
   611        ::std::string(reinterpret_cast<const char*>(value), size));
   612    // @@protoc_insertion_point(field_set_pointer:cockroach.util.log.Entry.file)
   613  }
   614  inline ::std::string* Entry::mutable_file() {
   615    
   616    // @@protoc_insertion_point(field_mutable:cockroach.util.log.Entry.file)
   617    return file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   618  }
   619  inline ::std::string* Entry::release_file() {
   620    // @@protoc_insertion_point(field_release:cockroach.util.log.Entry.file)
   621    
   622    return file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   623  }
   624  inline void Entry::set_allocated_file(::std::string* file) {
   625    if (file != NULL) {
   626      
   627    } else {
   628      
   629    }
   630    file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), file);
   631    // @@protoc_insertion_point(field_set_allocated:cockroach.util.log.Entry.file)
   632  }
   633  
   634  // int64 line = 4;
   635  inline void Entry::clear_line() {
   636    line_ = GOOGLE_LONGLONG(0);
   637  }
   638  inline ::google::protobuf::int64 Entry::line() const {
   639    // @@protoc_insertion_point(field_get:cockroach.util.log.Entry.line)
   640    return line_;
   641  }
   642  inline void Entry::set_line(::google::protobuf::int64 value) {
   643    
   644    line_ = value;
   645    // @@protoc_insertion_point(field_set:cockroach.util.log.Entry.line)
   646  }
   647  
   648  // string message = 5;
   649  inline void Entry::clear_message() {
   650    message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   651  }
   652  inline const ::std::string& Entry::message() const {
   653    // @@protoc_insertion_point(field_get:cockroach.util.log.Entry.message)
   654    return message_.GetNoArena();
   655  }
   656  inline void Entry::set_message(const ::std::string& value) {
   657    
   658    message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
   659    // @@protoc_insertion_point(field_set:cockroach.util.log.Entry.message)
   660  }
   661  #if LANG_CXX11
   662  inline void Entry::set_message(::std::string&& value) {
   663    
   664    message_.SetNoArena(
   665      &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
   666    // @@protoc_insertion_point(field_set_rvalue:cockroach.util.log.Entry.message)
   667  }
   668  #endif
   669  inline void Entry::set_message(const char* value) {
   670    GOOGLE_DCHECK(value != NULL);
   671    
   672    message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
   673    // @@protoc_insertion_point(field_set_char:cockroach.util.log.Entry.message)
   674  }
   675  inline void Entry::set_message(const char* value, size_t size) {
   676    
   677    message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
   678        ::std::string(reinterpret_cast<const char*>(value), size));
   679    // @@protoc_insertion_point(field_set_pointer:cockroach.util.log.Entry.message)
   680  }
   681  inline ::std::string* Entry::mutable_message() {
   682    
   683    // @@protoc_insertion_point(field_mutable:cockroach.util.log.Entry.message)
   684    return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   685  }
   686  inline ::std::string* Entry::release_message() {
   687    // @@protoc_insertion_point(field_release:cockroach.util.log.Entry.message)
   688    
   689    return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   690  }
   691  inline void Entry::set_allocated_message(::std::string* message) {
   692    if (message != NULL) {
   693      
   694    } else {
   695      
   696    }
   697    message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message);
   698    // @@protoc_insertion_point(field_set_allocated:cockroach.util.log.Entry.message)
   699  }
   700  
   701  // -------------------------------------------------------------------
   702  
   703  // FileDetails
   704  
   705  // string program = 1;
   706  inline void FileDetails::clear_program() {
   707    program_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   708  }
   709  inline const ::std::string& FileDetails::program() const {
   710    // @@protoc_insertion_point(field_get:cockroach.util.log.FileDetails.program)
   711    return program_.GetNoArena();
   712  }
   713  inline void FileDetails::set_program(const ::std::string& value) {
   714    
   715    program_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
   716    // @@protoc_insertion_point(field_set:cockroach.util.log.FileDetails.program)
   717  }
   718  #if LANG_CXX11
   719  inline void FileDetails::set_program(::std::string&& value) {
   720    
   721    program_.SetNoArena(
   722      &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
   723    // @@protoc_insertion_point(field_set_rvalue:cockroach.util.log.FileDetails.program)
   724  }
   725  #endif
   726  inline void FileDetails::set_program(const char* value) {
   727    GOOGLE_DCHECK(value != NULL);
   728    
   729    program_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
   730    // @@protoc_insertion_point(field_set_char:cockroach.util.log.FileDetails.program)
   731  }
   732  inline void FileDetails::set_program(const char* value, size_t size) {
   733    
   734    program_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
   735        ::std::string(reinterpret_cast<const char*>(value), size));
   736    // @@protoc_insertion_point(field_set_pointer:cockroach.util.log.FileDetails.program)
   737  }
   738  inline ::std::string* FileDetails::mutable_program() {
   739    
   740    // @@protoc_insertion_point(field_mutable:cockroach.util.log.FileDetails.program)
   741    return program_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   742  }
   743  inline ::std::string* FileDetails::release_program() {
   744    // @@protoc_insertion_point(field_release:cockroach.util.log.FileDetails.program)
   745    
   746    return program_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   747  }
   748  inline void FileDetails::set_allocated_program(::std::string* program) {
   749    if (program != NULL) {
   750      
   751    } else {
   752      
   753    }
   754    program_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), program);
   755    // @@protoc_insertion_point(field_set_allocated:cockroach.util.log.FileDetails.program)
   756  }
   757  
   758  // string host = 2;
   759  inline void FileDetails::clear_host() {
   760    host_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   761  }
   762  inline const ::std::string& FileDetails::host() const {
   763    // @@protoc_insertion_point(field_get:cockroach.util.log.FileDetails.host)
   764    return host_.GetNoArena();
   765  }
   766  inline void FileDetails::set_host(const ::std::string& value) {
   767    
   768    host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
   769    // @@protoc_insertion_point(field_set:cockroach.util.log.FileDetails.host)
   770  }
   771  #if LANG_CXX11
   772  inline void FileDetails::set_host(::std::string&& value) {
   773    
   774    host_.SetNoArena(
   775      &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
   776    // @@protoc_insertion_point(field_set_rvalue:cockroach.util.log.FileDetails.host)
   777  }
   778  #endif
   779  inline void FileDetails::set_host(const char* value) {
   780    GOOGLE_DCHECK(value != NULL);
   781    
   782    host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
   783    // @@protoc_insertion_point(field_set_char:cockroach.util.log.FileDetails.host)
   784  }
   785  inline void FileDetails::set_host(const char* value, size_t size) {
   786    
   787    host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
   788        ::std::string(reinterpret_cast<const char*>(value), size));
   789    // @@protoc_insertion_point(field_set_pointer:cockroach.util.log.FileDetails.host)
   790  }
   791  inline ::std::string* FileDetails::mutable_host() {
   792    
   793    // @@protoc_insertion_point(field_mutable:cockroach.util.log.FileDetails.host)
   794    return host_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   795  }
   796  inline ::std::string* FileDetails::release_host() {
   797    // @@protoc_insertion_point(field_release:cockroach.util.log.FileDetails.host)
   798    
   799    return host_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   800  }
   801  inline void FileDetails::set_allocated_host(::std::string* host) {
   802    if (host != NULL) {
   803      
   804    } else {
   805      
   806    }
   807    host_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), host);
   808    // @@protoc_insertion_point(field_set_allocated:cockroach.util.log.FileDetails.host)
   809  }
   810  
   811  // string user_name = 3;
   812  inline void FileDetails::clear_user_name() {
   813    user_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   814  }
   815  inline const ::std::string& FileDetails::user_name() const {
   816    // @@protoc_insertion_point(field_get:cockroach.util.log.FileDetails.user_name)
   817    return user_name_.GetNoArena();
   818  }
   819  inline void FileDetails::set_user_name(const ::std::string& value) {
   820    
   821    user_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
   822    // @@protoc_insertion_point(field_set:cockroach.util.log.FileDetails.user_name)
   823  }
   824  #if LANG_CXX11
   825  inline void FileDetails::set_user_name(::std::string&& value) {
   826    
   827    user_name_.SetNoArena(
   828      &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
   829    // @@protoc_insertion_point(field_set_rvalue:cockroach.util.log.FileDetails.user_name)
   830  }
   831  #endif
   832  inline void FileDetails::set_user_name(const char* value) {
   833    GOOGLE_DCHECK(value != NULL);
   834    
   835    user_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
   836    // @@protoc_insertion_point(field_set_char:cockroach.util.log.FileDetails.user_name)
   837  }
   838  inline void FileDetails::set_user_name(const char* value, size_t size) {
   839    
   840    user_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
   841        ::std::string(reinterpret_cast<const char*>(value), size));
   842    // @@protoc_insertion_point(field_set_pointer:cockroach.util.log.FileDetails.user_name)
   843  }
   844  inline ::std::string* FileDetails::mutable_user_name() {
   845    
   846    // @@protoc_insertion_point(field_mutable:cockroach.util.log.FileDetails.user_name)
   847    return user_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   848  }
   849  inline ::std::string* FileDetails::release_user_name() {
   850    // @@protoc_insertion_point(field_release:cockroach.util.log.FileDetails.user_name)
   851    
   852    return user_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   853  }
   854  inline void FileDetails::set_allocated_user_name(::std::string* user_name) {
   855    if (user_name != NULL) {
   856      
   857    } else {
   858      
   859    }
   860    user_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), user_name);
   861    // @@protoc_insertion_point(field_set_allocated:cockroach.util.log.FileDetails.user_name)
   862  }
   863  
   864  // int64 time = 5;
   865  inline void FileDetails::clear_time() {
   866    time_ = GOOGLE_LONGLONG(0);
   867  }
   868  inline ::google::protobuf::int64 FileDetails::time() const {
   869    // @@protoc_insertion_point(field_get:cockroach.util.log.FileDetails.time)
   870    return time_;
   871  }
   872  inline void FileDetails::set_time(::google::protobuf::int64 value) {
   873    
   874    time_ = value;
   875    // @@protoc_insertion_point(field_set:cockroach.util.log.FileDetails.time)
   876  }
   877  
   878  inline void FileDetails::clear_pid() {
   879    pid_ = GOOGLE_LONGLONG(0);
   880  }
   881  inline ::google::protobuf::int64 FileDetails::pid() const {
   882    // @@protoc_insertion_point(field_get:cockroach.util.log.FileDetails.pid)
   883    return pid_;
   884  }
   885  inline void FileDetails::set_pid(::google::protobuf::int64 value) {
   886    
   887    pid_ = value;
   888    // @@protoc_insertion_point(field_set:cockroach.util.log.FileDetails.pid)
   889  }
   890  
   891  // -------------------------------------------------------------------
   892  
   893  // FileInfo
   894  
   895  // string name = 1;
   896  inline void FileInfo::clear_name() {
   897    name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   898  }
   899  inline const ::std::string& FileInfo::name() const {
   900    // @@protoc_insertion_point(field_get:cockroach.util.log.FileInfo.name)
   901    return name_.GetNoArena();
   902  }
   903  inline void FileInfo::set_name(const ::std::string& value) {
   904    
   905    name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
   906    // @@protoc_insertion_point(field_set:cockroach.util.log.FileInfo.name)
   907  }
   908  #if LANG_CXX11
   909  inline void FileInfo::set_name(::std::string&& value) {
   910    
   911    name_.SetNoArena(
   912      &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
   913    // @@protoc_insertion_point(field_set_rvalue:cockroach.util.log.FileInfo.name)
   914  }
   915  #endif
   916  inline void FileInfo::set_name(const char* value) {
   917    GOOGLE_DCHECK(value != NULL);
   918    
   919    name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
   920    // @@protoc_insertion_point(field_set_char:cockroach.util.log.FileInfo.name)
   921  }
   922  inline void FileInfo::set_name(const char* value, size_t size) {
   923    
   924    name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
   925        ::std::string(reinterpret_cast<const char*>(value), size));
   926    // @@protoc_insertion_point(field_set_pointer:cockroach.util.log.FileInfo.name)
   927  }
   928  inline ::std::string* FileInfo::mutable_name() {
   929    
   930    // @@protoc_insertion_point(field_mutable:cockroach.util.log.FileInfo.name)
   931    return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   932  }
   933  inline ::std::string* FileInfo::release_name() {
   934    // @@protoc_insertion_point(field_release:cockroach.util.log.FileInfo.name)
   935    
   936    return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   937  }
   938  inline void FileInfo::set_allocated_name(::std::string* name) {
   939    if (name != NULL) {
   940      
   941    } else {
   942      
   943    }
   944    name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
   945    // @@protoc_insertion_point(field_set_allocated:cockroach.util.log.FileInfo.name)
   946  }
   947  
   948  // int64 size_bytes = 2;
   949  inline void FileInfo::clear_size_bytes() {
   950    size_bytes_ = GOOGLE_LONGLONG(0);
   951  }
   952  inline ::google::protobuf::int64 FileInfo::size_bytes() const {
   953    // @@protoc_insertion_point(field_get:cockroach.util.log.FileInfo.size_bytes)
   954    return size_bytes_;
   955  }
   956  inline void FileInfo::set_size_bytes(::google::protobuf::int64 value) {
   957    
   958    size_bytes_ = value;
   959    // @@protoc_insertion_point(field_set:cockroach.util.log.FileInfo.size_bytes)
   960  }
   961  
   962  // int64 mod_time_nanos = 3;
   963  inline void FileInfo::clear_mod_time_nanos() {
   964    mod_time_nanos_ = GOOGLE_LONGLONG(0);
   965  }
   966  inline ::google::protobuf::int64 FileInfo::mod_time_nanos() const {
   967    // @@protoc_insertion_point(field_get:cockroach.util.log.FileInfo.mod_time_nanos)
   968    return mod_time_nanos_;
   969  }
   970  inline void FileInfo::set_mod_time_nanos(::google::protobuf::int64 value) {
   971    
   972    mod_time_nanos_ = value;
   973    // @@protoc_insertion_point(field_set:cockroach.util.log.FileInfo.mod_time_nanos)
   974  }
   975  
   976  inline bool FileInfo::has_details() const {
   977    return this != internal_default_instance() && details_ != NULL;
   978  }
   979  inline void FileInfo::clear_details() {
   980    if (GetArenaNoVirtual() == NULL && details_ != NULL) {
   981      delete details_;
   982    }
   983    details_ = NULL;
   984  }
   985  inline const ::cockroach::util::log::FileDetails& FileInfo::_internal_details() const {
   986    return *details_;
   987  }
   988  inline const ::cockroach::util::log::FileDetails& FileInfo::details() const {
   989    const ::cockroach::util::log::FileDetails* p = details_;
   990    // @@protoc_insertion_point(field_get:cockroach.util.log.FileInfo.details)
   991    return p != NULL ? *p : *reinterpret_cast<const ::cockroach::util::log::FileDetails*>(
   992        &::cockroach::util::log::_FileDetails_default_instance_);
   993  }
   994  inline ::cockroach::util::log::FileDetails* FileInfo::release_details() {
   995    // @@protoc_insertion_point(field_release:cockroach.util.log.FileInfo.details)
   996    
   997    ::cockroach::util::log::FileDetails* temp = details_;
   998    details_ = NULL;
   999    return temp;
  1000  }
  1001  inline ::cockroach::util::log::FileDetails* FileInfo::mutable_details() {
  1002    
  1003    if (details_ == NULL) {
  1004      auto* p = CreateMaybeMessage<::cockroach::util::log::FileDetails>(GetArenaNoVirtual());
  1005      details_ = p;
  1006    }
  1007    // @@protoc_insertion_point(field_mutable:cockroach.util.log.FileInfo.details)
  1008    return details_;
  1009  }
  1010  inline void FileInfo::set_allocated_details(::cockroach::util::log::FileDetails* details) {
  1011    ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1012    if (message_arena == NULL) {
  1013      delete details_;
  1014    }
  1015    if (details) {
  1016      ::google::protobuf::Arena* submessage_arena = NULL;
  1017      if (message_arena != submessage_arena) {
  1018        details = ::google::protobuf::internal::GetOwnedMessage(
  1019            message_arena, details, submessage_arena);
  1020      }
  1021      
  1022    } else {
  1023      
  1024    }
  1025    details_ = details;
  1026    // @@protoc_insertion_point(field_set_allocated:cockroach.util.log.FileInfo.details)
  1027  }
  1028  
  1029  #ifdef __GNUC__
  1030    #pragma GCC diagnostic pop
  1031  #endif  // __GNUC__
  1032  // -------------------------------------------------------------------
  1033  
  1034  // -------------------------------------------------------------------
  1035  
  1036  
  1037  // @@protoc_insertion_point(namespace_scope)
  1038  
  1039  }  // namespace log
  1040  }  // namespace util
  1041  }  // namespace cockroach
  1042  
  1043  namespace google {
  1044  namespace protobuf {
  1045  
  1046  template <> struct is_proto_enum< ::cockroach::util::log::Severity> : ::std::true_type {};
  1047  
  1048  }  // namespace protobuf
  1049  }  // namespace google
  1050  
  1051  // @@protoc_insertion_point(global_scope)
  1052  
  1053  #endif  // PROTOBUF_INCLUDED_util_2flog_2flog_2eproto