github.com/inklabsfoundation/inkchain@v0.17.1-0.20181025012015-c3cef8062f19/protos/peer/chaincode_shim.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: peer/chaincode_shim.proto
     3  
     4  package peer
     5  
     6  import proto "github.com/golang/protobuf/proto"
     7  import fmt "fmt"
     8  import math "math"
     9  import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
    10  
    11  import (
    12  	context "golang.org/x/net/context"
    13  	grpc "google.golang.org/grpc"
    14  )
    15  
    16  // Reference imports to suppress errors if they are not otherwise used.
    17  var _ = proto.Marshal
    18  var _ = fmt.Errorf
    19  var _ = math.Inf
    20  
    21  type ChaincodeMessage_Type int32
    22  
    23  const (
    24  	ChaincodeMessage_UNDEFINED           ChaincodeMessage_Type = 0
    25  	ChaincodeMessage_REGISTER            ChaincodeMessage_Type = 1
    26  	ChaincodeMessage_REGISTERED          ChaincodeMessage_Type = 2
    27  	ChaincodeMessage_INIT                ChaincodeMessage_Type = 3
    28  	ChaincodeMessage_READY               ChaincodeMessage_Type = 4
    29  	ChaincodeMessage_TRANSACTION         ChaincodeMessage_Type = 5
    30  	ChaincodeMessage_COMPLETED           ChaincodeMessage_Type = 6
    31  	ChaincodeMessage_ERROR               ChaincodeMessage_Type = 7
    32  	ChaincodeMessage_GET_STATE           ChaincodeMessage_Type = 8
    33  	ChaincodeMessage_PUT_STATE           ChaincodeMessage_Type = 9
    34  	ChaincodeMessage_DEL_STATE           ChaincodeMessage_Type = 10
    35  	ChaincodeMessage_INVOKE_CHAINCODE    ChaincodeMessage_Type = 11
    36  	ChaincodeMessage_RESPONSE            ChaincodeMessage_Type = 13
    37  	ChaincodeMessage_GET_STATE_BY_RANGE  ChaincodeMessage_Type = 14
    38  	ChaincodeMessage_GET_QUERY_RESULT    ChaincodeMessage_Type = 15
    39  	ChaincodeMessage_QUERY_STATE_NEXT    ChaincodeMessage_Type = 16
    40  	ChaincodeMessage_QUERY_STATE_CLOSE   ChaincodeMessage_Type = 17
    41  	ChaincodeMessage_KEEPALIVE           ChaincodeMessage_Type = 18
    42  	ChaincodeMessage_GET_HISTORY_FOR_KEY ChaincodeMessage_Type = 19
    43  	ChaincodeMessage_TRANSFER            ChaincodeMessage_Type = 820
    44  	ChaincodeMessage_ISSUE_TOKEN         ChaincodeMessage_Type = 821
    45  	ChaincodeMessage_GET_ACCOUNT         ChaincodeMessage_Type = 823
    46  	ChaincodeMessage_GET_FEE             ChaincodeMessage_Type = 825
    47  	ChaincodeMessage_SIGN                ChaincodeMessage_Type = 826
    48  	ChaincodeMessage_VERIFY              ChaincodeMessage_Type = 827
    49  )
    50  
    51  var ChaincodeMessage_Type_name = map[int32]string{
    52  	0:   "UNDEFINED",
    53  	1:   "REGISTER",
    54  	2:   "REGISTERED",
    55  	3:   "INIT",
    56  	4:   "READY",
    57  	5:   "TRANSACTION",
    58  	6:   "COMPLETED",
    59  	7:   "ERROR",
    60  	8:   "GET_STATE",
    61  	9:   "PUT_STATE",
    62  	10:  "DEL_STATE",
    63  	11:  "INVOKE_CHAINCODE",
    64  	13:  "RESPONSE",
    65  	14:  "GET_STATE_BY_RANGE",
    66  	15:  "GET_QUERY_RESULT",
    67  	16:  "QUERY_STATE_NEXT",
    68  	17:  "QUERY_STATE_CLOSE",
    69  	18:  "KEEPALIVE",
    70  	19:  "GET_HISTORY_FOR_KEY",
    71  	820: "TRANSFER",
    72  	821: "ISSUE_TOKEN",
    73  	823: "GET_ACCOUNT",
    74  	825: "GET_FEE",
    75  	826: "SIGN",
    76  	827: "VERIFY",
    77  }
    78  var ChaincodeMessage_Type_value = map[string]int32{
    79  	"UNDEFINED":           0,
    80  	"REGISTER":            1,
    81  	"REGISTERED":          2,
    82  	"INIT":                3,
    83  	"READY":               4,
    84  	"TRANSACTION":         5,
    85  	"COMPLETED":           6,
    86  	"ERROR":               7,
    87  	"GET_STATE":           8,
    88  	"PUT_STATE":           9,
    89  	"DEL_STATE":           10,
    90  	"INVOKE_CHAINCODE":    11,
    91  	"RESPONSE":            13,
    92  	"GET_STATE_BY_RANGE":  14,
    93  	"GET_QUERY_RESULT":    15,
    94  	"QUERY_STATE_NEXT":    16,
    95  	"QUERY_STATE_CLOSE":   17,
    96  	"KEEPALIVE":           18,
    97  	"GET_HISTORY_FOR_KEY": 19,
    98  	"TRANSFER":            820,
    99  	"ISSUE_TOKEN":         821,
   100  	"GET_ACCOUNT":         823,
   101  	"GET_FEE":             825,
   102  	"SIGN":                826,
   103  	"VERIFY":              827,
   104  }
   105  
   106  func (x ChaincodeMessage_Type) String() string {
   107  	return proto.EnumName(ChaincodeMessage_Type_name, int32(x))
   108  }
   109  func (ChaincodeMessage_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 0} }
   110  
   111  type ChaincodeMessage struct {
   112  	Type      ChaincodeMessage_Type       `protobuf:"varint,1,opt,name=type,enum=protos.ChaincodeMessage_Type" json:"type,omitempty"`
   113  	Timestamp *google_protobuf1.Timestamp `protobuf:"bytes,2,opt,name=timestamp" json:"timestamp,omitempty"`
   114  	Payload   []byte                      `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
   115  	Txid      string                      `protobuf:"bytes,4,opt,name=txid" json:"txid,omitempty"`
   116  	Proposal  *SignedProposal             `protobuf:"bytes,5,opt,name=proposal" json:"proposal,omitempty"`
   117  	// event emmited by chaincode. Used only with Init or Invoke.
   118  	// This event is then stored (currently)
   119  	// with Block.NonHashData.TransactionResult
   120  	ChaincodeEvent *ChaincodeEvent `protobuf:"bytes,6,opt,name=chaincode_event,json=chaincodeEvent" json:"chaincode_event,omitempty"`
   121  }
   122  
   123  func (m *ChaincodeMessage) Reset()                    { *m = ChaincodeMessage{} }
   124  func (m *ChaincodeMessage) String() string            { return proto.CompactTextString(m) }
   125  func (*ChaincodeMessage) ProtoMessage()               {}
   126  func (*ChaincodeMessage) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
   127  
   128  func (m *ChaincodeMessage) GetType() ChaincodeMessage_Type {
   129  	if m != nil {
   130  		return m.Type
   131  	}
   132  	return ChaincodeMessage_UNDEFINED
   133  }
   134  
   135  func (m *ChaincodeMessage) GetTimestamp() *google_protobuf1.Timestamp {
   136  	if m != nil {
   137  		return m.Timestamp
   138  	}
   139  	return nil
   140  }
   141  
   142  func (m *ChaincodeMessage) GetPayload() []byte {
   143  	if m != nil {
   144  		return m.Payload
   145  	}
   146  	return nil
   147  }
   148  
   149  func (m *ChaincodeMessage) GetTxid() string {
   150  	if m != nil {
   151  		return m.Txid
   152  	}
   153  	return ""
   154  }
   155  
   156  func (m *ChaincodeMessage) GetProposal() *SignedProposal {
   157  	if m != nil {
   158  		return m.Proposal
   159  	}
   160  	return nil
   161  }
   162  
   163  func (m *ChaincodeMessage) GetChaincodeEvent() *ChaincodeEvent {
   164  	if m != nil {
   165  		return m.ChaincodeEvent
   166  	}
   167  	return nil
   168  }
   169  
   170  type PutStateInfo struct {
   171  	Key   string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
   172  	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
   173  }
   174  
   175  func (m *PutStateInfo) Reset()                    { *m = PutStateInfo{} }
   176  func (m *PutStateInfo) String() string            { return proto.CompactTextString(m) }
   177  func (*PutStateInfo) ProtoMessage()               {}
   178  func (*PutStateInfo) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
   179  
   180  func (m *PutStateInfo) GetKey() string {
   181  	if m != nil {
   182  		return m.Key
   183  	}
   184  	return ""
   185  }
   186  
   187  func (m *PutStateInfo) GetValue() []byte {
   188  	if m != nil {
   189  		return m.Value
   190  	}
   191  	return nil
   192  }
   193  
   194  type GetStateByRange struct {
   195  	StartKey string `protobuf:"bytes,1,opt,name=startKey" json:"startKey,omitempty"`
   196  	EndKey   string `protobuf:"bytes,2,opt,name=endKey" json:"endKey,omitempty"`
   197  }
   198  
   199  func (m *GetStateByRange) Reset()                    { *m = GetStateByRange{} }
   200  func (m *GetStateByRange) String() string            { return proto.CompactTextString(m) }
   201  func (*GetStateByRange) ProtoMessage()               {}
   202  func (*GetStateByRange) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{2} }
   203  
   204  func (m *GetStateByRange) GetStartKey() string {
   205  	if m != nil {
   206  		return m.StartKey
   207  	}
   208  	return ""
   209  }
   210  
   211  func (m *GetStateByRange) GetEndKey() string {
   212  	if m != nil {
   213  		return m.EndKey
   214  	}
   215  	return ""
   216  }
   217  
   218  type GetQueryResult struct {
   219  	Query string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"`
   220  }
   221  
   222  func (m *GetQueryResult) Reset()                    { *m = GetQueryResult{} }
   223  func (m *GetQueryResult) String() string            { return proto.CompactTextString(m) }
   224  func (*GetQueryResult) ProtoMessage()               {}
   225  func (*GetQueryResult) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{3} }
   226  
   227  func (m *GetQueryResult) GetQuery() string {
   228  	if m != nil {
   229  		return m.Query
   230  	}
   231  	return ""
   232  }
   233  
   234  type GetHistoryForKey struct {
   235  	Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
   236  }
   237  
   238  func (m *GetHistoryForKey) Reset()                    { *m = GetHistoryForKey{} }
   239  func (m *GetHistoryForKey) String() string            { return proto.CompactTextString(m) }
   240  func (*GetHistoryForKey) ProtoMessage()               {}
   241  func (*GetHistoryForKey) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{4} }
   242  
   243  func (m *GetHistoryForKey) GetKey() string {
   244  	if m != nil {
   245  		return m.Key
   246  	}
   247  	return ""
   248  }
   249  
   250  type QueryStateNext struct {
   251  	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
   252  }
   253  
   254  func (m *QueryStateNext) Reset()                    { *m = QueryStateNext{} }
   255  func (m *QueryStateNext) String() string            { return proto.CompactTextString(m) }
   256  func (*QueryStateNext) ProtoMessage()               {}
   257  func (*QueryStateNext) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{5} }
   258  
   259  func (m *QueryStateNext) GetId() string {
   260  	if m != nil {
   261  		return m.Id
   262  	}
   263  	return ""
   264  }
   265  
   266  type QueryStateClose struct {
   267  	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
   268  }
   269  
   270  func (m *QueryStateClose) Reset()                    { *m = QueryStateClose{} }
   271  func (m *QueryStateClose) String() string            { return proto.CompactTextString(m) }
   272  func (*QueryStateClose) ProtoMessage()               {}
   273  func (*QueryStateClose) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{6} }
   274  
   275  func (m *QueryStateClose) GetId() string {
   276  	if m != nil {
   277  		return m.Id
   278  	}
   279  	return ""
   280  }
   281  
   282  type QueryResultBytes struct {
   283  	ResultBytes []byte `protobuf:"bytes,1,opt,name=resultBytes,proto3" json:"resultBytes,omitempty"`
   284  }
   285  
   286  func (m *QueryResultBytes) Reset()                    { *m = QueryResultBytes{} }
   287  func (m *QueryResultBytes) String() string            { return proto.CompactTextString(m) }
   288  func (*QueryResultBytes) ProtoMessage()               {}
   289  func (*QueryResultBytes) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{7} }
   290  
   291  func (m *QueryResultBytes) GetResultBytes() []byte {
   292  	if m != nil {
   293  		return m.ResultBytes
   294  	}
   295  	return nil
   296  }
   297  
   298  type QueryResponse struct {
   299  	Results []*QueryResultBytes `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
   300  	HasMore bool                `protobuf:"varint,2,opt,name=has_more,json=hasMore" json:"has_more,omitempty"`
   301  	Id      string              `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
   302  }
   303  
   304  func (m *QueryResponse) Reset()                    { *m = QueryResponse{} }
   305  func (m *QueryResponse) String() string            { return proto.CompactTextString(m) }
   306  func (*QueryResponse) ProtoMessage()               {}
   307  func (*QueryResponse) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{8} }
   308  
   309  func (m *QueryResponse) GetResults() []*QueryResultBytes {
   310  	if m != nil {
   311  		return m.Results
   312  	}
   313  	return nil
   314  }
   315  
   316  func (m *QueryResponse) GetHasMore() bool {
   317  	if m != nil {
   318  		return m.HasMore
   319  	}
   320  	return false
   321  }
   322  
   323  func (m *QueryResponse) GetId() string {
   324  	if m != nil {
   325  		return m.Id
   326  	}
   327  	return ""
   328  }
   329  
   330  type Transfer struct {
   331  	To          []byte `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
   332  	BalanceType []byte `protobuf:"bytes,2,opt,name=balanceType,proto3" json:"balanceType,omitempty"`
   333  	Amount      []byte `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
   334  }
   335  
   336  func (m *Transfer) Reset()                    { *m = Transfer{} }
   337  func (m *Transfer) String() string            { return proto.CompactTextString(m) }
   338  func (*Transfer) ProtoMessage()               {}
   339  func (*Transfer) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{9} }
   340  
   341  func (m *Transfer) GetTo() []byte {
   342  	if m != nil {
   343  		return m.To
   344  	}
   345  	return nil
   346  }
   347  
   348  func (m *Transfer) GetBalanceType() []byte {
   349  	if m != nil {
   350  		return m.BalanceType
   351  	}
   352  	return nil
   353  }
   354  
   355  func (m *Transfer) GetAmount() []byte {
   356  	if m != nil {
   357  		return m.Amount
   358  	}
   359  	return nil
   360  }
   361  
   362  type TransferInfo struct {
   363  	TranSet []*Transfer `protobuf:"bytes,1,rep,name=tranSet" json:"tranSet,omitempty"`
   364  }
   365  
   366  func (m *TransferInfo) Reset()                    { *m = TransferInfo{} }
   367  func (m *TransferInfo) String() string            { return proto.CompactTextString(m) }
   368  func (*TransferInfo) ProtoMessage()               {}
   369  func (*TransferInfo) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{10} }
   370  
   371  func (m *TransferInfo) GetTranSet() []*Transfer {
   372  	if m != nil {
   373  		return m.TranSet
   374  	}
   375  	return nil
   376  }
   377  
   378  type IssueTokenInfo struct {
   379  	Address     []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
   380  	BalanceType []byte `protobuf:"bytes,2,opt,name=balanceType,proto3" json:"balanceType,omitempty"`
   381  	Amount      []byte `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
   382  }
   383  
   384  func (m *IssueTokenInfo) Reset()                    { *m = IssueTokenInfo{} }
   385  func (m *IssueTokenInfo) String() string            { return proto.CompactTextString(m) }
   386  func (*IssueTokenInfo) ProtoMessage()               {}
   387  func (*IssueTokenInfo) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{11} }
   388  
   389  func (m *IssueTokenInfo) GetAddress() []byte {
   390  	if m != nil {
   391  		return m.Address
   392  	}
   393  	return nil
   394  }
   395  
   396  func (m *IssueTokenInfo) GetBalanceType() []byte {
   397  	if m != nil {
   398  		return m.BalanceType
   399  	}
   400  	return nil
   401  }
   402  
   403  func (m *IssueTokenInfo) GetAmount() []byte {
   404  	if m != nil {
   405  		return m.Amount
   406  	}
   407  	return nil
   408  }
   409  
   410  type Verify struct {
   411  	Signature string `protobuf:"bytes,1,opt,name=signature" json:"signature,omitempty"`
   412  	Data      []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
   413  	Address   string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
   414  }
   415  
   416  func (m *Verify) Reset()                    { *m = Verify{} }
   417  func (m *Verify) String() string            { return proto.CompactTextString(m) }
   418  func (*Verify) ProtoMessage()               {}
   419  func (*Verify) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{12} }
   420  
   421  func (m *Verify) GetSignature() string {
   422  	if m != nil {
   423  		return m.Signature
   424  	}
   425  	return ""
   426  }
   427  
   428  func (m *Verify) GetData() []byte {
   429  	if m != nil {
   430  		return m.Data
   431  	}
   432  	return nil
   433  }
   434  
   435  func (m *Verify) GetAddress() string {
   436  	if m != nil {
   437  		return m.Address
   438  	}
   439  	return ""
   440  }
   441  
   442  func init() {
   443  	proto.RegisterType((*ChaincodeMessage)(nil), "protos.ChaincodeMessage")
   444  	proto.RegisterType((*PutStateInfo)(nil), "protos.PutStateInfo")
   445  	proto.RegisterType((*GetStateByRange)(nil), "protos.GetStateByRange")
   446  	proto.RegisterType((*GetQueryResult)(nil), "protos.GetQueryResult")
   447  	proto.RegisterType((*GetHistoryForKey)(nil), "protos.GetHistoryForKey")
   448  	proto.RegisterType((*QueryStateNext)(nil), "protos.QueryStateNext")
   449  	proto.RegisterType((*QueryStateClose)(nil), "protos.QueryStateClose")
   450  	proto.RegisterType((*QueryResultBytes)(nil), "protos.QueryResultBytes")
   451  	proto.RegisterType((*QueryResponse)(nil), "protos.QueryResponse")
   452  	proto.RegisterType((*Transfer)(nil), "protos.Transfer")
   453  	proto.RegisterType((*TransferInfo)(nil), "protos.TransferInfo")
   454  	proto.RegisterType((*IssueTokenInfo)(nil), "protos.IssueTokenInfo")
   455  	proto.RegisterType((*Verify)(nil), "protos.Verify")
   456  	proto.RegisterEnum("protos.ChaincodeMessage_Type", ChaincodeMessage_Type_name, ChaincodeMessage_Type_value)
   457  }
   458  
   459  // Reference imports to suppress errors if they are not otherwise used.
   460  var _ context.Context
   461  var _ grpc.ClientConn
   462  
   463  // This is a compile-time assertion to ensure that this generated file
   464  // is compatible with the grpc package it is being compiled against.
   465  const _ = grpc.SupportPackageIsVersion4
   466  
   467  // Client API for ChaincodeSupport service
   468  
   469  type ChaincodeSupportClient interface {
   470  	Register(ctx context.Context, opts ...grpc.CallOption) (ChaincodeSupport_RegisterClient, error)
   471  }
   472  
   473  type chaincodeSupportClient struct {
   474  	cc *grpc.ClientConn
   475  }
   476  
   477  func NewChaincodeSupportClient(cc *grpc.ClientConn) ChaincodeSupportClient {
   478  	return &chaincodeSupportClient{cc}
   479  }
   480  
   481  func (c *chaincodeSupportClient) Register(ctx context.Context, opts ...grpc.CallOption) (ChaincodeSupport_RegisterClient, error) {
   482  	stream, err := grpc.NewClientStream(ctx, &_ChaincodeSupport_serviceDesc.Streams[0], c.cc, "/protos.ChaincodeSupport/Register", opts...)
   483  	if err != nil {
   484  		return nil, err
   485  	}
   486  	x := &chaincodeSupportRegisterClient{stream}
   487  	return x, nil
   488  }
   489  
   490  type ChaincodeSupport_RegisterClient interface {
   491  	Send(*ChaincodeMessage) error
   492  	Recv() (*ChaincodeMessage, error)
   493  	grpc.ClientStream
   494  }
   495  
   496  type chaincodeSupportRegisterClient struct {
   497  	grpc.ClientStream
   498  }
   499  
   500  func (x *chaincodeSupportRegisterClient) Send(m *ChaincodeMessage) error {
   501  	return x.ClientStream.SendMsg(m)
   502  }
   503  
   504  func (x *chaincodeSupportRegisterClient) Recv() (*ChaincodeMessage, error) {
   505  	m := new(ChaincodeMessage)
   506  	if err := x.ClientStream.RecvMsg(m); err != nil {
   507  		return nil, err
   508  	}
   509  	return m, nil
   510  }
   511  
   512  // Server API for ChaincodeSupport service
   513  
   514  type ChaincodeSupportServer interface {
   515  	Register(ChaincodeSupport_RegisterServer) error
   516  }
   517  
   518  func RegisterChaincodeSupportServer(s *grpc.Server, srv ChaincodeSupportServer) {
   519  	s.RegisterService(&_ChaincodeSupport_serviceDesc, srv)
   520  }
   521  
   522  func _ChaincodeSupport_Register_Handler(srv interface{}, stream grpc.ServerStream) error {
   523  	return srv.(ChaincodeSupportServer).Register(&chaincodeSupportRegisterServer{stream})
   524  }
   525  
   526  type ChaincodeSupport_RegisterServer interface {
   527  	Send(*ChaincodeMessage) error
   528  	Recv() (*ChaincodeMessage, error)
   529  	grpc.ServerStream
   530  }
   531  
   532  type chaincodeSupportRegisterServer struct {
   533  	grpc.ServerStream
   534  }
   535  
   536  func (x *chaincodeSupportRegisterServer) Send(m *ChaincodeMessage) error {
   537  	return x.ServerStream.SendMsg(m)
   538  }
   539  
   540  func (x *chaincodeSupportRegisterServer) Recv() (*ChaincodeMessage, error) {
   541  	m := new(ChaincodeMessage)
   542  	if err := x.ServerStream.RecvMsg(m); err != nil {
   543  		return nil, err
   544  	}
   545  	return m, nil
   546  }
   547  
   548  var _ChaincodeSupport_serviceDesc = grpc.ServiceDesc{
   549  	ServiceName: "protos.ChaincodeSupport",
   550  	HandlerType: (*ChaincodeSupportServer)(nil),
   551  	Methods:     []grpc.MethodDesc{},
   552  	Streams: []grpc.StreamDesc{
   553  		{
   554  			StreamName:    "Register",
   555  			Handler:       _ChaincodeSupport_Register_Handler,
   556  			ServerStreams: true,
   557  			ClientStreams: true,
   558  		},
   559  	},
   560  	Metadata: "peer/chaincode_shim.proto",
   561  }
   562  
   563  func init() { proto.RegisterFile("peer/chaincode_shim.proto", fileDescriptor3) }
   564  
   565  var fileDescriptor3 = []byte{
   566  	// 970 bytes of a gzipped FileDescriptorProto
   567  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x5d, 0x6f, 0x22, 0x37,
   568  	0x14, 0x5d, 0x3e, 0xc2, 0xc7, 0x85, 0x10, 0xaf, 0xb3, 0x4d, 0x59, 0xd4, 0xaa, 0x74, 0x54, 0x55,
   569  	0x68, 0x1f, 0xa0, 0x4b, 0xab, 0xaa, 0xea, 0x4b, 0x45, 0xc0, 0x90, 0x51, 0x92, 0x81, 0xf5, 0x0c,
   570  	0xd1, 0xd2, 0x17, 0xe4, 0x64, 0x1c, 0x32, 0x0a, 0x8c, 0xa7, 0x63, 0xcf, 0x6a, 0xf9, 0x37, 0xfd,
   571  	0x11, 0xad, 0xaa, 0xb6, 0xcf, 0xfd, 0x5f, 0x95, 0xe7, 0x83, 0xb0, 0x89, 0xf6, 0x69, 0x9f, 0xc6,
   572  	0xe7, 0xde, 0x73, 0x8f, 0xcf, 0xb5, 0x3d, 0x36, 0xbc, 0x0c, 0x38, 0x0f, 0x7b, 0x37, 0x77, 0xcc,
   573  	0xf3, 0x6f, 0x84, 0xcb, 0x97, 0xf2, 0xce, 0xdb, 0x74, 0x83, 0x50, 0x28, 0x81, 0x4b, 0xf1, 0x47,
   574  	0xb6, 0x5a, 0x8f, 0x28, 0xfc, 0x1d, 0xf7, 0x55, 0xc2, 0x69, 0x1d, 0xc7, 0xb9, 0x20, 0x14, 0x81,
   575  	0x90, 0x6c, 0x9d, 0x06, 0xbf, 0x5a, 0x09, 0xb1, 0x5a, 0xf3, 0x5e, 0x8c, 0xae, 0xa3, 0xdb, 0x9e,
   576  	0xf2, 0x36, 0x5c, 0x2a, 0xb6, 0x09, 0x12, 0x82, 0xf1, 0xdf, 0x01, 0xa0, 0x61, 0xa6, 0x77, 0xc9,
   577  	0xa5, 0x64, 0x2b, 0x8e, 0x5f, 0x43, 0x51, 0x6d, 0x03, 0xde, 0xcc, 0xb5, 0x73, 0x9d, 0x46, 0xff,
   578  	0xcb, 0x84, 0x2a, 0xbb, 0x8f, 0x79, 0x5d, 0x67, 0x1b, 0x70, 0x1a, 0x53, 0xf1, 0x4f, 0x50, 0xdd,
   579  	0x49, 0x37, 0xf3, 0xed, 0x5c, 0xa7, 0xd6, 0x6f, 0x75, 0x93, 0xc9, 0xbb, 0xd9, 0xe4, 0x5d, 0x27,
   580  	0x63, 0xd0, 0x07, 0x32, 0x6e, 0x42, 0x39, 0x60, 0xdb, 0xb5, 0x60, 0x6e, 0xb3, 0xd0, 0xce, 0x75,
   581  	0xea, 0x34, 0x83, 0x18, 0x43, 0x51, 0xbd, 0xf7, 0xdc, 0x66, 0xb1, 0x9d, 0xeb, 0x54, 0x69, 0x3c,
   582  	0xc6, 0x7d, 0xa8, 0x64, 0x2d, 0x36, 0x0f, 0xe2, 0x69, 0x4e, 0x32, 0x7b, 0xb6, 0xb7, 0xf2, 0xb9,
   583  	0x3b, 0x4b, 0xb3, 0x74, 0xc7, 0xc3, 0xbf, 0xc0, 0xd1, 0xa3, 0x25, 0x6b, 0x96, 0x3e, 0x2c, 0xdd,
   584  	0x75, 0x46, 0x74, 0x96, 0x36, 0x6e, 0x3e, 0xc0, 0xc6, 0xef, 0x05, 0x28, 0xea, 0x5e, 0xf1, 0x21,
   585  	0x54, 0xe7, 0xd6, 0x88, 0x8c, 0x4d, 0x8b, 0x8c, 0xd0, 0x33, 0x5c, 0x87, 0x0a, 0x25, 0x13, 0xd3,
   586  	0x76, 0x08, 0x45, 0x39, 0xdc, 0x00, 0xc8, 0x10, 0x19, 0xa1, 0x3c, 0xae, 0x40, 0xd1, 0xb4, 0x4c,
   587  	0x07, 0x15, 0x70, 0x15, 0x0e, 0x28, 0x19, 0x8c, 0x16, 0xa8, 0x88, 0x8f, 0xa0, 0xe6, 0xd0, 0x81,
   588  	0x65, 0x0f, 0x86, 0x8e, 0x39, 0xb5, 0xd0, 0x81, 0x96, 0x1c, 0x4e, 0x2f, 0x67, 0x17, 0xc4, 0x21,
   589  	0x23, 0x54, 0xd2, 0x54, 0x42, 0xe9, 0x94, 0xa2, 0xb2, 0xce, 0x4c, 0x88, 0xb3, 0xb4, 0x9d, 0x81,
   590  	0x43, 0x50, 0x45, 0xc3, 0xd9, 0x3c, 0x83, 0x55, 0x0d, 0x47, 0xe4, 0x22, 0x85, 0x80, 0x5f, 0x00,
   591  	0x32, 0xad, 0xab, 0xe9, 0x39, 0x59, 0x0e, 0xcf, 0x06, 0xa6, 0x35, 0x9c, 0x8e, 0x08, 0xaa, 0x25,
   592  	0x06, 0xed, 0xd9, 0xd4, 0xb2, 0x09, 0x3a, 0xc4, 0x27, 0x80, 0x77, 0x82, 0xcb, 0xd3, 0xc5, 0x92,
   593  	0x0e, 0xac, 0x09, 0x41, 0x0d, 0x5d, 0xab, 0xe3, 0x6f, 0xe6, 0x84, 0x2e, 0x96, 0x94, 0xd8, 0xf3,
   594  	0x0b, 0x07, 0x1d, 0xe9, 0x68, 0x12, 0x49, 0xf8, 0x16, 0x79, 0xeb, 0x20, 0x84, 0x3f, 0x83, 0xe7,
   595  	0xfb, 0xd1, 0xe1, 0xc5, 0xd4, 0x26, 0xe8, 0xb9, 0x76, 0x73, 0x4e, 0xc8, 0x6c, 0x70, 0x61, 0x5e,
   596  	0x11, 0x84, 0xf1, 0xe7, 0x70, 0xac, 0x15, 0xcf, 0x4c, 0xdb, 0x99, 0xd2, 0xc5, 0x72, 0x3c, 0xa5,
   597  	0xcb, 0x73, 0xb2, 0x40, 0xc7, 0xf8, 0x10, 0x2a, 0x71, 0xfb, 0x63, 0x42, 0xd1, 0x1f, 0x25, 0x8c,
   598  	0xa0, 0x66, 0xda, 0xf6, 0x9c, 0x2c, 0x9d, 0xe9, 0x39, 0xb1, 0xd0, 0x9f, 0x71, 0x44, 0x57, 0x0e,
   599  	0x86, 0xc3, 0xe9, 0xdc, 0x72, 0xd0, 0x5f, 0x25, 0x5c, 0x87, 0xb2, 0x8e, 0x8c, 0x09, 0x41, 0x7f,
   600  	0xeb, 0xf5, 0x29, 0xda, 0xe6, 0xc4, 0x42, 0xff, 0x94, 0x70, 0x0d, 0x4a, 0x57, 0x84, 0x9a, 0xe3,
   601  	0x05, 0xfa, 0xb7, 0x64, 0xfc, 0x08, 0xf5, 0x59, 0xa4, 0x6c, 0xc5, 0x14, 0x37, 0xfd, 0x5b, 0x81,
   602  	0x11, 0x14, 0xee, 0xf9, 0x36, 0x3e, 0xc1, 0x55, 0xaa, 0x87, 0xf8, 0x05, 0x1c, 0xbc, 0x63, 0xeb,
   603  	0x88, 0xc7, 0xa7, 0xb3, 0x4e, 0x13, 0x60, 0x10, 0x38, 0x9a, 0xf0, 0xa4, 0xee, 0x74, 0x4b, 0x99,
   604  	0xbf, 0xe2, 0xb8, 0x05, 0x15, 0xa9, 0x58, 0xa8, 0xce, 0x77, 0xf5, 0x3b, 0x8c, 0x4f, 0xa0, 0xc4,
   605  	0x7d, 0x57, 0x67, 0xf2, 0x71, 0x26, 0x45, 0xc6, 0xb7, 0xd0, 0x98, 0x70, 0xf5, 0x26, 0xe2, 0xe1,
   606  	0x96, 0x72, 0x19, 0xad, 0x95, 0x9e, 0xee, 0x37, 0x0d, 0x53, 0x89, 0x04, 0x18, 0xdf, 0x00, 0x9a,
   607  	0x70, 0x75, 0xe6, 0x49, 0x25, 0xc2, 0xed, 0x58, 0x84, 0x5a, 0xf3, 0x89, 0x55, 0xa3, 0x0d, 0x8d,
   608  	0x58, 0x2a, 0xb6, 0x65, 0xf1, 0xf7, 0x0a, 0x37, 0x20, 0xef, 0xb9, 0x29, 0x25, 0xef, 0xb9, 0xc6,
   609  	0xd7, 0x70, 0xf4, 0xc0, 0x18, 0xae, 0x85, 0xe4, 0x4f, 0x28, 0x3f, 0x00, 0xda, 0xf3, 0x73, 0xba,
   610  	0x55, 0x5c, 0xe2, 0x36, 0xd4, 0xc2, 0x07, 0x18, 0x93, 0xeb, 0x74, 0x3f, 0x64, 0xf8, 0x70, 0x98,
   611  	0x55, 0x05, 0xc2, 0x97, 0x1c, 0xf7, 0xa1, 0x9c, 0xe4, 0x35, 0xbd, 0xd0, 0xa9, 0xf5, 0x9b, 0xd9,
   612  	0x4f, 0xf3, 0x58, 0x9d, 0x66, 0x44, 0xfc, 0x12, 0x2a, 0x77, 0x4c, 0x2e, 0x37, 0x22, 0x4c, 0x56,
   613  	0xbb, 0x42, 0xcb, 0x77, 0x4c, 0x5e, 0x8a, 0x30, 0x73, 0x59, 0xd8, 0xb9, 0x74, 0xa0, 0xe2, 0x84,
   614  	0xcc, 0x97, 0xb7, 0x3c, 0xd4, 0x39, 0x25, 0x52, 0x53, 0x79, 0x25, 0xb4, 0xdb, 0x6b, 0xb6, 0x66,
   615  	0xfe, 0x0d, 0xd7, 0x3f, 0x5f, 0xba, 0x6f, 0xfb, 0x21, 0xbd, 0x1d, 0x6c, 0x23, 0x22, 0x5f, 0xa5,
   616  	0x57, 0x47, 0x8a, 0x8c, 0x9f, 0xa1, 0x9e, 0xa9, 0xc6, 0xa7, 0xe1, 0x15, 0x94, 0x55, 0xc8, 0x7c,
   617  	0x9b, 0xab, 0xb4, 0x09, 0x94, 0x35, 0x91, 0xd1, 0x68, 0x46, 0x30, 0x5c, 0x68, 0x98, 0x52, 0x46,
   618  	0xdc, 0x11, 0xf7, 0xdc, 0x8f, 0xab, 0x9b, 0x50, 0x66, 0xae, 0x1b, 0x72, 0x99, 0xad, 0x58, 0x06,
   619  	0x3f, 0xc1, 0xa1, 0x03, 0xa5, 0x2b, 0x1e, 0x7a, 0xb7, 0x5b, 0xfc, 0x05, 0x54, 0xa5, 0xb7, 0xf2,
   620  	0x99, 0x8a, 0x42, 0x9e, 0x6e, 0xdf, 0x43, 0x40, 0xdf, 0x81, 0x2e, 0x53, 0x2c, 0x95, 0x8e, 0xc7,
   621  	0xfb, 0x7e, 0x92, 0x85, 0xcc, 0x60, 0xff, 0xed, 0xde, 0x65, 0x6e, 0x47, 0x41, 0x20, 0x42, 0x85,
   622  	0x47, 0x50, 0xa1, 0x7c, 0xe5, 0x49, 0xc5, 0x43, 0xdc, 0xfc, 0xd8, 0x55, 0xde, 0xfa, 0x68, 0xc6,
   623  	0x78, 0xd6, 0xc9, 0x7d, 0x97, 0x3b, 0x5d, 0xc2, 0x2b, 0x11, 0xae, 0xba, 0x9e, 0x7f, 0xbf, 0x66,
   624  	0xd7, 0xf2, 0x56, 0x44, 0xbe, 0xcb, 0x94, 0x27, 0x7c, 0x1d, 0x89, 0x6f, 0xcb, 0xac, 0x5e, 0xbf,
   625  	0x42, 0xbf, 0xbe, 0x5e, 0x79, 0xea, 0x2e, 0xba, 0xee, 0xde, 0x88, 0x4d, 0xef, 0x49, 0x49, 0x2f,
   626  	0x2b, 0x49, 0x5e, 0x25, 0xd9, 0xd3, 0x25, 0xd7, 0xc9, 0x13, 0xf7, 0xfd, 0xff, 0x01, 0x00, 0x00,
   627  	0xff, 0xff, 0x82, 0x04, 0x2c, 0xb7, 0x06, 0x07, 0x00, 0x00,
   628  }