public static final class Transaction.SignedTransaction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder> implements Transaction.SignedTransactionOrBuilder
A generic structure that represents signed RawTransactionProtobuf type
types.SignedTransaction| Modifier and Type | Method and Description |
|---|---|
Transaction.SignedTransaction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Transaction.SignedTransaction |
build() |
Transaction.SignedTransaction |
buildPartial() |
Transaction.SignedTransaction.Builder |
clear() |
Transaction.SignedTransaction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Transaction.SignedTransaction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Transaction.SignedTransaction.Builder |
clearRawTxnBytes()
The serialized Protobuf bytes for RawTransaction, for which the signature
was signed.
|
Transaction.SignedTransaction.Builder |
clearSenderPublicKey()
public key that corresponds to RawTransaction::sender_account
|
Transaction.SignedTransaction.Builder |
clearSenderSignature()
signature for the hash
|
Transaction.SignedTransaction.Builder |
clone() |
Transaction.SignedTransaction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getRawTxnBytes()
The serialized Protobuf bytes for RawTransaction, for which the signature
was signed.
|
com.google.protobuf.ByteString |
getSenderPublicKey()
public key that corresponds to RawTransaction::sender_account
|
com.google.protobuf.ByteString |
getSenderSignature()
signature for the hash
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Transaction.SignedTransaction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Transaction.SignedTransaction.Builder |
mergeFrom(com.google.protobuf.Message other) |
Transaction.SignedTransaction.Builder |
mergeFrom(Transaction.SignedTransaction other) |
Transaction.SignedTransaction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Transaction.SignedTransaction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Transaction.SignedTransaction.Builder |
setRawTxnBytes(com.google.protobuf.ByteString value)
The serialized Protobuf bytes for RawTransaction, for which the signature
was signed.
|
Transaction.SignedTransaction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Transaction.SignedTransaction.Builder |
setSenderPublicKey(com.google.protobuf.ByteString value)
public key that corresponds to RawTransaction::sender_account
|
Transaction.SignedTransaction.Builder |
setSenderSignature(com.google.protobuf.ByteString value)
signature for the hash
|
Transaction.SignedTransaction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder>public Transaction.SignedTransaction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder>public Transaction.SignedTransaction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Transaction.SignedTransaction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Transaction.SignedTransaction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Transaction.SignedTransaction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder>public Transaction.SignedTransaction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder>public Transaction.SignedTransaction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder>public Transaction.SignedTransaction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder>public Transaction.SignedTransaction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder>public Transaction.SignedTransaction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder>public Transaction.SignedTransaction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Transaction.SignedTransaction.Builder>public Transaction.SignedTransaction.Builder mergeFrom(Transaction.SignedTransaction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder>public Transaction.SignedTransaction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Transaction.SignedTransaction.Builder>IOExceptionpublic com.google.protobuf.ByteString getRawTxnBytes()
The serialized Protobuf bytes for RawTransaction, for which the signature was signed. Protobuf doesn't guarantee the serialized bytes is canonical across different language implementations, but for our use cases for transaction it is not necessary because the client is the only one to produce this bytes, which is then persisted in storage.
bytes raw_txn_bytes = 1;getRawTxnBytes in interface Transaction.SignedTransactionOrBuilderpublic Transaction.SignedTransaction.Builder setRawTxnBytes(com.google.protobuf.ByteString value)
The serialized Protobuf bytes for RawTransaction, for which the signature was signed. Protobuf doesn't guarantee the serialized bytes is canonical across different language implementations, but for our use cases for transaction it is not necessary because the client is the only one to produce this bytes, which is then persisted in storage.
bytes raw_txn_bytes = 1;public Transaction.SignedTransaction.Builder clearRawTxnBytes()
The serialized Protobuf bytes for RawTransaction, for which the signature was signed. Protobuf doesn't guarantee the serialized bytes is canonical across different language implementations, but for our use cases for transaction it is not necessary because the client is the only one to produce this bytes, which is then persisted in storage.
bytes raw_txn_bytes = 1;public com.google.protobuf.ByteString getSenderPublicKey()
public key that corresponds to RawTransaction::sender_account
bytes sender_public_key = 2;getSenderPublicKey in interface Transaction.SignedTransactionOrBuilderpublic Transaction.SignedTransaction.Builder setSenderPublicKey(com.google.protobuf.ByteString value)
public key that corresponds to RawTransaction::sender_account
bytes sender_public_key = 2;public Transaction.SignedTransaction.Builder clearSenderPublicKey()
public key that corresponds to RawTransaction::sender_account
bytes sender_public_key = 2;public com.google.protobuf.ByteString getSenderSignature()
signature for the hash
bytes sender_signature = 3;getSenderSignature in interface Transaction.SignedTransactionOrBuilderpublic Transaction.SignedTransaction.Builder setSenderSignature(com.google.protobuf.ByteString value)
signature for the hash
bytes sender_signature = 3;public Transaction.SignedTransaction.Builder clearSenderSignature()
signature for the hash
bytes sender_signature = 3;public final Transaction.SignedTransaction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder>public final Transaction.SignedTransaction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.SignedTransaction.Builder>Copyright © 2019. All rights reserved.