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 Type
    Method
    Description
    A 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.
    int
    A named target.
     
    boolean
    A target corresponding to the cursor, pointing to anywhere in the topic partition.
    boolean
    A named target.

    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

    • 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()