Class AvailabilityReply
Namespace: ArmoniK.Api.gRPC.V1.Submitter
Assembly: ArmoniK.Api.Common.dll
public sealed class AvailabilityReply : IMessage<AvailabilityReply>, IEquatable<AvailabilityReply>, IDeepCloneable<AvailabilityReply>, IBufferMessage, IMessage
Inheritance
Implements
IMessage<AvailabilityReply>, IEquatable<AvailabilityReply>, IDeepCloneable<AvailabilityReply>, IBufferMessage, IMessage
Inherited Members
object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object, object), object.ToString()
Constructors
AvailabilityReply()
public AvailabilityReply()
AvailabilityReply(AvailabilityReply)
public AvailabilityReply(AvailabilityReply other)
Parameters
other AvailabilityReply
Fields
ErrorFieldNumber
Field number for the “error” field.
public const int ErrorFieldNumber = 2
Field Value
NotCompletedTaskFieldNumber
Field number for the “not_completed_task” field.
public const int NotCompletedTaskFieldNumber = 3
Field Value
OkFieldNumber
Field number for the “ok” field.
public const int OkFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
MessageDescriptor
Error
public TaskError Error { get; set; }
Property Value
HasNotCompletedTask
Gets whether the “not_completed_task” field is set
public bool HasNotCompletedTask { get; }
Property Value
NotCompletedTask
public string NotCompletedTask { get; set; }
Property Value
Ok
public Empty Ok { get; set; }
Property Value
Parser
public static MessageParser<AvailabilityReply> Parser { get; }
Property Value
MessageParser<AvailabilityReply>
TypeCase
public AvailabilityReply.TypeOneofCase TypeCase { 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.
ClearNotCompletedTask()
Clears the value of the oneof if it’s currently set to “not_completed_task”
public void ClearNotCompletedTask()
ClearType()
public void ClearType()
Clone()
Creates a deep clone of this object.
public AvailabilityReply Clone()
Returns
A deep clone of this object.
Equals(object)
public override bool Equals(object other)
Parameters
other object
Returns
Equals(AvailabilityReply)
public bool Equals(AvailabilityReply other)
Parameters
other AvailabilityReply
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(AvailabilityReply)
Merges the given message into this one.
public void MergeFrom(AvailabilityReply other)
Parameters
other AvailabilityReply
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.