Class CreateTaskReply.Types.CreationStatus
Namespace: ArmoniK.Api.gRPC.V1.Agent
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
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
Fields
ErrorFieldNumber
Field number for the “error” field.
public const int ErrorFieldNumber = 2
Field Value
TaskInfoFieldNumber
Field number for the “task_info” field.
public const int TaskInfoFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
MessageDescriptor
Error
public string Error { get; set; }
Property Value
HasError
Gets whether the “error” field is set
public bool HasError { get; }
Property Value
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
TaskInfo
public CreateTaskReply.Types.TaskInfo TaskInfo { 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.
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
Equals(CreationStatus)
public bool Equals(CreateTaskReply.Types.CreationStatus other)
Parameters
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CreationStatus)
Merges the given message into this one.
public void MergeFrom(CreateTaskReply.Types.CreationStatus 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.