// Code generated by "stringer -output zproto-str.go -type ErrorCode,ClusterState,NodeType,NodeState,CellState proto.go"; DO NOT EDIT.

package proto

import "strconv"

func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[ACK-0]
	_ = x[DENIED-1]
	_ = x[NOT_READY-2]
	_ = x[OID_NOT_FOUND-3]
	_ = x[TID_NOT_FOUND-4]
	_ = x[OID_DOES_NOT_EXIST-5]
	_ = x[PROTOCOL_ERROR-6]
	_ = x[REPLICATION_ERROR-7]
	_ = x[CHECKING_ERROR-8]
	_ = x[BACKEND_NOT_IMPLEMENTED-9]
	_ = x[NON_READABLE_CELL-10]
	_ = x[READ_ONLY_ACCESS-11]
	_ = x[INCOMPLETE_TRANSACTION-12]
}

const _ErrorCode_name = "ACKDENIEDNOT_READYOID_NOT_FOUNDTID_NOT_FOUNDOID_DOES_NOT_EXISTPROTOCOL_ERRORREPLICATION_ERRORCHECKING_ERRORBACKEND_NOT_IMPLEMENTEDNON_READABLE_CELLREAD_ONLY_ACCESSINCOMPLETE_TRANSACTION"

var _ErrorCode_index = [...]uint8{0, 3, 9, 18, 31, 44, 62, 76, 93, 107, 130, 147, 163, 185}

func (i ErrorCode) String() string {
	if i >= ErrorCode(len(_ErrorCode_index)-1) {
		return "ErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _ErrorCode_name[_ErrorCode_index[i]:_ErrorCode_index[i+1]]
}
func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[ClusterRecovering-0]
	_ = x[ClusterVerifying-1]
	_ = x[ClusterRunning-2]
	_ = x[ClusterStopping-3]
	_ = x[STARTING_BACKUP-4]
	_ = x[BACKINGUP-5]
	_ = x[STOPPING_BACKUP-6]
}

const _ClusterState_name = "ClusterRecoveringClusterVerifyingClusterRunningClusterStoppingSTARTING_BACKUPBACKINGUPSTOPPING_BACKUP"

var _ClusterState_index = [...]uint8{0, 17, 33, 47, 62, 77, 86, 101}

func (i ClusterState) String() string {
	if i < 0 || i >= ClusterState(len(_ClusterState_index)-1) {
		return "ClusterState(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _ClusterState_name[_ClusterState_index[i]:_ClusterState_index[i+1]]
}
func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[MASTER-0]
	_ = x[STORAGE-1]
	_ = x[CLIENT-2]
	_ = x[ADMIN-3]
}

const _NodeType_name = "MASTERSTORAGECLIENTADMIN"

var _NodeType_index = [...]uint8{0, 6, 13, 19, 24}

func (i NodeType) String() string {
	if i < 0 || i >= NodeType(len(_NodeType_index)-1) {
		return "NodeType(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _NodeType_name[_NodeType_index[i]:_NodeType_index[i+1]]
}
func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[UNKNOWN-0]
	_ = x[DOWN-1]
	_ = x[RUNNING-2]
	_ = x[PENDING-3]
}

const _NodeState_name = "UNKNOWNDOWNRUNNINGPENDING"

var _NodeState_index = [...]uint8{0, 7, 11, 18, 25}

func (i NodeState) String() string {
	if i < 0 || i >= NodeState(len(_NodeState_index)-1) {
		return "NodeState(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _NodeState_name[_NodeState_index[i]:_NodeState_index[i+1]]
}
func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[OUT_OF_DATE-0]
	_ = x[UP_TO_DATE-1]
	_ = x[FEEDING-2]
	_ = x[CORRUPTED-3]
	_ = x[DISCARDED-4]
}

const _CellState_name = "OUT_OF_DATEUP_TO_DATEFEEDINGCORRUPTEDDISCARDED"

var _CellState_index = [...]uint8{0, 11, 21, 28, 37, 46}

func (i CellState) String() string {
	if i < 0 || i >= CellState(len(_CellState_index)-1) {
		return "CellState(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _CellState_name[_CellState_index[i]:_CellState_index[i+1]]
}
