Class Protocol.Subscribe
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Protocol.Subscribe,Protocol.Subscribe.Builder>
io.github.centrifugal.centrifuge.internal.protocol.Protocol.Subscribe
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Protocol.SubscribeOrBuilder
- Enclosing class:
- Protocol
public static final class Protocol.Subscribe
extends com.google.protobuf.GeneratedMessageLite<Protocol.Subscribe,Protocol.Subscribe.Builder>
implements Protocol.SubscribeOrBuilder
Protobuf type
protocol.Subscribe
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Protobuf typeprotocol.Subscribe
Nested 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 extends Object>, 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 int
static int
static int
static int
static int
static int
static int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
memoizedSerializedSize, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
com.google.protobuf.ByteString
getData()
bytes data = 7;
static Protocol.Subscribe
getEpoch()
string epoch = 4;
com.google.protobuf.ByteString
string epoch = 4;
int
getGen()
uint32 gen = 3;
long
uint64 offset = 5;
boolean
bool positioned = 6;
boolean
bool recoverable = 1;
int
getSeq()
uint32 seq = 2;
static Protocol.Subscribe.Builder
static Protocol.Subscribe.Builder
newBuilder(Protocol.Subscribe prototype)
static Protocol.Subscribe
parseDelimitedFrom(InputStream input)
static Protocol.Subscribe
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Subscribe
parseFrom(byte[] data)
static Protocol.Subscribe
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Subscribe
parseFrom(com.google.protobuf.ByteString data)
static Protocol.Subscribe
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Subscribe
parseFrom(com.google.protobuf.CodedInputStream input)
static Protocol.Subscribe
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Subscribe
parseFrom(InputStream input)
static Protocol.Subscribe
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Subscribe
parseFrom(ByteBuffer data)
static Protocol.Subscribe
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Protocol.Subscribe>
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, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
RECOVERABLE_FIELD_NUMBER
public static final int RECOVERABLE_FIELD_NUMBER- See Also:
- Constant Field Values
-
SEQ_FIELD_NUMBER
public static final int SEQ_FIELD_NUMBER- See Also:
- Constant Field Values
-
GEN_FIELD_NUMBER
public static final int GEN_FIELD_NUMBER- See Also:
- Constant Field Values
-
EPOCH_FIELD_NUMBER
public static final int EPOCH_FIELD_NUMBER- See Also:
- Constant Field Values
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER- See Also:
- Constant Field Values
-
POSITIONED_FIELD_NUMBER
public static final int POSITIONED_FIELD_NUMBER- See Also:
- Constant Field Values
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER- See Also:
- Constant Field Values
-
-
Method Details
-
getRecoverable
public boolean getRecoverable()bool recoverable = 1;
- Specified by:
getRecoverable
in interfaceProtocol.SubscribeOrBuilder
- Returns:
- The recoverable.
-
getSeq
public int getSeq()uint32 seq = 2;
- Specified by:
getSeq
in interfaceProtocol.SubscribeOrBuilder
- Returns:
- The seq.
-
getGen
public int getGen()uint32 gen = 3;
- Specified by:
getGen
in interfaceProtocol.SubscribeOrBuilder
- Returns:
- The gen.
-
getEpoch
string epoch = 4;
- Specified by:
getEpoch
in interfaceProtocol.SubscribeOrBuilder
- Returns:
- The epoch.
-
getEpochBytes
public com.google.protobuf.ByteString getEpochBytes()string epoch = 4;
- Specified by:
getEpochBytes
in interfaceProtocol.SubscribeOrBuilder
- Returns:
- The bytes for epoch.
-
getOffset
public long getOffset()uint64 offset = 5;
- Specified by:
getOffset
in interfaceProtocol.SubscribeOrBuilder
- Returns:
- The offset.
-
getPositioned
public boolean getPositioned()bool positioned = 6;
- Specified by:
getPositioned
in interfaceProtocol.SubscribeOrBuilder
- Returns:
- The positioned.
-
getData
public com.google.protobuf.ByteString getData()bytes data = 7;
- Specified by:
getData
in interfaceProtocol.SubscribeOrBuilder
- Returns:
- The data.
-
parseFrom
public static Protocol.Subscribe parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Subscribe parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Subscribe parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Subscribe 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.Subscribe parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Subscribe 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.Subscribe parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Protocol.Subscribe parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- Throws:
IOException
-
parseFrom
public static Protocol.Subscribe parseFrom(com.google.protobuf.CodedInputStream input) throws IOException- Throws:
IOException
-
parseFrom
public static Protocol.Subscribe 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:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Protocol.Subscribe,Protocol.Subscribe.Builder>
-
getDefaultInstance
-
parser
-