Class CreateTaskReply.Types.CreationStatus

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

public sealed class CreateTaskReply.Types.CreationStatus : IMessage<CreateTaskReply.Types.CreationStatus>, IEquatable<CreateTaskReply.Types.CreationStatus>, IDeepCloneable<CreateTaskReply.Types.CreationStatus>, IBufferMessage, IMessage

Inheritance

objectCreateTaskReply.Types.CreationStatus

Implements

IMessage<CreateTaskReply.Types.CreationStatus>, IEquatable<CreateTaskReply.Types.CreationStatus>, IDeepCloneable<CreateTaskReply.Types.CreationStatus>, IBufferMessage, IMessage

Inherited Members

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

Constructors

CreationStatus()

public CreationStatus()

CreationStatus(CreationStatus)

public CreationStatus(CreateTaskReply.Types.CreationStatus other)

Parameters

other CreateTaskReply.Types.CreationStatus

Fields

ErrorFieldNumber

Field number for the “error” field.

public const int ErrorFieldNumber = 2

Field Value

int

TaskInfoFieldNumber

Field number for the “task_info” field.

public const int TaskInfoFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Error

public string Error { get; set; }

Property Value

string

HasError

Gets whether the “error” field is set

public bool HasError { get; }

Property Value

bool

Parser

public static MessageParser<CreateTaskReply.Types.CreationStatus> Parser { get; }

Property Value

MessageParser<CreateTaskReply.Types.CreationStatus>

StatusCase

public CreateTaskReply.Types.CreationStatus.StatusOneofCase StatusCase { get; }

Property Value

CreateTaskReply.Types.CreationStatus.StatusOneofCase

TaskInfo

public CreateTaskReply.Types.TaskInfo TaskInfo { get; set; }

Property Value

CreateTaskReply.Types.TaskInfo

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.

ClearError()

Clears the value of the oneof if it’s currently set to “error”

public void ClearError()

ClearStatus()

public void ClearStatus()

Clone()

Creates a deep clone of this object.

public CreateTaskReply.Types.CreationStatus Clone()

Returns

CreateTaskReply.Types.CreationStatus

A deep clone of this object.

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

Equals(CreationStatus)

public bool Equals(CreateTaskReply.Types.CreationStatus other)

Parameters

other CreateTaskReply.Types.CreationStatus

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CreationStatus)

Merges the given message into this one.

public void MergeFrom(CreateTaskReply.Types.CreationStatus other)

Parameters

other CreateTaskReply.Types.CreationStatus

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.