Class HealthCheckResponse
Inheritance
System.Object
HealthCheckResponse
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Grpc.Health.V1
Assembly: Grpc.HealthCheck.dll
Syntax
public sealed class HealthCheckResponse : IMessage<HealthCheckResponse>, IMessage, IEquatable<HealthCheckResponse>, IDeepCloneable<HealthCheckResponse>
Constructors
HealthCheckResponse()
Declaration
public HealthCheckResponse()
HealthCheckResponse(HealthCheckResponse)
Declaration
public HealthCheckResponse(HealthCheckResponse other)
Parameters
| Type | Name | Description |
|---|---|---|
| HealthCheckResponse | other |
Fields
StatusFieldNumber
Field number for the "status" field.
Declaration
public const int StatusFieldNumber = 1
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
| Type | Description |
|---|---|
| Google.Protobuf.Reflection.MessageDescriptor |
Parser
Declaration
public static MessageParser<HealthCheckResponse> Parser { get; }
Property Value
| Type | Description |
|---|---|
| Google.Protobuf.MessageParser<HealthCheckResponse> |
Status
Declaration
public HealthCheckResponse.Types.ServingStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| HealthCheckResponse.Types.ServingStatus |
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Implements
Google.Protobuf.IMessage.CalculateSize()
Clone()
Declaration
public HealthCheckResponse Clone()
Returns
| Type | Description |
|---|---|
| HealthCheckResponse |
Implements
Google.Protobuf.IDeepCloneable<T>.Clone()
Equals(HealthCheckResponse)
Declaration
public bool Equals(HealthCheckResponse other)
Parameters
| Type | Name | Description |
|---|---|---|
| HealthCheckResponse | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Implements
System.IEquatable<T>.Equals(T)
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
System.Object.GetHashCode()
MergeFrom(CodedInputStream)
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Protobuf.CodedInputStream | input |
Implements
Google.Protobuf.IMessage.MergeFrom(Google.Protobuf.CodedInputStream)
MergeFrom(HealthCheckResponse)
Declaration
public void MergeFrom(HealthCheckResponse other)
Parameters
| Type | Name | Description |
|---|---|---|
| HealthCheckResponse | other |
Implements
Google.Protobuf.IMessage<T>.MergeFrom(T)
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Protobuf.CodedOutputStream | output |
Implements
Google.Protobuf.IMessage.WriteTo(Google.Protobuf.CodedOutputStream)
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
| Type | Description |
|---|---|
| Google.Protobuf.Reflection.MessageDescriptor |
Implements
Google.Protobuf.IMessage.Descriptor