// Generated by the protocol buffer compiler. DO NOT EDIT! // source: bdchain/api/tx_ledger.proto package bdchain.api.grpc.txledger; public interface BlockOrBuilder extends // @@protoc_insertion_point(interface_extends:bdchain.api.txledger.Block) com.google.protobuf.MessageOrBuilder { /** *
   * 事务链本地区块索引,当区块处于待确认状态时为`null`
   * 
* * uint64 index = 1; */ long getIndex(); /** *
   * 区块的哈希,当区块处于待确认状态时为`null`
   * 
* * bytes hash = 2; */ com.google.protobuf.ByteString getHash(); /** *
   * 父区块的哈希
   * 
* * repeated bytes parent_hashes = 3; */ java.util.List getParentHashesList(); /** *
   * 父区块的哈希
   * 
* * repeated bytes parent_hashes = 3; */ int getParentHashesCount(); /** *
   * 父区块的哈希
   * 
* * repeated bytes parent_hashes = 3; */ com.google.protobuf.ByteString getParentHashes(int index); /** *
   * 见证者账户地址
   * 
* * repeated bytes witnesses = 4; */ java.util.List getWitnessesList(); /** *
   * 见证者账户地址
   * 
* * repeated bytes witnesses = 4; */ int getWitnessesCount(); /** *
   * 见证者账户地址
   * 
* * repeated bytes witnesses = 4; */ com.google.protobuf.ByteString getWitnesses(int index); /** *
   * 区块产生时的 UNIX 时间戳,单位为秒
   * 
* * int64 timestamp = 5; */ long getTimestamp(); /** *
   * 区块大小的字节数
   * 
* * uint64 size = 6; */ long getSize(); /** *
   * 区块的事务树根
   * 
* * bytes transactions_root = 7; */ com.google.protobuf.ByteString getTransactionsRoot(); /** *
   * 事务对象的数组,或为空
   * 
* * repeated .bdchain.api.txledger.Transaction transactions = 8; */ java.util.List getTransactionsList(); /** *
   * 事务对象的数组,或为空
   * 
* * repeated .bdchain.api.txledger.Transaction transactions = 8; */ bdchain.api.grpc.txledger.Transaction getTransactions(int index); /** *
   * 事务对象的数组,或为空
   * 
* * repeated .bdchain.api.txledger.Transaction transactions = 8; */ int getTransactionsCount(); /** *
   * 事务对象的数组,或为空
   * 
* * repeated .bdchain.api.txledger.Transaction transactions = 8; */ java.util.List getTransactionsOrBuilderList(); /** *
   * 事务对象的数组,或为空
   * 
* * repeated .bdchain.api.txledger.Transaction transactions = 8; */ bdchain.api.grpc.txledger.TransactionOrBuilder getTransactionsOrBuilder( int index); /** *
   * 20字节的交易哈希的数组,或为空
   * 
* * repeated bytes transaction_hashes = 9; */ java.util.List getTransactionHashesList(); /** *
   * 20字节的交易哈希的数组,或为空
   * 
* * repeated bytes transaction_hashes = 9; */ int getTransactionHashesCount(); /** *
   * 20字节的交易哈希的数组,或为空
   * 
* * repeated bytes transaction_hashes = 9; */ com.google.protobuf.ByteString getTransactionHashes(int index); }