Interface ComputeMessageStatsRequestOrBuilder

    • Method Detail

      • getTopic

        String getTopic()
         Required. The topic for which we should compute message stats.
         
        string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The topic.
      • getTopicBytes

        com.google.protobuf.ByteString getTopicBytes()
         Required. The topic for which we should compute message stats.
         
        string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for topic.
      • getPartition

        long getPartition()
         Required. The partition for which we should compute message stats.
         
        int64 partition = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The partition.
      • hasStartCursor

        boolean hasStartCursor()
         The inclusive start of the range.
         
        .google.cloud.pubsublite.v1.Cursor start_cursor = 3;
        Returns:
        Whether the startCursor field is set.
      • getStartCursor

        Cursor getStartCursor()
         The inclusive start of the range.
         
        .google.cloud.pubsublite.v1.Cursor start_cursor = 3;
        Returns:
        The startCursor.
      • getStartCursorOrBuilder

        CursorOrBuilder getStartCursorOrBuilder()
         The inclusive start of the range.
         
        .google.cloud.pubsublite.v1.Cursor start_cursor = 3;
      • hasEndCursor

        boolean hasEndCursor()
         The exclusive end of the range. The range is empty if end_cursor <=
         start_cursor. Specifying a start_cursor before the first message and an
         end_cursor after the last message will retrieve all messages.
         
        .google.cloud.pubsublite.v1.Cursor end_cursor = 4;
        Returns:
        Whether the endCursor field is set.
      • getEndCursor

        Cursor getEndCursor()
         The exclusive end of the range. The range is empty if end_cursor <=
         start_cursor. Specifying a start_cursor before the first message and an
         end_cursor after the last message will retrieve all messages.
         
        .google.cloud.pubsublite.v1.Cursor end_cursor = 4;
        Returns:
        The endCursor.
      • getEndCursorOrBuilder

        CursorOrBuilder getEndCursorOrBuilder()
         The exclusive end of the range. The range is empty if end_cursor <=
         start_cursor. Specifying a start_cursor before the first message and an
         end_cursor after the last message will retrieve all messages.
         
        .google.cloud.pubsublite.v1.Cursor end_cursor = 4;