Class EventSubscriptionResponse.Types.NewTask

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

Represents the submission of a new task in ArmoniK.

public sealed class EventSubscriptionResponse.Types.NewTask : IMessage<EventSubscriptionResponse.Types.NewTask>, IEquatable<EventSubscriptionResponse.Types.NewTask>, IDeepCloneable<EventSubscriptionResponse.Types.NewTask>, IBufferMessage, IMessage

Inheritance

objectEventSubscriptionResponse.Types.NewTask

Implements

IMessage<EventSubscriptionResponse.Types.NewTask>, IEquatable<EventSubscriptionResponse.Types.NewTask>, IDeepCloneable<EventSubscriptionResponse.Types.NewTask>, IBufferMessage, IMessage

Inherited Members

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

Constructors

NewTask()

public NewTask()

NewTask(NewTask)

public NewTask(EventSubscriptionResponse.Types.NewTask other)

Parameters

other EventSubscriptionResponse.Types.NewTask

Fields

DataDependenciesFieldNumber

Field number for the “data_dependencies” field.

public const int DataDependenciesFieldNumber = 45

Field Value

int

ExpectedOutputKeysFieldNumber

Field number for the “expected_output_keys” field.

public const int ExpectedOutputKeysFieldNumber = 44

Field Value

int

OriginTaskIdFieldNumber

Field number for the “origin_task_id” field.

public const int OriginTaskIdFieldNumber = 42

Field Value

int

ParentTaskIdsFieldNumber

Field number for the “parent_task_ids” field.

public const int ParentTaskIdsFieldNumber = 47

Field Value

int

PayloadIdFieldNumber

Field number for the “payload_id” field.

public const int PayloadIdFieldNumber = 41

Field Value

int

RetryOfIdsFieldNumber

Field number for the “retry_of_ids” field.

public const int RetryOfIdsFieldNumber = 46

Field Value

int

StatusFieldNumber

Field number for the “status” field.

public const int StatusFieldNumber = 43

Field Value

int

TaskIdFieldNumber

Field number for the “task_id” field.

public const int TaskIdFieldNumber = 40

Field Value

int

Properties

DataDependencies

  • The keys of the data dependencies. *

public RepeatedField<string> DataDependencies { get; }

Property Value

RepeatedField<string>

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

ExpectedOutputKeys

  • The keys of the expected outputs *

public RepeatedField<string> ExpectedOutputKeys { get; }

Property Value

RepeatedField<string>

OriginTaskId

  • The task id before retry. *

public string OriginTaskId { get; set; }

Property Value

string

ParentTaskIds

  • The parent task IDs. A tasks can be a child of another task. *

public RepeatedField<string> ParentTaskIds { get; }

Property Value

RepeatedField<string>

Parser

public static MessageParser<EventSubscriptionResponse.Types.NewTask> Parser { get; }

Property Value

MessageParser<EventSubscriptionResponse.Types.NewTask>

PayloadId

  • The payload id. *

public string PayloadId { get; set; }

Property Value

string

RetryOfIds

  • The list of retried tasks from the first retry to the current. *

public RepeatedField<string> RetryOfIds { get; }

Property Value

RepeatedField<string>

Status

  • The task status. *

public TaskStatus Status { get; set; }

Property Value

TaskStatus

TaskId

  • The task id. *

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 EventSubscriptionResponse.Types.NewTask Clone()

Returns

EventSubscriptionResponse.Types.NewTask

A deep clone of this object.

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

Equals(NewTask)

public bool Equals(EventSubscriptionResponse.Types.NewTask other)

Parameters

other EventSubscriptionResponse.Types.NewTask

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(NewTask)

Merges the given message into this one.

public void MergeFrom(EventSubscriptionResponse.Types.NewTask other)

Parameters

other EventSubscriptionResponse.Types.NewTask

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.