public static final class Protos.Output.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.Output,Protos.Output.Builder> implements Protos.OutputOrBuilder
Generalized form of "send payment to this/these bitcoin addresses"Protobuf type
payments.Output
Modifier and Type | Method and Description |
---|---|
Protos.Output.Builder |
clearAmount()
amount is integer-number-of-satoshis
|
Protos.Output.Builder |
clearScript()
usually one of the standard Script forms
|
long |
getAmount()
amount is integer-number-of-satoshis
|
com.google.protobuf.ByteString |
getScript()
usually one of the standard Script forms
|
boolean |
hasAmount()
amount is integer-number-of-satoshis
|
boolean |
hasScript()
usually one of the standard Script forms
|
Protos.Output.Builder |
setAmount(long value)
amount is integer-number-of-satoshis
|
Protos.Output.Builder |
setScript(com.google.protobuf.ByteString value)
usually one of the standard Script forms
|
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
public boolean hasAmount()
amount is integer-number-of-satoshis
optional uint64 amount = 1 [default = 0];
hasAmount
in interface Protos.OutputOrBuilder
public long getAmount()
amount is integer-number-of-satoshis
optional uint64 amount = 1 [default = 0];
getAmount
in interface Protos.OutputOrBuilder
public Protos.Output.Builder setAmount(long value)
amount is integer-number-of-satoshis
optional uint64 amount = 1 [default = 0];
value
- The amount to set.public Protos.Output.Builder clearAmount()
amount is integer-number-of-satoshis
optional uint64 amount = 1 [default = 0];
public boolean hasScript()
usually one of the standard Script forms
required bytes script = 2;
hasScript
in interface Protos.OutputOrBuilder
public com.google.protobuf.ByteString getScript()
usually one of the standard Script forms
required bytes script = 2;
getScript
in interface Protos.OutputOrBuilder
public Protos.Output.Builder setScript(com.google.protobuf.ByteString value)
usually one of the standard Script forms
required bytes script = 2;
value
- The script to set.public Protos.Output.Builder clearScript()
usually one of the standard Script forms
required bytes script = 2;