public static final class KeepKeyType.TxOutputType extends com.google.protobuf.GeneratedMessage implements KeepKeyType.TxOutputTypeOrBuilder
TxOutputType
Structure representing transaction output @used_in SimpleSignTx @used_in TransactionType
| Modifier and Type | Class and Description |
|---|---|
static class |
KeepKeyType.TxOutputType.Builder
Protobuf type
TxOutputType |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 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 |
static int |
SCRIPT_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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; |
static KeepKeyType.TxOutputType |
getDefaultInstance() |
KeepKeyType.TxOutputType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
KeepKeyType.MultisigRedeemScriptType |
getMultisig()
optional .MultisigRedeemScriptType multisig = 5; |
KeepKeyType.MultisigRedeemScriptTypeOrBuilder |
getMultisigOrBuilder()
optional .MultisigRedeemScriptType multisig = 5; |
com.google.protobuf.ByteString |
getOpReturnData()
optional bytes op_return_data = 6; |
com.google.protobuf.Parser<KeepKeyType.TxOutputType> |
getParserForType() |
KeepKeyType.OutputScriptType |
getScriptType()
required .OutputScriptType script_type = 4; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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() |
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.GeneratedMessage.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(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) |
KeepKeyType.TxOutputType.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<KeepKeyType.TxOutputType> PARSER
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
public static KeepKeyType.TxOutputType getDefaultInstance()
public KeepKeyType.TxOutputType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<KeepKeyType.TxOutputType> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasAddress()
optional string address = 1;
target coin address in Base58 encoding
hasAddress in interface KeepKeyType.TxOutputTypeOrBuilderpublic String getAddress()
optional string address = 1;
target coin address in Base58 encoding
getAddress in interface KeepKeyType.TxOutputTypeOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
optional string address = 1;
target coin address in Base58 encoding
getAddressBytes in interface KeepKeyType.TxOutputTypeOrBuilderpublic 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.TxOutputTypeOrBuilderpublic 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.TxOutputTypeOrBuilderpublic 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.TxOutputTypeOrBuilderpublic boolean hasAmount()
required uint64 amount = 3;
amount to spend in satoshis
hasAmount in interface KeepKeyType.TxOutputTypeOrBuilderpublic long getAmount()
required uint64 amount = 3;
amount to spend in satoshis
getAmount in interface KeepKeyType.TxOutputTypeOrBuilderpublic boolean hasScriptType()
required .OutputScriptType script_type = 4;
output script type
hasScriptType in interface KeepKeyType.TxOutputTypeOrBuilderpublic KeepKeyType.OutputScriptType getScriptType()
required .OutputScriptType script_type = 4;
output script type
getScriptType in interface KeepKeyType.TxOutputTypeOrBuilderpublic boolean hasMultisig()
optional .MultisigRedeemScriptType multisig = 5;
defines multisig address; script_type must be PAYTOMULTISIG
hasMultisig in interface KeepKeyType.TxOutputTypeOrBuilderpublic KeepKeyType.MultisigRedeemScriptType getMultisig()
optional .MultisigRedeemScriptType multisig = 5;
defines multisig address; script_type must be PAYTOMULTISIG
getMultisig in interface KeepKeyType.TxOutputTypeOrBuilderpublic KeepKeyType.MultisigRedeemScriptTypeOrBuilder getMultisigOrBuilder()
optional .MultisigRedeemScriptType multisig = 5;
defines multisig address; script_type must be PAYTOMULTISIG
getMultisigOrBuilder in interface KeepKeyType.TxOutputTypeOrBuilderpublic 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.TxOutputTypeOrBuilderpublic 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.TxOutputTypeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static KeepKeyType.TxOutputType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyType.TxOutputType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyType.TxOutputType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyType.TxOutputType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyType.TxOutputType parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyType.TxOutputType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyType.TxOutputType parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyType.TxOutputType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyType.TxOutputType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeepKeyType.TxOutputType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyType.TxOutputType.Builder newBuilder()
public KeepKeyType.TxOutputType.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyType.TxOutputType.Builder newBuilder(KeepKeyType.TxOutputType prototype)
public KeepKeyType.TxOutputType.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KeepKeyType.TxOutputType.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.