Interface SeekRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SeekRequest,SeekRequest.Builder
public interface SeekRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CursorgetCursor()A target corresponding to the cursor, pointing to anywhere in the topic partition.CursorOrBuildergetCursorOrBuilder()A target corresponding to the cursor, pointing to anywhere in the topic partition.SeekRequest.NamedTargetgetNamedTarget()A named target.intgetNamedTargetValue()A named target.SeekRequest.TargetCasegetTargetCase()booleanhasCursor()A target corresponding to the cursor, pointing to anywhere in the topic partition.booleanhasNamedTarget()A named target.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasNamedTarget
boolean hasNamedTarget()
A named target.
.google.cloud.pubsublite.v1.SeekRequest.NamedTarget named_target = 1;- Returns:
- Whether the namedTarget field is set.
-
getNamedTargetValue
int getNamedTargetValue()
A named target.
.google.cloud.pubsublite.v1.SeekRequest.NamedTarget named_target = 1;- Returns:
- The enum numeric value on the wire for namedTarget.
-
getNamedTarget
SeekRequest.NamedTarget getNamedTarget()
A named target.
.google.cloud.pubsublite.v1.SeekRequest.NamedTarget named_target = 1;- Returns:
- The namedTarget.
-
hasCursor
boolean hasCursor()
A target corresponding to the cursor, pointing to anywhere in the topic partition.
.google.cloud.pubsublite.v1.Cursor cursor = 2;- Returns:
- Whether the cursor field is set.
-
getCursor
Cursor getCursor()
A target corresponding to the cursor, pointing to anywhere in the topic partition.
.google.cloud.pubsublite.v1.Cursor cursor = 2;- Returns:
- The cursor.
-
getCursorOrBuilder
CursorOrBuilder getCursorOrBuilder()
A target corresponding to the cursor, pointing to anywhere in the topic partition.
.google.cloud.pubsublite.v1.Cursor cursor = 2;
-
getTargetCase
SeekRequest.TargetCase getTargetCase()
-
-