Package io.hstream.internal
Interface ShardOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Shard,Shard.Builder
public interface ShardOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEndHashRangeKey()string endHashRangeKey = 4;com.google.protobuf.ByteStringgetEndHashRangeKeyBytes()string endHashRangeKey = 4;longgetEpoch()uint64 epoch = 5;booleangetIsActive()bool isActive = 6;longgetShardId()uint64 shardId = 2;StringgetStartHashRangeKey()string startHashRangeKey = 3;com.google.protobuf.ByteStringgetStartHashRangeKeyBytes()string startHashRangeKey = 3;StringgetStreamName()string streamName = 1;com.google.protobuf.ByteStringgetStreamNameBytes()string streamName = 1;-
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.
-
getStartHashRangeKey
String getStartHashRangeKey()
string startHashRangeKey = 3;- Returns:
- The startHashRangeKey.
-
getStartHashRangeKeyBytes
com.google.protobuf.ByteString getStartHashRangeKeyBytes()
string startHashRangeKey = 3;- Returns:
- The bytes for startHashRangeKey.
-
getEndHashRangeKey
String getEndHashRangeKey()
string endHashRangeKey = 4;- Returns:
- The endHashRangeKey.
-
getEndHashRangeKeyBytes
com.google.protobuf.ByteString getEndHashRangeKeyBytes()
string endHashRangeKey = 4;- Returns:
- The bytes for endHashRangeKey.
-
getEpoch
long getEpoch()
uint64 epoch = 5;- Returns:
- The epoch.
-
getIsActive
boolean getIsActive()
bool isActive = 6;- Returns:
- The isActive.
-
-