Class Struct
Assembly: Google.Protobuf.dll
Syntax
public sealed class Struct : IMessage<Struct>, IEquatable<Struct>, IDeepCloneable<Struct>, IBufferMessage, IMessage
Constructors
Struct()
Declaration
Struct(Struct)
Declaration
public Struct(Struct other)
Parameters
Type |
Name |
Description |
Struct |
other |
|
Fields
FieldsFieldNumber
Declaration
public const int FieldsFieldNumber = 1
Field Value
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Fields
Declaration
public MapField<string, Value> Fields { get; }
Property Value
Parser
Declaration
public static MessageParser<Struct> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
Returns
Equals(Struct)
Declaration
public bool Equals(Struct other)
Parameters
Type |
Name |
Description |
Struct |
other |
|
Returns
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
MergeFrom(Struct)
Declaration
public void MergeFrom(Struct other)
Parameters
Type |
Name |
Description |
Struct |
other |
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Extension Methods