Interface NotificationBatchOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;
    Deprecated.
    int
    map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;
    map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;
    map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;
    map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;
    long
    int64 offset = 2;
    long
    int64 shard_id = 1;
    long
    fixed64 timestamp = 3;

    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

    • getShardId

      long getShardId()
      int64 shard_id = 1;
      Returns:
      The shardId.
    • getOffset

      long getOffset()
      int64 offset = 2;
      Returns:
      The offset.
    • getTimestamp

      long getTimestamp()
      fixed64 timestamp = 3;
      Returns:
      The timestamp.
    • getNotificationsCount

      int getNotificationsCount()
      map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;
    • containsNotifications

      boolean containsNotifications(String key)
      map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;
    • getNotifications

      @Deprecated Map<String,Notification> getNotifications()
      Deprecated.
    • getNotificationsMap

      Map<String,Notification> getNotificationsMap()
      map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;
    • getNotificationsOrDefault

      Notification getNotificationsOrDefault(String key, Notification defaultValue)
      map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;
    • getNotificationsOrThrow

      Notification getNotificationsOrThrow(String key)
      map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;