github.com/leonlxy/hyperledger@v1.0.0-alpha.0.20170427033203-34922035d248/protos/orderer/configuration.pb.go (about)

     1  // Code generated by protoc-gen-go.
     2  // source: orderer/configuration.proto
     3  // DO NOT EDIT!
     4  
     5  package orderer
     6  
     7  import proto "github.com/golang/protobuf/proto"
     8  import fmt "fmt"
     9  import math "math"
    10  
    11  // Reference imports to suppress errors if they are not otherwise used.
    12  var _ = proto.Marshal
    13  var _ = fmt.Errorf
    14  var _ = math.Inf
    15  
    16  type ConsensusType struct {
    17  	Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
    18  }
    19  
    20  func (m *ConsensusType) Reset()                    { *m = ConsensusType{} }
    21  func (m *ConsensusType) String() string            { return proto.CompactTextString(m) }
    22  func (*ConsensusType) ProtoMessage()               {}
    23  func (*ConsensusType) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
    24  
    25  type BatchSize struct {
    26  	// Simply specified as number of messages for now, in the future
    27  	// we may want to allow this to be specified by size in bytes
    28  	MaxMessageCount uint32 `protobuf:"varint,1,opt,name=maxMessageCount" json:"maxMessageCount,omitempty"`
    29  	// The byte count of the serialized messages in a batch cannot
    30  	// exceed this value.
    31  	AbsoluteMaxBytes uint32 `protobuf:"varint,2,opt,name=absoluteMaxBytes" json:"absoluteMaxBytes,omitempty"`
    32  	// The byte count of the serialized messages in a batch should not
    33  	// exceed this value.
    34  	PreferredMaxBytes uint32 `protobuf:"varint,3,opt,name=preferredMaxBytes" json:"preferredMaxBytes,omitempty"`
    35  }
    36  
    37  func (m *BatchSize) Reset()                    { *m = BatchSize{} }
    38  func (m *BatchSize) String() string            { return proto.CompactTextString(m) }
    39  func (*BatchSize) ProtoMessage()               {}
    40  func (*BatchSize) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
    41  
    42  type BatchTimeout struct {
    43  	// Any duration string parseable by ParseDuration():
    44  	// https://golang.org/pkg/time/#ParseDuration
    45  	Timeout string `protobuf:"bytes,1,opt,name=timeout" json:"timeout,omitempty"`
    46  }
    47  
    48  func (m *BatchTimeout) Reset()                    { *m = BatchTimeout{} }
    49  func (m *BatchTimeout) String() string            { return proto.CompactTextString(m) }
    50  func (*BatchTimeout) ProtoMessage()               {}
    51  func (*BatchTimeout) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
    52  
    53  // Carries a list of bootstrap brokers, i.e. this is not the exclusive set of
    54  // brokers an ordering service
    55  type KafkaBrokers struct {
    56  	// Each broker here should be identified using the (IP|host):port notation,
    57  	// e.g. 127.0.0.1:7050, or localhost:7050 are valid entries
    58  	Brokers []string `protobuf:"bytes,1,rep,name=brokers" json:"brokers,omitempty"`
    59  }
    60  
    61  func (m *KafkaBrokers) Reset()                    { *m = KafkaBrokers{} }
    62  func (m *KafkaBrokers) String() string            { return proto.CompactTextString(m) }
    63  func (*KafkaBrokers) ProtoMessage()               {}
    64  func (*KafkaBrokers) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
    65  
    66  // ChannelRestrictions is the mssage which conveys restrictions on channel creation for an orderer
    67  type ChannelRestrictions struct {
    68  	MaxCount uint64 `protobuf:"varint,1,opt,name=max_count,json=maxCount" json:"max_count,omitempty"`
    69  }
    70  
    71  func (m *ChannelRestrictions) Reset()                    { *m = ChannelRestrictions{} }
    72  func (m *ChannelRestrictions) String() string            { return proto.CompactTextString(m) }
    73  func (*ChannelRestrictions) ProtoMessage()               {}
    74  func (*ChannelRestrictions) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
    75  
    76  func init() {
    77  	proto.RegisterType((*ConsensusType)(nil), "orderer.ConsensusType")
    78  	proto.RegisterType((*BatchSize)(nil), "orderer.BatchSize")
    79  	proto.RegisterType((*BatchTimeout)(nil), "orderer.BatchTimeout")
    80  	proto.RegisterType((*KafkaBrokers)(nil), "orderer.KafkaBrokers")
    81  	proto.RegisterType((*ChannelRestrictions)(nil), "orderer.ChannelRestrictions")
    82  }
    83  
    84  func init() { proto.RegisterFile("orderer/configuration.proto", fileDescriptor1) }
    85  
    86  var fileDescriptor1 = []byte{
    87  	// 299 bytes of a gzipped FileDescriptorProto
    88  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0xd0, 0xcd, 0x4a, 0xc3, 0x40,
    89  	0x10, 0x07, 0x70, 0x62, 0x8b, 0xb5, 0x8b, 0x45, 0x5d, 0x2f, 0x81, 0x5e, 0x4a, 0x44, 0x28, 0x52,
    90  	0x12, 0xd0, 0x37, 0x48, 0x8f, 0xd2, 0x4b, 0xac, 0x17, 0x2f, 0xb2, 0x49, 0x27, 0xc9, 0xd2, 0x64,
    91  	0x27, 0xcc, 0xee, 0x42, 0xe2, 0x4b, 0xf8, 0xca, 0x92, 0x4d, 0x2c, 0x62, 0x6f, 0xf3, 0xf1, 0x3b,
    92  	0xcc, 0xfc, 0xd9, 0x12, 0xe9, 0x00, 0x04, 0x14, 0x65, 0xa8, 0x72, 0x59, 0x58, 0x12, 0x46, 0xa2,
    93  	0x0a, 0x1b, 0x42, 0x83, 0x7c, 0x36, 0x2e, 0x83, 0x07, 0xb6, 0xd8, 0xa2, 0xd2, 0xa0, 0xb4, 0xd5,
    94  	0xfb, 0xae, 0x01, 0xce, 0xd9, 0xd4, 0x74, 0x0d, 0xf8, 0xde, 0xca, 0x5b, 0xcf, 0x13, 0x57, 0x07,
    95  	0xdf, 0x1e, 0x9b, 0xc7, 0xc2, 0x64, 0xe5, 0x9b, 0xfc, 0x02, 0xbe, 0x66, 0x37, 0xb5, 0x68, 0x77,
    96  	0xa0, 0xb5, 0x28, 0x60, 0x8b, 0x56, 0x19, 0x87, 0x17, 0xc9, 0xff, 0x31, 0x7f, 0x62, 0xb7, 0x22,
    97  	0xd5, 0x58, 0x59, 0x03, 0x3b, 0xd1, 0xc6, 0x9d, 0x01, 0xed, 0x5f, 0x38, 0x7a, 0x36, 0xe7, 0x1b,
    98  	0x76, 0xd7, 0x10, 0xe4, 0x40, 0x04, 0x87, 0x13, 0x9e, 0x38, 0x7c, 0xbe, 0x08, 0xd6, 0xec, 0xda,
    99  	0x1d, 0xb4, 0x97, 0x35, 0xa0, 0x35, 0xdc, 0x67, 0x33, 0x33, 0x94, 0xe3, 0xe1, 0xbf, 0x6d, 0x2f,
   100  	0x5f, 0x45, 0x7e, 0x14, 0x31, 0xe1, 0x11, 0x48, 0xf7, 0x32, 0x1d, 0x4a, 0xdf, 0x5b, 0x4d, 0x7a,
   101  	0x39, 0xb6, 0xc1, 0x33, 0xbb, 0xdf, 0x96, 0x42, 0x29, 0xa8, 0x12, 0xd0, 0x86, 0x64, 0xd6, 0xe7,
   102  	0xa5, 0xf9, 0x92, 0xcd, 0x6b, 0xd1, 0x7e, 0x66, 0xa7, 0x47, 0xa7, 0xc9, 0x55, 0x2d, 0x5a, 0xf7,
   103  	0x61, 0xfc, 0xce, 0x1e, 0x91, 0x8a, 0xb0, 0xec, 0x1a, 0xa0, 0x0a, 0x0e, 0x05, 0x50, 0x98, 0x8b,
   104  	0x94, 0x64, 0x36, 0xe4, 0xac, 0xc3, 0x31, 0xe7, 0x8f, 0x4d, 0x21, 0x4d, 0x69, 0xd3, 0x30, 0xc3,
   105  	0x3a, 0xfa, 0xa3, 0xa3, 0x41, 0x47, 0x83, 0x8e, 0x46, 0x9d, 0x5e, 0xba, 0xfe, 0xe5, 0x27, 0x00,
   106  	0x00, 0xff, 0xff, 0x13, 0xe7, 0x5d, 0xdb, 0xc4, 0x01, 0x00, 0x00,
   107  }