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
Modifier and TypeMethodDescriptionA target corresponding to the cursor, pointing to anywhere in the topic partition.A target corresponding to the cursor, pointing to anywhere in the topic partition.A named target.intA named target.booleanA target corresponding to the cursor, pointing to anywhere in the topic partition.booleanA named target.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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()
-