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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getAmount()
amount is integer-number-of-satoshiscom.google.protobuf.ByteString
getScript()
usually one of the standard Script formsboolean
hasAmount()
amount is integer-number-of-satoshisboolean
hasScript()
usually one of the standard Script forms
-
-
-
Method Detail
-
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.
-
-