接口 MysqlxNotice.FrameOrBuilder

  • 所有超级接口:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    所有已知实现类:
    MysqlxNotice.Frame, MysqlxNotice.Frame.Builder
    封闭类:
    MysqlxNotice

    public static interface MysqlxNotice.FrameOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      com.google.protobuf.ByteString getPayload()
      the payload of the notification
      MysqlxNotice.Frame.Scope getScope()
      global or local notification
      int getType()
      the type of the payload
      boolean hasPayload()
      the payload of the notification
      boolean hasScope()
      global or local notification
      boolean hasType()
      the type of the payload
      • 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 从接口继承的方法 com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 方法详细资料

      • hasType

        boolean hasType()
         the type of the payload 
         
        required uint32 type = 1;
        返回:
        Whether the type field is set.
      • getType

        int getType()
         the type of the payload 
         
        required uint32 type = 1;
        返回:
        The type.
      • hasScope

        boolean hasScope()
         global or local notification 
         
        optional .Mysqlx.Notice.Frame.Scope scope = 2 [default = GLOBAL];
        返回:
        Whether the scope field is set.
      • getScope

        MysqlxNotice.Frame.Scope getScope()
         global or local notification 
         
        optional .Mysqlx.Notice.Frame.Scope scope = 2 [default = GLOBAL];
        返回:
        The scope.
      • hasPayload

        boolean hasPayload()
         the payload of the notification 
         
        optional bytes payload = 3;
        返回:
        Whether the payload field is set.
      • getPayload

        com.google.protobuf.ByteString getPayload()
         the payload of the notification 
         
        optional bytes payload = 3;
        返回:
        The payload.