Class CreateTaskReply.Types.TaskInfo

Namespace: ArmoniK.Api.gRPC.V1.Submitter
Assembly: ArmoniK.Api.Common.dll

public sealed class CreateTaskReply.Types.TaskInfo : IMessage<CreateTaskReply.Types.TaskInfo>, IEquatable<CreateTaskReply.Types.TaskInfo>, IDeepCloneable<CreateTaskReply.Types.TaskInfo>, IBufferMessage, IMessage

Inheritance

objectCreateTaskReply.Types.TaskInfo

Implements

IMessage<CreateTaskReply.Types.TaskInfo>, IEquatable<CreateTaskReply.Types.TaskInfo>, IDeepCloneable<CreateTaskReply.Types.TaskInfo>, IBufferMessage, IMessage

Inherited Members

object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object, object), object.ToString()

Constructors

TaskInfo()

public TaskInfo()

TaskInfo(TaskInfo)

public TaskInfo(CreateTaskReply.Types.TaskInfo other)

Parameters

other CreateTaskReply.Types.TaskInfo

Fields

DataDependenciesFieldNumber

Field number for the “data_dependencies” field.

public const int DataDependenciesFieldNumber = 3

Field Value

int

ExpectedOutputKeysFieldNumber

Field number for the “expected_output_keys” field.

public const int ExpectedOutputKeysFieldNumber = 2

Field Value

int

PayloadIdFieldNumber

Field number for the “payload_id” field.

public const int PayloadIdFieldNumber = 4

Field Value

int

TaskIdFieldNumber

Field number for the “task_id” field.

public const int TaskIdFieldNumber = 1

Field Value

int

Properties

DataDependencies

  • Unique ID of the result that will be used as data dependency. Results should already exist.

public RepeatedField<string> DataDependencies { get; }

Property Value

RepeatedField<string>

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

ExpectedOutputKeys

  • Unique ID of the result that will be used as expected output. Results should already exist.

public RepeatedField<string> ExpectedOutputKeys { get; }

Property Value

RepeatedField<string>

Parser

public static MessageParser<CreateTaskReply.Types.TaskInfo> Parser { get; }

Property Value

MessageParser<CreateTaskReply.Types.TaskInfo>

PayloadId

  • Unique ID of the result that will be used as payload. Result associated to the payload is created implicitly.

public string PayloadId { get; set; }

Property Value

string

TaskId

  • Unique ID of the created task.

public string TaskId { get; set; }

Property Value

string

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.

Clone()

Creates a deep clone of this object.

public CreateTaskReply.Types.TaskInfo Clone()

Returns

CreateTaskReply.Types.TaskInfo

A deep clone of this object.

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

Equals(TaskInfo)

public bool Equals(CreateTaskReply.Types.TaskInfo other)

Parameters

other CreateTaskReply.Types.TaskInfo

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(TaskInfo)

Merges the given message into this one.

public void MergeFrom(CreateTaskReply.Types.TaskInfo other)

Parameters

other CreateTaskReply.Types.TaskInfo

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.