// Code generated by protoc-gen-go. DO NOT EDIT.
// source: orderer/tbft/configuration.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

// ConfigMetadata is serialized and set as the value of ConsensusType.Metadata in
// a channel configuration when the ConsensusType.Type is set "tbft".
type ConfigMetadata struct {
	Consenters           []*Consenter `protobuf:"bytes,1,rep,name=consenters,proto3" json:"consenters,omitempty"`
	Options              *Options     `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

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

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

var xxx_messageInfo_ConfigMetadata proto.InternalMessageInfo

func (m *ConfigMetadata) GetConsenters() []*Consenter {
	if m != nil {
		return m.Consenters
	}
	return nil
}

func (m *ConfigMetadata) GetOptions() *Options {
	if m != nil {
		return m.Options
	}
	return nil
}

// Consenter represents a consenting node (i.e. replica).
type Consenter struct {
	Host                 string   `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port                 uint32   `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	ClientTlsCert        []byte   `protobuf:"bytes,3,opt,name=client_tls_cert,json=clientTlsCert,proto3" json:"client_tls_cert,omitempty"`
	ServerTlsCert        []byte   `protobuf:"bytes,4,opt,name=server_tls_cert,json=serverTlsCert,proto3" json:"server_tls_cert,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *Consenter) Reset()         { *m = Consenter{} }
func (m *Consenter) String() string { return proto.CompactTextString(m) }
func (*Consenter) ProtoMessage()    {}
func (*Consenter) Descriptor() ([]byte, []int) {
	return fileDescriptor_da0ef10ac1974d09, []int{1}
}

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

var xxx_messageInfo_Consenter proto.InternalMessageInfo

func (m *Consenter) GetHost() string {
	if m != nil {
		return m.Host
	}
	return ""
}

func (m *Consenter) GetPort() uint32 {
	if m != nil {
		return m.Port
	}
	return 0
}

func (m *Consenter) GetClientTlsCert() []byte {
	if m != nil {
		return m.ClientTlsCert
	}
	return nil
}

func (m *Consenter) GetServerTlsCert() []byte {
	if m != nil {
		return m.ServerTlsCert
	}
	return nil
}

// Options to be specified for all the tbft nodes. These can be modified on a
// per-channel basis.
type Options struct {
	ProposeTimeoutInit    string   `protobuf:"bytes,1,opt,name=propose_timeout_init,json=proposeTimeoutInit,proto3" json:"propose_timeout_init,omitempty"`
	ProposeTimeoutDelta   string   `protobuf:"bytes,2,opt,name=propose_timeout_delta,json=proposeTimeoutDelta,proto3" json:"propose_timeout_delta,omitempty"`
	PrevoteTimeoutInit    string   `protobuf:"bytes,3,opt,name=prevote_timeout_init,json=prevoteTimeoutInit,proto3" json:"prevote_timeout_init,omitempty"`
	PrevoteTimeoutDelta   string   `protobuf:"bytes,4,opt,name=prevote_timeout_delta,json=prevoteTimeoutDelta,proto3" json:"prevote_timeout_delta,omitempty"`
	PrecommitTimeoutInit  string   `protobuf:"bytes,5,opt,name=precommit_timeout_init,json=precommitTimeoutInit,proto3" json:"precommit_timeout_init,omitempty"`
	PrecommitTimeoutDelta string   `protobuf:"bytes,6,opt,name=precommit_timeout_delta,json=precommitTimeoutDelta,proto3" json:"precommit_timeout_delta,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (m *Options) Reset()         { *m = Options{} }
func (m *Options) String() string { return proto.CompactTextString(m) }
func (*Options) ProtoMessage()    {}
func (*Options) Descriptor() ([]byte, []int) {
	return fileDescriptor_da0ef10ac1974d09, []int{2}
}

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

var xxx_messageInfo_Options proto.InternalMessageInfo

func (m *Options) GetProposeTimeoutInit() string {
	if m != nil {
		return m.ProposeTimeoutInit
	}
	return ""
}

func (m *Options) GetProposeTimeoutDelta() string {
	if m != nil {
		return m.ProposeTimeoutDelta
	}
	return ""
}

func (m *Options) GetPrevoteTimeoutInit() string {
	if m != nil {
		return m.PrevoteTimeoutInit
	}
	return ""
}

func (m *Options) GetPrevoteTimeoutDelta() string {
	if m != nil {
		return m.PrevoteTimeoutDelta
	}
	return ""
}

func (m *Options) GetPrecommitTimeoutInit() string {
	if m != nil {
		return m.PrecommitTimeoutInit
	}
	return ""
}

func (m *Options) GetPrecommitTimeoutDelta() string {
	if m != nil {
		return m.PrecommitTimeoutDelta
	}
	return ""
}

func init() {
	proto.RegisterType((*ConfigMetadata)(nil), "tbft.ConfigMetadata")
	proto.RegisterType((*Consenter)(nil), "tbft.Consenter")
	proto.RegisterType((*Options)(nil), "tbft.Options")
}

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

var fileDescriptor_da0ef10ac1974d09 = []byte{
	// 379 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x92, 0x4f, 0xcb, 0xd3, 0x40,
	0x10, 0xc6, 0xc9, 0xdb, 0xf8, 0xbe, 0x74, 0x5f, 0x6b, 0x61, 0x6d, 0x35, 0xc7, 0xd0, 0x83, 0x06,
	0xa1, 0x89, 0xd4, 0xe2, 0x07, 0xb0, 0x5e, 0x3c, 0x88, 0x10, 0x7a, 0xf2, 0x12, 0xf2, 0x67, 0x9a,
	0xae, 0x24, 0x99, 0x30, 0x3b, 0x2d, 0x78, 0xf6, 0xa3, 0xf9, 0xc5, 0x24, 0xbb, 0x49, 0x4d, 0xdb,
	0xdb, 0x32, 0xcf, 0xf3, 0xdb, 0xdf, 0x1c, 0x46, 0xf8, 0x48, 0x05, 0x10, 0x50, 0xc4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