Module com.hedera.hashgraph.sdk
Class TssMessageTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<TssMessageTransactionBody,TssMessageTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<TssMessageTransactionBody,TssMessageTransactionBody.Builder>
com.hedera.hapi.services.auxiliary.tss.legacy.TssMessageTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,TssMessageTransactionBodyOrBuilder
@Generated
public final class TssMessageTransactionBody
extends com.google.protobuf.GeneratedMessageLite<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-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* 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.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static TssMessageTransactionBodylong* 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.newBuilder(TssMessageTransactionBody prototype) static TssMessageTransactionBodyparseDelimitedFrom(InputStream input) static TssMessageTransactionBodyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TssMessageTransactionBodyparseFrom(byte[] data) static TssMessageTransactionBodyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TssMessageTransactionBodyparseFrom(com.google.protobuf.ByteString data) static TssMessageTransactionBodyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TssMessageTransactionBodyparseFrom(com.google.protobuf.CodedInputStream input) static TssMessageTransactionBodyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TssMessageTransactionBodyparseFrom(InputStream input) static TssMessageTransactionBodyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TssMessageTransactionBodyparseFrom(ByteBuffer data) static TssMessageTransactionBodyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TssMessageTransactionBody> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
SOURCE_ROSTER_HASH_FIELD_NUMBER
public static final int SOURCE_ROSTER_HASH_FIELD_NUMBER- See Also:
-
TARGET_ROSTER_HASH_FIELD_NUMBER
public static final int TARGET_ROSTER_HASH_FIELD_NUMBER- See Also:
-
SHARE_INDEX_FIELD_NUMBER
public static final int SHARE_INDEX_FIELD_NUMBER- See Also:
-
TSS_MESSAGE_FIELD_NUMBER
public static final int TSS_MESSAGE_FIELD_NUMBER- See Also:
-
-
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.
-
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.
-
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.
-
parseFrom
public static TssMessageTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TssMessageTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TssMessageTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TssMessageTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TssMessageTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TssMessageTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TssMessageTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TssMessageTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TssMessageTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TssMessageTransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<TssMessageTransactionBody,TssMessageTransactionBody.Builder>
-
getDefaultInstance
-
parser
-