github.com/ZihuaZhang/fabric-protos-go@v1.0.7/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 (
     7  	fmt "fmt"
     8  	proto "github.com/golang/protobuf/proto"
     9  	math "math"
    10  )
    11  
    12  // Reference imports to suppress errors if they are not otherwise used.
    13  var _ = proto.Marshal
    14  var _ = fmt.Errorf
    15  var _ = math.Inf
    16  
    17  // This is a compile-time assertion to ensure that this generated file
    18  // is compatible with the proto package it is being compiled against.
    19  // A compilation error at this line likely means your copy of the
    20  // proto package needs to be updated.
    21  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    22  
    23  // ChaincodeEvent is used for events and registrations that are specific to chaincode
    24  // string type - "chaincode"
    25  type ChaincodeEvent struct {
    26  	ChaincodeId          string   `protobuf:"bytes,1,opt,name=chaincode_id,json=chaincodeId,proto3" json:"chaincode_id,omitempty"`
    27  	TxId                 string   `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
    28  	EventName            string   `protobuf:"bytes,3,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
    29  	Payload              []byte   `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
    30  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    31  	XXX_unrecognized     []byte   `json:"-"`
    32  	XXX_sizecache        int32    `json:"-"`
    33  }
    34  
    35  func (m *ChaincodeEvent) Reset()         { *m = ChaincodeEvent{} }
    36  func (m *ChaincodeEvent) String() string { return proto.CompactTextString(m) }
    37  func (*ChaincodeEvent) ProtoMessage()    {}
    38  func (*ChaincodeEvent) Descriptor() ([]byte, []int) {
    39  	return fileDescriptor_e11f3d5e149f14fa, []int{0}
    40  }
    41  
    42  func (m *ChaincodeEvent) XXX_Unmarshal(b []byte) error {
    43  	return xxx_messageInfo_ChaincodeEvent.Unmarshal(m, b)
    44  }
    45  func (m *ChaincodeEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    46  	return xxx_messageInfo_ChaincodeEvent.Marshal(b, m, deterministic)
    47  }
    48  func (m *ChaincodeEvent) XXX_Merge(src proto.Message) {
    49  	xxx_messageInfo_ChaincodeEvent.Merge(m, src)
    50  }
    51  func (m *ChaincodeEvent) XXX_Size() int {
    52  	return xxx_messageInfo_ChaincodeEvent.Size(m)
    53  }
    54  func (m *ChaincodeEvent) XXX_DiscardUnknown() {
    55  	xxx_messageInfo_ChaincodeEvent.DiscardUnknown(m)
    56  }
    57  
    58  var xxx_messageInfo_ChaincodeEvent proto.InternalMessageInfo
    59  
    60  func (m *ChaincodeEvent) GetChaincodeId() string {
    61  	if m != nil {
    62  		return m.ChaincodeId
    63  	}
    64  	return ""
    65  }
    66  
    67  func (m *ChaincodeEvent) GetTxId() string {
    68  	if m != nil {
    69  		return m.TxId
    70  	}
    71  	return ""
    72  }
    73  
    74  func (m *ChaincodeEvent) GetEventName() string {
    75  	if m != nil {
    76  		return m.EventName
    77  	}
    78  	return ""
    79  }
    80  
    81  func (m *ChaincodeEvent) GetPayload() []byte {
    82  	if m != nil {
    83  		return m.Payload
    84  	}
    85  	return nil
    86  }
    87  
    88  func init() {
    89  	proto.RegisterType((*ChaincodeEvent)(nil), "protos.ChaincodeEvent")
    90  }
    91  
    92  func init() { proto.RegisterFile("peer/chaincode_event.proto", fileDescriptor_e11f3d5e149f14fa) }
    93  
    94  var fileDescriptor_e11f3d5e149f14fa = []byte{
    95  	// 221 bytes of a gzipped FileDescriptorProto
    96  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2a, 0x48, 0x4d, 0x2d,
    97  	0xd2, 0x4f, 0xce, 0x48, 0xcc, 0xcc, 0x4b, 0xce, 0x4f, 0x49, 0x8d, 0x4f, 0x2d, 0x4b, 0xcd, 0x2b,
    98  	0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x03, 0x53, 0xc5, 0x4a, 0x8d, 0x8c, 0x5c, 0x7c,
    99  	0xce, 0x30, 0x15, 0xae, 0x20, 0x05, 0x42, 0x8a, 0x5c, 0x3c, 0x08, 0x3d, 0x99, 0x29, 0x12, 0x8c,
   100  	0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0xdc, 0x70, 0x31, 0xcf, 0x14, 0x21, 0x61, 0x2e, 0xd6, 0x92, 0x0a,
   101  	0x90, 0x1c, 0x13, 0x58, 0x8e, 0xa5, 0xa4, 0xc2, 0x33, 0x45, 0x48, 0x96, 0x8b, 0x0b, 0x6c, 0x43,
   102  	0x7c, 0x5e, 0x62, 0x6e, 0xaa, 0x04, 0x33, 0x58, 0x86, 0x13, 0x2c, 0xe2, 0x97, 0x98, 0x9b, 0x2a,
   103  	0x24, 0xc1, 0xc5, 0x5e, 0x90, 0x58, 0x99, 0x93, 0x9f, 0x98, 0x22, 0xc1, 0xa2, 0xc0, 0xa8, 0xc1,
   104  	0x13, 0x04, 0xe3, 0x3a, 0x65, 0x72, 0x29, 0xe5, 0x17, 0xa5, 0xeb, 0x65, 0x54, 0x16, 0xa4, 0x16,
   105  	0xe5, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0xa5, 0x25, 0x26, 0x15, 0x65, 0x26, 0x43, 0xdc, 0x5a,
   106  	0xac, 0x07, 0xf2, 0x87, 0x93, 0x28, 0xaa, 0x33, 0x03, 0x12, 0x93, 0xb3, 0x13, 0xd3, 0x53, 0xa3,
   107  	0x74, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x91, 0x4c, 0xd0, 0x87,
   108  	0x98, 0xa0, 0x0b, 0x31, 0x41, 0x37, 0x3d, 0x5f, 0x1f, 0x64, 0x48, 0x12, 0xc4, 0xdb, 0xc6, 0x80,
   109  	0x00, 0x00, 0x00, 0xff, 0xff, 0xf1, 0xe0, 0xae, 0xf8, 0x1b, 0x01, 0x00, 0x00,
   110  }