Interface SubscribeResponseOrBuilder

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

    public interface SubscribeResponseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasInitial

        boolean hasInitial()
         Initial response on the stream.
         
        .google.cloud.pubsublite.v1.InitialSubscribeResponse initial = 1;
        Returns:
        Whether the initial field is set.
      • getInitial

        InitialSubscribeResponse getInitial()
         Initial response on the stream.
         
        .google.cloud.pubsublite.v1.InitialSubscribeResponse initial = 1;
        Returns:
        The initial.
      • getInitialOrBuilder

        InitialSubscribeResponseOrBuilder getInitialOrBuilder()
         Initial response on the stream.
         
        .google.cloud.pubsublite.v1.InitialSubscribeResponse initial = 1;
      • hasSeek

        boolean hasSeek()
         Response to a Seek operation.
         
        .google.cloud.pubsublite.v1.SeekResponse seek = 2;
        Returns:
        Whether the seek field is set.
      • getSeek

        SeekResponse getSeek()
         Response to a Seek operation.
         
        .google.cloud.pubsublite.v1.SeekResponse seek = 2;
        Returns:
        The seek.
      • getSeekOrBuilder

        SeekResponseOrBuilder getSeekOrBuilder()
         Response to a Seek operation.
         
        .google.cloud.pubsublite.v1.SeekResponse seek = 2;
      • hasMessages

        boolean hasMessages()
         Response containing messages from the topic partition.
         
        .google.cloud.pubsublite.v1.MessageResponse messages = 3;
        Returns:
        Whether the messages field is set.
      • getMessages

        MessageResponse getMessages()
         Response containing messages from the topic partition.
         
        .google.cloud.pubsublite.v1.MessageResponse messages = 3;
        Returns:
        The messages.
      • getMessagesOrBuilder

        MessageResponseOrBuilder getMessagesOrBuilder()
         Response containing messages from the topic partition.
         
        .google.cloud.pubsublite.v1.MessageResponse messages = 3;