Package com.exonum.core.messages
Interface Blockchain.ValidatorKeysOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Blockchain.ValidatorKeys,Blockchain.ValidatorKeys.Builder
- Enclosing class:
- Blockchain
public static interface Blockchain.ValidatorKeysOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description Types.PublicKeygetConsensusKey()Consensus key is used for messages related to the consensus algorithm.Types.PublicKeyOrBuildergetConsensusKeyOrBuilder()Consensus key is used for messages related to the consensus algorithm.Types.PublicKeygetServiceKey()Service key is used for services, for example, the configuration updater service, the anchoring service, etc.Types.PublicKeyOrBuildergetServiceKeyOrBuilder()Service key is used for services, for example, the configuration updater service, the anchoring service, etc.booleanhasConsensusKey()Consensus key is used for messages related to the consensus algorithm.booleanhasServiceKey()Service key is used for services, for example, the configuration updater service, the anchoring service, etc.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasConsensusKey
boolean hasConsensusKey()Consensus key is used for messages related to the consensus algorithm.
.exonum.crypto.PublicKey consensus_key = 1;- Returns:
- Whether the consensusKey field is set.
-
getConsensusKey
Types.PublicKey getConsensusKey()Consensus key is used for messages related to the consensus algorithm.
.exonum.crypto.PublicKey consensus_key = 1;- Returns:
- The consensusKey.
-
getConsensusKeyOrBuilder
Types.PublicKeyOrBuilder getConsensusKeyOrBuilder()Consensus key is used for messages related to the consensus algorithm.
.exonum.crypto.PublicKey consensus_key = 1; -
hasServiceKey
boolean hasServiceKey()Service key is used for services, for example, the configuration updater service, the anchoring service, etc.
.exonum.crypto.PublicKey service_key = 2;- Returns:
- Whether the serviceKey field is set.
-
getServiceKey
Types.PublicKey getServiceKey()Service key is used for services, for example, the configuration updater service, the anchoring service, etc.
.exonum.crypto.PublicKey service_key = 2;- Returns:
- The serviceKey.
-
getServiceKeyOrBuilder
Types.PublicKeyOrBuilder getServiceKeyOrBuilder()Service key is used for services, for example, the configuration updater service, the anchoring service, etc.
.exonum.crypto.PublicKey service_key = 2;
-