public static final class KeepKeyType.TxOutputType extends com.google.protobuf.GeneratedMessageV3 implements KeepKeyType.TxOutputTypeOrBuilder
Structure representing transaction output @used_in SimpleSignTx @used_in TransactionTypeProtobuf type
TxOutputType
Modifier and Type | Class and Description |
---|---|
static class |
KeepKeyType.TxOutputType.Builder
Structure representing transaction output
@used_in SimpleSignTx
@used_in TransactionType
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
ADDRESS_FIELD_NUMBER |
static int |
ADDRESS_N_FIELD_NUMBER |
static int |
AMOUNT_FIELD_NUMBER |
static int |
MULTISIG_FIELD_NUMBER |
static int |
OP_RETURN_DATA_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyType.TxOutputType> |
PARSER
Deprecated.
|
static int |
SCRIPT_TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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
|
static KeepKeyType.TxOutputType |
getDefaultInstance() |
KeepKeyType.TxOutputType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
KeepKeyType.MultisigRedeemScriptType |
getMultisig()
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
|
com.google.protobuf.Parser<KeepKeyType.TxOutputType> |
getParserForType() |
KeepKeyType.OutputScriptType |
getScriptType()
output script type
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAddress()
target coin address in Base58 encoding
|
boolean |
hasAmount()
amount to spend in satoshis
|
int |
hashCode() |
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() |
static KeepKeyType.TxOutputType.Builder |
newBuilder() |
static KeepKeyType.TxOutputType.Builder |
newBuilder(KeepKeyType.TxOutputType prototype) |
KeepKeyType.TxOutputType.Builder |
newBuilderForType() |
protected KeepKeyType.TxOutputType.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static KeepKeyType.TxOutputType |
parseDelimitedFrom(InputStream input) |
static KeepKeyType.TxOutputType |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyType.TxOutputType |
parseFrom(byte[] data) |
static KeepKeyType.TxOutputType |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyType.TxOutputType |
parseFrom(ByteBuffer data) |
static KeepKeyType.TxOutputType |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyType.TxOutputType |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyType.TxOutputType |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyType.TxOutputType |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyType.TxOutputType |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyType.TxOutputType |
parseFrom(InputStream input) |
static KeepKeyType.TxOutputType |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<KeepKeyType.TxOutputType> |
parser() |
KeepKeyType.TxOutputType.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int ADDRESS_FIELD_NUMBER
public static final int ADDRESS_N_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER
public static final int SCRIPT_TYPE_FIELD_NUMBER
public static final int MULTISIG_FIELD_NUMBER
public static final int OP_RETURN_DATA_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<KeepKeyType.TxOutputType> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasAddress()
target coin address in Base58 encoding
optional string address = 1;
hasAddress
in interface KeepKeyType.TxOutputTypeOrBuilder
public String getAddress()
target coin address in Base58 encoding
optional string address = 1;
getAddress
in interface KeepKeyType.TxOutputTypeOrBuilder
public com.google.protobuf.ByteString getAddressBytes()
target coin address in Base58 encoding
optional string address = 1;
getAddressBytes
in interface KeepKeyType.TxOutputTypeOrBuilder
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.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 KeepKeyType.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 KeepKeyType.TxOutputTypeOrBuilder
public boolean hasAmount()
amount to spend in satoshis
required uint64 amount = 3;
hasAmount
in interface KeepKeyType.TxOutputTypeOrBuilder
public long getAmount()
amount to spend in satoshis
required uint64 amount = 3;
getAmount
in interface KeepKeyType.TxOutputTypeOrBuilder
public boolean hasScriptType()
output script type
required .OutputScriptType script_type = 4;
hasScriptType
in interface KeepKeyType.TxOutputTypeOrBuilder
public KeepKeyType.OutputScriptType getScriptType()
output script type
required .OutputScriptType script_type = 4;
getScriptType
in interface KeepKeyType.TxOutputTypeOrBuilder
public boolean hasMultisig()
defines multisig address; script_type must be PAYTOMULTISIG
optional .MultisigRedeemScriptType multisig = 5;
hasMultisig
in interface KeepKeyType.TxOutputTypeOrBuilder
public KeepKeyType.MultisigRedeemScriptType getMultisig()
defines multisig address; script_type must be PAYTOMULTISIG
optional .MultisigRedeemScriptType multisig = 5;
getMultisig
in interface KeepKeyType.TxOutputTypeOrBuilder
public KeepKeyType.MultisigRedeemScriptTypeOrBuilder getMultisigOrBuilder()
defines multisig address; script_type must be PAYTOMULTISIG
optional .MultisigRedeemScriptType multisig = 5;
getMultisigOrBuilder
in interface KeepKeyType.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 KeepKeyType.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 KeepKeyType.TxOutputTypeOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static KeepKeyType.TxOutputType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyType.TxOutputType parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyType.TxOutputType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyType.TxOutputType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyType.TxOutputType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyType.TxOutputType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyType.TxOutputType parseFrom(InputStream input) throws IOException
IOException
public static KeepKeyType.TxOutputType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyType.TxOutputType parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KeepKeyType.TxOutputType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyType.TxOutputType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static KeepKeyType.TxOutputType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public KeepKeyType.TxOutputType.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static KeepKeyType.TxOutputType.Builder newBuilder()
public static KeepKeyType.TxOutputType.Builder newBuilder(KeepKeyType.TxOutputType prototype)
public KeepKeyType.TxOutputType.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected KeepKeyType.TxOutputType.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static KeepKeyType.TxOutputType getDefaultInstance()
public static com.google.protobuf.Parser<KeepKeyType.TxOutputType> parser()
public com.google.protobuf.Parser<KeepKeyType.TxOutputType> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public KeepKeyType.TxOutputType getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2013–2018 Bitcoin Solutions Ltd. All rights reserved.