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 Classes
    Modifier and Type
    Class
    Description
    static 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    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.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<TssMessageTransactionBody>
     

    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, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods 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:
      getSourceRosterHash in interface TssMessageTransactionBodyOrBuilder
      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:
      getTargetRosterHash in interface TssMessageTransactionBodyOrBuilder
      Returns:
      The targetRosterHash.
    • getShareIndex

      public long getShareIndex()
       *
       An index to order shares.
       <p>
       A share index SHALL establish a global ordering of shares across all
       shares in the network.<br/>
       A share index MUST correspond to the index of the public share in the list
       returned from the TSS library when the share was created for the source
       roster.
       
      uint64 share_index = 3;
      Specified by:
      getShareIndex in interface TssMessageTransactionBodyOrBuilder
      Returns:
      The shareIndex.
    • 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:
      getTssMessage in interface TssMessageTransactionBodyOrBuilder
      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

      public static TssMessageTransactionBody parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TssMessageTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TssMessageTransactionBody parseDelimitedFrom(InputStream input) throws IOException
      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

      public static TssMessageTransactionBody.Builder newBuilder()
    • newBuilder

      public static TssMessageTransactionBody.Builder newBuilder(TssMessageTransactionBody prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<TssMessageTransactionBody,TssMessageTransactionBody.Builder>
    • getDefaultInstance

      public static TssMessageTransactionBody getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TssMessageTransactionBody> parser()