public static final class TrezorType.TxOutputType.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TrezorType.TxOutputType.Builder> implements TrezorType.TxOutputTypeOrBuilder
Structure representing transaction output @used_in SimpleSignTx @used_in TransactionTypeProtobuf type
TxOutputType| Modifier and Type | Method and Description |
|---|---|
TrezorType.TxOutputType.Builder |
addAddressN(int value)
BIP-32 path to derive the key from master node; has higher priority than "address"
|
TrezorType.TxOutputType.Builder |
addAllAddressN(Iterable<? extends Integer> values)
BIP-32 path to derive the key from master node; has higher priority than "address"
|
TrezorType.TxOutputType.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TrezorType.TxOutputType |
build() |
TrezorType.TxOutputType |
buildPartial() |
TrezorType.TxOutputType.Builder |
clear() |
TrezorType.TxOutputType.Builder |
clearAddress()
target coin address in Base58 encoding
|
TrezorType.TxOutputType.Builder |
clearAddressN()
BIP-32 path to derive the key from master node; has higher priority than "address"
|
TrezorType.TxOutputType.Builder |
clearAmount()
amount to spend in satoshis
|
TrezorType.TxOutputType.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TrezorType.TxOutputType.Builder |
clearMultisig()
defines multisig address; script_type must be PAYTOMULTISIG
|
TrezorType.TxOutputType.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TrezorType.TxOutputType.Builder |
clearOpReturnData()
defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
|
TrezorType.TxOutputType.Builder |
clearScriptType()
output script type
|
TrezorType.TxOutputType.Builder |
clone() |
String |
getAddress()
target coin address in Base58 encoding
|
com.google.protobuf.ByteString |
getAddressBytes()
target coin address in Base58 encoding
|
int |
getAddressN(int index)
BIP-32 path to derive the key from master node; has higher priority than "address"
|
int |
getAddressNCount()
BIP-32 path to derive the key from master node; has higher priority than "address"
|
List<Integer> |
getAddressNList()
BIP-32 path to derive the key from master node; has higher priority than "address"
|
long |
getAmount()
amount to spend in satoshis
|
TrezorType.TxOutputType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
TrezorType.MultisigRedeemScriptType |
getMultisig()
defines multisig address; script_type must be PAYTOMULTISIG
|
TrezorType.MultisigRedeemScriptType.Builder |
getMultisigBuilder()
defines multisig address; script_type must be PAYTOMULTISIG
|
TrezorType.MultisigRedeemScriptTypeOrBuilder |
getMultisigOrBuilder()
defines multisig address; script_type must be PAYTOMULTISIG
|
com.google.protobuf.ByteString |
getOpReturnData()
defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
|
TrezorType.OutputScriptType |
getScriptType()
output script type
|
boolean |
hasAddress()
target coin address in Base58 encoding
|
boolean |
hasAmount()
amount to spend in satoshis
|
boolean |
hasMultisig()
defines multisig address; script_type must be PAYTOMULTISIG
|
boolean |
hasOpReturnData()
defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
|
boolean |
hasScriptType()
output script type
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TrezorType.TxOutputType.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TrezorType.TxOutputType.Builder |
mergeFrom(com.google.protobuf.Message other) |
TrezorType.TxOutputType.Builder |
mergeFrom(TrezorType.TxOutputType other) |
TrezorType.TxOutputType.Builder |
mergeMultisig(TrezorType.MultisigRedeemScriptType value)
defines multisig address; script_type must be PAYTOMULTISIG
|
TrezorType.TxOutputType.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TrezorType.TxOutputType.Builder |
setAddress(String value)
target coin address in Base58 encoding
|
TrezorType.TxOutputType.Builder |
setAddressBytes(com.google.protobuf.ByteString value)
target coin address in Base58 encoding
|
TrezorType.TxOutputType.Builder |
setAddressN(int index,
int value)
BIP-32 path to derive the key from master node; has higher priority than "address"
|
TrezorType.TxOutputType.Builder |
setAmount(long value)
amount to spend in satoshis
|
TrezorType.TxOutputType.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TrezorType.TxOutputType.Builder |
setMultisig(TrezorType.MultisigRedeemScriptType.Builder builderForValue)
defines multisig address; script_type must be PAYTOMULTISIG
|
TrezorType.TxOutputType.Builder |
setMultisig(TrezorType.MultisigRedeemScriptType value)
defines multisig address; script_type must be PAYTOMULTISIG
|
TrezorType.TxOutputType.Builder |
setOpReturnData(com.google.protobuf.ByteString value)
defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
|
TrezorType.TxOutputType.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TrezorType.TxOutputType.Builder |
setScriptType(TrezorType.OutputScriptType value)
output script type
|
TrezorType.TxOutputType.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, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, 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<TrezorType.TxOutputType.Builder>public TrezorType.TxOutputType.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorType.TxOutputType.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<TrezorType.TxOutputType.Builder>public TrezorType.TxOutputType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TrezorType.TxOutputType build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TrezorType.TxOutputType buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TrezorType.TxOutputType.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorType.TxOutputType.Builder>public TrezorType.TxOutputType.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<TrezorType.TxOutputType.Builder>public TrezorType.TxOutputType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorType.TxOutputType.Builder>public TrezorType.TxOutputType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorType.TxOutputType.Builder>public TrezorType.TxOutputType.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<TrezorType.TxOutputType.Builder>public TrezorType.TxOutputType.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<TrezorType.TxOutputType.Builder>public TrezorType.TxOutputType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrezorType.TxOutputType.Builder>public TrezorType.TxOutputType.Builder mergeFrom(TrezorType.TxOutputType other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorType.TxOutputType.Builder>public TrezorType.TxOutputType.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<TrezorType.TxOutputType.Builder>IOExceptionpublic boolean hasAddress()
target coin address in Base58 encoding
optional string address = 1;hasAddress in interface TrezorType.TxOutputTypeOrBuilderpublic String getAddress()
target coin address in Base58 encoding
optional string address = 1;getAddress in interface TrezorType.TxOutputTypeOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
target coin address in Base58 encoding
optional string address = 1;getAddressBytes in interface TrezorType.TxOutputTypeOrBuilderpublic TrezorType.TxOutputType.Builder setAddress(String value)
target coin address in Base58 encoding
optional string address = 1;public TrezorType.TxOutputType.Builder clearAddress()
target coin address in Base58 encoding
optional string address = 1;public TrezorType.TxOutputType.Builder setAddressBytes(com.google.protobuf.ByteString value)
target coin address in Base58 encoding
optional string address = 1;public List<Integer> getAddressNList()
BIP-32 path to derive the key from master node; has higher priority than "address"
repeated uint32 address_n = 2;getAddressNList in interface TrezorType.TxOutputTypeOrBuilderpublic int getAddressNCount()
BIP-32 path to derive the key from master node; has higher priority than "address"
repeated uint32 address_n = 2;getAddressNCount in interface TrezorType.TxOutputTypeOrBuilderpublic int getAddressN(int index)
BIP-32 path to derive the key from master node; has higher priority than "address"
repeated uint32 address_n = 2;getAddressN in interface TrezorType.TxOutputTypeOrBuilderpublic TrezorType.TxOutputType.Builder setAddressN(int index, int value)
BIP-32 path to derive the key from master node; has higher priority than "address"
repeated uint32 address_n = 2;public TrezorType.TxOutputType.Builder addAddressN(int value)
BIP-32 path to derive the key from master node; has higher priority than "address"
repeated uint32 address_n = 2;public TrezorType.TxOutputType.Builder addAllAddressN(Iterable<? extends Integer> values)
BIP-32 path to derive the key from master node; has higher priority than "address"
repeated uint32 address_n = 2;public TrezorType.TxOutputType.Builder clearAddressN()
BIP-32 path to derive the key from master node; has higher priority than "address"
repeated uint32 address_n = 2;public boolean hasAmount()
amount to spend in satoshis
required uint64 amount = 3;hasAmount in interface TrezorType.TxOutputTypeOrBuilderpublic long getAmount()
amount to spend in satoshis
required uint64 amount = 3;getAmount in interface TrezorType.TxOutputTypeOrBuilderpublic TrezorType.TxOutputType.Builder setAmount(long value)
amount to spend in satoshis
required uint64 amount = 3;public TrezorType.TxOutputType.Builder clearAmount()
amount to spend in satoshis
required uint64 amount = 3;public boolean hasScriptType()
output script type
required .OutputScriptType script_type = 4;hasScriptType in interface TrezorType.TxOutputTypeOrBuilderpublic TrezorType.OutputScriptType getScriptType()
output script type
required .OutputScriptType script_type = 4;getScriptType in interface TrezorType.TxOutputTypeOrBuilderpublic TrezorType.TxOutputType.Builder setScriptType(TrezorType.OutputScriptType value)
output script type
required .OutputScriptType script_type = 4;public TrezorType.TxOutputType.Builder clearScriptType()
output script type
required .OutputScriptType script_type = 4;public boolean hasMultisig()
defines multisig address; script_type must be PAYTOMULTISIG
optional .MultisigRedeemScriptType multisig = 5;hasMultisig in interface TrezorType.TxOutputTypeOrBuilderpublic TrezorType.MultisigRedeemScriptType getMultisig()
defines multisig address; script_type must be PAYTOMULTISIG
optional .MultisigRedeemScriptType multisig = 5;getMultisig in interface TrezorType.TxOutputTypeOrBuilderpublic TrezorType.TxOutputType.Builder setMultisig(TrezorType.MultisigRedeemScriptType value)
defines multisig address; script_type must be PAYTOMULTISIG
optional .MultisigRedeemScriptType multisig = 5;public TrezorType.TxOutputType.Builder setMultisig(TrezorType.MultisigRedeemScriptType.Builder builderForValue)
defines multisig address; script_type must be PAYTOMULTISIG
optional .MultisigRedeemScriptType multisig = 5;public TrezorType.TxOutputType.Builder mergeMultisig(TrezorType.MultisigRedeemScriptType value)
defines multisig address; script_type must be PAYTOMULTISIG
optional .MultisigRedeemScriptType multisig = 5;public TrezorType.TxOutputType.Builder clearMultisig()
defines multisig address; script_type must be PAYTOMULTISIG
optional .MultisigRedeemScriptType multisig = 5;public TrezorType.MultisigRedeemScriptType.Builder getMultisigBuilder()
defines multisig address; script_type must be PAYTOMULTISIG
optional .MultisigRedeemScriptType multisig = 5;public TrezorType.MultisigRedeemScriptTypeOrBuilder getMultisigOrBuilder()
defines multisig address; script_type must be PAYTOMULTISIG
optional .MultisigRedeemScriptType multisig = 5;getMultisigOrBuilder in interface TrezorType.TxOutputTypeOrBuilderpublic boolean hasOpReturnData()
defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
optional bytes op_return_data = 6;hasOpReturnData in interface TrezorType.TxOutputTypeOrBuilderpublic com.google.protobuf.ByteString getOpReturnData()
defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
optional bytes op_return_data = 6;getOpReturnData in interface TrezorType.TxOutputTypeOrBuilderpublic TrezorType.TxOutputType.Builder setOpReturnData(com.google.protobuf.ByteString value)
defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
optional bytes op_return_data = 6;public TrezorType.TxOutputType.Builder clearOpReturnData()
defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
optional bytes op_return_data = 6;public final TrezorType.TxOutputType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorType.TxOutputType.Builder>public final TrezorType.TxOutputType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorType.TxOutputType.Builder>Copyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.