Class CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • 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<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
      • getDefaultInstanceForType

        public CommandCompletionServiceOuterClass.CompletionStreamRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • 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 described in ``value.proto``).
         Optional
         
        string ledger_id = 1 [json_name = "ledgerId"];
        Specified by:
        getLedgerIdBytes in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
        Returns:
        The bytes for ledgerId.
      • setLedgerId

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

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

        public CommandCompletionServiceOuterClass.CompletionStreamRequest.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 described in ``value.proto``).
         Optional
         
        string ledger_id = 1 [json_name = "ledgerId"];
        Parameters:
        value - The bytes for ledgerId to set.
        Returns:
        This builder for chaining.
      • getApplicationId

        public java.lang.String getApplicationId()
         Only completions of commands submitted with the same application_id will be visible in the stream.
         Must be a valid ApplicationIdString (as described in ``value.proto``).
         Required unless authentication is used with a user token or a custom token specifying an application-id.
         In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
         
        string application_id = 2 [json_name = "applicationId"];
        Specified by:
        getApplicationId in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
        Returns:
        The applicationId.
      • getApplicationIdBytes

        public com.google.protobuf.ByteString getApplicationIdBytes()
         Only completions of commands submitted with the same application_id will be visible in the stream.
         Must be a valid ApplicationIdString (as described in ``value.proto``).
         Required unless authentication is used with a user token or a custom token specifying an application-id.
         In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
         
        string application_id = 2 [json_name = "applicationId"];
        Specified by:
        getApplicationIdBytes in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
        Returns:
        The bytes for applicationId.
      • setApplicationId

        public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setApplicationId​(java.lang.String value)
         Only completions of commands submitted with the same application_id will be visible in the stream.
         Must be a valid ApplicationIdString (as described in ``value.proto``).
         Required unless authentication is used with a user token or a custom token specifying an application-id.
         In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
         
        string application_id = 2 [json_name = "applicationId"];
        Parameters:
        value - The applicationId to set.
        Returns:
        This builder for chaining.
      • clearApplicationId

        public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearApplicationId()
         Only completions of commands submitted with the same application_id will be visible in the stream.
         Must be a valid ApplicationIdString (as described in ``value.proto``).
         Required unless authentication is used with a user token or a custom token specifying an application-id.
         In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
         
        string application_id = 2 [json_name = "applicationId"];
        Returns:
        This builder for chaining.
      • setApplicationIdBytes

        public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setApplicationIdBytes​(com.google.protobuf.ByteString value)
         Only completions of commands submitted with the same application_id will be visible in the stream.
         Must be a valid ApplicationIdString (as described in ``value.proto``).
         Required unless authentication is used with a user token or a custom token specifying an application-id.
         In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
         
        string application_id = 2 [json_name = "applicationId"];
        Parameters:
        value - The bytes for applicationId to set.
        Returns:
        This builder for chaining.
      • getPartiesList

        public com.google.protobuf.ProtocolStringList getPartiesList()
         Non-empty list of parties whose data should be included.
         Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties
         will be visible in the stream.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Required
         
        repeated string parties = 3 [json_name = "parties"];
        Specified by:
        getPartiesList in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
        Returns:
        A list containing the parties.
      • getPartiesCount

        public int getPartiesCount()
         Non-empty list of parties whose data should be included.
         Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties
         will be visible in the stream.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Required
         
        repeated string parties = 3 [json_name = "parties"];
        Specified by:
        getPartiesCount in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
        Returns:
        The count of parties.
      • getParties

        public java.lang.String getParties​(int index)
         Non-empty list of parties whose data should be included.
         Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties
         will be visible in the stream.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Required
         
        repeated string parties = 3 [json_name = "parties"];
        Specified by:
        getParties in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The parties at the given index.
      • getPartiesBytes

        public com.google.protobuf.ByteString getPartiesBytes​(int index)
         Non-empty list of parties whose data should be included.
         Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties
         will be visible in the stream.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Required
         
        repeated string parties = 3 [json_name = "parties"];
        Specified by:
        getPartiesBytes in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the parties at the given index.
      • setParties

        public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setParties​(int index,
                                                                                             java.lang.String value)
         Non-empty list of parties whose data should be included.
         Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties
         will be visible in the stream.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Required
         
        repeated string parties = 3 [json_name = "parties"];
        Parameters:
        index - The index to set the value at.
        value - The parties to set.
        Returns:
        This builder for chaining.
      • addParties

        public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder addParties​(java.lang.String value)
         Non-empty list of parties whose data should be included.
         Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties
         will be visible in the stream.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Required
         
        repeated string parties = 3 [json_name = "parties"];
        Parameters:
        value - The parties to add.
        Returns:
        This builder for chaining.
      • addAllParties

        public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder addAllParties​(java.lang.Iterable<java.lang.String> values)
         Non-empty list of parties whose data should be included.
         Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties
         will be visible in the stream.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Required
         
        repeated string parties = 3 [json_name = "parties"];
        Parameters:
        values - The parties to add.
        Returns:
        This builder for chaining.
      • clearParties

        public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearParties()
         Non-empty list of parties whose data should be included.
         Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties
         will be visible in the stream.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Required
         
        repeated string parties = 3 [json_name = "parties"];
        Returns:
        This builder for chaining.
      • addPartiesBytes

        public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder addPartiesBytes​(com.google.protobuf.ByteString value)
         Non-empty list of parties whose data should be included.
         Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties
         will be visible in the stream.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Required
         
        repeated string parties = 3 [json_name = "parties"];
        Parameters:
        value - The bytes of the parties to add.
        Returns:
        This builder for chaining.
      • hasOffset

        public boolean hasOffset()
         This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream.
         This offset is exclusive: the response will only contain commands whose offset is strictly greater than this.
         Optional, if not set the ledger uses the current ledger end offset instead.
         
        .com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
        Specified by:
        hasOffset in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
        Returns:
        Whether the offset field is set.
      • getOffset

        public LedgerOffsetOuterClass.LedgerOffset getOffset()
         This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream.
         This offset is exclusive: the response will only contain commands whose offset is strictly greater than this.
         Optional, if not set the ledger uses the current ledger end offset instead.
         
        .com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
        Specified by:
        getOffset in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
        Returns:
        The offset.
      • setOffset

        public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setOffset​(LedgerOffsetOuterClass.LedgerOffset value)
         This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream.
         This offset is exclusive: the response will only contain commands whose offset is strictly greater than this.
         Optional, if not set the ledger uses the current ledger end offset instead.
         
        .com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
      • mergeOffset

        public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder mergeOffset​(LedgerOffsetOuterClass.LedgerOffset value)
         This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream.
         This offset is exclusive: the response will only contain commands whose offset is strictly greater than this.
         Optional, if not set the ledger uses the current ledger end offset instead.
         
        .com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
      • clearOffset

        public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearOffset()
         This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream.
         This offset is exclusive: the response will only contain commands whose offset is strictly greater than this.
         Optional, if not set the ledger uses the current ledger end offset instead.
         
        .com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
      • getOffsetBuilder

        public LedgerOffsetOuterClass.LedgerOffset.Builder getOffsetBuilder()
         This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream.
         This offset is exclusive: the response will only contain commands whose offset is strictly greater than this.
         Optional, if not set the ledger uses the current ledger end offset instead.
         
        .com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];