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