Class Compression
Inheritance
System.Object
Compression
Implements
Google.Protobuf.IBufferMessage
Assembly: MySql.Data.dll
Version: 9.2.0
Syntax
public sealed class Compression : Google.Protobuf.IMessage<Compression>
Constructors
Compression()
Declaration
Compression(Compression)
Declaration
public Compression(Compression other)
Parameters
Fields
ClientMessagesFieldNumber
Field number for the "client_messages" field.
Declaration
public const int ClientMessagesFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
PayloadFieldNumber
Field number for the "payload" field.
Declaration
public const int PayloadFieldNumber = 4
Field Value
Type |
Description |
System.Int32 |
|
ServerMessagesFieldNumber
Field number for the "server_messages" field.
Declaration
public const int ServerMessagesFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
UncompressedSizeFieldNumber
Field number for the "uncompressed_size" field.
Declaration
public const int UncompressedSizeFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Properties
ClientMessages
Declaration
public ClientMessages.Types.Type ClientMessages { get; set; }
Property Value
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
HasClientMessages
Gets whether the "client_messages" field is set
Declaration
public bool HasClientMessages { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasPayload
Gets whether the "payload" field is set
Declaration
public bool HasPayload { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasServerMessages
Gets whether the "server_messages" field is set
Declaration
public bool HasServerMessages { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasUncompressedSize
Gets whether the "uncompressed_size" field is set
Declaration
public bool HasUncompressedSize { get; }
Property Value
Type |
Description |
System.Boolean |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<Compression> Parser { get; }
Property Value
Type |
Description |
Google.Protobuf.MessageParser<Compression> |
|
Payload
Declaration
public Google.Protobuf.ByteString Payload { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
ServerMessages
Declaration
public ServerMessages.Types.Type ServerMessages { get; set; }
Property Value
UncompressedSize
Declaration
public ulong UncompressedSize { get; set; }
Property Value
Type |
Description |
System.UInt64 |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
ClearClientMessages()
Clears the value of the "client_messages" field
Declaration
public void ClearClientMessages()
ClearPayload()
Clears the value of the "payload" field
Declaration
public void ClearPayload()
ClearServerMessages()
Clears the value of the "server_messages" field
Declaration
public void ClearServerMessages()
ClearUncompressedSize()
Clears the value of the "uncompressed_size" field
Declaration
public void ClearUncompressedSize()
Clone()
Declaration
public Compression Clone()
Returns
Equals(Compression)
Declaration
public bool Equals(Compression other)
Parameters
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(Compression)
Declaration
public void MergeFrom(Compression other)
Parameters
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