github.com/inklabsfoundation/inkchain@v0.17.1-0.20181025012015-c3cef8062f19/protos/ledger/transet/kvtranset/kv_transet.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: ledger/transet/kvtranset/kv_transet.proto
     3  
     4  /*
     5  Package kvtranset is a generated protocol buffer package.
     6  
     7  It is generated from these files:
     8  	ledger/transet/kvtranset/kv_transet.proto
     9  
    10  It has these top-level messages:
    11  	KVTranSet
    12  	KVTrans
    13  */
    14  package kvtranset
    15  
    16  import proto "github.com/golang/protobuf/proto"
    17  import fmt "fmt"
    18  import math "math"
    19  
    20  // Reference imports to suppress errors if they are not otherwise used.
    21  var _ = proto.Marshal
    22  var _ = fmt.Errorf
    23  var _ = math.Inf
    24  
    25  // This is a compile-time assertion to ensure that this generated file
    26  // is compatible with the proto package it is being compiled against.
    27  // A compilation error at this line likely means your copy of the
    28  // proto package needs to be updated.
    29  const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
    30  
    31  type KVTranSet struct {
    32  	Trans []*KVTrans `protobuf:"bytes,1,rep,name=trans" json:"trans,omitempty"`
    33  }
    34  
    35  func (m *KVTranSet) Reset()                    { *m = KVTranSet{} }
    36  func (m *KVTranSet) String() string            { return proto.CompactTextString(m) }
    37  func (*KVTranSet) ProtoMessage()               {}
    38  func (*KVTranSet) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
    39  
    40  func (m *KVTranSet) GetTrans() []*KVTrans {
    41  	if m != nil {
    42  		return m.Trans
    43  	}
    44  	return nil
    45  }
    46  
    47  type KVTrans struct {
    48  	To          string `protobuf:"bytes,1,opt,name=to" json:"to,omitempty"`
    49  	BalanceType string `protobuf:"bytes,2,opt,name=balance_type,json=balanceType" json:"balance_type,omitempty"`
    50  	Amount      []byte `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
    51  }
    52  
    53  func (m *KVTrans) Reset()                    { *m = KVTrans{} }
    54  func (m *KVTrans) String() string            { return proto.CompactTextString(m) }
    55  func (*KVTrans) ProtoMessage()               {}
    56  func (*KVTrans) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
    57  
    58  func (m *KVTrans) GetTo() string {
    59  	if m != nil {
    60  		return m.To
    61  	}
    62  	return ""
    63  }
    64  
    65  func (m *KVTrans) GetBalanceType() string {
    66  	if m != nil {
    67  		return m.BalanceType
    68  	}
    69  	return ""
    70  }
    71  
    72  func (m *KVTrans) GetAmount() []byte {
    73  	if m != nil {
    74  		return m.Amount
    75  	}
    76  	return nil
    77  }
    78  
    79  func init() {
    80  	proto.RegisterType((*KVTranSet)(nil), "kvtranset.KVTranSet")
    81  	proto.RegisterType((*KVTrans)(nil), "kvtranset.KVTrans")
    82  }
    83  
    84  func init() { proto.RegisterFile("ledger/transet/kvtranset/kv_transet.proto", fileDescriptor0) }
    85  
    86  var fileDescriptor0 = []byte{
    87  	// 235 bytes of a gzipped FileDescriptorProto
    88  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xb1, 0x4e, 0xc3, 0x30,
    89  	0x10, 0x86, 0xe5, 0x54, 0x14, 0xe5, 0x5a, 0x31, 0x78, 0x40, 0x19, 0x43, 0xa7, 0xb0, 0xd8, 0x12,
    90  	0x88, 0x95, 0x01, 0x89, 0x89, 0x2d, 0x44, 0x0c, 0x2c, 0xd5, 0x25, 0x35, 0x69, 0xd4, 0xf4, 0x2e,
    91  	0x72, 0x2e, 0x48, 0x7d, 0x02, 0x5e, 0x1b, 0x11, 0xa7, 0x61, 0x40, 0x6c, 0xe7, 0xef, 0x3e, 0xfd,
    92  	0xba, 0xdf, 0x70, 0xdb, 0xba, 0x5d, 0xed, 0xbc, 0x15, 0x8f, 0xd4, 0x3b, 0xb1, 0x87, 0xcf, 0xdf,
    93  	0x69, 0x3b, 0x8d, 0xa6, 0xf3, 0x2c, 0xac, 0xe3, 0x79, 0xb7, 0x79, 0x80, 0xf8, 0xe5, 0xad, 0xf0,
    94  	0x48, 0xaf, 0x4e, 0x74, 0x06, 0x17, 0x23, 0x4f, 0x54, 0xba, 0xc8, 0x56, 0x77, 0xda, 0xcc, 0x9e,
    95  	0x09, 0x52, 0x9f, 0x07, 0x61, 0x53, 0xc0, 0xe5, 0x44, 0xf4, 0x15, 0x44, 0xc2, 0x89, 0x4a, 0x55,
    96  	0x16, 0xe7, 0x91, 0xb0, 0xbe, 0x81, 0x75, 0x89, 0x2d, 0x52, 0xe5, 0xb6, 0x72, 0xea, 0x5c, 0x12,
    97  	0x8d, 0x9b, 0xd5, 0xc4, 0x8a, 0x53, 0xe7, 0xf4, 0x35, 0x2c, 0xf1, 0xc8, 0x03, 0x49, 0xb2, 0x48,
    98  	0x55, 0xb6, 0xce, 0xa7, 0xd7, 0xd3, 0x97, 0x82, 0x47, 0xf6, 0xb5, 0x69, 0xe8, 0xd0, 0x62, 0xd9,
    99  	0x7f, 0xf0, 0x40, 0x3b, 0x94, 0x86, 0xe9, 0x87, 0x54, 0x7b, 0x6c, 0x28, 0x14, 0xe8, 0x4d, 0xe8,
   100  	0x6a, 0xce, 0xd7, 0xcd, 0x77, 0xbe, 0x3f, 0xd7, 0x8d, 0xec, 0x87, 0xd2, 0x54, 0x7c, 0xb4, 0x7f,
   101  	0x62, 0xec, 0x39, 0xc6, 0x86, 0x18, 0xfb, 0xdf, 0x97, 0x95, 0xcb, 0x51, 0xb8, 0xff, 0x0e, 0x00,
   102  	0x00, 0xff, 0xff, 0x50, 0x2d, 0x5b, 0x3c, 0x55, 0x01, 0x00, 0x00,
   103  }