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 Type
    Method
    Description
    * 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.
    * 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, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getProofCase

      public ChainOfTrustProof.ProofCase getProofCase()
      Specified by:
      getProofCase in interface ChainOfTrustProofOrBuilder
    • clearProof

      public ChainOfTrustProof.Builder 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:
      hasAggregatedNodeSignatures in interface ChainOfTrustProofOrBuilder
      Returns:
      Whether the aggregatedNodeSignatures field is set.
    • getAggregatedNodeSignatures

      public AggregatedNodeSignatures 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:
      getAggregatedNodeSignatures in interface ChainOfTrustProofOrBuilder
      Returns:
      The aggregatedNodeSignatures.
    • setAggregatedNodeSignatures

      public ChainOfTrustProof.Builder setAggregatedNodeSignatures(AggregatedNodeSignatures value)
       *
       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

      public ChainOfTrustProof.Builder mergeAggregatedNodeSignatures(AggregatedNodeSignatures value)
       *
       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

      public ChainOfTrustProof.Builder 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:
      hasWrapsProof in interface ChainOfTrustProofOrBuilder
      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:
      getWrapsProof in interface ChainOfTrustProofOrBuilder
      Returns:
      The wrapsProof.
    • setWrapsProof

      public ChainOfTrustProof.Builder 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.
       
      bytes wraps_proof = 2;
      Parameters:
      value - The wrapsProof to set.
      Returns:
      This builder for chaining.
    • clearWrapsProof

      public ChainOfTrustProof.Builder 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.