func (MessageType) EnumDescriptor() ([]byte, []int) {
	return file_consensus_proto_rawDescGZIP(), []int{0}
}
Deprecated: Use MessageType.Descriptor instead.
package model
import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)
const (
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type MessageType int32
const (
	MessageType_Default          MessageType = 0
	MessageType_PrePrepare       MessageType = 1  
	MessageType_Prepare          MessageType = 2  
	MessageType_Commit           MessageType = 3
	MessageType_Checkpoint       MessageType = 4
	MessageType_ViewChange       MessageType = 5
	MessageType_NewBlockProposal MessageType = 6
)
var (
	MessageType_name = map[int32]string{
		0: "Default",
		1: "PrePrepare",
		2: "Prepare",
		3: "Commit",
		4: "Checkpoint",
		5: "ViewChange",
		6: "NewBlockProposal",
	}
	MessageType_value = map[string]int32{
		"Default":          0,
		"PrePrepare":       1,
		"Prepare":          2,
		"Commit":           3,
		"Checkpoint":       4,
		"ViewChange":       5,
		"NewBlockProposal": 6,
	}
)
func (x MessageType) Enum() *MessageType {
	p := new(MessageType)
	*p = x
	return p
}
func (x MessageType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MessageType) Descriptor() protoreflect.EnumDescriptor {
	return file_consensus_proto_enumTypes[0].Descriptor()
}
func (MessageType) Type() protoreflect.EnumType {
	return &file_consensus_proto_enumTypes[0]
}
func (x MessageType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}