Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ChainOfTrustProof.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ChainOfTrustProof,ChainOfTrustProof.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ChainOfTrustProof,ChainOfTrustProof.Builder>
com.hedera.hashgraph.sdk.proto.ChainOfTrustProof.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ChainOfTrustProofOrBuilder,Cloneable
- Enclosing class:
ChainOfTrustProof
public static final class ChainOfTrustProof.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ChainOfTrustProof,ChainOfTrustProof.Builder>
implements ChainOfTrustProofOrBuilder
Protobuf type
com.hedera.hapi.node.state.history.ChainOfTrustProof-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* If there is not yet a SNARK proving the chain of trust from ledger id to the hinTS verification key, an aggregation of Schnorr signatures on the concatenation of the ledger id and genesis hinTS verification key that serve as witnesses for the SNARK prover algorithm.* If known, a ZK-compressed SNARK proof proving the chain of trust from the ledger id to this hinTS verification key.* If there is not yet a SNARK proving the chain of trust from ledger id to the hinTS verification key, an aggregation of Schnorr signatures on the concatenation of the ledger id and genesis hinTS verification key that serve as witnesses for the SNARK prover algorithm.com.google.protobuf.ByteString* If known, a ZK-compressed SNARK proof proving the chain of trust from the ledger id to this hinTS verification key.boolean* If there is not yet a SNARK proving the chain of trust from ledger id to the hinTS verification key, an aggregation of Schnorr signatures on the concatenation of the ledger id and genesis hinTS verification key that serve as witnesses for the SNARK prover algorithm.boolean* If known, a ZK-compressed SNARK proof proving the chain of trust from the ledger id to this hinTS verification key.* If there is not yet a SNARK proving the chain of trust from ledger id to the hinTS verification key, an aggregation of Schnorr signatures on the concatenation of the ledger id and genesis hinTS verification key that serve as witnesses for the SNARK prover algorithm.* If there is not yet a SNARK proving the chain of trust from ledger id to the hinTS verification key, an aggregation of Schnorr signatures on the concatenation of the ledger id and genesis hinTS verification key that serve as witnesses for the SNARK prover algorithm.setAggregatedNodeSignatures(AggregatedNodeSignatures.Builder builderForValue) * If there is not yet a SNARK proving the chain of trust from ledger id to the hinTS verification key, an aggregation of Schnorr signatures on the concatenation of the ledger id and genesis hinTS verification key that serve as witnesses for the SNARK prover algorithm.setWrapsProof(com.google.protobuf.ByteString value) * If known, a ZK-compressed SNARK proof proving the chain of trust from the ledger id to this hinTS verification key.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getProofCase
- Specified by:
getProofCasein interfaceChainOfTrustProofOrBuilder
-
clearProof
-
hasAggregatedNodeSignatures
public boolean hasAggregatedNodeSignatures()* If there is not yet a SNARK proving the chain of trust from ledger id to the hinTS verification key, an aggregation of Schnorr signatures on the concatenation of the ledger id and genesis hinTS verification key that serve as witnesses for the SNARK prover algorithm.
.com.hedera.hapi.node.state.history.AggregatedNodeSignatures aggregated_node_signatures = 1;- Specified by:
hasAggregatedNodeSignaturesin interfaceChainOfTrustProofOrBuilder- Returns:
- Whether the aggregatedNodeSignatures field is set.
-
getAggregatedNodeSignatures
* If there is not yet a SNARK proving the chain of trust from ledger id to the hinTS verification key, an aggregation of Schnorr signatures on the concatenation of the ledger id and genesis hinTS verification key that serve as witnesses for the SNARK prover algorithm.
.com.hedera.hapi.node.state.history.AggregatedNodeSignatures aggregated_node_signatures = 1;- Specified by:
getAggregatedNodeSignaturesin interfaceChainOfTrustProofOrBuilder- Returns:
- The aggregatedNodeSignatures.
-
setAggregatedNodeSignatures
* If there is not yet a SNARK proving the chain of trust from ledger id to the hinTS verification key, an aggregation of Schnorr signatures on the concatenation of the ledger id and genesis hinTS verification key that serve as witnesses for the SNARK prover algorithm.
.com.hedera.hapi.node.state.history.AggregatedNodeSignatures aggregated_node_signatures = 1; -
setAggregatedNodeSignatures
public ChainOfTrustProof.Builder setAggregatedNodeSignatures(AggregatedNodeSignatures.Builder builderForValue) * If there is not yet a SNARK proving the chain of trust from ledger id to the hinTS verification key, an aggregation of Schnorr signatures on the concatenation of the ledger id and genesis hinTS verification key that serve as witnesses for the SNARK prover algorithm.
.com.hedera.hapi.node.state.history.AggregatedNodeSignatures aggregated_node_signatures = 1; -
mergeAggregatedNodeSignatures
* If there is not yet a SNARK proving the chain of trust from ledger id to the hinTS verification key, an aggregation of Schnorr signatures on the concatenation of the ledger id and genesis hinTS verification key that serve as witnesses for the SNARK prover algorithm.
.com.hedera.hapi.node.state.history.AggregatedNodeSignatures aggregated_node_signatures = 1; -
clearAggregatedNodeSignatures
* If there is not yet a SNARK proving the chain of trust from ledger id to the hinTS verification key, an aggregation of Schnorr signatures on the concatenation of the ledger id and genesis hinTS verification key that serve as witnesses for the SNARK prover algorithm.
.com.hedera.hapi.node.state.history.AggregatedNodeSignatures aggregated_node_signatures = 1; -
hasWrapsProof
public boolean hasWrapsProof()* If known, a ZK-compressed SNARK proof proving the chain of trust from the ledger id to this hinTS verification key.
bytes wraps_proof = 2;- Specified by:
hasWrapsProofin interfaceChainOfTrustProofOrBuilder- Returns:
- Whether the wrapsProof field is set.
-
getWrapsProof
public com.google.protobuf.ByteString getWrapsProof()* If known, a ZK-compressed SNARK proof proving the chain of trust from the ledger id to this hinTS verification key.
bytes wraps_proof = 2;- Specified by:
getWrapsProofin interfaceChainOfTrustProofOrBuilder- Returns:
- The wrapsProof.
-
setWrapsProof
* If known, a ZK-compressed SNARK proof proving the chain of trust from the ledger id to this hinTS verification key.
bytes wraps_proof = 2;- Parameters:
value- The wrapsProof to set.- Returns:
- This builder for chaining.
-
clearWrapsProof
* If known, a ZK-compressed SNARK proof proving the chain of trust from the ledger id to this hinTS verification key.
bytes wraps_proof = 2;- Returns:
- This builder for chaining.
-