接口 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.ByteStringgetPayload()the payload of the notificationMysqlxNotice.Frame.ScopegetScope()global or local notificationintgetType()the type of the payloadbooleanhasPayload()the payload of the notificationbooleanhasScope()global or local notificationbooleanhasType()the type of the payload
-
-
-
方法详细资料
-
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.
-
-