Class HelloReply
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.AspNetCore.Grpc.Contracts.Discovery
Assembly: Cephalon.AspNetCore.Grpc.dll
Returns the generated greeting and related metadata.
public sealed class HelloReply : IMessage<HelloReply>, IEquatable<HelloReply>, IDeepCloneable<HelloReply>, IBufferMessage, IMessageInheritance
Section titled “Inheritance”Implements
Section titled “Implements”IMessage<HelloReply>, IEquatable<HelloReply>, IDeepCloneable<HelloReply>, 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”HelloReply()
Section titled “ HelloReply()”public HelloReply()HelloReply(HelloReply)
Section titled “ HelloReply(HelloReply)”public HelloReply(HelloReply other)Parameters
Section titled “Parameters”other HelloReply
Fields
Section titled “Fields”GeneratedAtUtcFieldNumber
Section titled “ GeneratedAtUtcFieldNumber”Field number for the “generated_at_utc” field.
public const int GeneratedAtUtcFieldNumber = 2Field Value
Section titled “Field Value”MessageFieldNumber
Section titled “ MessageFieldNumber”Field number for the “message” field.
public const int MessageFieldNumber = 1Field Value
Section titled “Field Value”TraitsFieldNumber
Section titled “ TraitsFieldNumber”Field number for the “traits” field.
public const int TraitsFieldNumber = 3Field 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
GeneratedAtUtc
Section titled “ GeneratedAtUtc”The UTC timestamp when the reply was generated.
public string GeneratedAtUtc { get; set; }Property Value
Section titled “Property Value”Message
Section titled “ Message”The message rendered for the caller.
public string Message { get; set; }Property Value
Section titled “Property Value”Parser
Section titled “ Parser”public static MessageParser<HelloReply> Parser { get; }Property Value
Section titled “Property Value”MessageParser<HelloReply>
Traits
Section titled “ Traits”Additional traits or descriptors associated with the generated greeting.
public RepeatedField<string> Traits { get; }Property Value
Section titled “Property Value”RepeatedField<string>
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 HelloReply 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(HelloReply)
Section titled “ Equals(HelloReply)”Indicates whether the current object is equal to another object of the same type.
public bool Equals(HelloReply other)Parameters
Section titled “Parameters”other HelloReply
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(HelloReply)
Section titled “ MergeFrom(HelloReply)”Merges the given message into this one.
public void MergeFrom(HelloReply other)Parameters
Section titled “Parameters”other HelloReply
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.