Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class AggregatedNodeSignatures.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<AggregatedNodeSignatures,AggregatedNodeSignatures.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<AggregatedNodeSignatures,AggregatedNodeSignatures.Builder>
com.hedera.hashgraph.sdk.proto.AggregatedNodeSignatures.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,AggregatedNodeSignaturesOrBuilder,Cloneable
- Enclosing class:
AggregatedNodeSignatures
public static final class AggregatedNodeSignatures.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AggregatedNodeSignatures,AggregatedNodeSignatures.Builder>
implements AggregatedNodeSignaturesOrBuilder
* An aggregation of node signatures on some data. <p> Can be used to prove the genesis hinTS verification key in a block proof; but not succinct and not recursive; hence in normal operations with TSS, used only until the first recursive proof is available.Protobuf type
com.hedera.hapi.node.state.history.AggregatedNodeSignatures-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllSigningNodeIds(Iterable<? extends Long> values) * In ascending order, the ids of the nodes that contributed signatures.addSigningNodeIds(long value) * In ascending order, the ids of the nodes that contributed signatures.* The aggregated signature.* In ascending order, the ids of the nodes that contributed signatures.* The hinTS key that this signature witnesses.com.google.protobuf.ByteString* The aggregated signature.longgetSigningNodeIds(int index) * In ascending order, the ids of the nodes that contributed signatures.int* In ascending order, the ids of the nodes that contributed signatures.* In ascending order, the ids of the nodes that contributed signatures.com.google.protobuf.ByteString* The hinTS key that this signature witnesses.setAggregatedSignature(com.google.protobuf.ByteString value) * The aggregated signature.setSigningNodeIds(int index, long value) * In ascending order, the ids of the nodes that contributed signatures.setVerificationKey(com.google.protobuf.ByteString value) * The hinTS key that this signature witnesses.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
-
getAggregatedSignature
public com.google.protobuf.ByteString getAggregatedSignature()* The aggregated signature.
bytes aggregated_signature = 1;- Specified by:
getAggregatedSignaturein interfaceAggregatedNodeSignaturesOrBuilder- Returns:
- The aggregatedSignature.
-
setAggregatedSignature
public AggregatedNodeSignatures.Builder setAggregatedSignature(com.google.protobuf.ByteString value) * The aggregated signature.
bytes aggregated_signature = 1;- Parameters:
value- The aggregatedSignature to set.- Returns:
- This builder for chaining.
-
clearAggregatedSignature
* The aggregated signature.
bytes aggregated_signature = 1;- Returns:
- This builder for chaining.
-
getSigningNodeIdsList
* In ascending order, the ids of the nodes that contributed signatures.
repeated uint64 signing_node_ids = 2;- Specified by:
getSigningNodeIdsListin interfaceAggregatedNodeSignaturesOrBuilder- Returns:
- A list containing the signingNodeIds.
-
getSigningNodeIdsCount
public int getSigningNodeIdsCount()* In ascending order, the ids of the nodes that contributed signatures.
repeated uint64 signing_node_ids = 2;- Specified by:
getSigningNodeIdsCountin interfaceAggregatedNodeSignaturesOrBuilder- Returns:
- The count of signingNodeIds.
-
getSigningNodeIds
public long getSigningNodeIds(int index) * In ascending order, the ids of the nodes that contributed signatures.
repeated uint64 signing_node_ids = 2;- Specified by:
getSigningNodeIdsin interfaceAggregatedNodeSignaturesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The signingNodeIds at the given index.
-
setSigningNodeIds
* In ascending order, the ids of the nodes that contributed signatures.
repeated uint64 signing_node_ids = 2;- Parameters:
value- The signingNodeIds to set.- Returns:
- This builder for chaining.
-
addSigningNodeIds
* In ascending order, the ids of the nodes that contributed signatures.
repeated uint64 signing_node_ids = 2;- Parameters:
value- The signingNodeIds to add.- Returns:
- This builder for chaining.
-
addAllSigningNodeIds
* In ascending order, the ids of the nodes that contributed signatures.
repeated uint64 signing_node_ids = 2;- Parameters:
values- The signingNodeIds to add.- Returns:
- This builder for chaining.
-
clearSigningNodeIds
* In ascending order, the ids of the nodes that contributed signatures.
repeated uint64 signing_node_ids = 2;- Returns:
- This builder for chaining.
-
getVerificationKey
public com.google.protobuf.ByteString getVerificationKey()* The hinTS key that this signature witnesses.
bytes verification_key = 3;- Specified by:
getVerificationKeyin interfaceAggregatedNodeSignaturesOrBuilder- Returns:
- The verificationKey.
-
setVerificationKey
* The hinTS key that this signature witnesses.
bytes verification_key = 3;- Parameters:
value- The verificationKey to set.- Returns:
- This builder for chaining.
-
clearVerificationKey
* The hinTS key that this signature witnesses.
bytes verification_key = 3;- Returns:
- This builder for chaining.
-