Interface CommitCursorRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CommitCursorRequest, CommitCursorRequest.Builder

public interface CommitCursorRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The new value for the committed cursor.
    The new value for the committed cursor.
    long
    The partition for which to update the cursor.
    The subscription for which to update the cursor.
    com.google.protobuf.ByteString
    The subscription for which to update the cursor.
    boolean
    The new value for the committed cursor.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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 update the cursor.
       
      string subscription = 1;
      Returns:
      The subscription.
    • getSubscriptionBytes

      com.google.protobuf.ByteString getSubscriptionBytes()
       The subscription for which to update the cursor.
       
      string subscription = 1;
      Returns:
      The bytes for subscription.
    • getPartition

      long getPartition()
       The partition for which to update the cursor. Partitions are zero indexed,
       so `partition` must be in the range [0, topic.num_partitions).
       
      int64 partition = 2;
      Returns:
      The partition.
    • hasCursor

      boolean hasCursor()
       The new value for the committed cursor.
       
      .google.cloud.pubsublite.v1.Cursor cursor = 3;
      Returns:
      Whether the cursor field is set.
    • getCursor

      Cursor getCursor()
       The new value for the committed cursor.
       
      .google.cloud.pubsublite.v1.Cursor cursor = 3;
      Returns:
      The cursor.
    • getCursorOrBuilder

      CursorOrBuilder getCursorOrBuilder()
       The new value for the committed cursor.
       
      .google.cloud.pubsublite.v1.Cursor cursor = 3;