Interface InitialCommitCursorRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InitialCommitCursorRequest,InitialCommitCursorRequest.Builder
public interface InitialCommitCursorRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe partition for which to manage committed cursors.The subscription for which to manage committed cursors.com.google.protobuf.ByteStringThe subscription for which to manage committed cursors.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
-
getSubscription
String getSubscription()The subscription for which to manage committed cursors.
string subscription = 1;- Returns:
- The subscription.
-
getSubscriptionBytes
com.google.protobuf.ByteString getSubscriptionBytes()The subscription for which to manage committed cursors.
string subscription = 1;- Returns:
- The bytes for subscription.
-
getPartition
long getPartition()The partition for which to manage committed cursors. Partitions are zero indexed, so `partition` must be in the range [0, topic.num_partitions).
int64 partition = 2;- Returns:
- The partition.
-