Class Frame
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 |
Inheritance
System.Object
Frame
Implements
Google.Protobuf.IBufferMessage
Assembly: MySql.Data.dll
Version: 9.2.0
Syntax
public sealed class Frame : Google.Protobuf.IMessage<Frame>
Constructors
Frame()
Declaration
Frame(Frame)
Declaration
public Frame(Frame other)
Parameters
Type |
Name |
Description |
Frame |
other |
|
Fields
PayloadFieldNumber
Field number for the "payload" field.
Declaration
public const int PayloadFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
ScopeFieldNumber
Field number for the "scope" field.
Declaration
public const int ScopeFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
TypeFieldNumber
Field number for the "type" field.
Declaration
public const int TypeFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
HasPayload
Gets whether the "payload" field is set
Declaration
public bool HasPayload { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasScope
Gets whether the "scope" field is set
Declaration
public bool HasScope { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasType
Gets whether the "type" field is set
Declaration
public bool HasType { get; }
Property Value
Type |
Description |
System.Boolean |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<Frame> Parser { get; }
Property Value
Type |
Description |
Google.Protobuf.MessageParser<Frame> |
|
Payload
- the payload of the notification
Declaration
public Google.Protobuf.ByteString Payload { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
Scope
- global or local notification
Declaration
public Frame.Types.Scope Scope { get; set; }
Property Value
Type
Declaration
public uint Type { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
ClearPayload()
Clears the value of the "payload" field
Declaration
public void ClearPayload()
ClearScope()
Clears the value of the "scope" field
Declaration
ClearType()
Clears the value of the "type" field
Declaration
Clone()
Declaration
Returns
Equals(Frame)
Declaration
public bool Equals(Frame other)
Parameters
Type |
Name |
Description |
Frame |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(Frame)
Declaration
public void MergeFrom(Frame other)
Parameters
Type |
Name |
Description |
Frame |
other |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Implements
Google.Protobuf.IBufferMessage