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, 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<TrezorType.TxOutputBinType.Builder>
public TrezorType.TxOutputBinType.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<TrezorType.TxOutputBinType.Builder>
public TrezorType.TxOutputBinType.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<TrezorType.TxOutputBinType.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<TrezorType.TxOutputBinType.Builder>
public TrezorType.TxOutputBinType getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TrezorType.TxOutputBinType build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TrezorType.TxOutputBinType buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TrezorType.TxOutputBinType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TrezorType.TxOutputBinType.Builder>
IOException
public boolean hasAmount()
required uint64 amount = 1;
hasAmount
in interface TrezorType.TxOutputBinTypeOrBuilder
public long getAmount()
required uint64 amount = 1;
getAmount
in interface TrezorType.TxOutputBinTypeOrBuilder
public 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.TxOutputBinTypeOrBuilder
public com.google.protobuf.ByteString getScriptPubkey()
required bytes script_pubkey = 2;
getScriptPubkey
in interface TrezorType.TxOutputBinTypeOrBuilder
public 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.