Class Protocol.Command
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Protocol.Command,Protocol.Command.Builder>
-
- io.github.centrifugal.centrifuge.internal.protocol.Protocol.Command
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Protocol.CommandOrBuilder
- Enclosing class:
- Protocol
public static final class Protocol.Command extends com.google.protobuf.GeneratedMessageLite<Protocol.Command,Protocol.Command.Builder> implements Protocol.CommandOrBuilder
Protobuf typecentrifugal.centrifuge.protocol.Command
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Protocol.Command.Builder
Protobuf typecentrifugal.centrifuge.protocol.Command
static class
Protocol.Command.MethodType
Protobuf enumcentrifugal.centrifuge.protocol.Command.MethodType
-
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 java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static int
ID_FIELD_NUMBER
static int
METHOD_FIELD_NUMBER
static int
PARAMS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)
static Protocol.Command
getDefaultInstance()
int
getId()
uint32 id = 1;
Protocol.Command.MethodType
getMethod()
.centrifugal.centrifuge.protocol.Command.MethodType method = 2;
int
getMethodValue()
.centrifugal.centrifuge.protocol.Command.MethodType method = 2;
com.google.protobuf.ByteString
getParams()
bytes params = 3;
static Protocol.Command.Builder
newBuilder()
static Protocol.Command.Builder
newBuilder(Protocol.Command prototype)
static Protocol.Command
parseDelimitedFrom(java.io.InputStream input)
static Protocol.Command
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Command
parseFrom(byte[] data)
static Protocol.Command
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Command
parseFrom(com.google.protobuf.ByteString data)
static Protocol.Command
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Command
parseFrom(com.google.protobuf.CodedInputStream input)
static Protocol.Command
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Command
parseFrom(java.io.InputStream input)
static Protocol.Command
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Protocol.Command
parseFrom(java.nio.ByteBuffer data)
static Protocol.Command
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Protocol.Command>
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
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METHOD_FIELD_NUMBER
public static final int METHOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public int getId()
uint32 id = 1;
- Specified by:
getId
in interfaceProtocol.CommandOrBuilder
- Returns:
- The id.
-
getMethodValue
public int getMethodValue()
.centrifugal.centrifuge.protocol.Command.MethodType method = 2;
- Specified by:
getMethodValue
in interfaceProtocol.CommandOrBuilder
- Returns:
- The enum numeric value on the wire for method.
-
getMethod
public Protocol.Command.MethodType getMethod()
.centrifugal.centrifuge.protocol.Command.MethodType method = 2;
- Specified by:
getMethod
in interfaceProtocol.CommandOrBuilder
- Returns:
- The method.
-
getParams
public com.google.protobuf.ByteString getParams()
bytes params = 3;
- Specified by:
getParams
in interfaceProtocol.CommandOrBuilder
- Returns:
- The params.
-
parseFrom
public static Protocol.Command parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Command parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Command parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Command 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.Command parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Command parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.Command parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Protocol.Command parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Protocol.Command parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Protocol.Command parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Protocol.Command parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Protocol.Command parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static Protocol.Command.Builder newBuilder()
-
newBuilder
public static Protocol.Command.Builder newBuilder(Protocol.Command prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)
- Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Protocol.Command,Protocol.Command.Builder>
-
getDefaultInstance
public static Protocol.Command getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Protocol.Command> parser()
-
-