Package io.hstream.internal
Interface TrimShardRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TrimShardRequest,TrimShardRequest.Builder
public interface TrimShardRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetShardId()uint64 shardId = 2;StringgetStreamName()string streamName = 1;com.google.protobuf.ByteStringgetStreamNameBytes()string streamName = 1;ShardOffsetgetTrimPoint()trim up to and including this offsetShardOffsetOrBuildergetTrimPointOrBuilder()trim up to and including this offsetbooleanhasTrimPoint()trim up to and including this offset-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStreamName
String getStreamName()
string streamName = 1;- Returns:
- The streamName.
-
getStreamNameBytes
com.google.protobuf.ByteString getStreamNameBytes()
string streamName = 1;- Returns:
- The bytes for streamName.
-
getShardId
long getShardId()
uint64 shardId = 2;- Returns:
- The shardId.
-
hasTrimPoint
boolean hasTrimPoint()
trim up to and including this offset
.hstream.server.ShardOffset trimPoint = 3;- Returns:
- Whether the trimPoint field is set.
-
getTrimPoint
ShardOffset getTrimPoint()
trim up to and including this offset
.hstream.server.ShardOffset trimPoint = 3;- Returns:
- The trimPoint.
-
getTrimPointOrBuilder
ShardOffsetOrBuilder getTrimPointOrBuilder()
trim up to and including this offset
.hstream.server.ShardOffset trimPoint = 3;
-
-