Interface EventWithTokenOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    EventWithToken, EventWithToken.Builder

    @Generated
    public interface EventWithTokenOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Event getEvent()
      The actual Event Message
      EventOrBuilder getEventOrBuilder()
      The actual Event Message
      long getToken()
      The Token representing the position of this Event in the Stream
      boolean hasEvent()
      The actual Event Message
      • 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 Detail

      • getToken

        long getToken()
         The Token representing the position of this Event in the Stream 
         
        int64 token = 1;
        Returns:
        The token.
      • hasEvent

        boolean hasEvent()
         The actual Event Message 
         
        .io.axoniq.axonserver.grpc.event.Event event = 2;
        Returns:
        Whether the event field is set.
      • getEvent

        Event getEvent()
         The actual Event Message 
         
        .io.axoniq.axonserver.grpc.event.Event event = 2;
        Returns:
        The event.
      • getEventOrBuilder

        EventOrBuilder getEventOrBuilder()
         The actual Event Message 
         
        .io.axoniq.axonserver.grpc.event.Event event = 2;