Class Protocol.SubscribeRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite<Protocol.SubscribeRequest,Protocol.SubscribeRequest.Builder>
com.google.protobuf.GeneratedMessageLite<Protocol.SubscribeRequest,Protocol.SubscribeRequest.Builder>
io.github.centrifugal.centrifuge.internal.protocol.Protocol.SubscribeRequest
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Protocol.SubscribeRequestOrBuilder
- Enclosing class:
Protocol
public static final class Protocol.SubscribeRequest
extends com.google.protobuf.GeneratedMessageLite<Protocol.SubscribeRequest,Protocol.SubscribeRequest.Builder>
implements Protocol.SubscribeRequestOrBuilder
Protobuf type
centrifugal.centrifuge.protocol.SubscribeRequest-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typecentrifugal.centrifuge.protocol.SubscribeRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) string channel = 1;com.google.protobuf.ByteStringstring channel = 1;com.google.protobuf.ByteStringgetData()bytes data = 8;static Protocol.SubscribeRequestgetDelta()string delta = 12;com.google.protobuf.ByteStringstring delta = 12;getEpoch()string epoch = 6;com.google.protobuf.ByteStringstring epoch = 6;booleanbool join_leave = 11;longuint64 offset = 7;booleanbool positioned = 9;booleanbool recover = 3;booleanbool recoverable = 10;getToken()string token = 2;com.google.protobuf.ByteStringstring token = 2;newBuilder(Protocol.SubscribeRequest prototype) static Protocol.SubscribeRequestparseDelimitedFrom(InputStream input) static Protocol.SubscribeRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protocol.SubscribeRequestparseFrom(byte[] data) static Protocol.SubscribeRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protocol.SubscribeRequestparseFrom(com.google.protobuf.ByteString data) static Protocol.SubscribeRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protocol.SubscribeRequestparseFrom(com.google.protobuf.CodedInputStream input) static Protocol.SubscribeRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protocol.SubscribeRequestparseFrom(InputStream input) static Protocol.SubscribeRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protocol.SubscribeRequestparseFrom(ByteBuffer data) static Protocol.SubscribeRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Protocol.SubscribeRequest> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
CHANNEL_FIELD_NUMBER
public static final int CHANNEL_FIELD_NUMBER- See Also:
-
TOKEN_FIELD_NUMBER
public static final int TOKEN_FIELD_NUMBER- See Also:
-
RECOVER_FIELD_NUMBER
public static final int RECOVER_FIELD_NUMBER- See Also:
-
EPOCH_FIELD_NUMBER
public static final int EPOCH_FIELD_NUMBER- See Also:
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER- See Also:
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER- See Also:
-
POSITIONED_FIELD_NUMBER
public static final int POSITIONED_FIELD_NUMBER- See Also:
-
RECOVERABLE_FIELD_NUMBER
public static final int RECOVERABLE_FIELD_NUMBER- See Also:
-
JOIN_LEAVE_FIELD_NUMBER
public static final int JOIN_LEAVE_FIELD_NUMBER- See Also:
-
DELTA_FIELD_NUMBER
public static final int DELTA_FIELD_NUMBER- See Also:
-
-
Method Details
-
getChannel
string channel = 1;- Specified by:
getChannelin interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The channel.
-
getChannelBytes
public com.google.protobuf.ByteString getChannelBytes()string channel = 1;- Specified by:
getChannelBytesin interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The bytes for channel.
-
getToken
string token = 2;- Specified by:
getTokenin interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The token.
-
getTokenBytes
public com.google.protobuf.ByteString getTokenBytes()string token = 2;- Specified by:
getTokenBytesin interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The bytes for token.
-
getRecover
public boolean getRecover()bool recover = 3;- Specified by:
getRecoverin interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The recover.
-
getEpoch
string epoch = 6;- Specified by:
getEpochin interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The epoch.
-
getEpochBytes
public com.google.protobuf.ByteString getEpochBytes()string epoch = 6;- Specified by:
getEpochBytesin interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The bytes for epoch.
-
getOffset
public long getOffset()uint64 offset = 7;- Specified by:
getOffsetin interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The offset.
-
getData
public com.google.protobuf.ByteString getData()bytes data = 8;- Specified by:
getDatain interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The data.
-
getPositioned
public boolean getPositioned()bool positioned = 9;- Specified by:
getPositionedin interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The positioned.
-
getRecoverable
public boolean getRecoverable()bool recoverable = 10;- Specified by:
getRecoverablein interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The recoverable.
-
getJoinLeave
public boolean getJoinLeave()bool join_leave = 11;- Specified by:
getJoinLeavein interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The joinLeave.
-
getDelta
string delta = 12;- Specified by:
getDeltain interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The delta.
-
getDeltaBytes
public com.google.protobuf.ByteString getDeltaBytes()string delta = 12;- Specified by:
getDeltaBytesin interfaceProtocol.SubscribeRequestOrBuilder- Returns:
- The bytes for delta.
-
parseFrom
public static Protocol.SubscribeRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.SubscribeRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.SubscribeRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.SubscribeRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.SubscribeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.SubscribeRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Protocol.SubscribeRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Protocol.SubscribeRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Protocol.SubscribeRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Protocol.SubscribeRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Protocol.SubscribeRequest,Protocol.SubscribeRequest.Builder>
-
getDefaultInstance
-
parser
-