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

#ifndef PROTOBUF_error_5fcodes_2eproto__INCLUDED
#define PROTOBUF_error_5fcodes_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/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_enum_util.h>
// @@protoc_insertion_point(includes)

namespace paddle {
namespace platform {
namespace error {

// Internal implementation detail -- do not call these.
void protobuf_AddDesc_error_5fcodes_2eproto();
void protobuf_InitDefaults_error_5fcodes_2eproto();
void protobuf_AssignDesc_error_5fcodes_2eproto();
void protobuf_ShutdownFile_error_5fcodes_2eproto();


enum Code {
  LEGACY = 0,
  INVALID_ARGUMENT = 1,
  NOT_FOUND = 2,
  OUT_OF_RANGE = 3,
  ALREADY_EXISTS = 4,
  RESOURCE_EXHAUSTED = 5,
  PRECONDITION_NOT_MET = 6,
  PERMISSION_DENIED = 7,
  EXECUTION_TIMEOUT = 8,
  UNIMPLEMENTED = 9,
  UNAVAILABLE = 10,
  FATAL = 11,
  EXTERNAL = 12
};
bool Code_IsValid(int value);
const Code Code_MIN = LEGACY;
const Code Code_MAX = EXTERNAL;
const int Code_ARRAYSIZE = Code_MAX + 1;

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


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


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

#if !PROTOBUF_INLINE_NOT_IN_HEADERS
#endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS

// @@protoc_insertion_point(namespace_scope)

}  // namespace error
}  // namespace platform
}  // namespace paddle

#ifndef SWIG
namespace google {
namespace protobuf {

template <> struct is_proto_enum< ::paddle::platform::error::Code> : ::google::protobuf::internal::true_type {};

}  // namespace protobuf
}  // namespace google
#endif  // SWIG

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_error_5fcodes_2eproto__INCLUDED
