public static final class KeepKeyType.TxOutputBinType.Builder extends com.google.protobuf.GeneratedMessage.Builder<KeepKeyType.TxOutputBinType.Builder> implements KeepKeyType.TxOutputBinTypeOrBuilder
TxOutputBinType
Structure representing compiled transaction output @used_in TransactionType
Modifier and Type | Method and Description |
---|---|
KeepKeyType.TxOutputBinType |
build() |
KeepKeyType.TxOutputBinType |
buildPartial() |
KeepKeyType.TxOutputBinType.Builder |
clear() |
KeepKeyType.TxOutputBinType.Builder |
clearAmount()
required uint64 amount = 1; |
KeepKeyType.TxOutputBinType.Builder |
clearScriptPubkey()
required bytes script_pubkey = 2; |
KeepKeyType.TxOutputBinType.Builder |
clone() |
long |
getAmount()
required uint64 amount = 1; |
KeepKeyType.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() |
KeepKeyType.TxOutputBinType.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyType.TxOutputBinType.Builder |
mergeFrom(KeepKeyType.TxOutputBinType other) |
KeepKeyType.TxOutputBinType.Builder |
mergeFrom(com.google.protobuf.Message other) |
KeepKeyType.TxOutputBinType.Builder |
setAmount(long value)
required uint64 amount = 1; |
KeepKeyType.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<KeepKeyType.TxOutputBinType.Builder>
public KeepKeyType.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<KeepKeyType.TxOutputBinType.Builder>
public KeepKeyType.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<KeepKeyType.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<KeepKeyType.TxOutputBinType.Builder>
public KeepKeyType.TxOutputBinType getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public KeepKeyType.TxOutputBinType build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public KeepKeyType.TxOutputBinType buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public KeepKeyType.TxOutputBinType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<KeepKeyType.TxOutputBinType.Builder>
public KeepKeyType.TxOutputBinType.Builder mergeFrom(KeepKeyType.TxOutputBinType other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<KeepKeyType.TxOutputBinType.Builder>
public KeepKeyType.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<KeepKeyType.TxOutputBinType.Builder>
IOException
public boolean hasAmount()
required uint64 amount = 1;
hasAmount
in interface KeepKeyType.TxOutputBinTypeOrBuilder
public long getAmount()
required uint64 amount = 1;
getAmount
in interface KeepKeyType.TxOutputBinTypeOrBuilder
public KeepKeyType.TxOutputBinType.Builder setAmount(long value)
required uint64 amount = 1;
public KeepKeyType.TxOutputBinType.Builder clearAmount()
required uint64 amount = 1;
public boolean hasScriptPubkey()
required bytes script_pubkey = 2;
hasScriptPubkey
in interface KeepKeyType.TxOutputBinTypeOrBuilder
public com.google.protobuf.ByteString getScriptPubkey()
required bytes script_pubkey = 2;
getScriptPubkey
in interface KeepKeyType.TxOutputBinTypeOrBuilder
public KeepKeyType.TxOutputBinType.Builder setScriptPubkey(com.google.protobuf.ByteString value)
required bytes script_pubkey = 2;
public KeepKeyType.TxOutputBinType.Builder clearScriptPubkey()
required bytes script_pubkey = 2;
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.