Interface CompletionOuterClass.CompletionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CompletionOuterClass.Completion, CompletionOuterClass.Completion.Builder
Enclosing class:
CompletionOuterClass

public static interface CompletionOuterClass.CompletionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getActAs(int index)
    The set of parties on whose behalf the commands were executed.
    com.google.protobuf.ByteString
    getActAsBytes(int index)
    The set of parties on whose behalf the commands were executed.
    int
    The set of parties on whose behalf the commands were executed.
    The set of parties on whose behalf the commands were executed.
    The ID of the succeeded or failed command.
    com.google.protobuf.ByteString
    The ID of the succeeded or failed command.
    com.google.protobuf.Duration
    Specifies the length of the deduplication period.
    com.google.protobuf.DurationOrBuilder
    Specifies the length of the deduplication period.
    long
    Specifies the start of the deduplication period by a completion stream offset (exclusive).
     
    long
    May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
    com.google.rpc.Status
    Identifies the exact type of the error.
    com.google.rpc.StatusOrBuilder
    Identifies the exact type of the error.
    The submission ID this completion refers to, as described in ``commands.proto``.
    com.google.protobuf.ByteString
    The submission ID this completion refers to, as described in ``commands.proto``.
    The synchronizer along with its record time.
    The synchronizer along with its record time.
    Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.
    Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.
    The update_id of the transaction or reassignment that resulted from the command with command_id.
    com.google.protobuf.ByteString
    The update_id of the transaction or reassignment that resulted from the command with command_id.
    The user-id that was used for the submission, as described in ``commands.proto``.
    com.google.protobuf.ByteString
    The user-id that was used for the submission, as described in ``commands.proto``.
    boolean
    Specifies the length of the deduplication period.
    boolean
    Specifies the start of the deduplication period by a completion stream offset (exclusive).
    boolean
    Identifies the exact type of the error.
    boolean
    The synchronizer along with its record time.
    boolean
    Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getCommandId

      String getCommandId()
       The ID of the succeeded or failed command.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string command_id = 1 [json_name = "commandId"];
      Returns:
      The commandId.
    • getCommandIdBytes

      com.google.protobuf.ByteString getCommandIdBytes()
       The ID of the succeeded or failed command.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string command_id = 1 [json_name = "commandId"];
      Returns:
      The bytes for commandId.
    • hasStatus

      boolean hasStatus()
       Identifies the exact type of the error.
       It uses the same format of conveying error details as it is used for the RPC responses of the APIs.
       Optional
       
      .google.rpc.Status status = 2 [json_name = "status"];
      Returns:
      Whether the status field is set.
    • getStatus

      com.google.rpc.Status getStatus()
       Identifies the exact type of the error.
       It uses the same format of conveying error details as it is used for the RPC responses of the APIs.
       Optional
       
      .google.rpc.Status status = 2 [json_name = "status"];
      Returns:
      The status.
    • getStatusOrBuilder

      com.google.rpc.StatusOrBuilder getStatusOrBuilder()
       Identifies the exact type of the error.
       It uses the same format of conveying error details as it is used for the RPC responses of the APIs.
       Optional
       
      .google.rpc.Status status = 2 [json_name = "status"];
    • getUpdateId

      String getUpdateId()
       The update_id of the transaction or reassignment that resulted from the command with command_id.
       Only set for successfully executed commands.
       Must be a valid LedgerString (as described in ``value.proto``).
       
      string update_id = 3 [json_name = "updateId"];
      Returns:
      The updateId.
    • getUpdateIdBytes

      com.google.protobuf.ByteString getUpdateIdBytes()
       The update_id of the transaction or reassignment that resulted from the command with command_id.
       Only set for successfully executed commands.
       Must be a valid LedgerString (as described in ``value.proto``).
       
      string update_id = 3 [json_name = "updateId"];
      Returns:
      The bytes for updateId.
    • getUserId

      String getUserId()
       The user-id that was used for the submission, as described in ``commands.proto``.
       Must be a valid UserIdString (as described in ``value.proto``).
       Optional for historic completions where this data is not available.
       
      string user_id = 4 [json_name = "userId"];
      Returns:
      The userId.
    • getUserIdBytes

      com.google.protobuf.ByteString getUserIdBytes()
       The user-id that was used for the submission, as described in ``commands.proto``.
       Must be a valid UserIdString (as described in ``value.proto``).
       Optional for historic completions where this data is not available.
       
      string user_id = 4 [json_name = "userId"];
      Returns:
      The bytes for userId.
    • getActAsList

      List<String> getActAsList()
       The set of parties on whose behalf the commands were executed.
       Contains the ``act_as`` parties from ``commands.proto``
       filtered to the requesting parties in CompletionStreamRequest.
       The order of the parties need not be the same as in the submission.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Optional for historic completions where this data is not available.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Returns:
      A list containing the actAs.
    • getActAsCount

      int getActAsCount()
       The set of parties on whose behalf the commands were executed.
       Contains the ``act_as`` parties from ``commands.proto``
       filtered to the requesting parties in CompletionStreamRequest.
       The order of the parties need not be the same as in the submission.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Optional for historic completions where this data is not available.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Returns:
      The count of actAs.
    • getActAs

      String getActAs(int index)
       The set of parties on whose behalf the commands were executed.
       Contains the ``act_as`` parties from ``commands.proto``
       filtered to the requesting parties in CompletionStreamRequest.
       The order of the parties need not be the same as in the submission.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Optional for historic completions where this data is not available.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The actAs at the given index.
    • getActAsBytes

      com.google.protobuf.ByteString getActAsBytes(int index)
       The set of parties on whose behalf the commands were executed.
       Contains the ``act_as`` parties from ``commands.proto``
       filtered to the requesting parties in CompletionStreamRequest.
       The order of the parties need not be the same as in the submission.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Optional for historic completions where this data is not available.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the actAs at the given index.
    • getSubmissionId

      String getSubmissionId()
       The submission ID this completion refers to, as described in ``commands.proto``.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string submission_id = 6 [json_name = "submissionId"];
      Returns:
      The submissionId.
    • getSubmissionIdBytes

      com.google.protobuf.ByteString getSubmissionIdBytes()
       The submission ID this completion refers to, as described in ``commands.proto``.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string submission_id = 6 [json_name = "submissionId"];
      Returns:
      The bytes for submissionId.
    • hasDeduplicationOffset

      boolean hasDeduplicationOffset()
       Specifies the start of the deduplication period by a completion stream offset (exclusive).
      
       Must be a valid absolute offset (positive integer) or participant begin (zero).
       
      int64 deduplication_offset = 7 [json_name = "deduplicationOffset"];
      Returns:
      Whether the deduplicationOffset field is set.
    • getDeduplicationOffset

      long getDeduplicationOffset()
       Specifies the start of the deduplication period by a completion stream offset (exclusive).
      
       Must be a valid absolute offset (positive integer) or participant begin (zero).
       
      int64 deduplication_offset = 7 [json_name = "deduplicationOffset"];
      Returns:
      The deduplicationOffset.
    • hasDeduplicationDuration

      boolean hasDeduplicationDuration()
       Specifies the length of the deduplication period.
       It is measured in record time of completions.
      
       Must be non-negative.
       
      .google.protobuf.Duration deduplication_duration = 8 [json_name = "deduplicationDuration"];
      Returns:
      Whether the deduplicationDuration field is set.
    • getDeduplicationDuration

      com.google.protobuf.Duration getDeduplicationDuration()
       Specifies the length of the deduplication period.
       It is measured in record time of completions.
      
       Must be non-negative.
       
      .google.protobuf.Duration deduplication_duration = 8 [json_name = "deduplicationDuration"];
      Returns:
      The deduplicationDuration.
    • getDeduplicationDurationOrBuilder

      com.google.protobuf.DurationOrBuilder getDeduplicationDurationOrBuilder()
       Specifies the length of the deduplication period.
       It is measured in record time of completions.
      
       Must be non-negative.
       
      .google.protobuf.Duration deduplication_duration = 8 [json_name = "deduplicationDuration"];
    • hasTraceContext

      boolean hasTraceContext()
       Optional; ledger API trace context
      
       The trace context transported in this message corresponds to the trace context supplied
       by the client application in a HTTP2 header of the original command submission.
       We typically use a header to transfer this type of information. Here we use message
       body, because it is used in gRPC streams which do not support per message headers.
       This field will be populated with the trace context contained in the original submission.
       If that was not provided, a unique ledger-api-server generated trace context will be used
       instead.
       
      .com.daml.ledger.api.v2.TraceContext trace_context = 9 [json_name = "traceContext"];
      Returns:
      Whether the traceContext field is set.
    • getTraceContext

       Optional; ledger API trace context
      
       The trace context transported in this message corresponds to the trace context supplied
       by the client application in a HTTP2 header of the original command submission.
       We typically use a header to transfer this type of information. Here we use message
       body, because it is used in gRPC streams which do not support per message headers.
       This field will be populated with the trace context contained in the original submission.
       If that was not provided, a unique ledger-api-server generated trace context will be used
       instead.
       
      .com.daml.ledger.api.v2.TraceContext trace_context = 9 [json_name = "traceContext"];
      Returns:
      The traceContext.
    • getTraceContextOrBuilder

       Optional; ledger API trace context
      
       The trace context transported in this message corresponds to the trace context supplied
       by the client application in a HTTP2 header of the original command submission.
       We typically use a header to transfer this type of information. Here we use message
       body, because it is used in gRPC streams which do not support per message headers.
       This field will be populated with the trace context contained in the original submission.
       If that was not provided, a unique ledger-api-server generated trace context will be used
       instead.
       
      .com.daml.ledger.api.v2.TraceContext trace_context = 9 [json_name = "traceContext"];
    • getOffset

      long getOffset()
       May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
       Required, must be a valid absolute offset (positive integer).
       
      int64 offset = 10 [json_name = "offset"];
      Returns:
      The offset.
    • hasSynchronizerTime

      boolean hasSynchronizerTime()
       The synchronizer along with its record time.
       The synchronizer id provided, in case of
      
       - successful/failed transactions: identifies the synchronizer of the transaction
       - for successful/failed unassign commands: identifies the source synchronizer
       - for successful/failed assign commands: identifies the target synchronizer
      
       Required
       
      .com.daml.ledger.api.v2.SynchronizerTime synchronizer_time = 11 [json_name = "synchronizerTime"];
      Returns:
      Whether the synchronizerTime field is set.
    • getSynchronizerTime

       The synchronizer along with its record time.
       The synchronizer id provided, in case of
      
       - successful/failed transactions: identifies the synchronizer of the transaction
       - for successful/failed unassign commands: identifies the source synchronizer
       - for successful/failed assign commands: identifies the target synchronizer
      
       Required
       
      .com.daml.ledger.api.v2.SynchronizerTime synchronizer_time = 11 [json_name = "synchronizerTime"];
      Returns:
      The synchronizerTime.
    • getSynchronizerTimeOrBuilder

       The synchronizer along with its record time.
       The synchronizer id provided, in case of
      
       - successful/failed transactions: identifies the synchronizer of the transaction
       - for successful/failed unassign commands: identifies the source synchronizer
       - for successful/failed assign commands: identifies the target synchronizer
      
       Required
       
      .com.daml.ledger.api.v2.SynchronizerTime synchronizer_time = 11 [json_name = "synchronizerTime"];
    • getDeduplicationPeriodCase