Class CreateTaskReply
Namespace: ArmoniK.Api.gRPC.V1.Submitter
Assembly: ArmoniK.Api.Common.dll
public sealed class CreateTaskReply : IMessage<CreateTaskReply>, IEquatable<CreateTaskReply>, IDeepCloneable<CreateTaskReply>, IBufferMessage, IMessage
Inheritance
Implements
IMessage<CreateTaskReply>, IEquatable<CreateTaskReply>, IDeepCloneable<CreateTaskReply>, IBufferMessage, IMessage
Inherited Members
object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object, object), object.ToString()
Constructors
CreateTaskReply()
public CreateTaskReply()
CreateTaskReply(CreateTaskReply)
public CreateTaskReply(CreateTaskReply other)
Parameters
other CreateTaskReply
Fields
CreationStatusListFieldNumber
Field number for the “creation_status_list” field.
public const int CreationStatusListFieldNumber = 1
Field Value
ErrorFieldNumber
Field number for the “error” field.
public const int ErrorFieldNumber = 2
Field Value
Properties
CreationStatusList
public CreateTaskReply.Types.CreationStatusList CreationStatusList { get; set; }
Property Value
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> Parser { get; }
Property Value
MessageParser<CreateTaskReply>
ResponseCase
public CreateTaskReply.ResponseOneofCase ResponseCase { get; }
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()
ClearResponse()
public void ClearResponse()
Clone()
Creates a deep clone of this object.
public CreateTaskReply Clone()
Returns
A deep clone of this object.
Equals(object)
public override bool Equals(object other)
Parameters
other object
Returns
Equals(CreateTaskReply)
public bool Equals(CreateTaskReply other)
Parameters
other CreateTaskReply
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CreateTaskReply)
Merges the given message into this one.
public void MergeFrom(CreateTaskReply other)
Parameters
other CreateTaskReply
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.