Package org.bitcoin.protocols.payments
Class Protos.Output.Builder
- java.lang.Object
- 
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
- 
- com.google.protobuf.GeneratedMessageLite.Builder<Protos.Output,Protos.Output.Builder>
- 
- org.bitcoin.protocols.payments.Protos.Output.Builder
 
 
 
- 
- All Implemented Interfaces:
- com.google.protobuf.MessageLite.Builder,- com.google.protobuf.MessageLiteOrBuilder,- java.lang.Cloneable,- Protos.OutputOrBuilder
 - Enclosing class:
- Protos.Output
 
 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 typepayments.Output
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Protos.Output.BuilderclearAmount()amount is integer-number-of-satoshisProtos.Output.BuilderclearScript()usually one of the standard Script formslonggetAmount()amount is integer-number-of-satoshiscom.google.protobuf.ByteStringgetScript()usually one of the standard Script formsbooleanhasAmount()amount is integer-number-of-satoshisbooleanhasScript()usually one of the standard Script formsProtos.Output.BuildersetAmount(long value)amount is integer-number-of-satoshisProtos.Output.BuildersetScript(com.google.protobuf.ByteString value)usually one of the standard Script forms- 
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builderbuild, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
 - 
Methods inherited from class com.google.protobuf.AbstractMessageLite.BuilderaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
- 
 
- 
- 
- 
Method Detail- 
hasAmountpublic boolean hasAmount() amount is integer-number-of-satoshis optional uint64 amount = 1 [default = 0];- Specified by:
- hasAmountin interface- Protos.OutputOrBuilder
- Returns:
- Whether the amount field is set.
 
 - 
getAmountpublic long getAmount() amount is integer-number-of-satoshis optional uint64 amount = 1 [default = 0];- Specified by:
- getAmountin interface- Protos.OutputOrBuilder
- Returns:
- The amount.
 
 - 
setAmountpublic Protos.Output.Builder setAmount(long value) amount is integer-number-of-satoshis optional uint64 amount = 1 [default = 0];- Parameters:
- value- The amount to set.
- Returns:
- This builder for chaining.
 
 - 
clearAmountpublic Protos.Output.Builder clearAmount() amount is integer-number-of-satoshis optional uint64 amount = 1 [default = 0];- Returns:
- This builder for chaining.
 
 - 
hasScriptpublic boolean hasScript() usually one of the standard Script forms required bytes script = 2;- Specified by:
- hasScriptin interface- Protos.OutputOrBuilder
- Returns:
- Whether the script field is set.
 
 - 
getScriptpublic com.google.protobuf.ByteString getScript() usually one of the standard Script forms required bytes script = 2;- Specified by:
- getScriptin interface- Protos.OutputOrBuilder
- Returns:
- The script.
 
 - 
setScriptpublic Protos.Output.Builder setScript(com.google.protobuf.ByteString value) usually one of the standard Script forms required bytes script = 2;- Parameters:
- value- The script to set.
- Returns:
- This builder for chaining.
 
 - 
clearScriptpublic Protos.Output.Builder clearScript() usually one of the standard Script forms required bytes script = 2;- Returns:
- This builder for chaining.
 
 
- 
 
-