Module com.hedera.hashgraph.sdk
Class TssVoteMapKey.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TssVoteMapKey,TssVoteMapKey.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TssVoteMapKey,TssVoteMapKey.Builder>
com.hedera.hapi.node.state.tss.legacy.TssVoteMapKey.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TssVoteMapKeyOrBuilder,Cloneable
- Enclosing class:
TssVoteMapKey
public static final class TssVoteMapKey.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TssVoteMapKey,TssVoteMapKey.Builder>
implements TssVoteMapKeyOrBuilder
* A key for use in the Threshold Signature Scheme (TSS) TssVoteMaps. This key SHALL be used to uniquely identify entries in the Vote Maps.Protobuf type
com.hedera.hapi.node.state.tss.TssVoteMapKey-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The node id of the node that created the TssVote.<br/> This id uniquely identifies the node.* A hash of the target roster for the associated value in the map.long* The node id of the node that created the TssVote.<br/> This id uniquely identifies the node.com.google.protobuf.ByteString* A hash of the target roster for the associated value in the map.setNodeId(long value) * The node id of the node that created the TssVote.<br/> This id uniquely identifies the node.setRosterHash(com.google.protobuf.ByteString value) * A hash of the target roster for the associated value in the map.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
-
getRosterHash
public com.google.protobuf.ByteString getRosterHash()* A hash of the target roster for the associated value in the map. <br/> This hash uniquely identifies the target roster. <p> This value MUST be set.<br/> This value MUST contain a valid hash.
bytes roster_hash = 1;- Specified by:
getRosterHashin interfaceTssVoteMapKeyOrBuilder- Returns:
- The rosterHash.
-
setRosterHash
* A hash of the target roster for the associated value in the map. <br/> This hash uniquely identifies the target roster. <p> This value MUST be set.<br/> This value MUST contain a valid hash.
bytes roster_hash = 1;- Parameters:
value- The rosterHash to set.- Returns:
- This builder for chaining.
-
clearRosterHash
* A hash of the target roster for the associated value in the map. <br/> This hash uniquely identifies the target roster. <p> This value MUST be set.<br/> This value MUST contain a valid hash.
bytes roster_hash = 1;- Returns:
- This builder for chaining.
-
getNodeId
public long getNodeId()* The node id of the node that created the TssVote.<br/> This id uniquely identifies the node. <p> This value MUST be set.<br/> This value MUST be a valid node id.
uint64 node_id = 2;- Specified by:
getNodeIdin interfaceTssVoteMapKeyOrBuilder- Returns:
- The nodeId.
-
setNodeId
* The node id of the node that created the TssVote.<br/> This id uniquely identifies the node. <p> This value MUST be set.<br/> This value MUST be a valid node id.
uint64 node_id = 2;- Parameters:
value- The nodeId to set.- Returns:
- This builder for chaining.
-
clearNodeId
* The node id of the node that created the TssVote.<br/> This id uniquely identifies the node. <p> This value MUST be set.<br/> This value MUST be a valid node id.
uint64 node_id = 2;- Returns:
- This builder for chaining.
-