Class SessionFilter
Namespace: ArmoniK.Api.gRPC.V1.Submitter
Assembly: ArmoniK.Api.Common.dll
public sealed class SessionFilter : IMessage<SessionFilter>, IEquatable<SessionFilter>, IDeepCloneable<SessionFilter>, IBufferMessage, IMessage
Inheritance
Implements
IMessage<SessionFilter>, IEquatable<SessionFilter>, IDeepCloneable<SessionFilter>, IBufferMessage, IMessage
Inherited Members
object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object, object), object.ToString()
Constructors
SessionFilter()
public SessionFilter()
SessionFilter(SessionFilter)
public SessionFilter(SessionFilter other)
Parameters
other SessionFilter
Fields
ExcludedFieldNumber
Field number for the “excluded” field.
public const int ExcludedFieldNumber = 5
Field Value
IncludedFieldNumber
Field number for the “included” field.
public const int IncludedFieldNumber = 4
Field Value
SessionsFieldNumber
Field number for the “sessions” field.
public const int SessionsFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
MessageDescriptor
Excluded
public SessionFilter.Types.StatusesRequest Excluded { get; set; }
Property Value
Included
public SessionFilter.Types.StatusesRequest Included { get; set; }
Property Value
Parser
public static MessageParser<SessionFilter> Parser { get; }
Property Value
MessageParser<SessionFilter>
Sessions
public RepeatedField<string> Sessions { get; }
Property Value
RepeatedField<string>
StatusesCase
public SessionFilter.StatusesOneofCase StatusesCase { 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.
ClearStatuses()
public void ClearStatuses()
Clone()
Creates a deep clone of this object.
public SessionFilter Clone()
Returns
A deep clone of this object.
Equals(object)
public override bool Equals(object other)
Parameters
other object
Returns
Equals(SessionFilter)
public bool Equals(SessionFilter other)
Parameters
other SessionFilter
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(SessionFilter)
Merges the given message into this one.
public void MergeFrom(SessionFilter other)
Parameters
other SessionFilter
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.