Package com.exonum.messages.core
Interface Messages.CoreMessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Messages.CoreMessage,Messages.CoreMessage.Builder
- Enclosing class:
- Messages
public static interface Messages.CoreMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description Base.AnyTxgetAnyTx()Transaction message.Base.AnyTxOrBuildergetAnyTxOrBuilder()Transaction message.Messages.CoreMessage.KindCasegetKindCase()Messages.PrecommitgetPrecommit()Precommit (block endorsement) message.Messages.PrecommitOrBuildergetPrecommitOrBuilder()Precommit (block endorsement) message.booleanhasAnyTx()Transaction message.booleanhasPrecommit()Precommit (block endorsement) message.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAnyTx
boolean hasAnyTx()Transaction message.
.exonum.runtime.AnyTx any_tx = 1;- Returns:
- Whether the anyTx field is set.
-
getAnyTx
Base.AnyTx getAnyTx()Transaction message.
.exonum.runtime.AnyTx any_tx = 1;- Returns:
- The anyTx.
-
getAnyTxOrBuilder
Base.AnyTxOrBuilder getAnyTxOrBuilder()Transaction message.
.exonum.runtime.AnyTx any_tx = 1; -
hasPrecommit
boolean hasPrecommit()Precommit (block endorsement) message.
.exonum.Precommit precommit = 2;- Returns:
- Whether the precommit field is set.
-
getPrecommit
Messages.Precommit getPrecommit()Precommit (block endorsement) message.
.exonum.Precommit precommit = 2;- Returns:
- The precommit.
-
getPrecommitOrBuilder
Messages.PrecommitOrBuilder getPrecommitOrBuilder()Precommit (block endorsement) message.
.exonum.Precommit precommit = 2; -
getKindCase
Messages.CoreMessage.KindCase getKindCase()
-