Class SubmitTasksRequest.Types.TaskCreation

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

public sealed class SubmitTasksRequest.Types.TaskCreation : IMessage<SubmitTasksRequest.Types.TaskCreation>, IEquatable<SubmitTasksRequest.Types.TaskCreation>, IDeepCloneable<SubmitTasksRequest.Types.TaskCreation>, IBufferMessage, IMessage

Inheritance

objectSubmitTasksRequest.Types.TaskCreation

Implements

IMessage<SubmitTasksRequest.Types.TaskCreation>, IEquatable<SubmitTasksRequest.Types.TaskCreation>, IDeepCloneable<SubmitTasksRequest.Types.TaskCreation>, IBufferMessage, IMessage

Inherited Members

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

Constructors

TaskCreation()

public TaskCreation()

TaskCreation(TaskCreation)

public TaskCreation(SubmitTasksRequest.Types.TaskCreation other)

Parameters

other SubmitTasksRequest.Types.TaskCreation

Fields

DataDependenciesFieldNumber

Field number for the “data_dependencies” field.

public const int DataDependenciesFieldNumber = 2

Field Value

int

ExpectedOutputKeysFieldNumber

Field number for the “expected_output_keys” field.

public const int ExpectedOutputKeysFieldNumber = 1

Field Value

int

PayloadIdFieldNumber

Field number for the “payload_id” field.

public const int PayloadIdFieldNumber = 3

Field Value

int

TaskOptionsFieldNumber

Field number for the “task_options” field.

public const int TaskOptionsFieldNumber = 4

Field Value

int

Properties

DataDependencies

  • Unique ID of the results that will be used as datadependencies. Results must be created using ResultsService.

public RepeatedField<string> DataDependencies { get; }

Property Value

RepeatedField<string>

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

ExpectedOutputKeys

  • Unique ID of the results that will be produced by the task. Results must be created using ResultsService.

public RepeatedField<string> ExpectedOutputKeys { get; }

Property Value

RepeatedField<string>

Parser

public static MessageParser<SubmitTasksRequest.Types.TaskCreation> Parser { get; }

Property Value

MessageParser<SubmitTasksRequest.Types.TaskCreation>

PayloadId

  • Unique ID of the result that will be used as payload. Result must be created using ResultsService.

public string PayloadId { get; set; }

Property Value

string

TaskOptions

  • Optionnal task options.

public TaskOptions TaskOptions { get; set; }

Property Value

TaskOptions

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 SubmitTasksRequest.Types.TaskCreation Clone()

Returns

SubmitTasksRequest.Types.TaskCreation

A deep clone of this object.

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

Equals(TaskCreation)

public bool Equals(SubmitTasksRequest.Types.TaskCreation other)

Parameters

other SubmitTasksRequest.Types.TaskCreation

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(TaskCreation)

Merges the given message into this one.

public void MergeFrom(SubmitTasksRequest.Types.TaskCreation other)

Parameters

other SubmitTasksRequest.Types.TaskCreation

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.