Class CommandCompletionServiceOuterClass.CompletionStreamRequest

    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static CommandCompletionServiceOuterClass.CompletionStreamRequest parseFrom​(java.nio.ByteBuffer data,
                                                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommandCompletionServiceOuterClass.CompletionStreamRequest parseFrom​(com.google.protobuf.ByteString data,
                                                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommandCompletionServiceOuterClass.CompletionStreamRequest parseFrom​(byte[] data,
                                                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • getParserForType

        public com.google.protobuf.Parser<CommandCompletionServiceOuterClass.CompletionStreamRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public CommandCompletionServiceOuterClass.CompletionStreamRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder