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, parseUnknownField
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorType.TxOutputType.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorType.TxOutputType.Builder>
public TrezorType.TxOutputType getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TrezorType.TxOutputType build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TrezorType.TxOutputType buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TrezorType.TxOutputType.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TrezorType.TxOutputType.Builder>
IOException
public boolean hasAddress()
target coin address in Base58 encoding
optional string address = 1;
hasAddress
in interface TrezorType.TxOutputTypeOrBuilder
public String getAddress()
target coin address in Base58 encoding
optional string address = 1;
getAddress
in interface TrezorType.TxOutputTypeOrBuilder
public com.google.protobuf.ByteString getAddressBytes()
target coin address in Base58 encoding
optional string address = 1;
getAddressBytes
in interface TrezorType.TxOutputTypeOrBuilder
public 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.TxOutputTypeOrBuilder
public 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.TxOutputTypeOrBuilder
public 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.TxOutputTypeOrBuilder
public 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.TxOutputTypeOrBuilder
public long getAmount()
amount to spend in satoshis
required uint64 amount = 3;
getAmount
in interface TrezorType.TxOutputTypeOrBuilder
public 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.TxOutputTypeOrBuilder
public TrezorType.OutputScriptType getScriptType()
output script type
required .OutputScriptType script_type = 4;
getScriptType
in interface TrezorType.TxOutputTypeOrBuilder
public 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.TxOutputTypeOrBuilder
public TrezorType.MultisigRedeemScriptType getMultisig()
defines multisig address; script_type must be PAYTOMULTISIG
optional .MultisigRedeemScriptType multisig = 5;
getMultisig
in interface TrezorType.TxOutputTypeOrBuilder
public 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.TxOutputTypeOrBuilder
public 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.TxOutputTypeOrBuilder
public 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.TxOutputTypeOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorType.TxOutputType.Builder>
Copyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.