Package org.bdware.bdledger.api.grpc.pb
Interface QueryProto.GetBlockByHashRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryProto.GetBlockByHashRequest,QueryProto.GetBlockByHashRequest.Builder
- Enclosing class:
QueryProto
public static interface QueryProto.GetBlockByHashRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean是否返回完整事务列表,而不是事务哈希列表com.google.protobuf.ByteStringgetHash()区块哈希账本名称com.google.protobuf.ByteString账本名称Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLedger
String getLedger()账本名称
string ledger = 1;- Returns:
- The ledger.
-
getLedgerBytes
com.google.protobuf.ByteString getLedgerBytes()账本名称
string ledger = 1;- Returns:
- The bytes for ledger.
-
getHash
com.google.protobuf.ByteString getHash()区块哈希
bytes hash = 2;- Returns:
- The hash.
-
getFullTransactions
boolean getFullTransactions()是否返回完整事务列表,而不是事务哈希列表
bool full_transactions = 3;- Returns:
- The fullTransactions.
-