ข้ามไปยังเนื้อหา

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, IMessage

objectHelloReply

IMessage<HelloReply>, IEquatable<HelloReply>, IDeepCloneable<HelloReply>, IBufferMessage, IMessage

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

public HelloReply()
public HelloReply(HelloReply other)

other HelloReply

Field number for the “generated_at_utc” field.

public const int GeneratedAtUtcFieldNumber = 2

int

Field number for the “message” field.

public const int MessageFieldNumber = 1

int

Field number for the “traits” field.

public const int TraitsFieldNumber = 3

int

public static MessageDescriptor Descriptor { get; }

MessageDescriptor

The UTC timestamp when the reply was generated.

public string GeneratedAtUtc { get; set; }

string

The message rendered for the caller.

public string Message { get; set; }

string

public static MessageParser<HelloReply> Parser { get; }

MessageParser<HelloReply>

Additional traits or descriptors associated with the generated greeting.

public RepeatedField<string> Traits { get; }

RepeatedField<string>

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

int

The number of bytes required to write this message to a coded output stream.

Creates a deep clone of this object.

public HelloReply Clone()

HelloReply

A deep clone of this object.

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

other object

bool

true if the specified object is equal to the current object; otherwise, false.

Indicates whether the current object is equal to another object of the same type.

public bool Equals(HelloReply other)

other HelloReply

An object to compare with this object.

bool

true if the current object is equal to the other parameter; otherwise, false.

Serves as the default hash function.

public override int GetHashCode()

int

A hash code for the current object.

Merges the given message into this one.

public void MergeFrom(HelloReply other)

other HelloReply

See the user guide for precise merge semantics.

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

input CodedInputStream

See the user guide for precise merge semantics.

Returns a string that represents the current object.

public override string ToString()

string

A string that represents the current object.

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

output CodedOutputStream

Coded output stream to write the data to. Must not be null.