Class Protocol.Connect
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Protocol.Connect,Protocol.Connect.Builder>
io.github.centrifugal.centrifuge.internal.protocol.Protocol.Connect
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Protocol.ConnectOrBuilder
- Enclosing class:
- Protocol
public static final class Protocol.Connect
extends com.google.protobuf.GeneratedMessageLite<Protocol.Connect,Protocol.Connect.Builder>
implements Protocol.ConnectOrBuilder
Protobuf type
protocol.Connect
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Protobuf typeprotocol.Connect
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
Fields inherited from class com.google.protobuf.GeneratedMessageLite
memoizedSerializedSize, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsSubs(String key)
map<string, .protocol.SubscribeResult> subs = 4;
protected Object
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
string client = 1;
com.google.protobuf.ByteString
string client = 1;
com.google.protobuf.ByteString
getData()
bytes data = 3;
static Protocol.Connect
getSubs()
Deprecated.int
map<string, .protocol.SubscribeResult> subs = 4;
map<string, .protocol.SubscribeResult> subs = 4;
getSubsOrDefault(String key, Protocol.SubscribeResult defaultValue)
map<string, .protocol.SubscribeResult> subs = 4;
getSubsOrThrow(String key)
map<string, .protocol.SubscribeResult> subs = 4;
string version = 2;
com.google.protobuf.ByteString
string version = 2;
static Protocol.Connect.Builder
static Protocol.Connect.Builder
newBuilder(Protocol.Connect prototype)
static Protocol.Connect
parseDelimitedFrom(InputStream input)
static Protocol.Connect
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Connect
parseFrom(byte[] data)
static Protocol.Connect
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Connect
parseFrom(com.google.protobuf.ByteString data)
static Protocol.Connect
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Connect
parseFrom(com.google.protobuf.CodedInputStream input)
static Protocol.Connect
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Connect
parseFrom(InputStream input)
static Protocol.Connect
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Connect
parseFrom(ByteBuffer data)
static Protocol.Connect
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Protocol.Connect>
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
-
CLIENT_FIELD_NUMBER
public static final int CLIENT_FIELD_NUMBER- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
- Constant Field Values
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER- See Also:
- Constant Field Values
-
SUBS_FIELD_NUMBER
public static final int SUBS_FIELD_NUMBER- See Also:
- Constant Field Values
-
-
Method Details
-
getClient
string client = 1;
- Specified by:
getClient
in interfaceProtocol.ConnectOrBuilder
- Returns:
- The client.
-
getClientBytes
public com.google.protobuf.ByteString getClientBytes()string client = 1;
- Specified by:
getClientBytes
in interfaceProtocol.ConnectOrBuilder
- Returns:
- The bytes for client.
-
getVersion
string version = 2;
- Specified by:
getVersion
in interfaceProtocol.ConnectOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()string version = 2;
- Specified by:
getVersionBytes
in interfaceProtocol.ConnectOrBuilder
- Returns:
- The bytes for version.
-
getData
public com.google.protobuf.ByteString getData()bytes data = 3;
- Specified by:
getData
in interfaceProtocol.ConnectOrBuilder
- Returns:
- The data.
-
getSubsCount
public int getSubsCount()Description copied from interface:Protocol.ConnectOrBuilder
map<string, .protocol.SubscribeResult> subs = 4;
- Specified by:
getSubsCount
in interfaceProtocol.ConnectOrBuilder
-
containsSubs
map<string, .protocol.SubscribeResult> subs = 4;
- Specified by:
containsSubs
in interfaceProtocol.ConnectOrBuilder
-
getSubs
Deprecated.UsegetSubsMap()
instead.- Specified by:
getSubs
in interfaceProtocol.ConnectOrBuilder
-
getSubsMap
map<string, .protocol.SubscribeResult> subs = 4;
- Specified by:
getSubsMap
in interfaceProtocol.ConnectOrBuilder
-
getSubsOrDefault
public Protocol.SubscribeResult getSubsOrDefault(String key, Protocol.SubscribeResult defaultValue)map<string, .protocol.SubscribeResult> subs = 4;
- Specified by:
getSubsOrDefault
in interfaceProtocol.ConnectOrBuilder
-
getSubsOrThrow
map<string, .protocol.SubscribeResult> subs = 4;
- Specified by:
getSubsOrThrow
in interfaceProtocol.ConnectOrBuilder
-
parseFrom
public static Protocol.Connect parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Connect parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Connect parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Connect 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.Connect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Connect 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.Connect parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Protocol.Connect parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- Throws:
IOException
-
parseFrom
public static Protocol.Connect parseFrom(com.google.protobuf.CodedInputStream input) throws IOException- Throws:
IOException
-
parseFrom
public static Protocol.Connect 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.Connect,Protocol.Connect.Builder>
-
getDefaultInstance
-
parser
-