github.com/kchristidis/fabric@v1.0.4-0.20171028114726-837acd08cde1/examples/chaincode/go/utxo/util/dah.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: dah.proto
     3  
     4  /*
     5  Package util is a generated protocol buffer package.
     6  
     7  It is generated from these files:
     8  	dah.proto
     9  
    10  It has these top-level messages:
    11  	TX
    12  */
    13  package util
    14  
    15  import proto "github.com/golang/protobuf/proto"
    16  import fmt "fmt"
    17  import math "math"
    18  
    19  // Reference imports to suppress errors if they are not otherwise used.
    20  var _ = proto.Marshal
    21  var _ = fmt.Errorf
    22  var _ = math.Inf
    23  
    24  // This is a compile-time assertion to ensure that this generated file
    25  // is compatible with the proto package it is being compiled against.
    26  // A compilation error at this line likely means your copy of the
    27  // proto package needs to be updated.
    28  const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
    29  
    30  type TX struct {
    31  	Version  uint32      `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
    32  	LockTime uint32      `protobuf:"varint,2,opt,name=lockTime" json:"lockTime,omitempty"`
    33  	Txin     []*TX_TXIN  `protobuf:"bytes,3,rep,name=txin" json:"txin,omitempty"`
    34  	Txout    []*TX_TXOUT `protobuf:"bytes,4,rep,name=txout" json:"txout,omitempty"`
    35  	Blocks   [][]byte    `protobuf:"bytes,5,rep,name=blocks,proto3" json:"blocks,omitempty"`
    36  	Fee      uint64      `protobuf:"varint,6,opt,name=fee" json:"fee,omitempty"`
    37  }
    38  
    39  func (m *TX) Reset()                    { *m = TX{} }
    40  func (m *TX) String() string            { return proto.CompactTextString(m) }
    41  func (*TX) ProtoMessage()               {}
    42  func (*TX) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
    43  
    44  func (m *TX) GetVersion() uint32 {
    45  	if m != nil {
    46  		return m.Version
    47  	}
    48  	return 0
    49  }
    50  
    51  func (m *TX) GetLockTime() uint32 {
    52  	if m != nil {
    53  		return m.LockTime
    54  	}
    55  	return 0
    56  }
    57  
    58  func (m *TX) GetTxin() []*TX_TXIN {
    59  	if m != nil {
    60  		return m.Txin
    61  	}
    62  	return nil
    63  }
    64  
    65  func (m *TX) GetTxout() []*TX_TXOUT {
    66  	if m != nil {
    67  		return m.Txout
    68  	}
    69  	return nil
    70  }
    71  
    72  func (m *TX) GetBlocks() [][]byte {
    73  	if m != nil {
    74  		return m.Blocks
    75  	}
    76  	return nil
    77  }
    78  
    79  func (m *TX) GetFee() uint64 {
    80  	if m != nil {
    81  		return m.Fee
    82  	}
    83  	return 0
    84  }
    85  
    86  type TX_TXIN struct {
    87  	Ix         uint32 `protobuf:"varint,1,opt,name=ix" json:"ix,omitempty"`
    88  	SourceHash []byte `protobuf:"bytes,2,opt,name=sourceHash,proto3" json:"sourceHash,omitempty"`
    89  	Script     []byte `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`
    90  	Sequence   uint32 `protobuf:"varint,4,opt,name=sequence" json:"sequence,omitempty"`
    91  }
    92  
    93  func (m *TX_TXIN) Reset()                    { *m = TX_TXIN{} }
    94  func (m *TX_TXIN) String() string            { return proto.CompactTextString(m) }
    95  func (*TX_TXIN) ProtoMessage()               {}
    96  func (*TX_TXIN) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
    97  
    98  func (m *TX_TXIN) GetIx() uint32 {
    99  	if m != nil {
   100  		return m.Ix
   101  	}
   102  	return 0
   103  }
   104  
   105  func (m *TX_TXIN) GetSourceHash() []byte {
   106  	if m != nil {
   107  		return m.SourceHash
   108  	}
   109  	return nil
   110  }
   111  
   112  func (m *TX_TXIN) GetScript() []byte {
   113  	if m != nil {
   114  		return m.Script
   115  	}
   116  	return nil
   117  }
   118  
   119  func (m *TX_TXIN) GetSequence() uint32 {
   120  	if m != nil {
   121  		return m.Sequence
   122  	}
   123  	return 0
   124  }
   125  
   126  type TX_TXOUT struct {
   127  	Value    uint64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
   128  	Script   []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"`
   129  	Color    []byte `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
   130  	Quantity uint64 `protobuf:"varint,4,opt,name=quantity" json:"quantity,omitempty"`
   131  }
   132  
   133  func (m *TX_TXOUT) Reset()                    { *m = TX_TXOUT{} }
   134  func (m *TX_TXOUT) String() string            { return proto.CompactTextString(m) }
   135  func (*TX_TXOUT) ProtoMessage()               {}
   136  func (*TX_TXOUT) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 1} }
   137  
   138  func (m *TX_TXOUT) GetValue() uint64 {
   139  	if m != nil {
   140  		return m.Value
   141  	}
   142  	return 0
   143  }
   144  
   145  func (m *TX_TXOUT) GetScript() []byte {
   146  	if m != nil {
   147  		return m.Script
   148  	}
   149  	return nil
   150  }
   151  
   152  func (m *TX_TXOUT) GetColor() []byte {
   153  	if m != nil {
   154  		return m.Color
   155  	}
   156  	return nil
   157  }
   158  
   159  func (m *TX_TXOUT) GetQuantity() uint64 {
   160  	if m != nil {
   161  		return m.Quantity
   162  	}
   163  	return 0
   164  }
   165  
   166  func init() {
   167  	proto.RegisterType((*TX)(nil), "util.TX")
   168  	proto.RegisterType((*TX_TXIN)(nil), "util.TX.TXIN")
   169  	proto.RegisterType((*TX_TXOUT)(nil), "util.TX.TXOUT")
   170  }
   171  
   172  func init() { proto.RegisterFile("dah.proto", fileDescriptor0) }
   173  
   174  var fileDescriptor0 = []byte{
   175  	// 329 bytes of a gzipped FileDescriptorProto
   176  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x54, 0x91, 0xc1, 0x4b, 0xc3, 0x30,
   177  	0x18, 0xc5, 0x59, 0x9b, 0x4e, 0x8d, 0xdb, 0x90, 0x30, 0x24, 0xec, 0x20, 0x55, 0x3c, 0xf4, 0xd4,
   178  	0x82, 0x9e, 0x45, 0xf0, 0xa4, 0x17, 0x85, 0x50, 0x61, 0x78, 0x6b, 0xb3, 0x6f, 0x6d, 0xb4, 0x6b,
   179  	0xba, 0x34, 0x19, 0xdd, 0xd5, 0xbf, 0x5c, 0x92, 0x76, 0x63, 0x5e, 0x42, 0x7e, 0x79, 0x1f, 0xef,
   180  	0xbd, 0x8f, 0xe0, 0x8b, 0x55, 0x56, 0xc6, 0x8d, 0x92, 0x5a, 0x12, 0x64, 0xb4, 0xa8, 0xee, 0x7e,
   181  	0x7d, 0xec, 0xa5, 0x4b, 0x42, 0xf1, 0xd9, 0x0e, 0x54, 0x2b, 0x64, 0x4d, 0x47, 0xe1, 0x28, 0x9a,
   182  	0xb2, 0x03, 0x92, 0x05, 0x3e, 0xaf, 0x24, 0xff, 0x49, 0xc5, 0x06, 0xa8, 0xe7, 0xa4, 0x23, 0x93,
   183  	0x5b, 0x8c, 0x74, 0x27, 0x6a, 0xea, 0x87, 0x7e, 0x74, 0xf9, 0x30, 0x8d, 0xad, 0x63, 0x9c, 0x2e,
   184  	0xe3, 0x74, 0xf9, 0xf6, 0xce, 0x9c, 0x44, 0xee, 0x71, 0xa0, 0x3b, 0x69, 0x34, 0x45, 0x6e, 0x66,
   185  	0x76, 0x32, 0xf3, 0xf1, 0x99, 0xb2, 0x5e, 0x24, 0xd7, 0x78, 0x9c, 0x5b, 0xd7, 0x96, 0x06, 0xa1,
   186  	0x1f, 0x4d, 0xd8, 0x40, 0xe4, 0x0a, 0xfb, 0x6b, 0x00, 0x3a, 0x0e, 0x47, 0x11, 0x62, 0xf6, 0xba,
   187  	0xf8, 0xc6, 0xc8, 0xba, 0x93, 0x19, 0xf6, 0x44, 0x37, 0x74, 0xf5, 0x44, 0x47, 0x6e, 0x30, 0x6e,
   188  	0xa5, 0x51, 0x1c, 0x5e, 0xb3, 0xb6, 0x74, 0x45, 0x27, 0xec, 0xe4, 0xc5, 0x26, 0xb4, 0x5c, 0x89,
   189  	0x46, 0x53, 0xdf, 0x69, 0x03, 0xd9, 0xf5, 0x5a, 0xd8, 0x1a, 0xa8, 0x39, 0x50, 0xd4, 0xaf, 0x77,
   190  	0xe0, 0x45, 0x81, 0x03, 0xd7, 0x92, 0xcc, 0x71, 0xb0, 0xcb, 0x2a, 0x03, 0x2e, 0x0f, 0xb1, 0x1e,
   191  	0x4e, 0x2c, 0xbd, 0x7f, 0x96, 0x73, 0x1c, 0x70, 0x59, 0x49, 0x35, 0x24, 0xf5, 0x60, 0x83, 0xb6,
   192  	0x26, 0xab, 0xb5, 0xd0, 0x7b, 0x17, 0x84, 0xd8, 0x91, 0x5f, 0x9e, 0xbf, 0x9e, 0x0a, 0xa1, 0x4b,
   193  	0x93, 0xc7, 0x5c, 0x6e, 0x92, 0x72, 0xdf, 0x80, 0xaa, 0x60, 0x55, 0x80, 0x4a, 0xd6, 0x59, 0xae,
   194  	0x04, 0x4f, 0xa0, 0xcb, 0x36, 0x4d, 0x05, 0x6d, 0xc2, 0xcb, 0x4c, 0xd4, 0x5c, 0xae, 0x20, 0x29,
   195  	0x64, 0x62, 0x74, 0x67, 0x0f, 0x51, 0xe5, 0x63, 0xf7, 0xa5, 0x8f, 0x7f, 0x01, 0x00, 0x00, 0xff,
   196  	0xff, 0xbb, 0x8b, 0x8c, 0x33, 0xdf, 0x01, 0x00, 0x00,
   197  }