Interface ComputeMessageStatsRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The exclusive end of the range.
    The exclusive end of the range.
    long
    Required.
    The inclusive start of the range.
    The inclusive start of the range.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    The exclusive end of the range.
    boolean
    The inclusive start of the range.

    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

    • 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;