Package org.bitcoinj.protobuf.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 long
getCreationTimestamp()
Timestamp stored as millis since epoch.com.google.protobuf.ByteString
getProgram()
required bytes program = 1;
boolean
hasCreationTimestamp()
Timestamp stored as millis since epoch.boolean
hasProgram()
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.
-
-