public static final class Aio.Packet extends com.google.protobuf.GeneratedMessageV3 implements Aio.PacketOrBuilder
上下行数据包Protobuf type
xin.alum.aio.model.Packet| 限定符和类型 | 类和说明 |
|---|---|
static class |
Aio.Packet.Builder
上下行数据包
Protobuf type
xin.alum.aio.model.Packet |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CODE_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static int |
PRIORITY_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
int |
getCode()
uint32 code = 3; |
com.google.protobuf.Any |
getData()
.google.protobuf.Any data = 6; |
com.google.protobuf.AnyOrBuilder |
getDataOrBuilder()
.google.protobuf.Any data = 6; |
static Aio.Packet |
getDefaultInstance() |
Aio.Packet |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getKey()
string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes()
string key = 1; |
String |
getMessage()
string message = 4; |
com.google.protobuf.ByteString |
getMessageBytes()
string message = 4; |
com.google.protobuf.Parser<Aio.Packet> |
getParserForType() |
int |
getPriority()
uint32 priority = 2; |
int |
getSerializedSize() |
long |
getTimestamp()
uint64 timestamp = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasData()
.google.protobuf.Any data = 6; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Aio.Packet.Builder |
newBuilder() |
static Aio.Packet.Builder |
newBuilder(Aio.Packet prototype) |
Aio.Packet.Builder |
newBuilderForType() |
protected Aio.Packet.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Aio.Packet |
parseDelimitedFrom(InputStream input) |
static Aio.Packet |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Aio.Packet |
parseFrom(byte[] data) |
static Aio.Packet |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Aio.Packet |
parseFrom(ByteBuffer data) |
static Aio.Packet |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Aio.Packet |
parseFrom(com.google.protobuf.ByteString data) |
static Aio.Packet |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Aio.Packet |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Aio.Packet |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Aio.Packet |
parseFrom(InputStream input) |
static Aio.Packet |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Aio.Packet> |
parser() |
Aio.Packet.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int KEY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public String getKey()
string key = 1;getKey 在接口中 Aio.PacketOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
string key = 1;getKeyBytes 在接口中 Aio.PacketOrBuilderpublic int getPriority()
uint32 priority = 2;getPriority 在接口中 Aio.PacketOrBuilderpublic int getCode()
uint32 code = 3;getCode 在接口中 Aio.PacketOrBuilderpublic String getMessage()
string message = 4;getMessage 在接口中 Aio.PacketOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
string message = 4;getMessageBytes 在接口中 Aio.PacketOrBuilderpublic long getTimestamp()
uint64 timestamp = 5;getTimestamp 在接口中 Aio.PacketOrBuilderpublic boolean hasData()
.google.protobuf.Any data = 6;hasData 在接口中 Aio.PacketOrBuilderpublic com.google.protobuf.Any getData()
.google.protobuf.Any data = 6;getData 在接口中 Aio.PacketOrBuilderpublic com.google.protobuf.AnyOrBuilder getDataOrBuilder()
.google.protobuf.Any data = 6;getDataOrBuilder 在接口中 Aio.PacketOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Aio.Packet parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Aio.Packet parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Aio.Packet parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Aio.Packet parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Aio.Packet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Aio.Packet parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Aio.Packet parseFrom(InputStream input) throws IOException
IOExceptionpublic static Aio.Packet parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Aio.Packet parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Aio.Packet parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Aio.Packet parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Aio.Packet parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Aio.Packet.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Aio.Packet.Builder newBuilder()
public static Aio.Packet.Builder newBuilder(Aio.Packet prototype)
public Aio.Packet.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Aio.Packet.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Aio.Packet getDefaultInstance()
public static com.google.protobuf.Parser<Aio.Packet> parser()
public com.google.protobuf.Parser<Aio.Packet> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Aio.Packet getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2020–2023 The Aio Project. All rights reserved.