Class Protocol.HistoryRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
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
protocol.HistoryRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance, isBuilt
-
Method Summary
Modifier and TypeMethodDescriptionstring channel = 1;
string epoch = 4;
int32 limit = 6;
uint64 offset = 3;
bool use_limit = 5;
bool use_since = 2;
string channel = 1;
com.google.protobuf.ByteString
string channel = 1;
getEpoch()
string epoch = 4;
com.google.protobuf.ByteString
string epoch = 4;
int
getLimit()
int32 limit = 6;
long
uint64 offset = 3;
boolean
bool use_limit = 5;
boolean
bool use_since = 2;
setChannel(String value)
string channel = 1;
setChannelBytes(com.google.protobuf.ByteString value)
string channel = 1;
string epoch = 4;
setEpochBytes(com.google.protobuf.ByteString value)
string epoch = 4;
setLimit(int value)
int32 limit = 6;
setOffset(long value)
uint64 offset = 3;
setUseLimit(boolean value)
bool use_limit = 5;
setUseSince(boolean value)
bool use_since = 2;
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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getChannel
string channel = 1;
- Specified by:
getChannel
in interfaceProtocol.HistoryRequestOrBuilder
- Returns:
- The channel.
-
getChannelBytes
public com.google.protobuf.ByteString getChannelBytes()string channel = 1;
- Specified by:
getChannelBytes
in 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.
-
getUseSince
public boolean getUseSince()bool use_since = 2;
- Specified by:
getUseSince
in interfaceProtocol.HistoryRequestOrBuilder
- Returns:
- The useSince.
-
setUseSince
bool use_since = 2;
- Parameters:
value
- The useSince to set.- Returns:
- This builder for chaining.
-
clearUseSince
bool use_since = 2;
- Returns:
- This builder for chaining.
-
getOffset
public long getOffset()uint64 offset = 3;
- Specified by:
getOffset
in interfaceProtocol.HistoryRequestOrBuilder
- Returns:
- The offset.
-
setOffset
uint64 offset = 3;
- Parameters:
value
- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
uint64 offset = 3;
- Returns:
- This builder for chaining.
-
getEpoch
string epoch = 4;
- Specified by:
getEpoch
in interfaceProtocol.HistoryRequestOrBuilder
- Returns:
- The epoch.
-
getEpochBytes
public com.google.protobuf.ByteString getEpochBytes()string epoch = 4;
- Specified by:
getEpochBytes
in interfaceProtocol.HistoryRequestOrBuilder
- Returns:
- The bytes for epoch.
-
setEpoch
string epoch = 4;
- Parameters:
value
- The epoch to set.- Returns:
- This builder for chaining.
-
clearEpoch
string epoch = 4;
- Returns:
- This builder for chaining.
-
setEpochBytes
string epoch = 4;
- Parameters:
value
- The bytes for epoch to set.- Returns:
- This builder for chaining.
-
getUseLimit
public boolean getUseLimit()bool use_limit = 5;
- Specified by:
getUseLimit
in interfaceProtocol.HistoryRequestOrBuilder
- Returns:
- The useLimit.
-
setUseLimit
bool use_limit = 5;
- Parameters:
value
- The useLimit to set.- Returns:
- This builder for chaining.
-
clearUseLimit
bool use_limit = 5;
- Returns:
- This builder for chaining.
-
getLimit
public int getLimit()int32 limit = 6;
- Specified by:
getLimit
in interfaceProtocol.HistoryRequestOrBuilder
- Returns:
- The limit.
-
setLimit
int32 limit = 6;
- Parameters:
value
- The limit to set.- Returns:
- This builder for chaining.
-
clearLimit
int32 limit = 6;
- Returns:
- This builder for chaining.
-