Package io.streamnative.oxia.proto
Interface NotificationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Notification,Notification.Builder
public interface NotificationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional string key_range_last = 3;com.google.protobuf.ByteStringoptional string key_range_last = 3;getType().io.streamnative.oxia.proto.NotificationType type = 1;int.io.streamnative.oxia.proto.NotificationType type = 1;longoptional int64 version_id = 2;booleanoptional string key_range_last = 3;booleanoptional int64 version_id = 2;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
-
getTypeValue
int getTypeValue().io.streamnative.oxia.proto.NotificationType type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
NotificationType getType().io.streamnative.oxia.proto.NotificationType type = 1;- Returns:
- The type.
-
hasVersionId
boolean hasVersionId()optional int64 version_id = 2;- Returns:
- Whether the versionId field is set.
-
getVersionId
long getVersionId()optional int64 version_id = 2;- Returns:
- The versionId.
-
hasKeyRangeLast
boolean hasKeyRangeLast()optional string key_range_last = 3;- Returns:
- Whether the keyRangeLast field is set.
-
getKeyRangeLast
String getKeyRangeLast()optional string key_range_last = 3;- Returns:
- The keyRangeLast.
-
getKeyRangeLastBytes
com.google.protobuf.ByteString getKeyRangeLastBytes()optional string key_range_last = 3;- Returns:
- The bytes for keyRangeLast.
-