public static final class TrezorType.TxOutputBinType.Builder extends com.google.protobuf.GeneratedMessage.Builder<TrezorType.TxOutputBinType.Builder> implements TrezorType.TxOutputBinTypeOrBuilder
TxOutputBinType
Structure representing compiled transaction output @used_in TransactionType
| Modifier and Type | Method and Description |
|---|---|
TrezorType.TxOutputBinType |
build() |
TrezorType.TxOutputBinType |
buildPartial() |
TrezorType.TxOutputBinType.Builder |
clear() |
TrezorType.TxOutputBinType.Builder |
clearAmount()
required uint64 amount = 1; |
TrezorType.TxOutputBinType.Builder |
clearScriptPubkey()
required bytes script_pubkey = 2; |
TrezorType.TxOutputBinType.Builder |
clone() |
long |
getAmount()
required uint64 amount = 1; |
TrezorType.TxOutputBinType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getScriptPubkey()
required bytes script_pubkey = 2; |
boolean |
hasAmount()
required uint64 amount = 1; |
boolean |
hasScriptPubkey()
required bytes script_pubkey = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TrezorType.TxOutputBinType.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TrezorType.TxOutputBinType.Builder |
mergeFrom(com.google.protobuf.Message other) |
TrezorType.TxOutputBinType.Builder |
mergeFrom(TrezorType.TxOutputBinType other) |
TrezorType.TxOutputBinType.Builder |
setAmount(long value)
required uint64 amount = 1; |
TrezorType.TxOutputBinType.Builder |
setScriptPubkey(com.google.protobuf.ByteString value)
required bytes script_pubkey = 2; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TrezorType.TxOutputBinType.Builder>public TrezorType.TxOutputBinType.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<TrezorType.TxOutputBinType.Builder>public TrezorType.TxOutputBinType.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<TrezorType.TxOutputBinType.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.GeneratedMessage.Builder<TrezorType.TxOutputBinType.Builder>public TrezorType.TxOutputBinType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TrezorType.TxOutputBinType build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TrezorType.TxOutputBinType buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TrezorType.TxOutputBinType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrezorType.TxOutputBinType.Builder>public TrezorType.TxOutputBinType.Builder mergeFrom(TrezorType.TxOutputBinType other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<TrezorType.TxOutputBinType.Builder>public TrezorType.TxOutputBinType.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<TrezorType.TxOutputBinType.Builder>IOExceptionpublic boolean hasAmount()
required uint64 amount = 1;hasAmount in interface TrezorType.TxOutputBinTypeOrBuilderpublic long getAmount()
required uint64 amount = 1;getAmount in interface TrezorType.TxOutputBinTypeOrBuilderpublic TrezorType.TxOutputBinType.Builder setAmount(long value)
required uint64 amount = 1;public TrezorType.TxOutputBinType.Builder clearAmount()
required uint64 amount = 1;public boolean hasScriptPubkey()
required bytes script_pubkey = 2;hasScriptPubkey in interface TrezorType.TxOutputBinTypeOrBuilderpublic com.google.protobuf.ByteString getScriptPubkey()
required bytes script_pubkey = 2;getScriptPubkey in interface TrezorType.TxOutputBinTypeOrBuilderpublic TrezorType.TxOutputBinType.Builder setScriptPubkey(com.google.protobuf.ByteString value)
required bytes script_pubkey = 2;public TrezorType.TxOutputBinType.Builder clearScriptPubkey()
required bytes script_pubkey = 2;Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.