code: public static Status fromProto(alluxio.proto.status.Status.PStatus status) {
      switch (status) {
        case ABORTED:
          return Status.ABORTED;
        case ALREADY_EXISTS:
          return Status.ALREADY_EXISTS;
        case CANCELED:
          return Status.CANCELLED;
        case DATA_LOSS:
          return Status.DATA_LOSS;
        case DEADLINE_EXCEEDED:
          return Status.DEADLINE_EXCEEDED;
        case FAILED_PRECONDITION:
          return Status.FAILED_PRECONDITION;
        case INTERNAL:
          return Status.INTERNAL;
        case INVALID_ARGUMENT:
          return Status.INVALID_ARGUMENT;
        case NOT_FOUND:
          return Status.NOT_FOUND;
        case OK:
          return Status.OK;
        case OUT_OF_RANGE:
          return Status.OUT_OF_RANGE;
        case PERMISSION_DENIED:
          return Status.PERMISSION_DENIED;
        case RESOURCE_EXHAUSTED:
          return Status.RESOURCE_EXHAUSTED;
        case UNAUTHENTICATED:
          return Status.UNAUTHENTICATED;
        case UNAVAILABLE:
          return Status.UNAVAILABLE;
        case UNIMPLEMENTED:
          return Status.UNIMPLEMENTED;
        case UNKNOWN:
          return Status.UNKNOWN;
        default:
          return Status.UNKNOWN;
      }
    }
docs: Creates a {@link Status} from a protocol buffer type status.
  
  @param status the protocol buffer type status
  @return the corresponding {@link Status}