Class Protos.Script.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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;
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • hasProgram

        public boolean hasProgram()
        required bytes program = 1;
        Specified by:
        hasProgram in interface Protos.ScriptOrBuilder
        Returns:
        Whether the program field is set.
      • getProgram

        public com.google.protobuf.ByteString getProgram()
        required bytes program = 1;
        Specified by:
        getProgram in interface Protos.ScriptOrBuilder
        Returns:
        The program.
      • setProgram

        public Protos.Script.Builder setProgram​(com.google.protobuf.ByteString value)
        required bytes program = 1;
        Parameters:
        value - The program to set.
        Returns:
        This builder for chaining.
      • clearProgram

        public Protos.Script.Builder clearProgram()
        required bytes program = 1;
        Returns:
        This builder for chaining.
      • hasCreationTimestamp

        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;
        Specified by:
        hasCreationTimestamp in interface Protos.ScriptOrBuilder
        Returns:
        Whether the creationTimestamp field is set.
      • getCreationTimestamp

        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;
        Specified by:
        getCreationTimestamp in interface Protos.ScriptOrBuilder
        Returns:
        The creationTimestamp.
      • setCreationTimestamp

        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;
        Parameters:
        value - The creationTimestamp to set.
        Returns:
        This builder for chaining.
      • clearCreationTimestamp

        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;
        Returns:
        This builder for chaining.