// Generated by the protocol buffer compiler. DO NOT EDIT! // source: bdchain/api/ac_chain.proto package bdchain.api.grpc.acchain; public interface BlockOrBuilder extends // @@protoc_insertion_point(interface_extends:bdchain.api.acchain.Block) com.google.protobuf.MessageOrBuilder { /** *
   * 区块号,当区块处于待确认状态时为`null`
   * 
* * uint64 number = 1; */ long getNumber(); /** *
   * 区块的哈希,当区块处于待确认状态时为`null`
   * 
* * bytes hash = 2; */ com.google.protobuf.ByteString getHash(); /** *
   * 父区块的哈希
   * 
* * bytes parent_hash = 3; */ com.google.protobuf.ByteString getParentHash(); /** *
   * 见证者账户地址的数组
   * 
* * 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.acchain.Transaction transactions = 8; */ java.util.List getTransactionsList(); /** *
   * 事务对象的数组,或为空
   * 
* * repeated .bdchain.api.acchain.Transaction transactions = 8; */ bdchain.api.grpc.acchain.Transaction getTransactions(int index); /** *
   * 事务对象的数组,或为空
   * 
* * repeated .bdchain.api.acchain.Transaction transactions = 8; */ int getTransactionsCount(); /** *
   * 事务对象的数组,或为空
   * 
* * repeated .bdchain.api.acchain.Transaction transactions = 8; */ java.util.List getTransactionsOrBuilderList(); /** *
   * 事务对象的数组,或为空
   * 
* * repeated .bdchain.api.acchain.Transaction transactions = 8; */ bdchain.api.grpc.acchain.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); }