Class ReportInfo
public sealed class ReportInfo : IMessage<ReportInfo>, IEquatable<ReportInfo>, IDeepCloneable<ReportInfo>, IBufferMessage, IMessage
- Inheritance
-
ReportInfo
- Implements
-
IMessage<ReportInfo>IDeepCloneable<ReportInfo>IBufferMessageIMessage
- Inherited Members
Constructors
ReportInfo()
public ReportInfo()
ReportInfo(ReportInfo)
public ReportInfo(ReportInfo other)
Parameters
otherReportInfo
Fields
FeatureUsageFieldNumber
Field number for the "feature_usage" field.
public const int FeatureUsageFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
FeatureUsage
public FeatureUsageInfo FeatureUsage { get; set; }
Property Value
MessageCase
public ReportInfo.MessageOneofCase MessageCase { get; }
Property Value
Parser
public static MessageParser<ReportInfo> Parser { get; }
Property Value
- MessageParser<ReportInfo>
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearMessage()
public void ClearMessage()
Clone()
Creates a deep clone of this object.
public ReportInfo Clone()
Returns
- ReportInfo
A deep clone of this object.
Equals(ReportInfo)
public bool Equals(ReportInfo other)
Parameters
otherReportInfo
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(ReportInfo)
Merges the given message into this one.
public void MergeFrom(ReportInfo other)
Parameters
otherReportInfo
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.