Class TaskOptions
Namespace: ArmoniK.Api.gRPC.V1
Assembly: ArmoniK.Api.Common.dll
public sealed class TaskOptions : IMessage<TaskOptions>, IEquatable<TaskOptions>, IDeepCloneable<TaskOptions>, IBufferMessage, IMessage
Inheritance
Implements
IMessage<TaskOptions>, IEquatable<TaskOptions>, IDeepCloneable<TaskOptions>, IBufferMessage, IMessage
Inherited Members
object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object, object), object.ToString()
Constructors
TaskOptions()
public TaskOptions()
TaskOptions(TaskOptions)
public TaskOptions(TaskOptions other)
Parameters
other TaskOptions
Fields
ApplicationNameFieldNumber
Field number for the “application_name” field.
public const int ApplicationNameFieldNumber = 6
Field Value
ApplicationNamespaceFieldNumber
Field number for the “application_namespace” field.
public const int ApplicationNamespaceFieldNumber = 8
Field Value
ApplicationServiceFieldNumber
Field number for the “application_service” field.
public const int ApplicationServiceFieldNumber = 9
Field Value
ApplicationVersionFieldNumber
Field number for the “application_version” field.
public const int ApplicationVersionFieldNumber = 7
Field Value
EngineTypeFieldNumber
Field number for the “engine_type” field.
public const int EngineTypeFieldNumber = 10
Field Value
MaxDurationFieldNumber
Field number for the “max_duration” field.
public const int MaxDurationFieldNumber = 2
Field Value
MaxRetriesFieldNumber
Field number for the “max_retries” field.
public const int MaxRetriesFieldNumber = 3
Field Value
OptionsFieldNumber
Field number for the “options” field.
public const int OptionsFieldNumber = 1
Field Value
PartitionIdFieldNumber
Field number for the “partition_id” field.
public const int PartitionIdFieldNumber = 5
Field Value
PriorityFieldNumber
Field number for the “priority” field.
public const int PriorityFieldNumber = 4
Field Value
Properties
ApplicationName
public string ApplicationName { get; set; }
Property Value
ApplicationNamespace
public string ApplicationNamespace { get; set; }
Property Value
ApplicationService
public string ApplicationService { get; set; }
Property Value
ApplicationVersion
public string ApplicationVersion { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
MessageDescriptor
EngineType
public string EngineType { get; set; }
Property Value
MaxDuration
public Duration MaxDuration { get; set; }
Property Value
Duration
MaxRetries
public int MaxRetries { get; set; }
Property Value
Options
public MapField<string, string> Options { get; }
Property Value
Parser
public static MessageParser<TaskOptions> Parser { get; }
Property Value
MessageParser<TaskOptions>
PartitionId
public string PartitionId { get; set; }
Property Value
Priority
public int Priority { 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 TaskOptions Clone()
Returns
A deep clone of this object.
Equals(object)
public override bool Equals(object other)
Parameters
other object
Returns
Equals(TaskOptions)
public bool Equals(TaskOptions other)
Parameters
other TaskOptions
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(TaskOptions)
Merges the given message into this one.
public void MergeFrom(TaskOptions other)
Parameters
other TaskOptions
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.