Package org.bitcoin.protocols.payments
Interface Protos.OutputOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Protos.Output
,Protos.Output.Builder
- Enclosing class:
- Protos
public static interface Protos.OutputOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasAmount
boolean hasAmount()amount is integer-number-of-satoshis
optional uint64 amount = 1 [default = 0];
- Returns:
- Whether the amount field is set.
-
getAmount
long getAmount()amount is integer-number-of-satoshis
optional uint64 amount = 1 [default = 0];
- Returns:
- The amount.
-
hasScript
boolean hasScript()usually one of the standard Script forms
required bytes script = 2;
- Returns:
- Whether the script field is set.
-
getScript
com.google.protobuf.ByteString getScript()usually one of the standard Script forms
required bytes script = 2;
- Returns:
- The script.
-