Package com.exonum.messages.core
Interface Proofs.CallProofOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Proofs.CallProof
,Proofs.CallProof.Builder
- Enclosing class:
- Proofs
public static interface Proofs.CallProofOrBuilder
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
getCallProof()
Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).MapProofOuterClass.MapProofOrBuilder
getCallProofOrBuilder()
Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).java.lang.String
getErrorDescription()
Human-readable description of an error if the call status is erroneous.com.google.protobuf.ByteString
getErrorDescriptionBytes()
Human-readable description of an error if the call status is erroneous.boolean
hasBlockProof()
Proof of authenticity for the block header.boolean
hasCallProof()
Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).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;
-
hasCallProof
boolean hasCallProof()Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).
.exonum.proof.MapProof call_proof = 2;
- Returns:
- Whether the callProof field is set.
-
getCallProof
MapProofOuterClass.MapProof getCallProof()Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).
.exonum.proof.MapProof call_proof = 2;
- Returns:
- The callProof.
-
getCallProofOrBuilder
MapProofOuterClass.MapProofOrBuilder getCallProofOrBuilder()Proof from the error aggregator (i.e., a `ProofMapIndex` the Merkle root of which is recorded in the block header as `error_hash`).
.exonum.proof.MapProof call_proof = 2;
-
getErrorDescription
java.lang.String getErrorDescription()Human-readable description of an error if the call status is erroneous.
string error_description = 3;
- Returns:
- The errorDescription.
-
getErrorDescriptionBytes
com.google.protobuf.ByteString getErrorDescriptionBytes()Human-readable description of an error if the call status is erroneous.
string error_description = 3;
- Returns:
- The bytes for errorDescription.
-