Package io.streamnative.oxia.proto
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 TypeMethodDescriptionbooleanmap<string, .io.streamnative.oxia.proto.Notification> notifications = 4;Deprecated.intmap<string, .io.streamnative.oxia.proto.Notification> notifications = 4;map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;getNotificationsOrDefault(String key, Notification defaultValue) map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;longint64 offset = 2;longint64 shard_id = 1;longfixed64 timestamp = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
map<string, .io.streamnative.oxia.proto.Notification> notifications = 4; -
getNotifications
Deprecated.UsegetNotificationsMap()instead. -
getNotificationsMap
Map<String,Notification> getNotificationsMap()map<string, .io.streamnative.oxia.proto.Notification> notifications = 4; -
getNotificationsOrDefault
map<string, .io.streamnative.oxia.proto.Notification> notifications = 4; -
getNotificationsOrThrow
map<string, .io.streamnative.oxia.proto.Notification> notifications = 4;
-