Class SignedTransaction

java.lang.Object
com.google.protobuf.AbstractMessageLite<SignedTransaction,SignedTransaction.Builder>
com.google.protobuf.GeneratedMessageLite<SignedTransaction,SignedTransaction.Builder>
com.hedera.hashgraph.sdk.proto.SignedTransaction
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, SignedTransactionOrBuilder

@Generated public final class SignedTransaction extends com.google.protobuf.GeneratedMessageLite<SignedTransaction,SignedTransaction.Builder> implements SignedTransactionOrBuilder
 *
 A combination transaction bytes and a map of signatures.<br/>
 This message contains a serialized `TransactionBody` in a byte array
 and a `SignatureMap` that contains all of the signatures offered to
 authenticate the transaction.

 ### Block Stream Effects
 This content is recorded in the record stream exactly as received.
 
Protobuf type proto.SignedTransaction
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * A combination transaction bytes and a map of signatures.<br/> This message contains a serialized `TransactionBody` in a byte array and a `SignatureMap` that contains all of the signatures offered to authenticate the transaction.

    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
     

    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)
     
    com.google.protobuf.ByteString
    * A byte array containing a serialized `TransactionBody`.
     
    * A set of cryptographic signatures.
    boolean
    * If false then the hash of this transaction is the SHA-384 hash of the serialization of this SignedTransaction message as it arrived on the wire.
    boolean
    * A set of cryptographic signatures.
     
     
     
    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<SignedTransaction>
     

    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

    • BODYBYTES_FIELD_NUMBER

      public static final int BODYBYTES_FIELD_NUMBER
      See Also:
    • SIGMAP_FIELD_NUMBER

      public static final int SIGMAP_FIELD_NUMBER
      See Also:
    • USE_SERIALIZED_TX_MESSAGE_HASH_ALGORITHM_FIELD_NUMBER

      public static final int USE_SERIALIZED_TX_MESSAGE_HASH_ALGORITHM_FIELD_NUMBER
      See Also:
  • Method Details

    • getBodyBytes

      public com.google.protobuf.ByteString getBodyBytes()
       *
       A byte array containing a serialized `TransactionBody`.
       <p>
       This content is what the signatures in `sigMap` MUST sign.
       
      bytes bodyBytes = 1;
      Specified by:
      getBodyBytes in interface SignedTransactionOrBuilder
      Returns:
      The bodyBytes.
    • hasSigMap

      public boolean hasSigMap()
       *
       A set of cryptographic signatures.
       <p>
       This set MUST contain all signatures required to authenticate
       and authorize the transaction.<br/>
       This set MAY contain additional signatures.
       
      .proto.SignatureMap sigMap = 2;
      Specified by:
      hasSigMap in interface SignedTransactionOrBuilder
      Returns:
      Whether the sigMap field is set.
    • getSigMap

      public SignatureMap getSigMap()
       *
       A set of cryptographic signatures.
       <p>
       This set MUST contain all signatures required to authenticate
       and authorize the transaction.<br/>
       This set MAY contain additional signatures.
       
      .proto.SignatureMap sigMap = 2;
      Specified by:
      getSigMap in interface SignedTransactionOrBuilder
      Returns:
      The sigMap.
    • getUseSerializedTxMessageHashAlgorithm

      public boolean getUseSerializedTxMessageHashAlgorithm()
       *
       If false then the hash of this transaction is the SHA-384 hash of the
       serialization of this SignedTransaction message as it arrived on the wire.
       <p>
       If true then the hash of this transaction is the SHA-384 hash of the
       ascending field order serialization of the Transaction whose `bodyBytes`
       and sigMap fields are deserialized from the contents of this message.
       
      bool use_serialized_tx_message_hash_algorithm = 3;
      Specified by:
      getUseSerializedTxMessageHashAlgorithm in interface SignedTransactionOrBuilder
      Returns:
      The useSerializedTxMessageHashAlgorithm.
    • parseFrom

      public static SignedTransaction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SignedTransaction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SignedTransaction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SignedTransaction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SignedTransaction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SignedTransaction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static SignedTransaction parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static SignedTransaction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SignedTransaction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static SignedTransaction.Builder newBuilder()
    • newBuilder

      public static SignedTransaction.Builder newBuilder(SignedTransaction 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<SignedTransaction,SignedTransaction.Builder>
    • getDefaultInstance

      public static SignedTransaction getDefaultInstance()
    • parser

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