github.com/kchristidis/fabric@v1.0.4-0.20171028114726-837acd08cde1/protos/peer/chaincode_event.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: peer/chaincode_event.proto
     3  
     4  package peer
     5  
     6  import proto "github.com/golang/protobuf/proto"
     7  import fmt "fmt"
     8  import math "math"
     9  
    10  // Reference imports to suppress errors if they are not otherwise used.
    11  var _ = proto.Marshal
    12  var _ = fmt.Errorf
    13  var _ = math.Inf
    14  
    15  // ChaincodeEvent is used for events and registrations that are specific to chaincode
    16  // string type - "chaincode"
    17  type ChaincodeEvent struct {
    18  	ChaincodeId string `protobuf:"bytes,1,opt,name=chaincode_id,json=chaincodeId" json:"chaincode_id,omitempty"`
    19  	TxId        string `protobuf:"bytes,2,opt,name=tx_id,json=txId" json:"tx_id,omitempty"`
    20  	EventName   string `protobuf:"bytes,3,opt,name=event_name,json=eventName" json:"event_name,omitempty"`
    21  	Payload     []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
    22  }
    23  
    24  func (m *ChaincodeEvent) Reset()                    { *m = ChaincodeEvent{} }
    25  func (m *ChaincodeEvent) String() string            { return proto.CompactTextString(m) }
    26  func (*ChaincodeEvent) ProtoMessage()               {}
    27  func (*ChaincodeEvent) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
    28  
    29  func (m *ChaincodeEvent) GetChaincodeId() string {
    30  	if m != nil {
    31  		return m.ChaincodeId
    32  	}
    33  	return ""
    34  }
    35  
    36  func (m *ChaincodeEvent) GetTxId() string {
    37  	if m != nil {
    38  		return m.TxId
    39  	}
    40  	return ""
    41  }
    42  
    43  func (m *ChaincodeEvent) GetEventName() string {
    44  	if m != nil {
    45  		return m.EventName
    46  	}
    47  	return ""
    48  }
    49  
    50  func (m *ChaincodeEvent) GetPayload() []byte {
    51  	if m != nil {
    52  		return m.Payload
    53  	}
    54  	return nil
    55  }
    56  
    57  func init() {
    58  	proto.RegisterType((*ChaincodeEvent)(nil), "protos.ChaincodeEvent")
    59  }
    60  
    61  func init() { proto.RegisterFile("peer/chaincode_event.proto", fileDescriptor2) }
    62  
    63  var fileDescriptor2 = []byte{
    64  	// 218 bytes of a gzipped FileDescriptorProto
    65  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x92, 0x2a, 0x48, 0x4d, 0x2d,
    66  	0xd2, 0x4f, 0xce, 0x48, 0xcc, 0xcc, 0x4b, 0xce, 0x4f, 0x49, 0x8d, 0x4f, 0x2d, 0x4b, 0xcd, 0x2b,
    67  	0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x03, 0x53, 0xc5, 0x4a, 0x8d, 0x8c, 0x5c, 0x7c,
    68  	0xce, 0x30, 0x15, 0xae, 0x20, 0x05, 0x42, 0x8a, 0x5c, 0x3c, 0x08, 0x3d, 0x99, 0x29, 0x12, 0x8c,
    69  	0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0xdc, 0x70, 0x31, 0xcf, 0x14, 0x21, 0x61, 0x2e, 0xd6, 0x92, 0x0a,
    70  	0x90, 0x1c, 0x13, 0x58, 0x8e, 0xa5, 0xa4, 0xc2, 0x33, 0x45, 0x48, 0x96, 0x8b, 0x0b, 0x6c, 0x43,
    71  	0x7c, 0x5e, 0x62, 0x6e, 0xaa, 0x04, 0x33, 0x58, 0x86, 0x13, 0x2c, 0xe2, 0x97, 0x98, 0x9b, 0x2a,
    72  	0x24, 0xc1, 0xc5, 0x5e, 0x90, 0x58, 0x99, 0x93, 0x9f, 0x98, 0x22, 0xc1, 0xa2, 0xc0, 0xa8, 0xc1,
    73  	0x13, 0x04, 0xe3, 0x3a, 0xa5, 0x71, 0x29, 0xe5, 0x17, 0xa5, 0xeb, 0x65, 0x54, 0x16, 0xa4, 0x16,
    74  	0xe5, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0xa5, 0x25, 0x26, 0x15, 0x65, 0x26, 0x43, 0xdc, 0x5a,
    75  	0xac, 0x07, 0xf2, 0x87, 0x93, 0x28, 0xaa, 0x33, 0x03, 0x12, 0x93, 0xb3, 0x13, 0xd3, 0x53, 0xa3,
    76  	0x34, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x91, 0x4c, 0xd0, 0x87,
    77  	0x98, 0xa0, 0x0f, 0x31, 0x41, 0x1f, 0x64, 0x42, 0x12, 0xc4, 0xcf, 0xc6, 0x80, 0x00, 0x00, 0x00,
    78  	0xff, 0xff, 0x4a, 0x9d, 0xa8, 0x17, 0x18, 0x01, 0x00, 0x00,
    79  }