Class TimeServiceOuterClass.SetTimeRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
      • getDefaultInstanceForType

        public TimeServiceOuterClass.SetTimeRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public TimeServiceOuterClass.SetTimeRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public TimeServiceOuterClass.SetTimeRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
      • mergeFrom

        public TimeServiceOuterClass.SetTimeRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
        Throws:
        java.io.IOException
      • getLedgerId

        public java.lang.String getLedgerId()
         Must correspond to the ledger ID reported by the Ledger Identification Service.
         Must be a valid LedgerString (as describe in ``value.proto``).
         Optional
         
        string ledger_id = 1 [json_name = "ledgerId"];
        Specified by:
        getLedgerId in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
        Returns:
        The ledgerId.
      • getLedgerIdBytes

        public com.google.protobuf.ByteString getLedgerIdBytes()
         Must correspond to the ledger ID reported by the Ledger Identification Service.
         Must be a valid LedgerString (as describe in ``value.proto``).
         Optional
         
        string ledger_id = 1 [json_name = "ledgerId"];
        Specified by:
        getLedgerIdBytes in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
        Returns:
        The bytes for ledgerId.
      • setLedgerId

        public TimeServiceOuterClass.SetTimeRequest.Builder setLedgerId​(java.lang.String value)
         Must correspond to the ledger ID reported by the Ledger Identification Service.
         Must be a valid LedgerString (as describe in ``value.proto``).
         Optional
         
        string ledger_id = 1 [json_name = "ledgerId"];
        Parameters:
        value - The ledgerId to set.
        Returns:
        This builder for chaining.
      • clearLedgerId

        public TimeServiceOuterClass.SetTimeRequest.Builder clearLedgerId()
         Must correspond to the ledger ID reported by the Ledger Identification Service.
         Must be a valid LedgerString (as describe in ``value.proto``).
         Optional
         
        string ledger_id = 1 [json_name = "ledgerId"];
        Returns:
        This builder for chaining.
      • setLedgerIdBytes

        public TimeServiceOuterClass.SetTimeRequest.Builder setLedgerIdBytes​(com.google.protobuf.ByteString value)
         Must correspond to the ledger ID reported by the Ledger Identification Service.
         Must be a valid LedgerString (as describe in ``value.proto``).
         Optional
         
        string ledger_id = 1 [json_name = "ledgerId"];
        Parameters:
        value - The bytes for ledgerId to set.
        Returns:
        This builder for chaining.
      • hasCurrentTime

        public boolean hasCurrentTime()
         MUST precisely match the current time as it's known to the ledger server.
         
        .google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
        Specified by:
        hasCurrentTime in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
        Returns:
        Whether the currentTime field is set.
      • getCurrentTime

        public com.google.protobuf.Timestamp getCurrentTime()
         MUST precisely match the current time as it's known to the ledger server.
         
        .google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
        Specified by:
        getCurrentTime in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
        Returns:
        The currentTime.
      • setCurrentTime

        public TimeServiceOuterClass.SetTimeRequest.Builder setCurrentTime​(com.google.protobuf.Timestamp value)
         MUST precisely match the current time as it's known to the ledger server.
         
        .google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
      • setCurrentTime

        public TimeServiceOuterClass.SetTimeRequest.Builder setCurrentTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         MUST precisely match the current time as it's known to the ledger server.
         
        .google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
      • mergeCurrentTime

        public TimeServiceOuterClass.SetTimeRequest.Builder mergeCurrentTime​(com.google.protobuf.Timestamp value)
         MUST precisely match the current time as it's known to the ledger server.
         
        .google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
      • clearCurrentTime

        public TimeServiceOuterClass.SetTimeRequest.Builder clearCurrentTime()
         MUST precisely match the current time as it's known to the ledger server.
         
        .google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
      • getCurrentTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCurrentTimeBuilder()
         MUST precisely match the current time as it's known to the ledger server.
         
        .google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
      • getCurrentTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCurrentTimeOrBuilder()
         MUST precisely match the current time as it's known to the ledger server.
         
        .google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
        Specified by:
        getCurrentTimeOrBuilder in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
      • hasNewTime

        public boolean hasNewTime()
         The time the client wants to set on the ledger.
         MUST be a point int time after ``current_time``.
         
        .google.protobuf.Timestamp new_time = 3 [json_name = "newTime"];
        Specified by:
        hasNewTime in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
        Returns:
        Whether the newTime field is set.
      • getNewTime

        public com.google.protobuf.Timestamp getNewTime()
         The time the client wants to set on the ledger.
         MUST be a point int time after ``current_time``.
         
        .google.protobuf.Timestamp new_time = 3 [json_name = "newTime"];
        Specified by:
        getNewTime in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
        Returns:
        The newTime.
      • setNewTime

        public TimeServiceOuterClass.SetTimeRequest.Builder setNewTime​(com.google.protobuf.Timestamp value)
         The time the client wants to set on the ledger.
         MUST be a point int time after ``current_time``.
         
        .google.protobuf.Timestamp new_time = 3 [json_name = "newTime"];
      • setNewTime

        public TimeServiceOuterClass.SetTimeRequest.Builder setNewTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The time the client wants to set on the ledger.
         MUST be a point int time after ``current_time``.
         
        .google.protobuf.Timestamp new_time = 3 [json_name = "newTime"];
      • mergeNewTime

        public TimeServiceOuterClass.SetTimeRequest.Builder mergeNewTime​(com.google.protobuf.Timestamp value)
         The time the client wants to set on the ledger.
         MUST be a point int time after ``current_time``.
         
        .google.protobuf.Timestamp new_time = 3 [json_name = "newTime"];
      • clearNewTime

        public TimeServiceOuterClass.SetTimeRequest.Builder clearNewTime()
         The time the client wants to set on the ledger.
         MUST be a point int time after ``current_time``.
         
        .google.protobuf.Timestamp new_time = 3 [json_name = "newTime"];
      • getNewTimeBuilder

        public com.google.protobuf.Timestamp.Builder getNewTimeBuilder()
         The time the client wants to set on the ledger.
         MUST be a point int time after ``current_time``.
         
        .google.protobuf.Timestamp new_time = 3 [json_name = "newTime"];
      • getNewTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getNewTimeOrBuilder()
         The time the client wants to set on the ledger.
         MUST be a point int time after ``current_time``.
         
        .google.protobuf.Timestamp new_time = 3 [json_name = "newTime"];
        Specified by:
        getNewTimeOrBuilder in interface TimeServiceOuterClass.SetTimeRequestOrBuilder