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

objectTaskOptions

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

int

ApplicationNamespaceFieldNumber

Field number for the “application_namespace” field.

public const int ApplicationNamespaceFieldNumber = 8

Field Value

int

ApplicationServiceFieldNumber

Field number for the “application_service” field.

public const int ApplicationServiceFieldNumber = 9

Field Value

int

ApplicationVersionFieldNumber

Field number for the “application_version” field.

public const int ApplicationVersionFieldNumber = 7

Field Value

int

EngineTypeFieldNumber

Field number for the “engine_type” field.

public const int EngineTypeFieldNumber = 10

Field Value

int

MaxDurationFieldNumber

Field number for the “max_duration” field.

public const int MaxDurationFieldNumber = 2

Field Value

int

MaxRetriesFieldNumber

Field number for the “max_retries” field.

public const int MaxRetriesFieldNumber = 3

Field Value

int

OptionsFieldNumber

Field number for the “options” field.

public const int OptionsFieldNumber = 1

Field Value

int

PartitionIdFieldNumber

Field number for the “partition_id” field.

public const int PartitionIdFieldNumber = 5

Field Value

int

PriorityFieldNumber

Field number for the “priority” field.

public const int PriorityFieldNumber = 4

Field Value

int

Properties

ApplicationName

public string ApplicationName { get; set; }

Property Value

string

ApplicationNamespace

public string ApplicationNamespace { get; set; }

Property Value

string

ApplicationService

public string ApplicationService { get; set; }

Property Value

string

ApplicationVersion

public string ApplicationVersion { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EngineType

public string EngineType { get; set; }

Property Value

string

MaxDuration

public Duration MaxDuration { get; set; }

Property Value

Duration

MaxRetries

public int MaxRetries { get; set; }

Property Value

int

Options

public MapField<string, string> Options { get; }

Property Value

MapField<string, string>

Parser

public static MessageParser<TaskOptions> Parser { get; }

Property Value

MessageParser<TaskOptions>

PartitionId

public string PartitionId { get; set; }

Property Value

string

Priority

public int Priority { get; set; }

Property Value

int

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 TaskOptions Clone()

Returns

TaskOptions

A deep clone of this object.

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

Equals(TaskOptions)

public bool Equals(TaskOptions other)

Parameters

other TaskOptions

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

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

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.