Package com.exonum.messages.core
Interface Proofs.IndexProofOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Proofs.IndexProof
,Proofs.IndexProof.Builder
- Enclosing class:
- Proofs
public static interface Proofs.IndexProofOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description Proofs.BlockProof
getBlockProof()
Proof of authenticity for the block header.Proofs.BlockProofOrBuilder
getBlockProofOrBuilder()
Proof of authenticity for the block header.MapProofOuterClass.MapProof
getIndexProof()
Proof of authenticity for the index.MapProofOuterClass.MapProofOrBuilder
getIndexProofOrBuilder()
Proof of authenticity for the index.boolean
hasBlockProof()
Proof of authenticity for the block header.boolean
hasIndexProof()
Proof of authenticity for the index.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasBlockProof
boolean hasBlockProof()Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;
- Returns:
- Whether the blockProof field is set.
-
getBlockProof
Proofs.BlockProof getBlockProof()Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;
- Returns:
- The blockProof.
-
getBlockProofOrBuilder
Proofs.BlockProofOrBuilder getBlockProofOrBuilder()Proof of authenticity for the block header.
.exonum.BlockProof block_proof = 1;
-
hasIndexProof
boolean hasIndexProof()Proof of authenticity for the index. Must contain a single key - a full index name in the form `$service_name.$name_within_service`, e.g., `cryptocurrency.wallets`. The root hash of the proof must be equal to the `state_hash` mentioned in `block_proof`.
.exonum.proof.MapProof index_proof = 2;
- Returns:
- Whether the indexProof field is set.
-
getIndexProof
MapProofOuterClass.MapProof getIndexProof()Proof of authenticity for the index. Must contain a single key - a full index name in the form `$service_name.$name_within_service`, e.g., `cryptocurrency.wallets`. The root hash of the proof must be equal to the `state_hash` mentioned in `block_proof`.
.exonum.proof.MapProof index_proof = 2;
- Returns:
- The indexProof.
-
getIndexProofOrBuilder
MapProofOuterClass.MapProofOrBuilder getIndexProofOrBuilder()Proof of authenticity for the index. Must contain a single key - a full index name in the form `$service_name.$name_within_service`, e.g., `cryptocurrency.wallets`. The root hash of the proof must be equal to the `state_hash` mentioned in `block_proof`.
.exonum.proof.MapProof index_proof = 2;
-