Interface PartitionCursorOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Cursor getCursor()
      The value of the cursor.
      CursorOrBuilder getCursorOrBuilder()
      The value of the cursor.
      long getPartition()
      The partition this is for.
      boolean hasCursor()
      The value of the 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 Detail

      • getPartition

        long getPartition()
         The partition this is for.
         
        int64 partition = 1;
        Returns:
        The partition.
      • hasCursor

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

        Cursor getCursor()
         The value of the cursor.
         
        .google.cloud.pubsublite.v1.Cursor cursor = 2;
        Returns:
        The cursor.
      • getCursorOrBuilder

        CursorOrBuilder getCursorOrBuilder()
         The value of the cursor.
         
        .google.cloud.pubsublite.v1.Cursor cursor = 2;