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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CursorgetEndCursor()The exclusive end of the range.CursorOrBuildergetEndCursorOrBuilder()The exclusive end of the range.longgetPartition()Required.CursorgetStartCursor()The inclusive start of the range.CursorOrBuildergetStartCursorOrBuilder()The inclusive start of the range.StringgetTopic()Required.com.google.protobuf.ByteStringgetTopicBytes()Required.booleanhasEndCursor()The exclusive end of the range.booleanhasStartCursor()The inclusive start of the range.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
-