Interface Umadb.AppendConditionOrBuilder

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

public static interface Umadb.AppendConditionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    If provided, the append operation is only valid if the current head of the stream exactly matches (or is greater than) this position.
    If provided, the append operation will fail if any existing events match this query.
    If provided, the append operation will fail if any existing events match this query.
    boolean
    If provided, the append operation is only valid if the current head of the stream exactly matches (or is greater than) this position.
    boolean
    If provided, the append operation will fail if any existing events match this query.

    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

    • hasFailIfEventsMatch

      boolean hasFailIfEventsMatch()
      If provided, the append operation will fail if any existing events match this query.
      Useful for ensuring uniqueness or preventing duplicate state changes.
      
      optional .umadb.v1.Query fail_if_events_match = 1;
      Returns:
      Whether the failIfEventsMatch field is set.
    • getFailIfEventsMatch

      Umadb.Query getFailIfEventsMatch()
      If provided, the append operation will fail if any existing events match this query.
      Useful for ensuring uniqueness or preventing duplicate state changes.
      
      optional .umadb.v1.Query fail_if_events_match = 1;
      Returns:
      The failIfEventsMatch.
    • getFailIfEventsMatchOrBuilder

      Umadb.QueryOrBuilder getFailIfEventsMatchOrBuilder()
      If provided, the append operation will fail if any existing events match this query.
      Useful for ensuring uniqueness or preventing duplicate state changes.
      
      optional .umadb.v1.Query fail_if_events_match = 1;
    • hasAfter

      boolean hasAfter()
      If provided, the append operation is only valid if the current head of the stream
      exactly matches (or is greater than) this position. Used for optimistic concurrency.
      
      optional uint64 after = 2;
      Returns:
      Whether the after field is set.
    • getAfter

      long getAfter()
      If provided, the append operation is only valid if the current head of the stream
      exactly matches (or is greater than) this position. Used for optimistic concurrency.
      
      optional uint64 after = 2;
      Returns:
      The after.