Interface ConsumerEventOrBuilder

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

public interface ConsumerEventOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The event with fields identical to ProducerEvent
    The event with fields identical to ProducerEvent
    com.google.protobuf.ByteString
    The replay ID of the event.
    boolean
    The event with fields identical to ProducerEvent

    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

    • hasEvent

      boolean hasEvent()
       The event with fields identical to ProducerEvent
       
      .eventbus.v1.ProducerEvent event = 1;
      Returns:
      Whether the event field is set.
    • getEvent

      ProducerEvent getEvent()
       The event with fields identical to ProducerEvent
       
      .eventbus.v1.ProducerEvent event = 1;
      Returns:
      The event.
    • getEventOrBuilder

      ProducerEventOrBuilder getEventOrBuilder()
       The event with fields identical to ProducerEvent
       
      .eventbus.v1.ProducerEvent event = 1;
    • getReplayId

      com.google.protobuf.ByteString getReplayId()
       The replay ID of the event.
       A subscriber app can store the replay ID. When the app restarts, it can resume subscription
       starting from events in the event bus after the event with that replay ID.
       
      bytes replay_id = 2;
      Returns:
      The replayId.