public static final class Protos.Script.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.Script,Protos.Script.Builder> implements Protos.ScriptOrBuilder
wallet.Script
Modifier and Type | Method and Description |
---|---|
Protos.Script.Builder |
clearCreationTimestamp()
Timestamp stored as millis since epoch.
|
Protos.Script.Builder |
clearProgram()
required bytes program = 1; |
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; |
Protos.Script.Builder |
setCreationTimestamp(long value)
Timestamp stored as millis since epoch.
|
Protos.Script.Builder |
setProgram(com.google.protobuf.ByteString value)
required bytes program = 1; |
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
public boolean hasProgram()
required bytes program = 1;
hasProgram
in interface Protos.ScriptOrBuilder
public com.google.protobuf.ByteString getProgram()
required bytes program = 1;
getProgram
in interface Protos.ScriptOrBuilder
public Protos.Script.Builder setProgram(com.google.protobuf.ByteString value)
required bytes program = 1;
value
- The program to set.public Protos.Script.Builder clearProgram()
required bytes program = 1;
public 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;
hasCreationTimestamp
in interface Protos.ScriptOrBuilder
public 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;
getCreationTimestamp
in interface Protos.ScriptOrBuilder
public Protos.Script.Builder setCreationTimestamp(long value)
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;
value
- The creationTimestamp to set.public Protos.Script.Builder clearCreationTimestamp()
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;