Class PrincipleReply
Namespace: Cephalon.AspNetCore.Grpc.Contracts.Discovery
Assembly: Cephalon.AspNetCore.Grpc.dll
Returns one principle from the streamed discovery sequence.
public sealed class PrincipleReply : IMessage<PrincipleReply>, IEquatable<PrincipleReply>, IDeepCloneable<PrincipleReply>, IBufferMessage, IMessageInheritance
Section titled “Inheritance”Implements
Section titled “Implements”IMessage<PrincipleReply>, IEquatable<PrincipleReply>, IDeepCloneable<PrincipleReply>, IBufferMessage, IMessage
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”PrincipleReply()
Section titled “ PrincipleReply()”public PrincipleReply()PrincipleReply(PrincipleReply)
Section titled “ PrincipleReply(PrincipleReply)”public PrincipleReply(PrincipleReply other)Parameters
Section titled “Parameters”other PrincipleReply
Fields
Section titled “Fields”PrincipleFieldNumber
Section titled “ PrincipleFieldNumber”Field number for the “principle” field.
public const int PrincipleFieldNumber = 1Field Value
Section titled “Field Value”Properties
Section titled “Properties”Descriptor
Section titled “ Descriptor”public static MessageDescriptor Descriptor { get; }Property Value
Section titled “Property Value”MessageDescriptor
Parser
Section titled “ Parser”public static MessageParser<PrincipleReply> Parser { get; }Property Value
Section titled “Property Value”MessageParser<PrincipleReply>
Principle
Section titled “ Principle”The principle text being streamed to the caller.
public string Principle { get; set; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”CalculateSize()
Section titled “ CalculateSize()”Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()Returns
Section titled “Returns”The number of bytes required to write this message to a coded output stream.
Clone()
Section titled “ Clone()”Creates a deep clone of this object.
public PrincipleReply Clone()Returns
Section titled “Returns”A deep clone of this object.
Equals(object)
Section titled “ Equals(object)”Determines whether the specified object is equal to the current object.
public override bool Equals(object other)Parameters
Section titled “Parameters”other object
Returns
Section titled “Returns”true if the specified object is equal to the current object; otherwise, false.
Equals(PrincipleReply)
Section titled “ Equals(PrincipleReply)”Indicates whether the current object is equal to another object of the same type.
public bool Equals(PrincipleReply other)Parameters
Section titled “Parameters”other PrincipleReply
An object to compare with this object.
Returns
Section titled “Returns”true if the current object is equal to the other parameter; otherwise, false.
GetHashCode()
Section titled “ GetHashCode()”Serves as the default hash function.
public override int GetHashCode()Returns
Section titled “Returns”A hash code for the current object.
MergeFrom(PrincipleReply)
Section titled “ MergeFrom(PrincipleReply)”Merges the given message into this one.
public void MergeFrom(PrincipleReply other)Parameters
Section titled “Parameters”other PrincipleReply
Remarks
Section titled “Remarks”See the user guide for precise merge semantics.
MergeFrom(CodedInputStream)
Section titled “ MergeFrom(CodedInputStream)”Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)Parameters
Section titled “Parameters”input CodedInputStream
Remarks
Section titled “Remarks”See the user guide for precise merge semantics.
ToString()
Section titled “ ToString()”Returns a string that represents the current object.
public override string ToString()Returns
Section titled “Returns”A string that represents the current object.
WriteTo(CodedOutputStream)
Section titled “ WriteTo(CodedOutputStream)”Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)Parameters
Section titled “Parameters”output CodedOutputStream
Coded output stream to write the data to. Must not be null.