Class ResultReply
Namespace: ArmoniK.Api.gRPC.V1.Submitter
Assembly: ArmoniK.Api.Common.dll
public sealed class ResultReply : IMessage<ResultReply>, IEquatable<ResultReply>, IDeepCloneable<ResultReply>, IBufferMessage, IMessage
Inheritance
Implements
IMessage<ResultReply>, IEquatable<ResultReply>, IDeepCloneable<ResultReply>, IBufferMessage, IMessage
Inherited Members
object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object, object), object.ToString()
Constructors
ResultReply()
public ResultReply()
ResultReply(ResultReply)
public ResultReply(ResultReply other)
Parameters
other ResultReply
Fields
ErrorFieldNumber
Field number for the “error” field.
public const int ErrorFieldNumber = 2
Field Value
NotCompletedTaskFieldNumber
Field number for the “not_completed_task” field.
public const int NotCompletedTaskFieldNumber = 3
Field Value
ResultFieldNumber
Field number for the “result” field.
public const int ResultFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
MessageDescriptor
Error
public TaskError Error { get; set; }
Property Value
HasNotCompletedTask
Gets whether the “not_completed_task” field is set
public bool HasNotCompletedTask { get; }
Property Value
NotCompletedTask
public string NotCompletedTask { get; set; }
Property Value
Parser
public static MessageParser<ResultReply> Parser { get; }
Property Value
MessageParser<ResultReply>
Result
public DataChunk Result { get; set; }
Property Value
TypeCase
public ResultReply.TypeOneofCase TypeCase { get; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
The number of bytes required to write this message to a coded output stream.
ClearNotCompletedTask()
Clears the value of the oneof if it’s currently set to “not_completed_task”
public void ClearNotCompletedTask()
ClearType()
public void ClearType()
Clone()
Creates a deep clone of this object.
public ResultReply Clone()
Returns
A deep clone of this object.
Equals(object)
public override bool Equals(object other)
Parameters
other object
Returns
Equals(ResultReply)
public bool Equals(ResultReply other)
Parameters
other ResultReply
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(ResultReply)
Merges the given message into this one.
public void MergeFrom(ResultReply other)
Parameters
other ResultReply
Remarks
See the user guide for precise merge semantics.
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
input CodedInputStream
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
output CodedOutputStream
Coded output stream to write the data to. Must not be null.