程序包 onebot

接口 OnebotEvent.FriendRequestEventOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder
所有已知实现类:
OnebotEvent.FriendRequestEvent, OnebotEvent.FriendRequestEvent.Builder
封闭类:
OnebotEvent

public static interface OnebotEvent.FriendRequestEventOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
  • 方法概要

    修饰符和类型 方法 说明
    java.lang.String getComment()
    string comment = 6;
    com.google.protobuf.ByteString getCommentBytes()
    string comment = 6;
    java.lang.String getFlag()
    string flag = 7;
    com.google.protobuf.ByteString getFlagBytes()
    string flag = 7;
    java.lang.String getPostType()
    string post_type = 3;
    com.google.protobuf.ByteString getPostTypeBytes()
    string post_type = 3;
    java.lang.String getRequestType()
    string request_type = 4;
    com.google.protobuf.ByteString getRequestTypeBytes()
    string request_type = 4;
    long getSelfId()
    int64 self_id = 2;
    long getTime()
    int64 time = 1;
    long getUserId()
    int64 user_id = 5;

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • 方法详细资料

    • getTime

      long getTime()
      int64 time = 1;
    • getSelfId

      long getSelfId()
      int64 self_id = 2;
    • getPostType

      java.lang.String getPostType()
      string post_type = 3;
    • getPostTypeBytes

      com.google.protobuf.ByteString getPostTypeBytes()
      string post_type = 3;
    • getRequestType

      java.lang.String getRequestType()
      string request_type = 4;
    • getRequestTypeBytes

      com.google.protobuf.ByteString getRequestTypeBytes()
      string request_type = 4;
    • getUserId

      long getUserId()
      int64 user_id = 5;
    • getComment

      java.lang.String getComment()
      string comment = 6;
    • getCommentBytes

      com.google.protobuf.ByteString getCommentBytes()
      string comment = 6;
    • getFlag

      java.lang.String getFlag()
      string flag = 7;
    • getFlagBytes

      com.google.protobuf.ByteString getFlagBytes()
      string flag = 7;