Class Protocol.Command.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<Protocol.Command,Protocol.Command.Builder>
-
- io.github.centrifugal.centrifuge.internal.protocol.Protocol.Command.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Protocol.CommandOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Protocol.Command
public static final class Protocol.Command.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protocol.Command,Protocol.Command.Builder> implements Protocol.CommandOrBuilder
Command sent from a client to a server. ProtocolVersion1 uses id, method and params fields. ProtocolVersion2 uses id and one of the possible request messages.
Protobuf typecentrifugal.centrifuge.protocol.Command
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Protocol.Command.Builder
clearConnect()
ProtocolVersion2 client can send one of the following requests.Protocol.Command.Builder
clearHistory()
.centrifugal.centrifuge.protocol.HistoryRequest history = 10;
Protocol.Command.Builder
clearId()
Id of command to let client match replies to commands.Protocol.Command.Builder
clearMethod()
Method is used in ProtocolVersion1 only.Protocol.Command.Builder
clearParams()
Params is used in ProtocolVersion1 only.Protocol.Command.Builder
clearPing()
.centrifugal.centrifuge.protocol.PingRequest ping = 11;
Protocol.Command.Builder
clearPresence()
.centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
Protocol.Command.Builder
clearPresenceStats()
.centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
Protocol.Command.Builder
clearPublish()
.centrifugal.centrifuge.protocol.PublishRequest publish = 7;
Protocol.Command.Builder
clearRefresh()
.centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
Protocol.Command.Builder
clearRpc()
.centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
Protocol.Command.Builder
clearSend()
.centrifugal.centrifuge.protocol.SendRequest send = 12;
Protocol.Command.Builder
clearSubRefresh()
.centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
Protocol.Command.Builder
clearSubscribe()
.centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
Protocol.Command.Builder
clearUnsubscribe()
.centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
Protocol.ConnectRequest
getConnect()
ProtocolVersion2 client can send one of the following requests.Protocol.HistoryRequest
getHistory()
.centrifugal.centrifuge.protocol.HistoryRequest history = 10;
int
getId()
Id of command to let client match replies to commands.Protocol.Command.MethodType
getMethod()
Method is used in ProtocolVersion1 only.int
getMethodValue()
Method is used in ProtocolVersion1 only.com.google.protobuf.ByteString
getParams()
Params is used in ProtocolVersion1 only.Protocol.PingRequest
getPing()
.centrifugal.centrifuge.protocol.PingRequest ping = 11;
Protocol.PresenceRequest
getPresence()
.centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
Protocol.PresenceStatsRequest
getPresenceStats()
.centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
Protocol.PublishRequest
getPublish()
.centrifugal.centrifuge.protocol.PublishRequest publish = 7;
Protocol.RefreshRequest
getRefresh()
.centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
Protocol.RPCRequest
getRpc()
.centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
Protocol.SendRequest
getSend()
.centrifugal.centrifuge.protocol.SendRequest send = 12;
Protocol.SubRefreshRequest
getSubRefresh()
.centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
Protocol.SubscribeRequest
getSubscribe()
.centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
Protocol.UnsubscribeRequest
getUnsubscribe()
.centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
boolean
hasConnect()
ProtocolVersion2 client can send one of the following requests.boolean
hasHistory()
.centrifugal.centrifuge.protocol.HistoryRequest history = 10;
boolean
hasPing()
.centrifugal.centrifuge.protocol.PingRequest ping = 11;
boolean
hasPresence()
.centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
boolean
hasPresenceStats()
.centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
boolean
hasPublish()
.centrifugal.centrifuge.protocol.PublishRequest publish = 7;
boolean
hasRefresh()
.centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
boolean
hasRpc()
.centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
boolean
hasSend()
.centrifugal.centrifuge.protocol.SendRequest send = 12;
boolean
hasSubRefresh()
.centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
boolean
hasSubscribe()
.centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
boolean
hasUnsubscribe()
.centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
Protocol.Command.Builder
mergeConnect(Protocol.ConnectRequest value)
ProtocolVersion2 client can send one of the following requests.Protocol.Command.Builder
mergeHistory(Protocol.HistoryRequest value)
.centrifugal.centrifuge.protocol.HistoryRequest history = 10;
Protocol.Command.Builder
mergePing(Protocol.PingRequest value)
.centrifugal.centrifuge.protocol.PingRequest ping = 11;
Protocol.Command.Builder
mergePresence(Protocol.PresenceRequest value)
.centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
Protocol.Command.Builder
mergePresenceStats(Protocol.PresenceStatsRequest value)
.centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
Protocol.Command.Builder
mergePublish(Protocol.PublishRequest value)
.centrifugal.centrifuge.protocol.PublishRequest publish = 7;
Protocol.Command.Builder
mergeRefresh(Protocol.RefreshRequest value)
.centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
Protocol.Command.Builder
mergeRpc(Protocol.RPCRequest value)
.centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
Protocol.Command.Builder
mergeSend(Protocol.SendRequest value)
.centrifugal.centrifuge.protocol.SendRequest send = 12;
Protocol.Command.Builder
mergeSubRefresh(Protocol.SubRefreshRequest value)
.centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
Protocol.Command.Builder
mergeSubscribe(Protocol.SubscribeRequest value)
.centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
Protocol.Command.Builder
mergeUnsubscribe(Protocol.UnsubscribeRequest value)
.centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
Protocol.Command.Builder
setConnect(Protocol.ConnectRequest value)
ProtocolVersion2 client can send one of the following requests.Protocol.Command.Builder
setConnect(Protocol.ConnectRequest.Builder builderForValue)
ProtocolVersion2 client can send one of the following requests.Protocol.Command.Builder
setHistory(Protocol.HistoryRequest value)
.centrifugal.centrifuge.protocol.HistoryRequest history = 10;
Protocol.Command.Builder
setHistory(Protocol.HistoryRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.HistoryRequest history = 10;
Protocol.Command.Builder
setId(int value)
Id of command to let client match replies to commands.Protocol.Command.Builder
setMethod(Protocol.Command.MethodType value)
Method is used in ProtocolVersion1 only.Protocol.Command.Builder
setMethodValue(int value)
Method is used in ProtocolVersion1 only.Protocol.Command.Builder
setParams(com.google.protobuf.ByteString value)
Params is used in ProtocolVersion1 only.Protocol.Command.Builder
setPing(Protocol.PingRequest value)
.centrifugal.centrifuge.protocol.PingRequest ping = 11;
Protocol.Command.Builder
setPing(Protocol.PingRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.PingRequest ping = 11;
Protocol.Command.Builder
setPresence(Protocol.PresenceRequest value)
.centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
Protocol.Command.Builder
setPresence(Protocol.PresenceRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
Protocol.Command.Builder
setPresenceStats(Protocol.PresenceStatsRequest value)
.centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
Protocol.Command.Builder
setPresenceStats(Protocol.PresenceStatsRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
Protocol.Command.Builder
setPublish(Protocol.PublishRequest value)
.centrifugal.centrifuge.protocol.PublishRequest publish = 7;
Protocol.Command.Builder
setPublish(Protocol.PublishRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.PublishRequest publish = 7;
Protocol.Command.Builder
setRefresh(Protocol.RefreshRequest value)
.centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
Protocol.Command.Builder
setRefresh(Protocol.RefreshRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
Protocol.Command.Builder
setRpc(Protocol.RPCRequest value)
.centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
Protocol.Command.Builder
setRpc(Protocol.RPCRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
Protocol.Command.Builder
setSend(Protocol.SendRequest value)
.centrifugal.centrifuge.protocol.SendRequest send = 12;
Protocol.Command.Builder
setSend(Protocol.SendRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.SendRequest send = 12;
Protocol.Command.Builder
setSubRefresh(Protocol.SubRefreshRequest value)
.centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
Protocol.Command.Builder
setSubRefresh(Protocol.SubRefreshRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
Protocol.Command.Builder
setSubscribe(Protocol.SubscribeRequest value)
.centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
Protocol.Command.Builder
setSubscribe(Protocol.SubscribeRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
Protocol.Command.Builder
setUnsubscribe(Protocol.UnsubscribeRequest value)
.centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
Protocol.Command.Builder
setUnsubscribe(Protocol.UnsubscribeRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getId
public int getId()
Id of command to let client match replies to commands.
uint32 id = 1;
- Specified by:
getId
in interfaceProtocol.CommandOrBuilder
- Returns:
- The id.
-
setId
public Protocol.Command.Builder setId(int value)
Id of command to let client match replies to commands.
uint32 id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Protocol.Command.Builder clearId()
Id of command to let client match replies to commands.
uint32 id = 1;
- Returns:
- This builder for chaining.
-
getMethodValue
public int getMethodValue()
Method is used in ProtocolVersion1 only.
.centrifugal.centrifuge.protocol.Command.MethodType method = 2;
- Specified by:
getMethodValue
in interfaceProtocol.CommandOrBuilder
- Returns:
- The enum numeric value on the wire for method.
-
setMethodValue
public Protocol.Command.Builder setMethodValue(int value)
Method is used in ProtocolVersion1 only.
.centrifugal.centrifuge.protocol.Command.MethodType method = 2;
- Parameters:
value
- The method to set.- Returns:
- This builder for chaining.
-
getMethod
public Protocol.Command.MethodType getMethod()
Method is used in ProtocolVersion1 only.
.centrifugal.centrifuge.protocol.Command.MethodType method = 2;
- Specified by:
getMethod
in interfaceProtocol.CommandOrBuilder
- Returns:
- The method.
-
setMethod
public Protocol.Command.Builder setMethod(Protocol.Command.MethodType value)
Method is used in ProtocolVersion1 only.
.centrifugal.centrifuge.protocol.Command.MethodType method = 2;
- Parameters:
value
- The enum numeric value on the wire for method to set.- Returns:
- This builder for chaining.
-
clearMethod
public Protocol.Command.Builder clearMethod()
Method is used in ProtocolVersion1 only.
.centrifugal.centrifuge.protocol.Command.MethodType method = 2;
- Returns:
- This builder for chaining.
-
getParams
public com.google.protobuf.ByteString getParams()
Params is used in ProtocolVersion1 only.
bytes params = 3;
- Specified by:
getParams
in interfaceProtocol.CommandOrBuilder
- Returns:
- The params.
-
setParams
public Protocol.Command.Builder setParams(com.google.protobuf.ByteString value)
Params is used in ProtocolVersion1 only.
bytes params = 3;
- Parameters:
value
- The params to set.- Returns:
- This builder for chaining.
-
clearParams
public Protocol.Command.Builder clearParams()
Params is used in ProtocolVersion1 only.
bytes params = 3;
- Returns:
- This builder for chaining.
-
hasConnect
public boolean hasConnect()
ProtocolVersion2 client can send one of the following requests. Server will only take the first non-null request out of these and may return an error if client passed more than one request. We are not using oneof here due to JSON interoperability concerns.
.centrifugal.centrifuge.protocol.ConnectRequest connect = 4;
- Specified by:
hasConnect
in interfaceProtocol.CommandOrBuilder
- Returns:
- Whether the connect field is set.
-
getConnect
public Protocol.ConnectRequest getConnect()
ProtocolVersion2 client can send one of the following requests. Server will only take the first non-null request out of these and may return an error if client passed more than one request. We are not using oneof here due to JSON interoperability concerns.
.centrifugal.centrifuge.protocol.ConnectRequest connect = 4;
- Specified by:
getConnect
in interfaceProtocol.CommandOrBuilder
- Returns:
- The connect.
-
setConnect
public Protocol.Command.Builder setConnect(Protocol.ConnectRequest value)
ProtocolVersion2 client can send one of the following requests. Server will only take the first non-null request out of these and may return an error if client passed more than one request. We are not using oneof here due to JSON interoperability concerns.
.centrifugal.centrifuge.protocol.ConnectRequest connect = 4;
-
setConnect
public Protocol.Command.Builder setConnect(Protocol.ConnectRequest.Builder builderForValue)
ProtocolVersion2 client can send one of the following requests. Server will only take the first non-null request out of these and may return an error if client passed more than one request. We are not using oneof here due to JSON interoperability concerns.
.centrifugal.centrifuge.protocol.ConnectRequest connect = 4;
-
mergeConnect
public Protocol.Command.Builder mergeConnect(Protocol.ConnectRequest value)
ProtocolVersion2 client can send one of the following requests. Server will only take the first non-null request out of these and may return an error if client passed more than one request. We are not using oneof here due to JSON interoperability concerns.
.centrifugal.centrifuge.protocol.ConnectRequest connect = 4;
-
clearConnect
public Protocol.Command.Builder clearConnect()
ProtocolVersion2 client can send one of the following requests. Server will only take the first non-null request out of these and may return an error if client passed more than one request. We are not using oneof here due to JSON interoperability concerns.
.centrifugal.centrifuge.protocol.ConnectRequest connect = 4;
-
hasSubscribe
public boolean hasSubscribe()
.centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
- Specified by:
hasSubscribe
in interfaceProtocol.CommandOrBuilder
- Returns:
- Whether the subscribe field is set.
-
getSubscribe
public Protocol.SubscribeRequest getSubscribe()
.centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
- Specified by:
getSubscribe
in interfaceProtocol.CommandOrBuilder
- Returns:
- The subscribe.
-
setSubscribe
public Protocol.Command.Builder setSubscribe(Protocol.SubscribeRequest value)
.centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
-
setSubscribe
public Protocol.Command.Builder setSubscribe(Protocol.SubscribeRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
-
mergeSubscribe
public Protocol.Command.Builder mergeSubscribe(Protocol.SubscribeRequest value)
.centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
-
clearSubscribe
public Protocol.Command.Builder clearSubscribe()
.centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
-
hasUnsubscribe
public boolean hasUnsubscribe()
.centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
- Specified by:
hasUnsubscribe
in interfaceProtocol.CommandOrBuilder
- Returns:
- Whether the unsubscribe field is set.
-
getUnsubscribe
public Protocol.UnsubscribeRequest getUnsubscribe()
.centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
- Specified by:
getUnsubscribe
in interfaceProtocol.CommandOrBuilder
- Returns:
- The unsubscribe.
-
setUnsubscribe
public Protocol.Command.Builder setUnsubscribe(Protocol.UnsubscribeRequest value)
.centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
-
setUnsubscribe
public Protocol.Command.Builder setUnsubscribe(Protocol.UnsubscribeRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
-
mergeUnsubscribe
public Protocol.Command.Builder mergeUnsubscribe(Protocol.UnsubscribeRequest value)
.centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
-
clearUnsubscribe
public Protocol.Command.Builder clearUnsubscribe()
.centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
-
hasPublish
public boolean hasPublish()
.centrifugal.centrifuge.protocol.PublishRequest publish = 7;
- Specified by:
hasPublish
in interfaceProtocol.CommandOrBuilder
- Returns:
- Whether the publish field is set.
-
getPublish
public Protocol.PublishRequest getPublish()
.centrifugal.centrifuge.protocol.PublishRequest publish = 7;
- Specified by:
getPublish
in interfaceProtocol.CommandOrBuilder
- Returns:
- The publish.
-
setPublish
public Protocol.Command.Builder setPublish(Protocol.PublishRequest value)
.centrifugal.centrifuge.protocol.PublishRequest publish = 7;
-
setPublish
public Protocol.Command.Builder setPublish(Protocol.PublishRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.PublishRequest publish = 7;
-
mergePublish
public Protocol.Command.Builder mergePublish(Protocol.PublishRequest value)
.centrifugal.centrifuge.protocol.PublishRequest publish = 7;
-
clearPublish
public Protocol.Command.Builder clearPublish()
.centrifugal.centrifuge.protocol.PublishRequest publish = 7;
-
hasPresence
public boolean hasPresence()
.centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
- Specified by:
hasPresence
in interfaceProtocol.CommandOrBuilder
- Returns:
- Whether the presence field is set.
-
getPresence
public Protocol.PresenceRequest getPresence()
.centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
- Specified by:
getPresence
in interfaceProtocol.CommandOrBuilder
- Returns:
- The presence.
-
setPresence
public Protocol.Command.Builder setPresence(Protocol.PresenceRequest value)
.centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
-
setPresence
public Protocol.Command.Builder setPresence(Protocol.PresenceRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
-
mergePresence
public Protocol.Command.Builder mergePresence(Protocol.PresenceRequest value)
.centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
-
clearPresence
public Protocol.Command.Builder clearPresence()
.centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
-
hasPresenceStats
public boolean hasPresenceStats()
.centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
- Specified by:
hasPresenceStats
in interfaceProtocol.CommandOrBuilder
- Returns:
- Whether the presenceStats field is set.
-
getPresenceStats
public Protocol.PresenceStatsRequest getPresenceStats()
.centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
- Specified by:
getPresenceStats
in interfaceProtocol.CommandOrBuilder
- Returns:
- The presenceStats.
-
setPresenceStats
public Protocol.Command.Builder setPresenceStats(Protocol.PresenceStatsRequest value)
.centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
-
setPresenceStats
public Protocol.Command.Builder setPresenceStats(Protocol.PresenceStatsRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
-
mergePresenceStats
public Protocol.Command.Builder mergePresenceStats(Protocol.PresenceStatsRequest value)
.centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
-
clearPresenceStats
public Protocol.Command.Builder clearPresenceStats()
.centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
-
hasHistory
public boolean hasHistory()
.centrifugal.centrifuge.protocol.HistoryRequest history = 10;
- Specified by:
hasHistory
in interfaceProtocol.CommandOrBuilder
- Returns:
- Whether the history field is set.
-
getHistory
public Protocol.HistoryRequest getHistory()
.centrifugal.centrifuge.protocol.HistoryRequest history = 10;
- Specified by:
getHistory
in interfaceProtocol.CommandOrBuilder
- Returns:
- The history.
-
setHistory
public Protocol.Command.Builder setHistory(Protocol.HistoryRequest value)
.centrifugal.centrifuge.protocol.HistoryRequest history = 10;
-
setHistory
public Protocol.Command.Builder setHistory(Protocol.HistoryRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.HistoryRequest history = 10;
-
mergeHistory
public Protocol.Command.Builder mergeHistory(Protocol.HistoryRequest value)
.centrifugal.centrifuge.protocol.HistoryRequest history = 10;
-
clearHistory
public Protocol.Command.Builder clearHistory()
.centrifugal.centrifuge.protocol.HistoryRequest history = 10;
-
hasPing
public boolean hasPing()
.centrifugal.centrifuge.protocol.PingRequest ping = 11;
- Specified by:
hasPing
in interfaceProtocol.CommandOrBuilder
- Returns:
- Whether the ping field is set.
-
getPing
public Protocol.PingRequest getPing()
.centrifugal.centrifuge.protocol.PingRequest ping = 11;
- Specified by:
getPing
in interfaceProtocol.CommandOrBuilder
- Returns:
- The ping.
-
setPing
public Protocol.Command.Builder setPing(Protocol.PingRequest value)
.centrifugal.centrifuge.protocol.PingRequest ping = 11;
-
setPing
public Protocol.Command.Builder setPing(Protocol.PingRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.PingRequest ping = 11;
-
mergePing
public Protocol.Command.Builder mergePing(Protocol.PingRequest value)
.centrifugal.centrifuge.protocol.PingRequest ping = 11;
-
clearPing
public Protocol.Command.Builder clearPing()
.centrifugal.centrifuge.protocol.PingRequest ping = 11;
-
hasSend
public boolean hasSend()
.centrifugal.centrifuge.protocol.SendRequest send = 12;
- Specified by:
hasSend
in interfaceProtocol.CommandOrBuilder
- Returns:
- Whether the send field is set.
-
getSend
public Protocol.SendRequest getSend()
.centrifugal.centrifuge.protocol.SendRequest send = 12;
- Specified by:
getSend
in interfaceProtocol.CommandOrBuilder
- Returns:
- The send.
-
setSend
public Protocol.Command.Builder setSend(Protocol.SendRequest value)
.centrifugal.centrifuge.protocol.SendRequest send = 12;
-
setSend
public Protocol.Command.Builder setSend(Protocol.SendRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.SendRequest send = 12;
-
mergeSend
public Protocol.Command.Builder mergeSend(Protocol.SendRequest value)
.centrifugal.centrifuge.protocol.SendRequest send = 12;
-
clearSend
public Protocol.Command.Builder clearSend()
.centrifugal.centrifuge.protocol.SendRequest send = 12;
-
hasRpc
public boolean hasRpc()
.centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
- Specified by:
hasRpc
in interfaceProtocol.CommandOrBuilder
- Returns:
- Whether the rpc field is set.
-
getRpc
public Protocol.RPCRequest getRpc()
.centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
- Specified by:
getRpc
in interfaceProtocol.CommandOrBuilder
- Returns:
- The rpc.
-
setRpc
public Protocol.Command.Builder setRpc(Protocol.RPCRequest value)
.centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
-
setRpc
public Protocol.Command.Builder setRpc(Protocol.RPCRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
-
mergeRpc
public Protocol.Command.Builder mergeRpc(Protocol.RPCRequest value)
.centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
-
clearRpc
public Protocol.Command.Builder clearRpc()
.centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
-
hasRefresh
public boolean hasRefresh()
.centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
- Specified by:
hasRefresh
in interfaceProtocol.CommandOrBuilder
- Returns:
- Whether the refresh field is set.
-
getRefresh
public Protocol.RefreshRequest getRefresh()
.centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
- Specified by:
getRefresh
in interfaceProtocol.CommandOrBuilder
- Returns:
- The refresh.
-
setRefresh
public Protocol.Command.Builder setRefresh(Protocol.RefreshRequest value)
.centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
-
setRefresh
public Protocol.Command.Builder setRefresh(Protocol.RefreshRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
-
mergeRefresh
public Protocol.Command.Builder mergeRefresh(Protocol.RefreshRequest value)
.centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
-
clearRefresh
public Protocol.Command.Builder clearRefresh()
.centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
-
hasSubRefresh
public boolean hasSubRefresh()
.centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
- Specified by:
hasSubRefresh
in interfaceProtocol.CommandOrBuilder
- Returns:
- Whether the subRefresh field is set.
-
getSubRefresh
public Protocol.SubRefreshRequest getSubRefresh()
.centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
- Specified by:
getSubRefresh
in interfaceProtocol.CommandOrBuilder
- Returns:
- The subRefresh.
-
setSubRefresh
public Protocol.Command.Builder setSubRefresh(Protocol.SubRefreshRequest value)
.centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
-
setSubRefresh
public Protocol.Command.Builder setSubRefresh(Protocol.SubRefreshRequest.Builder builderForValue)
.centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
-
mergeSubRefresh
public Protocol.Command.Builder mergeSubRefresh(Protocol.SubRefreshRequest value)
.centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
-
clearSubRefresh
public Protocol.Command.Builder clearSubRefresh()
.centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
-
-