Interface Protocol.ReplyOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder
    All Known Implementing Classes:
    Protocol.Reply, Protocol.Reply.Builder
    Enclosing class:
    Protocol

    public static interface Protocol.ReplyOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Detail

      • getId

        int getId()
         Id will only be set to a value > 0 for replies to commands. For pushes
         it will have zero value.
         
        uint32 id = 1;
        Returns:
        The id.
      • hasError

        boolean hasError()
         Error can only be set in replies to commands. For pushes it will have zero value.
         
        .centrifugal.centrifuge.protocol.Error error = 2;
        Returns:
        Whether the error field is set.
      • getError

        Protocol.Error getError()
         Error can only be set in replies to commands. For pushes it will have zero value.
         
        .centrifugal.centrifuge.protocol.Error error = 2;
        Returns:
        The error.
      • hasPush

        boolean hasPush()
         ProtocolVersion2 server can send one of the following fields. We are not using
         oneof here due to JSON interoperability concerns.
         
        .centrifugal.centrifuge.protocol.Push push = 4;
        Returns:
        Whether the push field is set.
      • getPush

        Protocol.Push getPush()
         ProtocolVersion2 server can send one of the following fields. We are not using
         oneof here due to JSON interoperability concerns.
         
        .centrifugal.centrifuge.protocol.Push push = 4;
        Returns:
        The push.
      • hasConnect

        boolean hasConnect()
        .centrifugal.centrifuge.protocol.ConnectResult connect = 5;
        Returns:
        Whether the connect field is set.
      • getConnect

        Protocol.ConnectResult getConnect()
        .centrifugal.centrifuge.protocol.ConnectResult connect = 5;
        Returns:
        The connect.
      • hasSubscribe

        boolean hasSubscribe()
        .centrifugal.centrifuge.protocol.SubscribeResult subscribe = 6;
        Returns:
        Whether the subscribe field is set.
      • getSubscribe

        Protocol.SubscribeResult getSubscribe()
        .centrifugal.centrifuge.protocol.SubscribeResult subscribe = 6;
        Returns:
        The subscribe.
      • hasUnsubscribe

        boolean hasUnsubscribe()
        .centrifugal.centrifuge.protocol.UnsubscribeResult unsubscribe = 7;
        Returns:
        Whether the unsubscribe field is set.
      • getUnsubscribe

        Protocol.UnsubscribeResult getUnsubscribe()
        .centrifugal.centrifuge.protocol.UnsubscribeResult unsubscribe = 7;
        Returns:
        The unsubscribe.
      • hasPublish

        boolean hasPublish()
        .centrifugal.centrifuge.protocol.PublishResult publish = 8;
        Returns:
        Whether the publish field is set.
      • getPublish

        Protocol.PublishResult getPublish()
        .centrifugal.centrifuge.protocol.PublishResult publish = 8;
        Returns:
        The publish.
      • hasPresence

        boolean hasPresence()
        .centrifugal.centrifuge.protocol.PresenceResult presence = 9;
        Returns:
        Whether the presence field is set.
      • getPresence

        Protocol.PresenceResult getPresence()
        .centrifugal.centrifuge.protocol.PresenceResult presence = 9;
        Returns:
        The presence.
      • hasPresenceStats

        boolean hasPresenceStats()
        .centrifugal.centrifuge.protocol.PresenceStatsResult presence_stats = 10;
        Returns:
        Whether the presenceStats field is set.
      • getPresenceStats

        Protocol.PresenceStatsResult getPresenceStats()
        .centrifugal.centrifuge.protocol.PresenceStatsResult presence_stats = 10;
        Returns:
        The presenceStats.
      • hasHistory

        boolean hasHistory()
        .centrifugal.centrifuge.protocol.HistoryResult history = 11;
        Returns:
        Whether the history field is set.
      • getHistory

        Protocol.HistoryResult getHistory()
        .centrifugal.centrifuge.protocol.HistoryResult history = 11;
        Returns:
        The history.
      • hasPing

        boolean hasPing()
        .centrifugal.centrifuge.protocol.PingResult ping = 12;
        Returns:
        Whether the ping field is set.
      • getPing

        Protocol.PingResult getPing()
        .centrifugal.centrifuge.protocol.PingResult ping = 12;
        Returns:
        The ping.
      • hasRpc

        boolean hasRpc()
        .centrifugal.centrifuge.protocol.RPCResult rpc = 13;
        Returns:
        Whether the rpc field is set.
      • getRpc

        Protocol.RPCResult getRpc()
        .centrifugal.centrifuge.protocol.RPCResult rpc = 13;
        Returns:
        The rpc.
      • hasRefresh

        boolean hasRefresh()
        .centrifugal.centrifuge.protocol.RefreshResult refresh = 14;
        Returns:
        Whether the refresh field is set.
      • getRefresh

        Protocol.RefreshResult getRefresh()
        .centrifugal.centrifuge.protocol.RefreshResult refresh = 14;
        Returns:
        The refresh.
      • hasSubRefresh

        boolean hasSubRefresh()
        .centrifugal.centrifuge.protocol.SubRefreshResult sub_refresh = 15;
        Returns:
        Whether the subRefresh field is set.
      • getSubRefresh

        Protocol.SubRefreshResult getSubRefresh()
        .centrifugal.centrifuge.protocol.SubRefreshResult sub_refresh = 15;
        Returns:
        The subRefresh.