#include <google/protobuf/stubs/status.h>
#include <ostream>
#include <stdio.h>
#include <string>
#include <utility>
namespace google {
namespace protobuf {
namespace util {
namespace status_internal {
namespace {
inline std::string StatusCodeToString(StatusCode code) { … }
}
Status::Status() : … { … }
Status::Status(StatusCode error_code, StringPiece error_message)
: … { … }
Status::Status(const Status& other)
: … { … }
Status& Status::operator=(const Status& other) { … }
bool Status::operator==(const Status& x) const { … }
std::string Status::ToString() const { … }
Status OkStatus() { … }
std::ostream& operator<<(std::ostream& os, const Status& x) { … }
bool IsAborted(const Status& status) { … }
bool IsAlreadyExists(const Status& status) { … }
bool IsCancelled(const Status& status) { … }
bool IsDataLoss(const Status& status) { … }
bool IsDeadlineExceeded(const Status& status) { … }
bool IsFailedPrecondition(const Status& status) { … }
bool IsInternal(const Status& status) { … }
bool IsInvalidArgument(const Status& status) { … }
bool IsNotFound(const Status& status) { … }
bool IsOutOfRange(const Status& status) { … }
bool IsPermissionDenied(const Status& status) { … }
bool IsResourceExhausted(const Status& status) { … }
bool IsUnauthenticated(const Status& status) { … }
bool IsUnavailable(const Status& status) { … }
bool IsUnimplemented(const Status& status) { … }
bool IsUnknown(const Status& status) { … }
Status AbortedError(StringPiece message) { … }
Status AlreadyExistsError(StringPiece message) { … }
Status CancelledError(StringPiece message) { … }
Status DataLossError(StringPiece message) { … }
Status DeadlineExceededError(StringPiece message) { … }
Status FailedPreconditionError(StringPiece message) { … }
Status InternalError(StringPiece message) { … }
Status InvalidArgumentError(StringPiece message) { … }
Status NotFoundError(StringPiece message) { … }
Status OutOfRangeError(StringPiece message) { … }
Status PermissionDeniedError(StringPiece message) { … }
Status ResourceExhaustedError(StringPiece message) { … }
Status UnauthenticatedError(StringPiece message) { … }
Status UnavailableError(StringPiece message) { … }
Status UnimplementedError(StringPiece message) { … }
Status UnknownError(StringPiece message) { … }
}
}
}
}