Package org.bitcoinj.wallet
Interface Protos.ScriptOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Protos.Script,Protos.Script.Builder
- Enclosing class:
- Protos
public static interface Protos.ScriptOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCreationTimestamp()Timestamp stored as millis since epoch.com.google.protobuf.ByteStringgetProgram()required bytes program = 1;booleanhasCreationTimestamp()Timestamp stored as millis since epoch.booleanhasProgram()required bytes program = 1;
-
-
-
Method Detail
-
hasProgram
boolean hasProgram()
required bytes program = 1;- Returns:
- Whether the program field is set.
-
getProgram
com.google.protobuf.ByteString getProgram()
required bytes program = 1;- Returns:
- The program.
-
hasCreationTimestamp
boolean hasCreationTimestamp()
Timestamp stored as millis since epoch. Useful for skipping block bodies before this point when watching for scripts on the blockchain.
required int64 creation_timestamp = 2;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
long getCreationTimestamp()
Timestamp stored as millis since epoch. Useful for skipping block bodies before this point when watching for scripts on the blockchain.
required int64 creation_timestamp = 2;- Returns:
- The creationTimestamp.
-
-