github.com/adnan-c/fabric_e2e_couchdb@v0.6.1-preview.0.20170228180935-21ce6b23cf91/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  // When submitting a new chain configuration transaction to create a new chain,
    54  // the first configuration item must be of type Orderer with Key CreationPolicy
    55  // and contents of a Marshaled CreationPolicy. The policy should be set to the
    56  // policy which was supplied by the ordering service for the client's chain
    57  // creation. The digest should be the hash of the concatenation of the remaining
    58  // ConfigurationItem bytes. The signatures of the configuration item should
    59  // satisfy the policy for chain creation.
    60  type CreationPolicy struct {
    61  	// The name of the policy which should be used to validate the creation of
    62  	// this chain
    63  	Policy string `protobuf:"bytes,1,opt,name=policy" json:"policy,omitempty"`
    64  }
    65  
    66  func (m *CreationPolicy) Reset()                    { *m = CreationPolicy{} }
    67  func (m *CreationPolicy) String() string            { return proto.CompactTextString(m) }
    68  func (*CreationPolicy) ProtoMessage()               {}
    69  func (*CreationPolicy) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
    70  
    71  // IngressPolicyNames is the set of policy names which incoming Broadcast signatures are filtered against
    72  type IngressPolicyNames struct {
    73  	// A list of policies, in evaluation these are 'or'-ed, note this is not a proper policy
    74  	// because implementing referential policies in a general way is difficult, and dangerous
    75  	Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"`
    76  }
    77  
    78  func (m *IngressPolicyNames) Reset()                    { *m = IngressPolicyNames{} }
    79  func (m *IngressPolicyNames) String() string            { return proto.CompactTextString(m) }
    80  func (*IngressPolicyNames) ProtoMessage()               {}
    81  func (*IngressPolicyNames) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
    82  
    83  // EgressPolicyNames is the set of policy names which incoming Deliver signatures are filtered against
    84  type EgressPolicyNames struct {
    85  	// A list of policies, in evaluation these are 'or'-ed, note this is not a proper policy
    86  	// because implementing referential policies in a general way is difficult, and dangerous
    87  	Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"`
    88  }
    89  
    90  func (m *EgressPolicyNames) Reset()                    { *m = EgressPolicyNames{} }
    91  func (m *EgressPolicyNames) String() string            { return proto.CompactTextString(m) }
    92  func (*EgressPolicyNames) ProtoMessage()               {}
    93  func (*EgressPolicyNames) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} }
    94  
    95  // ChainCreationPolicyNames is the set of policies which may be invoked for chain creation
    96  type ChainCreationPolicyNames struct {
    97  	// A list of policies, in evaluation these are 'or'-ed, note this is not a proper policy
    98  	// because implementing referential policies in a general way is difficult, and dangerous
    99  	Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"`
   100  }
   101  
   102  func (m *ChainCreationPolicyNames) Reset()                    { *m = ChainCreationPolicyNames{} }
   103  func (m *ChainCreationPolicyNames) String() string            { return proto.CompactTextString(m) }
   104  func (*ChainCreationPolicyNames) ProtoMessage()               {}
   105  func (*ChainCreationPolicyNames) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} }
   106  
   107  // Carries a list of bootstrap brokers, i.e. this is not the exclusive set of
   108  // brokers an ordering service
   109  type KafkaBrokers struct {
   110  	// Each broker here should be identified using the (IP|host):port notation,
   111  	// e.g. 127.0.0.1:7050, or localhost:7050 are valid entries
   112  	Brokers []string `protobuf:"bytes,1,rep,name=brokers" json:"brokers,omitempty"`
   113  }
   114  
   115  func (m *KafkaBrokers) Reset()                    { *m = KafkaBrokers{} }
   116  func (m *KafkaBrokers) String() string            { return proto.CompactTextString(m) }
   117  func (*KafkaBrokers) ProtoMessage()               {}
   118  func (*KafkaBrokers) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} }
   119  
   120  func init() {
   121  	proto.RegisterType((*ConsensusType)(nil), "orderer.ConsensusType")
   122  	proto.RegisterType((*BatchSize)(nil), "orderer.BatchSize")
   123  	proto.RegisterType((*BatchTimeout)(nil), "orderer.BatchTimeout")
   124  	proto.RegisterType((*CreationPolicy)(nil), "orderer.CreationPolicy")
   125  	proto.RegisterType((*IngressPolicyNames)(nil), "orderer.IngressPolicyNames")
   126  	proto.RegisterType((*EgressPolicyNames)(nil), "orderer.EgressPolicyNames")
   127  	proto.RegisterType((*ChainCreationPolicyNames)(nil), "orderer.ChainCreationPolicyNames")
   128  	proto.RegisterType((*KafkaBrokers)(nil), "orderer.KafkaBrokers")
   129  }
   130  
   131  func init() { proto.RegisterFile("orderer/configuration.proto", fileDescriptor1) }
   132  
   133  var fileDescriptor1 = []byte{
   134  	// 318 bytes of a gzipped FileDescriptorProto
   135  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0xc3, 0x40,
   136  	0x10, 0x86, 0x89, 0xd5, 0x96, 0x0e, 0xad, 0xda, 0x45, 0x24, 0xe0, 0xa5, 0xc4, 0x4b, 0x2c, 0xa5,
   137  	0x11, 0x7c, 0x83, 0x04, 0x0f, 0x22, 0x15, 0xa9, 0x3d, 0x79, 0xdb, 0xa4, 0x93, 0x64, 0x69, 0xb2,
   138  	0x1b, 0x66, 0x37, 0xd0, 0xf8, 0x12, 0xbe, 0xb2, 0x74, 0x93, 0x0a, 0x5a, 0x10, 0x6f, 0xff, 0xb7,
   139  	0xf3, 0x2d, 0xfc, 0xc3, 0xc0, 0x8d, 0xa2, 0x0d, 0x12, 0x52, 0x90, 0x28, 0x99, 0x8a, 0xac, 0x26,
   140  	0x6e, 0x84, 0x92, 0x8b, 0x8a, 0x94, 0x51, 0x6c, 0xd0, 0x0d, 0xbd, 0x5b, 0x18, 0x47, 0x4a, 0x6a,
   141  	0x94, 0xba, 0xd6, 0xeb, 0xa6, 0x42, 0xc6, 0xe0, 0xd4, 0x34, 0x15, 0xba, 0xce, 0xd4, 0xf1, 0x87,
   142  	0x2b, 0x9b, 0xbd, 0x4f, 0x07, 0x86, 0x21, 0x37, 0x49, 0xfe, 0x26, 0x3e, 0x90, 0xf9, 0x70, 0x51,
   143  	0xf2, 0xdd, 0x12, 0xb5, 0xe6, 0x19, 0x46, 0xaa, 0x96, 0xc6, 0xca, 0xe3, 0xd5, 0xef, 0x67, 0x36,
   144  	0x83, 0x4b, 0x1e, 0x6b, 0x55, 0xd4, 0x06, 0x97, 0x7c, 0x17, 0x36, 0x06, 0xb5, 0x7b, 0x62, 0xd5,
   145  	0xa3, 0x77, 0x36, 0x87, 0x49, 0x45, 0x98, 0x22, 0x11, 0x6e, 0xbe, 0xe5, 0x9e, 0x95, 0x8f, 0x07,
   146  	0x9e, 0x0f, 0x23, 0x5b, 0x68, 0x2d, 0x4a, 0x54, 0xb5, 0x61, 0x2e, 0x0c, 0x4c, 0x1b, 0xbb, 0xe2,
   147  	0x07, 0xf4, 0x7c, 0x38, 0x8f, 0x08, 0xed, 0xee, 0xaf, 0xaa, 0x10, 0x49, 0xc3, 0xae, 0xa1, 0x5f,
   148  	0xd9, 0xd4, 0xa9, 0x1d, 0x79, 0x33, 0x60, 0x4f, 0x32, 0x23, 0xd4, 0xba, 0x15, 0x5f, 0x78, 0x89,
   149  	0x9a, 0x5d, 0xc1, 0x99, 0xdc, 0x07, 0xd7, 0x99, 0xf6, 0xfc, 0xe1, 0xaa, 0x05, 0xef, 0x0e, 0x26,
   150  	0x8f, 0xff, 0x54, 0xef, 0xc1, 0x8d, 0x72, 0x2e, 0xe4, 0xcf, 0x16, 0x7f, 0xfd, 0xf0, 0x61, 0xf4,
   151  	0xcc, 0xd3, 0x2d, 0x0f, 0x49, 0x6d, 0x91, 0xf4, 0x7e, 0xb9, 0xb8, 0x8d, 0x9d, 0x77, 0xc0, 0x70,
   152  	0xf1, 0x3e, 0xcf, 0x84, 0xc9, 0xeb, 0x78, 0x91, 0xa8, 0x32, 0xc8, 0x9b, 0x0a, 0xa9, 0xc0, 0x4d,
   153  	0x86, 0x14, 0xa4, 0x3c, 0x26, 0x91, 0x04, 0xf6, 0xda, 0x3a, 0xe8, 0xae, 0x1d, 0xf7, 0x2d, 0x3f,
   154  	0x7c, 0x05, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x58, 0x13, 0xb8, 0x1c, 0x02, 0x00, 0x00,
   155  }