Package org.bdware.bdledger.api.grpc.pb
Interface QueryProto.GetTransactionByBlockHashAndIndexRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryProto.GetTransactionByBlockHashAndIndexRequest
,QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder
- Enclosing class:
QueryProto
public static interface QueryProto.GetTransactionByBlockHashAndIndexRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString
事务所属区块哈希int
getIndex()
事务在区块中的位置账本名称com.google.protobuf.ByteString
账本名称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.
-
getBlockHash
com.google.protobuf.ByteString getBlockHash()事务所属区块哈希
bytes block_hash = 2;
- Returns:
- The blockHash.
-
getIndex
int getIndex()事务在区块中的位置
uint32 index = 3;
- Returns:
- The index.
-