Module com.hedera.hashgraph.sdk
Class TssMessageTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TssMessageTransactionBody,TssMessageTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TssMessageTransactionBody,TssMessageTransactionBody.Builder>
com.hedera.hapi.services.auxiliary.tss.legacy.TssMessageTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TssMessageTransactionBodyOrBuilder,Cloneable
- Enclosing class:
TssMessageTransactionBody
public static final class TssMessageTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TssMessageTransactionBody,TssMessageTransactionBody.Builder>
implements TssMessageTransactionBodyOrBuilder
* A transaction body to to send a Threshold Signature Scheme (TSS) Message.<br/> This is a wrapper around several different TSS message types that a node might communicate with other nodes in the network. - A `TssMessageTransactionBody` MUST identify the hash of the roster containing the node generating this TssMessage - A `TssMessageTransactionBody` MUST identify the hash of the roster that the TSS messages is for - A `TssMessageTransactionBody` SHALL contain the specificc TssMessage data that has been generated by the node for the share_index.Protobuf type
com.hedera.hapi.services.auxiliary.tss.TssMessageTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* An index to order shares.* A hash of the roster containing the node generating the TssMessage.<br/> This hash uniquely identifies the source roster, which will include an entry for the node generating this TssMessage.* A hash of the roster that the TssMessage is for.* A byte array.long* An index to order shares.com.google.protobuf.ByteString* A hash of the roster containing the node generating the TssMessage.<br/> This hash uniquely identifies the source roster, which will include an entry for the node generating this TssMessage.com.google.protobuf.ByteString* A hash of the roster that the TssMessage is for.com.google.protobuf.ByteString* A byte array.setShareIndex(long value) * An index to order shares.setSourceRosterHash(com.google.protobuf.ByteString value) * A hash of the roster containing the node generating the TssMessage.<br/> This hash uniquely identifies the source roster, which will include an entry for the node generating this TssMessage.setTargetRosterHash(com.google.protobuf.ByteString value) * A hash of the roster that the TssMessage is for.setTssMessage(com.google.protobuf.ByteString value) * A byte array.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
-
getSourceRosterHash
public com.google.protobuf.ByteString getSourceRosterHash()* A hash of the roster containing the node generating the TssMessage.<br/> This hash uniquely identifies the source roster, which will include an entry for the node generating this TssMessage. <p> This value MUST be set.<br/> This value MUST NOT be empty.<br/> This value MUST contain a valid hash.
bytes source_roster_hash = 1;- Specified by:
getSourceRosterHashin interfaceTssMessageTransactionBodyOrBuilder- Returns:
- The sourceRosterHash.
-
setSourceRosterHash
* A hash of the roster containing the node generating the TssMessage.<br/> This hash uniquely identifies the source roster, which will include an entry for the node generating this TssMessage. <p> This value MUST be set.<br/> This value MUST NOT be empty.<br/> This value MUST contain a valid hash.
bytes source_roster_hash = 1;- Parameters:
value- The sourceRosterHash to set.- Returns:
- This builder for chaining.
-
clearSourceRosterHash
* A hash of the roster containing the node generating the TssMessage.<br/> This hash uniquely identifies the source roster, which will include an entry for the node generating this TssMessage. <p> This value MUST be set.<br/> This value MUST NOT be empty.<br/> This value MUST contain a valid hash.
bytes source_roster_hash = 1;- Returns:
- This builder for chaining.
-
getTargetRosterHash
public com.google.protobuf.ByteString getTargetRosterHash()* A hash of the roster that the TssMessage is for. <p> This value MUST be set.<br/> This value MUST NOT be empty.<br/> This value MUST contain a valid hash.
bytes target_roster_hash = 2;- Specified by:
getTargetRosterHashin interfaceTssMessageTransactionBodyOrBuilder- Returns:
- The targetRosterHash.
-
setTargetRosterHash
* A hash of the roster that the TssMessage is for. <p> This value MUST be set.<br/> This value MUST NOT be empty.<br/> This value MUST contain a valid hash.
bytes target_roster_hash = 2;- Parameters:
value- The targetRosterHash to set.- Returns:
- This builder for chaining.
-
clearTargetRosterHash
* A hash of the roster that the TssMessage is for. <p> This value MUST be set.<br/> This value MUST NOT be empty.<br/> This value MUST contain a valid hash.
bytes target_roster_hash = 2;- Returns:
- This builder for chaining.
-
getTssMessage
public com.google.protobuf.ByteString getTssMessage()* A byte array. <p> This field SHALL contain the TssMessage data generated by the node for the specified `share_index`.
bytes tss_message = 4;- Specified by:
getTssMessagein interfaceTssMessageTransactionBodyOrBuilder- Returns:
- The tssMessage.
-
setTssMessage
* A byte array. <p> This field SHALL contain the TssMessage data generated by the node for the specified `share_index`.
bytes tss_message = 4;- Parameters:
value- The tssMessage to set.- Returns:
- This builder for chaining.
-
clearTssMessage
* A byte array. <p> This field SHALL contain the TssMessage data generated by the node for the specified `share_index`.
bytes tss_message = 4;- Returns:
- This builder for chaining.
-