Class Protocol.Publication
java.lang.Object
com.google.protobuf.AbstractMessageLite<Protocol.Publication,Protocol.Publication.Builder>
com.google.protobuf.GeneratedMessageLite<Protocol.Publication,Protocol.Publication.Builder>
io.github.centrifugal.centrifuge.internal.protocol.Protocol.Publication
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Protocol.PublicationOrBuilder
- Enclosing class:
Protocol
public static final class Protocol.Publication
extends com.google.protobuf.GeneratedMessageLite<Protocol.Publication,Protocol.Publication.Builder>
implements Protocol.PublicationOrBuilder
Protobuf type
centrifugal.centrifuge.protocol.Publication-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typecentrifugal.centrifuge.protocol.PublicationNested 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 intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsTags(String key) map<string, string> tags = 7;protected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) com.google.protobuf.ByteStringgetData()bytes data = 4;static Protocol.PublicationbooleangetDelta()bool delta = 8;getInfo().centrifugal.centrifuge.protocol.ClientInfo info = 5;longuint64 offset = 6;getTags()Deprecated.intmap<string, string> tags = 7;map<string, string> tags = 7;getTagsOrDefault(String key, String defaultValue) map<string, string> tags = 7;getTagsOrThrow(String key) map<string, string> tags = 7;booleanhasInfo().centrifugal.centrifuge.protocol.ClientInfo info = 5;static Protocol.Publication.Builderstatic Protocol.Publication.BuildernewBuilder(Protocol.Publication prototype) static Protocol.PublicationparseDelimitedFrom(InputStream input) static Protocol.PublicationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protocol.PublicationparseFrom(byte[] data) static Protocol.PublicationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protocol.PublicationparseFrom(com.google.protobuf.ByteString data) static Protocol.PublicationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protocol.PublicationparseFrom(com.google.protobuf.CodedInputStream input) static Protocol.PublicationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protocol.PublicationparseFrom(InputStream input) static Protocol.PublicationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protocol.PublicationparseFrom(ByteBuffer data) static Protocol.PublicationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Protocol.Publication> 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
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER- See Also:
-
INFO_FIELD_NUMBER
public static final int INFO_FIELD_NUMBER- See Also:
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
DELTA_FIELD_NUMBER
public static final int DELTA_FIELD_NUMBER- See Also:
-
-
Method Details
-
getData
public com.google.protobuf.ByteString getData()bytes data = 4;- Specified by:
getDatain interfaceProtocol.PublicationOrBuilder- Returns:
- The data.
-
hasInfo
public boolean hasInfo().centrifugal.centrifuge.protocol.ClientInfo info = 5;- Specified by:
hasInfoin interfaceProtocol.PublicationOrBuilder- Returns:
- Whether the info field is set.
-
getInfo
.centrifugal.centrifuge.protocol.ClientInfo info = 5;- Specified by:
getInfoin interfaceProtocol.PublicationOrBuilder- Returns:
- The info.
-
getOffset
public long getOffset()uint64 offset = 6;- Specified by:
getOffsetin interfaceProtocol.PublicationOrBuilder- Returns:
- The offset.
-
getTagsCount
public int getTagsCount()Description copied from interface:Protocol.PublicationOrBuildermap<string, string> tags = 7;- Specified by:
getTagsCountin interfaceProtocol.PublicationOrBuilder
-
containsTags
map<string, string> tags = 7;- Specified by:
containsTagsin interfaceProtocol.PublicationOrBuilder
-
getTags
Deprecated.UsegetTagsMap()instead.- Specified by:
getTagsin interfaceProtocol.PublicationOrBuilder
-
getTagsMap
map<string, string> tags = 7;- Specified by:
getTagsMapin interfaceProtocol.PublicationOrBuilder
-
getTagsOrDefault
map<string, string> tags = 7;- Specified by:
getTagsOrDefaultin interfaceProtocol.PublicationOrBuilder
-
getTagsOrThrow
map<string, string> tags = 7;- Specified by:
getTagsOrThrowin interfaceProtocol.PublicationOrBuilder
-
getDelta
public boolean getDelta()bool delta = 8;- Specified by:
getDeltain interfaceProtocol.PublicationOrBuilder- Returns:
- The delta.
-
parseFrom
public static Protocol.Publication parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Publication parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Publication parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Publication 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.Publication parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Publication 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.Publication parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Protocol.Publication parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Protocol.Publication parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Protocol.Publication 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.Publication,Protocol.Publication.Builder>
-
getDefaultInstance
-
parser
-