类 Aio.Message

  • 所有已实现的接口:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Aio.MessageOrBuilder
    封闭类:
    Aio

    public static final class Aio.Message
    extends com.google.protobuf.GeneratedMessageV3
    implements Aio.MessageOrBuilder
    
    消息体
     
    Protobuf type xin.alum.aio.model.Message
    另请参阅:
    序列化表格
    • 嵌套类概要

      嵌套类 
      修饰符和类型 说明
      static class  Aio.Message.Builder
      消息体
      • 从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3

        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
      • 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static int CONTENT_FIELD_NUMBER  
      static int ID_FIELD_NUMBER  
      static int ROOM_FIELD_NUMBER  
      static int TYPE_FIELD_NUMBER  
      static int USER_FIELD_NUMBER  
      • 从类继承的字段 com.google.protobuf.GeneratedMessageV3

        alwaysUseFieldBuilders, unknownFields
      • 从类继承的字段 com.google.protobuf.AbstractMessage

        memoizedSize
      • 从类继承的字段 com.google.protobuf.AbstractMessageLite

        memoizedHashCode
    • 字段详细资料

      • ID_FIELD_NUMBER

        public static final int ID_FIELD_NUMBER
        另请参阅:
        常量字段值
      • TYPE_FIELD_NUMBER

        public static final int TYPE_FIELD_NUMBER
        另请参阅:
        常量字段值
      • USER_FIELD_NUMBER

        public static final int USER_FIELD_NUMBER
        另请参阅:
        常量字段值
      • ROOM_FIELD_NUMBER

        public static final int ROOM_FIELD_NUMBER
        另请参阅:
        常量字段值
      • CONTENT_FIELD_NUMBER

        public static final int CONTENT_FIELD_NUMBER
        另请参阅:
        常量字段值
    • 方法详细资料

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        覆盖:
        newInstance 在类中 com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        指定者:
        getUnknownFields 在接口中 com.google.protobuf.MessageOrBuilder
        覆盖:
        getUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
      • getTypeValue

        public int getTypeValue()
        .xin.alum.aio.model.Mold type = 2;
        指定者:
        getTypeValue 在接口中 Aio.MessageOrBuilder
        返回:
        The enum numeric value on the wire for type.
      • hasUser

        public boolean hasUser()
        .xin.alum.aio.model.User user = 3;
        指定者:
        hasUser 在接口中 Aio.MessageOrBuilder
        返回:
        Whether the user field is set.
      • hasRoom

        public boolean hasRoom()
        .xin.alum.aio.model.Room room = 4;
        指定者:
        hasRoom 在接口中 Aio.MessageOrBuilder
        返回:
        Whether the room field is set.
      • getContentBytes

        public com.google.protobuf.ByteString getContentBytes()
        string content = 5;
        指定者:
        getContentBytes 在接口中 Aio.MessageOrBuilder
        返回:
        The bytes for content.
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        指定者:
        writeTo 在接口中 com.google.protobuf.MessageLite
        覆盖:
        writeTo 在类中 com.google.protobuf.GeneratedMessageV3
        抛出:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        指定者:
        getSerializedSize 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        指定者:
        equals 在接口中 com.google.protobuf.Message
        覆盖:
        equals 在类中 com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        指定者:
        hashCode 在接口中 com.google.protobuf.Message
        覆盖:
        hashCode 在类中 com.google.protobuf.AbstractMessage
      • parseFrom

        public static Aio.Message parseFrom​(ByteBuffer data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Aio.Message parseFrom​(ByteBuffer data,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Aio.Message parseFrom​(com.google.protobuf.ByteString data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Aio.Message parseFrom​(com.google.protobuf.ByteString data,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Aio.Message parseFrom​(byte[] data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Aio.Message parseFrom​(byte[] data,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Aio.Message parseFrom​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
        抛出:
        IOException
      • newBuilderForType

        public Aio.Message.Builder newBuilderForType()
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.Message
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.MessageLite
      • toBuilder

        public Aio.Message.Builder toBuilder()
        指定者:
        toBuilder 在接口中 com.google.protobuf.Message
        指定者:
        toBuilder 在接口中 com.google.protobuf.MessageLite
      • newBuilderForType

        protected Aio.Message.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        指定者:
        newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Aio.Message getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Aio.Message> parser()
      • getParserForType

        public com.google.protobuf.Parser<Aio.Message> getParserForType()
        指定者:
        getParserForType 在接口中 com.google.protobuf.Message
        指定者:
        getParserForType 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Aio.Message getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder