// Code generated by protoc-gen-go. DO NOT EDIT.
// source: orderer/tbft/tbft.proto

package tbft

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

type EntryType int32

const (
	EntryType_ENTRYPROPOSAL  EntryType = 0
	EntryType_ENTRYPREVOTE   EntryType = 1
	EntryType_ENTRYPRECOMMIT EntryType = 2
	EntryType_ENTRYTIMEOUT   EntryType = 3
)

var EntryType_name = map[int32]string{
	0: "ENTRYPROPOSAL",
	1: "ENTRYPREVOTE",
	2: "ENTRYPRECOMMIT",
	3: "ENTRYTIMEOUT",
}

var EntryType_value = map[string]int32{
	"ENTRYPROPOSAL":  0,
	"ENTRYPREVOTE":   1,
	"ENTRYPRECOMMIT": 2,
	"ENTRYTIMEOUT":   3,
}

func (x EntryType) String() string {
	return proto.EnumName(EntryType_name, int32(x))
}

func (EntryType) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_51de8bc8999aa42f, []int{0}
}

type Entry struct {
	Height               uint64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Round                uint64    `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	Type                 EntryType `protobuf:"varint,3,opt,name=type,proto3,enum=tbft.EntryType" json:"type,omitempty"`
	Data                 []byte    `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (m *Entry) Reset()         { *m = Entry{} }
func (m *Entry) String() string { return proto.CompactTextString(m) }
func (*Entry) ProtoMessage()    {}
func (*Entry) Descriptor() ([]byte, []int) {
	return fileDescriptor_51de8bc8999aa42f, []int{0}
}

func (m *Entry) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Entry.Unmarshal(m, b)
}
func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Entry.Marshal(b, m, deterministic)
}
func (m *Entry) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Entry.Merge(m, src)
}
func (m *Entry) XXX_Size() int {
	return xxx_messageInfo_Entry.Size(m)
}
func (m *Entry) XXX_DiscardUnknown() {
	xxx_messageInfo_Entry.DiscardUnknown(m)
}

var xxx_messageInfo_Entry proto.InternalMessageInfo

func (m *Entry) GetHeight() uint64 {
	if m != nil {
		return m.Height
	}
	return 0
}

func (m *Entry) GetRound() uint64 {
	if m != nil {
		return m.Round
	}
	return 0
}

func (m *Entry) GetType() EntryType {
	if m != nil {
		return m.Type
	}
	return EntryType_ENTRYPROPOSAL
}

func (m *Entry) GetData() []byte {
	if m != nil {
		return m.Data
	}
	return nil
}

func init() {
	proto.RegisterEnum("tbft.EntryType", EntryType_name, EntryType_value)
	proto.RegisterType((*Entry)(nil), "tbft.Entry")
}

func init() { proto.RegisterFile("orderer/tbft/tbft.proto", fileDescriptor_51de8bc8999aa42f) }

var fileDescriptor_51de8bc8999aa42f = []byte{
	// 260 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x51, 0x4b, 0xc3, 0x30,
	0x14, 0x85, 0xed, 0xd6, 0x0d, 0xbc, 0xcc, 0x59, 0x2f, 0xa2, 0x7d, 0x2c, 0xfa, 0x52, 0x06, 0x4b,
	0x41, 0xfd, 0x03, 0x2a, 0x7d, 0x18, 0x58, 0x3b, 0x62, 0x1c, 0xe8, 0x5b, 0xb3, 0x66, 0x69, 0x41,
	0x9b, 0x72, 0xcd, 0x1e, 0xfa, 0xef, 0xc5, 0xb4, 0x8e, 0xbd, 0x84, 0x7b, 0xbf,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