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

objectResultReply

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

int

NotCompletedTaskFieldNumber

Field number for the “not_completed_task” field.

public const int NotCompletedTaskFieldNumber = 3

Field Value

int

ResultFieldNumber

Field number for the “result” field.

public const int ResultFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Error

public TaskError Error { get; set; }

Property Value

TaskError

HasNotCompletedTask

Gets whether the “not_completed_task” field is set

public bool HasNotCompletedTask { get; }

Property Value

bool

NotCompletedTask

public string NotCompletedTask { get; set; }

Property Value

string

Parser

public static MessageParser<ResultReply> Parser { get; }

Property Value

MessageParser<ResultReply>

Result

public DataChunk Result { get; set; }

Property Value

DataChunk

TypeCase

public ResultReply.TypeOneofCase TypeCase { get; }

Property Value

ResultReply.TypeOneofCase

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.

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

ResultReply

A deep clone of this object.

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

Equals(ResultReply)

public bool Equals(ResultReply other)

Parameters

other ResultReply

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

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

string

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.