Class StreamError
Error pertaining to a stream.
public sealed class StreamError : Google.Protobuf.IMessage<StreamError>, Google.Protobuf.IBufferMessage
- Inheritance
-
StreamError
- Implements
-
IBufferMessage
- Extension Methods
Constructors
StreamError()
public StreamError()
StreamError(StreamError)
public StreamError(StreamError other)
Parameters
otherStreamError
Fields
DescriptionFieldNumber
Field number for the "description" field.
public const int DescriptionFieldNumber = 1
Field Value
Properties
Description
TODO(ladvoc): make this an enum.
public string Description { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasDescription
Gets whether the "description" field is set
public bool HasDescription { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<StreamError> Parser { get; }
Property Value
- MessageParser<StreamError>
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearDescription()
Clears the value of the "description" field
public void ClearDescription()
Clone()
public StreamError Clone()
Returns
Equals(StreamError)
public bool Equals(StreamError other)
Parameters
otherStreamError
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(StreamError)
public void MergeFrom(StreamError other)
Parameters
otherStreamError
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream