类 MysqlxNotice.Frame

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

    public static final class MysqlxNotice.Frame
    extends com.google.protobuf.GeneratedMessageV3
    implements MysqlxNotice.FrameOrBuilder
    
    Common frame for all notices
    | ``.type``                                         | Value |
    |---------------------------------------------------|------ |
    | @ref Mysqlx::Notice::Warning                      | 1     |
    | @ref Mysqlx::Notice::SessionVariableChanged       | 2     |
    | @ref Mysqlx::Notice::SessionStateChanged          | 3     |
    | @ref Mysqlx::Notice::GroupReplicationStateChanged | 4     |
    | @ref Mysqlx::Notice::ServerHello                  | 5     |
     
    Protobuf type Mysqlx.Notice.Frame
    另请参阅:
    序列化表格
    • 嵌套类概要

      嵌套类 
      修饰符和类型 说明
      static class  MysqlxNotice.Frame.Builder
      Common frame for all notices | ``.type`` | Value | |---------------------------------------------------|------ | | @ref Mysqlx::Notice::Warning | 1 | | @ref Mysqlx::Notice::SessionVariableChanged | 2 | | @ref Mysqlx::Notice::SessionStateChanged | 3 | | @ref Mysqlx::Notice::GroupReplicationStateChanged | 4 | | @ref Mysqlx::Notice::ServerHello | 5 |
      static class  MysqlxNotice.Frame.Scope
      scope of notice
      static class  MysqlxNotice.Frame.Type
      type of notice payload
      • 从类继承的嵌套类/接口 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
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static com.google.protobuf.Parser<MysqlxNotice.Frame> PARSER
      已过时。
      static int PAYLOAD_FIELD_NUMBER  
      static int SCOPE_FIELD_NUMBER  
      static int TYPE_FIELD_NUMBER  
      • 从类继承的字段 com.google.protobuf.GeneratedMessageV3

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

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

        memoizedHashCode
    • 字段详细资料

      • TYPE_FIELD_NUMBER

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

        public static final int SCOPE_FIELD_NUMBER
        另请参阅:
        常量字段值
      • PAYLOAD_FIELD_NUMBER

        public static final int PAYLOAD_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
      • hasType

        public boolean hasType()
         the type of the payload 
         
        required uint32 type = 1;
        指定者:
        hasType 在接口中 MysqlxNotice.FrameOrBuilder
        返回:
        Whether the type field is set.
      • hasScope

        public boolean hasScope()
         global or local notification 
         
        optional .Mysqlx.Notice.Frame.Scope scope = 2 [default = GLOBAL];
        指定者:
        hasScope 在接口中 MysqlxNotice.FrameOrBuilder
        返回:
        Whether the scope field is set.
      • hasPayload

        public boolean hasPayload()
         the payload of the notification 
         
        optional bytes payload = 3;
        指定者:
        hasPayload 在接口中 MysqlxNotice.FrameOrBuilder
        返回:
        Whether the payload field is set.
      • getPayload

        public com.google.protobuf.ByteString getPayload()
         the payload of the notification 
         
        optional bytes payload = 3;
        指定者:
        getPayload 在接口中 MysqlxNotice.FrameOrBuilder
        返回:
        The payload.
      • 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 MysqlxNotice.Frame parseFrom​(ByteBuffer data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        protected MysqlxNotice.Frame.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        指定者:
        newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getParserForType

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

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