Package io.hstream.internal
Interface ShardOffsetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ShardOffset
,ShardOffset.Builder
public interface ShardOffsetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShardOffset.OffsetCase
getOffsetCase()
RecordId
getRecordOffset()
.hstream.server.RecordId recordOffset = 2;
RecordIdOrBuilder
getRecordOffsetOrBuilder()
.hstream.server.RecordId recordOffset = 2;
SpecialOffset
getSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
int
getSpecialOffsetValue()
.hstream.server.SpecialOffset specialOffset = 1;
TimestampOffset
getTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 3;
TimestampOffsetOrBuilder
getTimestampOffsetOrBuilder()
.hstream.server.TimestampOffset timestampOffset = 3;
boolean
hasRecordOffset()
.hstream.server.RecordId recordOffset = 2;
boolean
hasSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
boolean
hasTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 3;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSpecialOffset
boolean hasSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
- Returns:
- Whether the specialOffset field is set.
-
getSpecialOffsetValue
int getSpecialOffsetValue()
.hstream.server.SpecialOffset specialOffset = 1;
- Returns:
- The enum numeric value on the wire for specialOffset.
-
getSpecialOffset
SpecialOffset getSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
- Returns:
- The specialOffset.
-
hasRecordOffset
boolean hasRecordOffset()
.hstream.server.RecordId recordOffset = 2;
- Returns:
- Whether the recordOffset field is set.
-
getRecordOffset
RecordId getRecordOffset()
.hstream.server.RecordId recordOffset = 2;
- Returns:
- The recordOffset.
-
getRecordOffsetOrBuilder
RecordIdOrBuilder getRecordOffsetOrBuilder()
.hstream.server.RecordId recordOffset = 2;
-
hasTimestampOffset
boolean hasTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 3;
- Returns:
- Whether the timestampOffset field is set.
-
getTimestampOffset
TimestampOffset getTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 3;
- Returns:
- The timestampOffset.
-
getTimestampOffsetOrBuilder
TimestampOffsetOrBuilder getTimestampOffsetOrBuilder()
.hstream.server.TimestampOffset timestampOffset = 3;
-
getOffsetCase
ShardOffset.OffsetCase getOffsetCase()
-
-