Class Open
Open an Expect block and set/unset the conditions that have to
be fulfilled.
If any of the conditions fail, all enclosed messages will fail
with a Mysqlx::Error
message.
@returns @ref Mysqlx::Ok on success, @ref Mysqlx::Error on error
Inheritance
System.Object
Open
Implements
Google.Protobuf.IBufferMessage
Assembly: MySql.Data.dll
Version: 9.2.0
Syntax
public sealed class Open : Google.Protobuf.IMessage<Open>
Constructors
Open()
Declaration
Open(Open)
Declaration
Parameters
Type |
Name |
Description |
Open |
other |
|
Fields
CondFieldNumber
Field number for the "cond" field.
Declaration
public const int CondFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
OpFieldNumber
Field number for the "op" field.
Declaration
public const int OpFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Properties
Cond
Declaration
public Google.Protobuf.Collections.RepeatedField<Open.Types.Condition> Cond { get; }
Property Value
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
HasOp
Gets whether the "op" field is set
Declaration
public bool HasOp { get; }
Property Value
Type |
Description |
System.Boolean |
|
Op
Declaration
public Open.Types.CtxOperation Op { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<Open> Parser { get; }
Property Value
Type |
Description |
Google.Protobuf.MessageParser<Open> |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
ClearOp()
Clears the value of the "op" field
Declaration
Clone()
Declaration
Returns
Equals(Open)
Declaration
public bool Equals(Open other)
Parameters
Type |
Name |
Description |
Open |
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(Open)
Declaration
public void MergeFrom(Open other)
Parameters
Type |
Name |
Description |
Open |
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