Class Protocol.Push.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance, isBuilt
    • Method Detail

      • getTypeValue

        public int getTypeValue()
        .centrifugal.centrifuge.protocol.Push.PushType type = 1;
        Specified by:
        getTypeValue in interface Protocol.PushOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public Protocol.Push.Builder setTypeValue​(int value)
        .centrifugal.centrifuge.protocol.Push.PushType type = 1;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • setType

        public Protocol.Push.Builder setType​(Protocol.Push.PushType value)
        .centrifugal.centrifuge.protocol.Push.PushType type = 1;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Protocol.Push.Builder clearType()
        .centrifugal.centrifuge.protocol.Push.PushType type = 1;
        Returns:
        This builder for chaining.
      • getChannelBytes

        public com.google.protobuf.ByteString getChannelBytes()
        string channel = 2;
        Specified by:
        getChannelBytes in interface Protocol.PushOrBuilder
        Returns:
        The bytes for channel.
      • setChannel

        public Protocol.Push.Builder setChannel​(java.lang.String value)
        string channel = 2;
        Parameters:
        value - The channel to set.
        Returns:
        This builder for chaining.
      • clearChannel

        public Protocol.Push.Builder clearChannel()
        string channel = 2;
        Returns:
        This builder for chaining.
      • setChannelBytes

        public Protocol.Push.Builder setChannelBytes​(com.google.protobuf.ByteString value)
        string channel = 2;
        Parameters:
        value - The bytes for channel to set.
        Returns:
        This builder for chaining.
      • getData

        public com.google.protobuf.ByteString getData()
        bytes data = 3;
        Specified by:
        getData in interface Protocol.PushOrBuilder
        Returns:
        The data.
      • setData

        public Protocol.Push.Builder setData​(com.google.protobuf.ByteString value)
        bytes data = 3;
        Parameters:
        value - The data to set.
        Returns:
        This builder for chaining.
      • clearData

        public Protocol.Push.Builder clearData()
        bytes data = 3;
        Returns:
        This builder for chaining.