Package com.exonum.messages.core
Interface Blockchain.CallInBlockOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Blockchain.CallInBlock
,Blockchain.CallInBlock.Builder
- Enclosing class:
- Blockchain
public static interface Blockchain.CallInBlockOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description int
getAfterTransactions()
Call of `after_transactions` hook in a service.int
getBeforeTransactions()
Call of `before_transactions` hook in a service.Blockchain.CallInBlock.CallCase
getCallCase()
int
getTransaction()
Call of a transaction within the block.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTransaction
int getTransaction()Call of a transaction within the block. The value is the zero-based transaction index.
uint32 transaction = 1;
- Returns:
- The transaction.
-
getBeforeTransactions
int getBeforeTransactions()Call of `before_transactions` hook in a service. The value is the service identifier.
uint32 before_transactions = 2;
- Returns:
- The beforeTransactions.
-
getAfterTransactions
int getAfterTransactions()Call of `after_transactions` hook in a service. The value is the service identifier.
uint32 after_transactions = 3;
- Returns:
- The afterTransactions.
-
getCallCase
Blockchain.CallInBlock.CallCase getCallCase()
-