Interface StateServiceOuterClass.ActiveContractOrBuilder

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

public static interface StateServiceOuterClass.ActiveContractOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required The event as it appeared in the context of its last update (i.e.
    Required The event as it appeared in the context of its last update (i.e.
    long
    Each corresponding assigned and unassigned event has the same reassignment_counter.
    A valid synchronizer id Required
    com.google.protobuf.ByteString
    A valid synchronizer id Required
    boolean
    Required The event as it appeared in the context of its last update (i.e.

    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

    • hasCreatedEvent

      boolean hasCreatedEvent()
       Required
       The event as it appeared in the context of its last update (i.e. daml transaction or
       reassignment). In particular, the last offset, node_id pair is preserved.
       The last update is the most recent update created or assigned this contract on synchronizer_id synchronizer.
       The offset of the CreatedEvent might point to an already pruned update, therefore it cannot necessarily be used
       for lookups.
       
      .com.daml.ledger.api.v2.CreatedEvent created_event = 1 [json_name = "createdEvent"];
      Returns:
      Whether the createdEvent field is set.
    • getCreatedEvent

      EventOuterClass.CreatedEvent getCreatedEvent()
       Required
       The event as it appeared in the context of its last update (i.e. daml transaction or
       reassignment). In particular, the last offset, node_id pair is preserved.
       The last update is the most recent update created or assigned this contract on synchronizer_id synchronizer.
       The offset of the CreatedEvent might point to an already pruned update, therefore it cannot necessarily be used
       for lookups.
       
      .com.daml.ledger.api.v2.CreatedEvent created_event = 1 [json_name = "createdEvent"];
      Returns:
      The createdEvent.
    • getCreatedEventOrBuilder

      EventOuterClass.CreatedEventOrBuilder getCreatedEventOrBuilder()
       Required
       The event as it appeared in the context of its last update (i.e. daml transaction or
       reassignment). In particular, the last offset, node_id pair is preserved.
       The last update is the most recent update created or assigned this contract on synchronizer_id synchronizer.
       The offset of the CreatedEvent might point to an already pruned update, therefore it cannot necessarily be used
       for lookups.
       
      .com.daml.ledger.api.v2.CreatedEvent created_event = 1 [json_name = "createdEvent"];
    • getSynchronizerId

      String getSynchronizerId()
       A valid synchronizer id
       Required
       
      string synchronizer_id = 2 [json_name = "synchronizerId"];
      Returns:
      The synchronizerId.
    • getSynchronizerIdBytes

      com.google.protobuf.ByteString getSynchronizerIdBytes()
       A valid synchronizer id
       Required
       
      string synchronizer_id = 2 [json_name = "synchronizerId"];
      Returns:
      The bytes for synchronizerId.
    • getReassignmentCounter

      long getReassignmentCounter()
       Each corresponding assigned and unassigned event has the same reassignment_counter. This strictly increases
       with each unassign command for the same contract. Creation of the contract corresponds to reassignment_counter
       equals zero.
       This field will be the reassignment_counter of the latest observable activation event on this synchronizer, which is
       before the active_at_offset.
       Required
       
      uint64 reassignment_counter = 3 [json_name = "reassignmentCounter"];
      Returns:
      The reassignmentCounter.