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