public static final class KeepKeyType.TxOutputType.Builder extends com.google.protobuf.GeneratedMessage.Builder<KeepKeyType.TxOutputType.Builder> implements KeepKeyType.TxOutputTypeOrBuilder
TxOutputType
Structure representing transaction output @used_in SimpleSignTx @used_in TransactionType
Modifier and Type | Method and Description |
---|---|
KeepKeyType.TxOutputType.Builder |
addAddressN(int value)
repeated uint32 address_n = 2; |
KeepKeyType.TxOutputType.Builder |
addAllAddressN(Iterable<? extends Integer> values)
repeated uint32 address_n = 2; |
KeepKeyType.TxOutputType |
build() |
KeepKeyType.TxOutputType |
buildPartial() |
KeepKeyType.TxOutputType.Builder |
clear() |
KeepKeyType.TxOutputType.Builder |
clearAddress()
optional string address = 1; |
KeepKeyType.TxOutputType.Builder |
clearAddressN()
repeated uint32 address_n = 2; |
KeepKeyType.TxOutputType.Builder |
clearAmount()
required uint64 amount = 3; |
KeepKeyType.TxOutputType.Builder |
clearMultisig()
optional .MultisigRedeemScriptType multisig = 5; |
KeepKeyType.TxOutputType.Builder |
clearOpReturnData()
optional bytes op_return_data = 6; |
KeepKeyType.TxOutputType.Builder |
clearScriptType()
required .OutputScriptType script_type = 4; |
KeepKeyType.TxOutputType.Builder |
clone() |
String |
getAddress()
optional string address = 1; |
com.google.protobuf.ByteString |
getAddressBytes()
optional string address = 1; |
int |
getAddressN(int index)
repeated uint32 address_n = 2; |
int |
getAddressNCount()
repeated uint32 address_n = 2; |
List<Integer> |
getAddressNList()
repeated uint32 address_n = 2; |
long |
getAmount()
required uint64 amount = 3; |
KeepKeyType.TxOutputType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
KeepKeyType.MultisigRedeemScriptType |
getMultisig()
optional .MultisigRedeemScriptType multisig = 5; |
KeepKeyType.MultisigRedeemScriptType.Builder |
getMultisigBuilder()
optional .MultisigRedeemScriptType multisig = 5; |
KeepKeyType.MultisigRedeemScriptTypeOrBuilder |
getMultisigOrBuilder()
optional .MultisigRedeemScriptType multisig = 5; |
com.google.protobuf.ByteString |
getOpReturnData()
optional bytes op_return_data = 6; |
KeepKeyType.OutputScriptType |
getScriptType()
required .OutputScriptType script_type = 4; |
boolean |
hasAddress()
optional string address = 1; |
boolean |
hasAmount()
required uint64 amount = 3; |
boolean |
hasMultisig()
optional .MultisigRedeemScriptType multisig = 5; |
boolean |
hasOpReturnData()
optional bytes op_return_data = 6; |
boolean |
hasScriptType()
required .OutputScriptType script_type = 4; |
protected com.google.protobuf.GeneratedMessage.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)
optional .MultisigRedeemScriptType multisig = 5; |
KeepKeyType.TxOutputType.Builder |
setAddress(String value)
optional string address = 1; |
KeepKeyType.TxOutputType.Builder |
setAddressBytes(com.google.protobuf.ByteString value)
optional string address = 1; |
KeepKeyType.TxOutputType.Builder |
setAddressN(int index,
int value)
repeated uint32 address_n = 2; |
KeepKeyType.TxOutputType.Builder |
setAmount(long value)
required uint64 amount = 3; |
KeepKeyType.TxOutputType.Builder |
setMultisig(KeepKeyType.MultisigRedeemScriptType.Builder builderForValue)
optional .MultisigRedeemScriptType multisig = 5; |
KeepKeyType.TxOutputType.Builder |
setMultisig(KeepKeyType.MultisigRedeemScriptType value)
optional .MultisigRedeemScriptType multisig = 5; |
KeepKeyType.TxOutputType.Builder |
setOpReturnData(com.google.protobuf.ByteString value)
optional bytes op_return_data = 6; |
KeepKeyType.TxOutputType.Builder |
setScriptType(KeepKeyType.OutputScriptType value)
required .OutputScriptType script_type = 4; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<KeepKeyType.TxOutputType.Builder>
public KeepKeyType.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.GeneratedMessage.Builder<KeepKeyType.TxOutputType.Builder>
public KeepKeyType.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.GeneratedMessage.Builder<KeepKeyType.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.GeneratedMessage.Builder<KeepKeyType.TxOutputType.Builder>
public KeepKeyType.TxOutputType getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public KeepKeyType.TxOutputType build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public KeepKeyType.TxOutputType buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public KeepKeyType.TxOutputType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<KeepKeyType.TxOutputType.Builder>
IOException
public boolean hasAddress()
optional string address = 1;
target coin address in Base58 encoding
hasAddress
in interface KeepKeyType.TxOutputTypeOrBuilder
public String getAddress()
optional string address = 1;
target coin address in Base58 encoding
getAddress
in interface KeepKeyType.TxOutputTypeOrBuilder
public com.google.protobuf.ByteString getAddressBytes()
optional string address = 1;
target coin address in Base58 encoding
getAddressBytes
in interface KeepKeyType.TxOutputTypeOrBuilder
public KeepKeyType.TxOutputType.Builder setAddress(String value)
optional string address = 1;
target coin address in Base58 encoding
public KeepKeyType.TxOutputType.Builder clearAddress()
optional string address = 1;
target coin address in Base58 encoding
public KeepKeyType.TxOutputType.Builder setAddressBytes(com.google.protobuf.ByteString value)
optional string address = 1;
target coin address in Base58 encoding
public List<Integer> getAddressNList()
repeated uint32 address_n = 2;
BIP-32 path to derive the key from master node; has higher priority than "address"
getAddressNList
in interface KeepKeyType.TxOutputTypeOrBuilder
public int getAddressNCount()
repeated uint32 address_n = 2;
BIP-32 path to derive the key from master node; has higher priority than "address"
getAddressNCount
in interface KeepKeyType.TxOutputTypeOrBuilder
public int getAddressN(int index)
repeated uint32 address_n = 2;
BIP-32 path to derive the key from master node; has higher priority than "address"
getAddressN
in interface KeepKeyType.TxOutputTypeOrBuilder
public KeepKeyType.TxOutputType.Builder setAddressN(int index, int value)
repeated uint32 address_n = 2;
BIP-32 path to derive the key from master node; has higher priority than "address"
public KeepKeyType.TxOutputType.Builder addAddressN(int value)
repeated uint32 address_n = 2;
BIP-32 path to derive the key from master node; has higher priority than "address"
public KeepKeyType.TxOutputType.Builder addAllAddressN(Iterable<? extends Integer> values)
repeated uint32 address_n = 2;
BIP-32 path to derive the key from master node; has higher priority than "address"
public KeepKeyType.TxOutputType.Builder clearAddressN()
repeated uint32 address_n = 2;
BIP-32 path to derive the key from master node; has higher priority than "address"
public boolean hasAmount()
required uint64 amount = 3;
amount to spend in satoshis
hasAmount
in interface KeepKeyType.TxOutputTypeOrBuilder
public long getAmount()
required uint64 amount = 3;
amount to spend in satoshis
getAmount
in interface KeepKeyType.TxOutputTypeOrBuilder
public KeepKeyType.TxOutputType.Builder setAmount(long value)
required uint64 amount = 3;
amount to spend in satoshis
public KeepKeyType.TxOutputType.Builder clearAmount()
required uint64 amount = 3;
amount to spend in satoshis
public boolean hasScriptType()
required .OutputScriptType script_type = 4;
output script type
hasScriptType
in interface KeepKeyType.TxOutputTypeOrBuilder
public KeepKeyType.OutputScriptType getScriptType()
required .OutputScriptType script_type = 4;
output script type
getScriptType
in interface KeepKeyType.TxOutputTypeOrBuilder
public KeepKeyType.TxOutputType.Builder setScriptType(KeepKeyType.OutputScriptType value)
required .OutputScriptType script_type = 4;
output script type
public KeepKeyType.TxOutputType.Builder clearScriptType()
required .OutputScriptType script_type = 4;
output script type
public boolean hasMultisig()
optional .MultisigRedeemScriptType multisig = 5;
defines multisig address; script_type must be PAYTOMULTISIG
hasMultisig
in interface KeepKeyType.TxOutputTypeOrBuilder
public KeepKeyType.MultisigRedeemScriptType getMultisig()
optional .MultisigRedeemScriptType multisig = 5;
defines multisig address; script_type must be PAYTOMULTISIG
getMultisig
in interface KeepKeyType.TxOutputTypeOrBuilder
public KeepKeyType.TxOutputType.Builder setMultisig(KeepKeyType.MultisigRedeemScriptType value)
optional .MultisigRedeemScriptType multisig = 5;
defines multisig address; script_type must be PAYTOMULTISIG
public KeepKeyType.TxOutputType.Builder setMultisig(KeepKeyType.MultisigRedeemScriptType.Builder builderForValue)
optional .MultisigRedeemScriptType multisig = 5;
defines multisig address; script_type must be PAYTOMULTISIG
public KeepKeyType.TxOutputType.Builder mergeMultisig(KeepKeyType.MultisigRedeemScriptType value)
optional .MultisigRedeemScriptType multisig = 5;
defines multisig address; script_type must be PAYTOMULTISIG
public KeepKeyType.TxOutputType.Builder clearMultisig()
optional .MultisigRedeemScriptType multisig = 5;
defines multisig address; script_type must be PAYTOMULTISIG
public KeepKeyType.MultisigRedeemScriptType.Builder getMultisigBuilder()
optional .MultisigRedeemScriptType multisig = 5;
defines multisig address; script_type must be PAYTOMULTISIG
public KeepKeyType.MultisigRedeemScriptTypeOrBuilder getMultisigOrBuilder()
optional .MultisigRedeemScriptType multisig = 5;
defines multisig address; script_type must be PAYTOMULTISIG
getMultisigOrBuilder
in interface KeepKeyType.TxOutputTypeOrBuilder
public boolean hasOpReturnData()
optional bytes op_return_data = 6;
defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
hasOpReturnData
in interface KeepKeyType.TxOutputTypeOrBuilder
public com.google.protobuf.ByteString getOpReturnData()
optional bytes op_return_data = 6;
defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
getOpReturnData
in interface KeepKeyType.TxOutputTypeOrBuilder
public KeepKeyType.TxOutputType.Builder setOpReturnData(com.google.protobuf.ByteString value)
optional bytes op_return_data = 6;
defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
public KeepKeyType.TxOutputType.Builder clearOpReturnData()
optional bytes op_return_data = 6;
defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.