Package org.bdware.bdledger.api.grpc.pb
Interface QueryProto.RecentBlocksRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryProto.RecentBlocksRequest
,QueryProto.RecentBlocksRequest.Builder
- Enclosing class:
QueryProto
public static interface QueryProto.RecentBlocksRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong
getCount()
查询区块数量包含事务信息详细程度int
包含事务信息详细程度账本名称com.google.protobuf.ByteString
账本名称long
起始值Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods 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.
-
getOffset
long getOffset()起始值
int64 offset = 2;
- Returns:
- The offset.
-
getCount
long getCount()查询区块数量
int64 count = 3;
- Returns:
- The count.
-
getIncludeTransactionsValue
int getIncludeTransactionsValue()包含事务信息详细程度
.bdware.bdledger.api.IncludeTransactions include_transactions = 4;
- Returns:
- The enum numeric value on the wire for includeTransactions.
-
getIncludeTransactions
QueryProto.IncludeTransactions getIncludeTransactions()包含事务信息详细程度
.bdware.bdledger.api.IncludeTransactions include_transactions = 4;
- Returns:
- The includeTransactions.
-