Class RpcError
public sealed class RpcError : Google.Protobuf.IMessage<RpcError>, Google.Protobuf.IBufferMessage
- Inheritance
-
RpcError
- Implements
-
IBufferMessage
- Extension Methods
Constructors
RpcError()
public RpcError()
RpcError(RpcError)
public RpcError(RpcError other)
Parameters
otherRpcError
Fields
CodeFieldNumber
Field number for the "code" field.
public const int CodeFieldNumber = 1
Field Value
DataFieldNumber
Field number for the "data" field.
public const int DataFieldNumber = 3
Field Value
MessageFieldNumber
Field number for the "message" field.
public const int MessageFieldNumber = 2
Field Value
Properties
Code
public uint Code { get; set; }
Property Value
Data
public string Data { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasCode
Gets whether the "code" field is set
public bool HasCode { get; }
Property Value
HasData
Gets whether the "data" field is set
public bool HasData { get; }
Property Value
HasMessage
Gets whether the "message" field is set
public bool HasMessage { get; }
Property Value
Message
public string Message { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<RpcError> Parser { get; }
Property Value
- MessageParser<RpcError>
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearCode()
Clears the value of the "code" field
public void ClearCode()
ClearData()
Clears the value of the "data" field
public void ClearData()
ClearMessage()
Clears the value of the "message" field
public void ClearMessage()
Clone()
public RpcError Clone()
Returns
Equals(RpcError)
public bool Equals(RpcError other)
Parameters
otherRpcError
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(RpcError)
public void MergeFrom(RpcError other)
Parameters
otherRpcError
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream