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 ClassesModifier and TypeClassDescriptionstatic 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
FieldsModifier and TypeFieldDescriptionstatic 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) com.google.protobuf.ByteString* A byte array containing a serialized `TransactionBody`.static SignedTransaction* 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.static SignedTransaction.Builderstatic SignedTransaction.BuildernewBuilder(SignedTransaction prototype) static SignedTransactionparseDelimitedFrom(InputStream input) static SignedTransactionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SignedTransactionparseFrom(byte[] data) static SignedTransactionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SignedTransactionparseFrom(com.google.protobuf.ByteString data) static SignedTransactionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SignedTransactionparseFrom(com.google.protobuf.CodedInputStream input) static SignedTransactionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SignedTransactionparseFrom(InputStream input) static SignedTransactionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SignedTransactionparseFrom(ByteBuffer data) static SignedTransactionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SignedTransaction> 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
-
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:
getBodyBytesin interfaceSignedTransactionOrBuilder- 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:
hasSigMapin interfaceSignedTransactionOrBuilder- Returns:
- Whether the sigMap field is set.
-
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:
getSigMapin interfaceSignedTransactionOrBuilder- 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:
getUseSerializedTxMessageHashAlgorithmin interfaceSignedTransactionOrBuilder- 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
- Throws:
IOException
-
parseFrom
public static SignedTransaction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<SignedTransaction,SignedTransaction.Builder>
-
getDefaultInstance
-
parser
-