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.AnyTx
getAnyTx()
Transaction message.Base.AnyTxOrBuilder
getAnyTxOrBuilder()
Transaction message.Messages.CoreMessage.KindCase
getKindCase()
Messages.Precommit
getPrecommit()
Precommit (block endorsement) message.Messages.PrecommitOrBuilder
getPrecommitOrBuilder()
Precommit (block endorsement) message.boolean
hasAnyTx()
Transaction message.boolean
hasPrecommit()
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()
-