程序包 onebot
类 OnebotEvent.FriendRequestEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<OnebotEvent.FriendRequestEvent,OnebotEvent.FriendRequestEvent.Builder>
onebot.OnebotEvent.FriendRequestEvent
- 所有已实现的接口:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,OnebotEvent.FriendRequestEventOrBuilder
- 封闭类:
- OnebotEvent
public static final class OnebotEvent.FriendRequestEvent extends com.google.protobuf.GeneratedMessageLite<OnebotEvent.FriendRequestEvent,OnebotEvent.FriendRequestEvent.Builder> implements OnebotEvent.FriendRequestEventOrBuilder
Protobuf type
onebot.FriendRequestEvent-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classOnebotEvent.FriendRequestEvent.BuilderProtobuf typeonebot.FriendRequestEvent从类继承的嵌套类/接口 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 -
字段概要
字段 修饰符和类型 字段 说明 static intCOMMENT_FIELD_NUMBERstatic intFLAG_FIELD_NUMBERstatic intPOST_TYPE_FIELD_NUMBERstatic intREQUEST_TYPE_FIELD_NUMBERstatic intSELF_ID_FIELD_NUMBERstatic intTIME_FIELD_NUMBERstatic intUSER_ID_FIELD_NUMBER -
方法概要
修饰符和类型 方法 说明 protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)java.lang.StringgetComment()string comment = 6;com.google.protobuf.ByteStringgetCommentBytes()string comment = 6;static OnebotEvent.FriendRequestEventgetDefaultInstance()java.lang.StringgetFlag()string flag = 7;com.google.protobuf.ByteStringgetFlagBytes()string flag = 7;java.lang.StringgetPostType()string post_type = 3;com.google.protobuf.ByteStringgetPostTypeBytes()string post_type = 3;java.lang.StringgetRequestType()string request_type = 4;com.google.protobuf.ByteStringgetRequestTypeBytes()string request_type = 4;longgetSelfId()int64 self_id = 2;longgetTime()int64 time = 1;longgetUserId()int64 user_id = 5;static OnebotEvent.FriendRequestEvent.BuildernewBuilder()static OnebotEvent.FriendRequestEvent.BuildernewBuilder(OnebotEvent.FriendRequestEvent prototype)static OnebotEvent.FriendRequestEventparseDelimitedFrom(java.io.InputStream input)static OnebotEvent.FriendRequestEventparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OnebotEvent.FriendRequestEventparseFrom(byte[] data)static OnebotEvent.FriendRequestEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OnebotEvent.FriendRequestEventparseFrom(com.google.protobuf.ByteString data)static OnebotEvent.FriendRequestEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OnebotEvent.FriendRequestEventparseFrom(com.google.protobuf.CodedInputStream input)static OnebotEvent.FriendRequestEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OnebotEvent.FriendRequestEventparseFrom(java.io.InputStream input)static OnebotEvent.FriendRequestEventparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OnebotEvent.FriendRequestEventparseFrom(java.nio.ByteBuffer data)static OnebotEvent.FriendRequestEventparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OnebotEvent.FriendRequestEvent>parser()从类继承的方法 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
-
字段详细资料
-
TIME_FIELD_NUMBER
public static final int TIME_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
SELF_ID_FIELD_NUMBER
public static final int SELF_ID_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
POST_TYPE_FIELD_NUMBER
public static final int POST_TYPE_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
REQUEST_TYPE_FIELD_NUMBER
public static final int REQUEST_TYPE_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
COMMENT_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
FLAG_FIELD_NUMBER
public static final int FLAG_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
getTime
public long getTime()int64 time = 1; -
getSelfId
public long getSelfId()int64 self_id = 2; -
getPostType
public java.lang.String getPostType()string post_type = 3; -
getPostTypeBytes
public com.google.protobuf.ByteString getPostTypeBytes()string post_type = 3; -
getRequestType
public java.lang.String getRequestType()string request_type = 4; -
getRequestTypeBytes
public com.google.protobuf.ByteString getRequestTypeBytes()string request_type = 4; -
getUserId
public long getUserId()int64 user_id = 5; -
getComment
public java.lang.String getComment()string comment = 6; -
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()string comment = 6; -
getFlag
public java.lang.String getFlag()string flag = 7; -
getFlagBytes
public com.google.protobuf.ByteString getFlagBytes()string flag = 7; -
parseFrom
public static OnebotEvent.FriendRequestEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnebotEvent.FriendRequestEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnebotEvent.FriendRequestEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnebotEvent.FriendRequestEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnebotEvent.FriendRequestEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnebotEvent.FriendRequestEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnebotEvent.FriendRequestEvent parseFrom(java.io.InputStream input) throws java.io.IOException- 抛出:
java.io.IOException
-
parseFrom
public static OnebotEvent.FriendRequestEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static OnebotEvent.FriendRequestEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static OnebotEvent.FriendRequestEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- 抛出:
java.io.IOException
-
parseFrom
public static OnebotEvent.FriendRequestEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException- 抛出:
java.io.IOException
-
parseFrom
public static OnebotEvent.FriendRequestEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- 抛出:
java.io.IOException
-
newBuilder
-
newBuilder
public static OnebotEvent.FriendRequestEvent.Builder newBuilder(OnebotEvent.FriendRequestEvent prototype) -
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- 指定者:
dynamicMethod在类中com.google.protobuf.GeneratedMessageLite<OnebotEvent.FriendRequestEvent,OnebotEvent.FriendRequestEvent.Builder>
-
getDefaultInstance
-
parser
-