Module com.hedera.hashgraph.sdk
Class HistoryProofSignatureTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HistoryProofSignatureTransactionBody,HistoryProofSignatureTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HistoryProofSignatureTransactionBody,HistoryProofSignatureTransactionBody.Builder>
com.hedera.hapi.services.auxiliary.history.legacy.HistoryProofSignatureTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,HistoryProofSignatureTransactionBodyOrBuilder,Cloneable
- Enclosing class:
HistoryProofSignatureTransactionBody
public static final class HistoryProofSignatureTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<HistoryProofSignatureTransactionBody,HistoryProofSignatureTransactionBody.Builder>
implements HistoryProofSignatureTransactionBodyOrBuilder
* A transaction body to publish a node's signature on a computed history of address book hash and associated metadata. This signature can contribute to a proof that the history belongs to to the chain of trust for the ledger id.Protobuf type
com.hedera.hapi.services.auxiliary.history.HistoryProofSignatureTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The id of the proof construction this signature is contributing to.* This node's signature on its computed history.long* The id of the proof construction this signature is contributing to.* This node's signature on its computed history.boolean* This node's signature on its computed history.mergeSignature(HistorySignature value) * This node's signature on its computed history.setConstructionId(long value) * The id of the proof construction this signature is contributing to.setSignature(HistorySignature value) * This node's signature on its computed history.setSignature(HistorySignature.Builder builderForValue) * This node's signature on its computed history.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
-
getConstructionId
public long getConstructionId()* The id of the proof construction this signature is contributing to.
uint64 construction_id = 1;- Specified by:
getConstructionIdin interfaceHistoryProofSignatureTransactionBodyOrBuilder- Returns:
- The constructionId.
-
setConstructionId
* The id of the proof construction this signature is contributing to.
uint64 construction_id = 1;- Parameters:
value- The constructionId to set.- Returns:
- This builder for chaining.
-
clearConstructionId
* The id of the proof construction this signature is contributing to.
uint64 construction_id = 1;- Returns:
- This builder for chaining.
-
hasSignature
public boolean hasSignature()* This node's signature on its computed history.
.com.hedera.hapi.node.state.history.HistorySignature signature = 2;- Specified by:
hasSignaturein interfaceHistoryProofSignatureTransactionBodyOrBuilder- Returns:
- Whether the signature field is set.
-
getSignature
* This node's signature on its computed history.
.com.hedera.hapi.node.state.history.HistorySignature signature = 2;- Specified by:
getSignaturein interfaceHistoryProofSignatureTransactionBodyOrBuilder- Returns:
- The signature.
-
setSignature
* This node's signature on its computed history.
.com.hedera.hapi.node.state.history.HistorySignature signature = 2; -
setSignature
public HistoryProofSignatureTransactionBody.Builder setSignature(HistorySignature.Builder builderForValue) * This node's signature on its computed history.
.com.hedera.hapi.node.state.history.HistorySignature signature = 2; -
mergeSignature
* This node's signature on its computed history.
.com.hedera.hapi.node.state.history.HistorySignature signature = 2; -
clearSignature
* This node's signature on its computed history.
.com.hedera.hapi.node.state.history.HistorySignature signature = 2;
-