Class SubmitTasksRequest.Types.TaskCreation
Namespace: ArmoniK.Api.gRPC.V1.Tasks
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
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
Fields
DataDependenciesFieldNumber
Field number for the “data_dependencies” field.
public const int DataDependenciesFieldNumber = 2
Field Value
ExpectedOutputKeysFieldNumber
Field number for the “expected_output_keys” field.
public const int ExpectedOutputKeysFieldNumber = 1
Field Value
PayloadIdFieldNumber
Field number for the “payload_id” field.
public const int PayloadIdFieldNumber = 3
Field Value
TaskOptionsFieldNumber
Field number for the “task_options” field.
public const int TaskOptionsFieldNumber = 4
Field Value
Properties
DataDependencies
Unique ID of the results that will be used as datadependencies. Results should 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 should 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 should created using ResultsService.
public string PayloadId { get; set; }
Property Value
TaskOptions
Optional task options.
public TaskOptions TaskOptions { get; set; }
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.
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
Equals(TaskCreation)
public bool Equals(SubmitTasksRequest.Types.TaskCreation other)
Parameters
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(TaskCreation)
Merges the given message into this one.
public void MergeFrom(SubmitTasksRequest.Types.TaskCreation other)
Parameters
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.