Package io.hstream.internal
Interface SubscriptionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Subscription,Subscription.Builder
public interface SubscriptionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAckTimeoutSeconds()int32 ackTimeoutSeconds = 3;com.google.protobuf.TimestampgetCreationTime().google.protobuf.Timestamp creationTime = 6;com.google.protobuf.TimestampOrBuildergetCreationTimeOrBuilder().google.protobuf.Timestamp creationTime = 6;intgetMaxUnackedRecords()int32 maxUnackedRecords = 4;SpecialOffsetgetOffset().hstream.server.SpecialOffset offset = 5;intgetOffsetValue().hstream.server.SpecialOffset offset = 5;StringgetStreamName()string streamName = 2;com.google.protobuf.ByteStringgetStreamNameBytes()string streamName = 2;StringgetSubscriptionId()string subscriptionId = 1;com.google.protobuf.ByteStringgetSubscriptionIdBytes()string subscriptionId = 1;booleanhasCreationTime().google.protobuf.Timestamp creationTime = 6;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSubscriptionId
String getSubscriptionId()
string subscriptionId = 1;- Returns:
- The subscriptionId.
-
getSubscriptionIdBytes
com.google.protobuf.ByteString getSubscriptionIdBytes()
string subscriptionId = 1;- Returns:
- The bytes for subscriptionId.
-
getStreamName
String getStreamName()
string streamName = 2;- Returns:
- The streamName.
-
getStreamNameBytes
com.google.protobuf.ByteString getStreamNameBytes()
string streamName = 2;- Returns:
- The bytes for streamName.
-
getAckTimeoutSeconds
int getAckTimeoutSeconds()
int32 ackTimeoutSeconds = 3;- Returns:
- The ackTimeoutSeconds.
-
getMaxUnackedRecords
int getMaxUnackedRecords()
int32 maxUnackedRecords = 4;- Returns:
- The maxUnackedRecords.
-
getOffsetValue
int getOffsetValue()
.hstream.server.SpecialOffset offset = 5;- Returns:
- The enum numeric value on the wire for offset.
-
getOffset
SpecialOffset getOffset()
.hstream.server.SpecialOffset offset = 5;- Returns:
- The offset.
-
hasCreationTime
boolean hasCreationTime()
.google.protobuf.Timestamp creationTime = 6;- Returns:
- Whether the creationTime field is set.
-
getCreationTime
com.google.protobuf.Timestamp getCreationTime()
.google.protobuf.Timestamp creationTime = 6;- Returns:
- The creationTime.
-
getCreationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
.google.protobuf.Timestamp creationTime = 6;
-
-