Class Protocol.HistoryRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Protocol.HistoryRequest,Protocol.HistoryRequest.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Protocol.HistoryRequest,Protocol.HistoryRequest.Builder>
io.github.centrifugal.centrifuge.internal.protocol.Protocol.HistoryRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Protocol.HistoryRequestOrBuilder,Cloneable
- Enclosing class:
Protocol.HistoryRequest
public static final class Protocol.HistoryRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Protocol.HistoryRequest,Protocol.HistoryRequest.Builder>
implements Protocol.HistoryRequestOrBuilder
Protobuf type
centrifugal.centrifuge.protocol.HistoryRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionstring channel = 1;int32 limit = 7;bool reverse = 9;.centrifugal.centrifuge.protocol.StreamPosition since = 8;string channel = 1;com.google.protobuf.ByteStringstring channel = 1;intgetLimit()int32 limit = 7;booleanbool reverse = 9;getSince().centrifugal.centrifuge.protocol.StreamPosition since = 8;booleanhasSince().centrifugal.centrifuge.protocol.StreamPosition since = 8;.centrifugal.centrifuge.protocol.StreamPosition since = 8;setChannel(String value) string channel = 1;setChannelBytes(com.google.protobuf.ByteString value) string channel = 1;setLimit(int value) int32 limit = 7;setReverse(boolean value) bool reverse = 9;setSince(Protocol.StreamPosition value) .centrifugal.centrifuge.protocol.StreamPosition since = 8;setSince(Protocol.StreamPosition.Builder builderForValue) .centrifugal.centrifuge.protocol.StreamPosition since = 8;Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getChannel
string channel = 1;- Specified by:
getChannelin interfaceProtocol.HistoryRequestOrBuilder- Returns:
- The channel.
-
getChannelBytes
public com.google.protobuf.ByteString getChannelBytes()string channel = 1;- Specified by:
getChannelBytesin interfaceProtocol.HistoryRequestOrBuilder- Returns:
- The bytes for channel.
-
setChannel
string channel = 1;- Parameters:
value- The channel to set.- Returns:
- This builder for chaining.
-
clearChannel
string channel = 1;- Returns:
- This builder for chaining.
-
setChannelBytes
string channel = 1;- Parameters:
value- The bytes for channel to set.- Returns:
- This builder for chaining.
-
getLimit
public int getLimit()int32 limit = 7;- Specified by:
getLimitin interfaceProtocol.HistoryRequestOrBuilder- Returns:
- The limit.
-
setLimit
int32 limit = 7;- Parameters:
value- The limit to set.- Returns:
- This builder for chaining.
-
clearLimit
int32 limit = 7;- Returns:
- This builder for chaining.
-
hasSince
public boolean hasSince().centrifugal.centrifuge.protocol.StreamPosition since = 8;- Specified by:
hasSincein interfaceProtocol.HistoryRequestOrBuilder- Returns:
- Whether the since field is set.
-
getSince
.centrifugal.centrifuge.protocol.StreamPosition since = 8;- Specified by:
getSincein interfaceProtocol.HistoryRequestOrBuilder- Returns:
- The since.
-
setSince
.centrifugal.centrifuge.protocol.StreamPosition since = 8; -
setSince
.centrifugal.centrifuge.protocol.StreamPosition since = 8; -
mergeSince
.centrifugal.centrifuge.protocol.StreamPosition since = 8; -
clearSince
.centrifugal.centrifuge.protocol.StreamPosition since = 8; -
getReverse
public boolean getReverse()bool reverse = 9;- Specified by:
getReversein interfaceProtocol.HistoryRequestOrBuilder- Returns:
- The reverse.
-
setReverse
bool reverse = 9;- Parameters:
value- The reverse to set.- Returns:
- This builder for chaining.
-
clearReverse
bool reverse = 9;- Returns:
- This builder for chaining.
-