Interface SeekSubscriptionRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      SeekSubscriptionRequest.NamedTarget getNamedTarget()
      Seek to a named position with respect to the message backlog.
      int getNamedTargetValue()
      Seek to a named position with respect to the message backlog.
      SeekSubscriptionRequest.TargetCase getTargetCase()  
      TimeTarget getTimeTarget()
      Seek to the first message whose publish or event time is greater than or equal to the specified query time.
      TimeTargetOrBuilder getTimeTargetOrBuilder()
      Seek to the first message whose publish or event time is greater than or equal to the specified query time.
      boolean hasNamedTarget()
      Seek to a named position with respect to the message backlog.
      boolean hasTimeTarget()
      Seek to the first message whose publish or event time is greater than or equal to the specified query time.
      • 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 Detail

      • getName

        String getName()
         Required. The name of the subscription to seek.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The name of the subscription to seek.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for name.
      • hasNamedTarget

        boolean hasNamedTarget()
         Seek to a named position with respect to the message backlog.
         
        .google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
        Returns:
        Whether the namedTarget field is set.
      • getNamedTargetValue

        int getNamedTargetValue()
         Seek to a named position with respect to the message backlog.
         
        .google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
        Returns:
        The enum numeric value on the wire for namedTarget.
      • getNamedTarget

        SeekSubscriptionRequest.NamedTarget getNamedTarget()
         Seek to a named position with respect to the message backlog.
         
        .google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
        Returns:
        The namedTarget.
      • hasTimeTarget

        boolean hasTimeTarget()
         Seek to the first message whose publish or event time is greater than or
         equal to the specified query time. If no such message can be located,
         will seek to the end of the message backlog.
         
        .google.cloud.pubsublite.v1.TimeTarget time_target = 3;
        Returns:
        Whether the timeTarget field is set.
      • getTimeTarget

        TimeTarget getTimeTarget()
         Seek to the first message whose publish or event time is greater than or
         equal to the specified query time. If no such message can be located,
         will seek to the end of the message backlog.
         
        .google.cloud.pubsublite.v1.TimeTarget time_target = 3;
        Returns:
        The timeTarget.
      • getTimeTargetOrBuilder

        TimeTargetOrBuilder getTimeTargetOrBuilder()
         Seek to the first message whose publish or event time is greater than or
         equal to the specified query time. If no such message can be located,
         will seek to the end of the message backlog.
         
        .google.cloud.pubsublite.v1.TimeTarget time_target = 3;