Class TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.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.GetTimeRequest.Builder>
      • getDefaultInstanceForType

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

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

        public TimeServiceOuterClass.GetTimeRequest 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.GetTimeRequest.Builder>
      • mergeFrom

        public TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.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.GetTimeRequestOrBuilder
        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.GetTimeRequestOrBuilder
        Returns:
        The bytes for ledgerId.
      • setLedgerId

        public TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.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.GetTimeRequest.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.