Interface Protocol.StartMessageOrBuilder

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

public static interface Protocol.StartMessageOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getId

      com.google.protobuf.ByteString getId()
       Unique id of the invocation. This id is unique across invocations and won't change when replaying the journal.
       
      bytes id = 1;
      Returns:
      The id.
    • getDebugId

      String getDebugId()
       Invocation id that can be used for logging.
       The user can use this id to address this invocation in admin and status introspection apis.
       
      string debug_id = 2;
      Returns:
      The debugId.
    • getDebugIdBytes

      com.google.protobuf.ByteString getDebugIdBytes()
       Invocation id that can be used for logging.
       The user can use this id to address this invocation in admin and status introspection apis.
       
      string debug_id = 2;
      Returns:
      The bytes for debugId.
    • getKnownEntries

      int getKnownEntries()
      uint32 known_entries = 3;
      Returns:
      The knownEntries.
    • getStateMapList

       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • getStateMap

      Protocol.StartMessage.StateEntry getStateMap(int index)
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • getStateMapCount

      int getStateMapCount()
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • getStateMapOrBuilderList

      List<? extends Protocol.StartMessage.StateEntryOrBuilder> getStateMapOrBuilderList()
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • getStateMapOrBuilder

      Protocol.StartMessage.StateEntryOrBuilder getStateMapOrBuilder(int index)
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • getPartialState

      boolean getPartialState()
      bool partial_state = 5;
      Returns:
      The partialState.
    • getKey

      String getKey()
       If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise.
       
      string key = 6;
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise.
       
      string key = 6;
      Returns:
      The bytes for key.
    • getRetryCountSinceLastStoredEntry

      int getRetryCountSinceLastStoredEntry()
       Retry count since the last stored entry.
      
       Please note that this count might not be accurate, as it's not durably stored,
       thus it might get reset in case Restate crashes/changes leader.
       
      uint32 retry_count_since_last_stored_entry = 7;
      Returns:
      The retryCountSinceLastStoredEntry.
    • getDurationSinceLastStoredEntry

      long getDurationSinceLastStoredEntry()
       Duration since the last stored entry, in milliseconds.
      
       Please note this duration might not be accurate,
       and might change depending on which Restate replica executes the request.
       
      uint64 duration_since_last_stored_entry = 8;
      Returns:
      The durationSinceLastStoredEntry.