// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: cuda_error.proto

#ifndef PROTOBUF_cuda_5ferror_2eproto__INCLUDED
#define PROTOBUF_cuda_5ferror_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#if GOOGLE_PROTOBUF_VERSION < 3001000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please update
#error your headers.
#endif
#if 3001000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please
#error regenerate this file with a newer version of protoc.
#endif

#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)

namespace paddle {
namespace platform {
namespace proto {

// Internal implementation detail -- do not call these.
void protobuf_AddDesc_cuda_5ferror_2eproto();
void protobuf_InitDefaults_cuda_5ferror_2eproto();
void protobuf_AssignDesc_cuda_5ferror_2eproto();
void protobuf_ShutdownFile_cuda_5ferror_2eproto();

class AllMessageDesc;
class MessageDesc;
class cudaerrorDesc;

// ===================================================================

class MessageDesc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.platform.proto.MessageDesc) */ {
 public:
  MessageDesc();
  virtual ~MessageDesc();

  MessageDesc(const MessageDesc& from);

  inline MessageDesc& operator=(const MessageDesc& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const MessageDesc& default_instance();

  static const MessageDesc* internal_default_instance();

  void Swap(MessageDesc* other);

  // implements Message ----------------------------------------------

  inline MessageDesc* New() const { return New(NULL); }

  MessageDesc* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const MessageDesc& from);
  void MergeFrom(const MessageDesc& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(MessageDesc* other);
  void UnsafeMergeFrom(const MessageDesc& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required int32 errorCode = 1;
  bool has_errorcode() const;
  void clear_errorcode();
  static const int kErrorCodeFieldNumber = 1;
  ::google::protobuf::int32 errorcode() const;
  void set_errorcode(::google::protobuf::int32 value);

  // required string errorMessage = 2;
  bool has_errormessage() const;
  void clear_errormessage();
  static const int kErrorMessageFieldNumber = 2;
  const ::std::string& errormessage() const;
  void set_errormessage(const ::std::string& value);
  void set_errormessage(const char* value);
  void set_errormessage(const char* value, size_t size);
  ::std::string* mutable_errormessage();
  ::std::string* release_errormessage();
  void set_allocated_errormessage(::std::string* errormessage);

  // @@protoc_insertion_point(class_scope:paddle.platform.proto.MessageDesc)
 private:
  inline void set_has_errorcode();
  inline void clear_has_errorcode();
  inline void set_has_errormessage();
  inline void clear_has_errormessage();

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::internal::ArenaStringPtr errormessage_;
  ::google::protobuf::int32 errorcode_;
  friend void  protobuf_InitDefaults_cuda_5ferror_2eproto_impl();
  friend void  protobuf_AddDesc_cuda_5ferror_2eproto_impl();
  friend void protobuf_AssignDesc_cuda_5ferror_2eproto();
  friend void protobuf_ShutdownFile_cuda_5ferror_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<MessageDesc> MessageDesc_default_instance_;

// -------------------------------------------------------------------

class AllMessageDesc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.platform.proto.AllMessageDesc) */ {
 public:
  AllMessageDesc();
  virtual ~AllMessageDesc();

  AllMessageDesc(const AllMessageDesc& from);

  inline AllMessageDesc& operator=(const AllMessageDesc& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const AllMessageDesc& default_instance();

  static const AllMessageDesc* internal_default_instance();

  void Swap(AllMessageDesc* other);

  // implements Message ----------------------------------------------

  inline AllMessageDesc* New() const { return New(NULL); }

  AllMessageDesc* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const AllMessageDesc& from);
  void MergeFrom(const AllMessageDesc& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(AllMessageDesc* other);
  void UnsafeMergeFrom(const AllMessageDesc& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required int32 version = 1;
  bool has_version() const;
  void clear_version();
  static const int kVersionFieldNumber = 1;
  ::google::protobuf::int32 version() const;
  void set_version(::google::protobuf::int32 value);

  // repeated .paddle.platform.proto.MessageDesc Messages = 2;
  int messages_size() const;
  void clear_messages();
  static const int kMessagesFieldNumber = 2;
  const ::paddle::platform::proto::MessageDesc& messages(int index) const;
  ::paddle::platform::proto::MessageDesc* mutable_messages(int index);
  ::paddle::platform::proto::MessageDesc* add_messages();
  ::google::protobuf::RepeatedPtrField< ::paddle::platform::proto::MessageDesc >*
      mutable_messages();
  const ::google::protobuf::RepeatedPtrField< ::paddle::platform::proto::MessageDesc >&
      messages() const;

  // @@protoc_insertion_point(class_scope:paddle.platform.proto.AllMessageDesc)
 private:
  inline void set_has_version();
  inline void clear_has_version();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::paddle::platform::proto::MessageDesc > messages_;
  ::google::protobuf::int32 version_;
  friend void  protobuf_InitDefaults_cuda_5ferror_2eproto_impl();
  friend void  protobuf_AddDesc_cuda_5ferror_2eproto_impl();
  friend void protobuf_AssignDesc_cuda_5ferror_2eproto();
  friend void protobuf_ShutdownFile_cuda_5ferror_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<AllMessageDesc> AllMessageDesc_default_instance_;

// -------------------------------------------------------------------

class cudaerrorDesc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.platform.proto.cudaerrorDesc) */ {
 public:
  cudaerrorDesc();
  virtual ~cudaerrorDesc();

  cudaerrorDesc(const cudaerrorDesc& from);

  inline cudaerrorDesc& operator=(const cudaerrorDesc& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const cudaerrorDesc& default_instance();

  static const cudaerrorDesc* internal_default_instance();

  void Swap(cudaerrorDesc* other);

  // implements Message ----------------------------------------------

  inline cudaerrorDesc* New() const { return New(NULL); }

  cudaerrorDesc* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const cudaerrorDesc& from);
  void MergeFrom(const cudaerrorDesc& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(cudaerrorDesc* other);
  void UnsafeMergeFrom(const cudaerrorDesc& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // repeated .paddle.platform.proto.AllMessageDesc AllMessages = 2;
  int allmessages_size() const;
  void clear_allmessages();
  static const int kAllMessagesFieldNumber = 2;
  const ::paddle::platform::proto::AllMessageDesc& allmessages(int index) const;
  ::paddle::platform::proto::AllMessageDesc* mutable_allmessages(int index);
  ::paddle::platform::proto::AllMessageDesc* add_allmessages();
  ::google::protobuf::RepeatedPtrField< ::paddle::platform::proto::AllMessageDesc >*
      mutable_allmessages();
  const ::google::protobuf::RepeatedPtrField< ::paddle::platform::proto::AllMessageDesc >&
      allmessages() const;

  // @@protoc_insertion_point(class_scope:paddle.platform.proto.cudaerrorDesc)
 private:

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::paddle::platform::proto::AllMessageDesc > allmessages_;
  friend void  protobuf_InitDefaults_cuda_5ferror_2eproto_impl();
  friend void  protobuf_AddDesc_cuda_5ferror_2eproto_impl();
  friend void protobuf_AssignDesc_cuda_5ferror_2eproto();
  friend void protobuf_ShutdownFile_cuda_5ferror_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<cudaerrorDesc> cudaerrorDesc_default_instance_;

// ===================================================================


// ===================================================================

#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// MessageDesc

// required int32 errorCode = 1;
inline bool MessageDesc::has_errorcode() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void MessageDesc::set_has_errorcode() {
  _has_bits_[0] |= 0x00000001u;
}
inline void MessageDesc::clear_has_errorcode() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void MessageDesc::clear_errorcode() {
  errorcode_ = 0;
  clear_has_errorcode();
}
inline ::google::protobuf::int32 MessageDesc::errorcode() const {
  // @@protoc_insertion_point(field_get:paddle.platform.proto.MessageDesc.errorCode)
  return errorcode_;
}
inline void MessageDesc::set_errorcode(::google::protobuf::int32 value) {
  set_has_errorcode();
  errorcode_ = value;
  // @@protoc_insertion_point(field_set:paddle.platform.proto.MessageDesc.errorCode)
}

// required string errorMessage = 2;
inline bool MessageDesc::has_errormessage() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void MessageDesc::set_has_errormessage() {
  _has_bits_[0] |= 0x00000002u;
}
inline void MessageDesc::clear_has_errormessage() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void MessageDesc::clear_errormessage() {
  errormessage_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_errormessage();
}
inline const ::std::string& MessageDesc::errormessage() const {
  // @@protoc_insertion_point(field_get:paddle.platform.proto.MessageDesc.errorMessage)
  return errormessage_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void MessageDesc::set_errormessage(const ::std::string& value) {
  set_has_errormessage();
  errormessage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.platform.proto.MessageDesc.errorMessage)
}
inline void MessageDesc::set_errormessage(const char* value) {
  set_has_errormessage();
  errormessage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.platform.proto.MessageDesc.errorMessage)
}
inline void MessageDesc::set_errormessage(const char* value, size_t size) {
  set_has_errormessage();
  errormessage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.platform.proto.MessageDesc.errorMessage)
}
inline ::std::string* MessageDesc::mutable_errormessage() {
  set_has_errormessage();
  // @@protoc_insertion_point(field_mutable:paddle.platform.proto.MessageDesc.errorMessage)
  return errormessage_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* MessageDesc::release_errormessage() {
  // @@protoc_insertion_point(field_release:paddle.platform.proto.MessageDesc.errorMessage)
  clear_has_errormessage();
  return errormessage_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void MessageDesc::set_allocated_errormessage(::std::string* errormessage) {
  if (errormessage != NULL) {
    set_has_errormessage();
  } else {
    clear_has_errormessage();
  }
  errormessage_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), errormessage);
  // @@protoc_insertion_point(field_set_allocated:paddle.platform.proto.MessageDesc.errorMessage)
}

inline const MessageDesc* MessageDesc::internal_default_instance() {
  return &MessageDesc_default_instance_.get();
}
// -------------------------------------------------------------------

// AllMessageDesc

// required int32 version = 1;
inline bool AllMessageDesc::has_version() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void AllMessageDesc::set_has_version() {
  _has_bits_[0] |= 0x00000001u;
}
inline void AllMessageDesc::clear_has_version() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void AllMessageDesc::clear_version() {
  version_ = 0;
  clear_has_version();
}
inline ::google::protobuf::int32 AllMessageDesc::version() const {
  // @@protoc_insertion_point(field_get:paddle.platform.proto.AllMessageDesc.version)
  return version_;
}
inline void AllMessageDesc::set_version(::google::protobuf::int32 value) {
  set_has_version();
  version_ = value;
  // @@protoc_insertion_point(field_set:paddle.platform.proto.AllMessageDesc.version)
}

// repeated .paddle.platform.proto.MessageDesc Messages = 2;
inline int AllMessageDesc::messages_size() const {
  return messages_.size();
}
inline void AllMessageDesc::clear_messages() {
  messages_.Clear();
}
inline const ::paddle::platform::proto::MessageDesc& AllMessageDesc::messages(int index) const {
  // @@protoc_insertion_point(field_get:paddle.platform.proto.AllMessageDesc.Messages)
  return messages_.Get(index);
}
inline ::paddle::platform::proto::MessageDesc* AllMessageDesc::mutable_messages(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.platform.proto.AllMessageDesc.Messages)
  return messages_.Mutable(index);
}
inline ::paddle::platform::proto::MessageDesc* AllMessageDesc::add_messages() {
  // @@protoc_insertion_point(field_add:paddle.platform.proto.AllMessageDesc.Messages)
  return messages_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::platform::proto::MessageDesc >*
AllMessageDesc::mutable_messages() {
  // @@protoc_insertion_point(field_mutable_list:paddle.platform.proto.AllMessageDesc.Messages)
  return &messages_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::platform::proto::MessageDesc >&
AllMessageDesc::messages() const {
  // @@protoc_insertion_point(field_list:paddle.platform.proto.AllMessageDesc.Messages)
  return messages_;
}

inline const AllMessageDesc* AllMessageDesc::internal_default_instance() {
  return &AllMessageDesc_default_instance_.get();
}
// -------------------------------------------------------------------

// cudaerrorDesc

// repeated .paddle.platform.proto.AllMessageDesc AllMessages = 2;
inline int cudaerrorDesc::allmessages_size() const {
  return allmessages_.size();
}
inline void cudaerrorDesc::clear_allmessages() {
  allmessages_.Clear();
}
inline const ::paddle::platform::proto::AllMessageDesc& cudaerrorDesc::allmessages(int index) const {
  // @@protoc_insertion_point(field_get:paddle.platform.proto.cudaerrorDesc.AllMessages)
  return allmessages_.Get(index);
}
inline ::paddle::platform::proto::AllMessageDesc* cudaerrorDesc::mutable_allmessages(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.platform.proto.cudaerrorDesc.AllMessages)
  return allmessages_.Mutable(index);
}
inline ::paddle::platform::proto::AllMessageDesc* cudaerrorDesc::add_allmessages() {
  // @@protoc_insertion_point(field_add:paddle.platform.proto.cudaerrorDesc.AllMessages)
  return allmessages_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::platform::proto::AllMessageDesc >*
cudaerrorDesc::mutable_allmessages() {
  // @@protoc_insertion_point(field_mutable_list:paddle.platform.proto.cudaerrorDesc.AllMessages)
  return &allmessages_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::platform::proto::AllMessageDesc >&
cudaerrorDesc::allmessages() const {
  // @@protoc_insertion_point(field_list:paddle.platform.proto.cudaerrorDesc.AllMessages)
  return allmessages_;
}

inline const cudaerrorDesc* cudaerrorDesc::internal_default_instance() {
  return &cudaerrorDesc_default_instance_.get();
}
#endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS
// -------------------------------------------------------------------

// -------------------------------------------------------------------


// @@protoc_insertion_point(namespace_scope)

}  // namespace proto
}  // namespace platform
}  // namespace paddle

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_cuda_5ferror_2eproto__INCLUDED
