Interface TransactionOuterClass.TransactionOrBuilder

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

public static interface TransactionOuterClass.TransactionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getUpdateId

      String getUpdateId()
       Assigned by the server. Useful for correlating logs.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string update_id = 1 [json_name = "updateId"];
      Returns:
      The updateId.
    • getUpdateIdBytes

      com.google.protobuf.ByteString getUpdateIdBytes()
       Assigned by the server. Useful for correlating logs.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string update_id = 1 [json_name = "updateId"];
      Returns:
      The bytes for updateId.
    • getCommandId

      String getCommandId()
       The ID of the command which resulted in this transaction. Missing for everyone except the submitting party.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string command_id = 2 [json_name = "commandId"];
      Returns:
      The commandId.
    • getCommandIdBytes

      com.google.protobuf.ByteString getCommandIdBytes()
       The ID of the command which resulted in this transaction. Missing for everyone except the submitting party.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string command_id = 2 [json_name = "commandId"];
      Returns:
      The bytes for commandId.
    • getWorkflowId

      String getWorkflowId()
       The workflow ID used in command submission.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 3 [json_name = "workflowId"];
      Returns:
      The workflowId.
    • getWorkflowIdBytes

      com.google.protobuf.ByteString getWorkflowIdBytes()
       The workflow ID used in command submission.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 3 [json_name = "workflowId"];
      Returns:
      The bytes for workflowId.
    • hasEffectiveAt

      boolean hasEffectiveAt()
       Ledger effective time.
       Required
       
      .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
      Returns:
      Whether the effectiveAt field is set.
    • getEffectiveAt

      com.google.protobuf.Timestamp getEffectiveAt()
       Ledger effective time.
       Required
       
      .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
      Returns:
      The effectiveAt.
    • getEffectiveAtOrBuilder

      com.google.protobuf.TimestampOrBuilder getEffectiveAtOrBuilder()
       Ledger effective time.
       Required
       
      .google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
    • getEventsList

      List<EventOuterClass.Event> getEventsList()
       The collection of events.
       Contains:
      
       - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape
       - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape
      
       Required
       
      repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
    • getEvents

      EventOuterClass.Event getEvents(int index)
       The collection of events.
       Contains:
      
       - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape
       - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape
      
       Required
       
      repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
    • getEventsCount

      int getEventsCount()
       The collection of events.
       Contains:
      
       - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape
       - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape
      
       Required
       
      repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
    • getEventsOrBuilderList

      List<? extends EventOuterClass.EventOrBuilder> getEventsOrBuilderList()
       The collection of events.
       Contains:
      
       - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape
       - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape
      
       Required
       
      repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
    • getEventsOrBuilder

      EventOuterClass.EventOrBuilder getEventsOrBuilder(int index)
       The collection of events.
       Contains:
      
       - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape
       - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape
      
       Required
       
      repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
    • getOffset

      long getOffset()
       The absolute offset. The details of this field are described in ``community/ledger-api/README.md``.
       Required, it is a valid absolute offset (positive integer).
       
      int64 offset = 6 [json_name = "offset"];
      Returns:
      The offset.
    • getSynchronizerId

      String getSynchronizerId()
       A valid synchronizer id.
       Identifies the synchronizer that synchronized the transaction.
       Required
       
      string synchronizer_id = 7 [json_name = "synchronizerId"];
      Returns:
      The synchronizerId.
    • getSynchronizerIdBytes

      com.google.protobuf.ByteString getSynchronizerIdBytes()
       A valid synchronizer id.
       Identifies the synchronizer that synchronized the transaction.
       Required
       
      string synchronizer_id = 7 [json_name = "synchronizerId"];
      Returns:
      The bytes for synchronizerId.
    • 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 = 8 [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 = 8 [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 = 8 [json_name = "traceContext"];
    • hasRecordTime

      boolean hasRecordTime()
       The time at which the transaction was recorded. The record time refers to the synchronizer
       which synchronized the transaction.
       Required
       
      .google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
      Returns:
      Whether the recordTime field is set.
    • getRecordTime

      com.google.protobuf.Timestamp getRecordTime()
       The time at which the transaction was recorded. The record time refers to the synchronizer
       which synchronized the transaction.
       Required
       
      .google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
      Returns:
      The recordTime.
    • getRecordTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getRecordTimeOrBuilder()
       The time at which the transaction was recorded. The record time refers to the synchronizer
       which synchronized the transaction.
       Required
       
      .google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];