Class HealthCheckRequest
Inheritance
System.Object
HealthCheckRequest
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 HealthCheckRequest : IMessage<HealthCheckRequest>, IMessage, IEquatable<HealthCheckRequest>, IDeepCloneable<HealthCheckRequest>
Constructors
HealthCheckRequest()
Declaration
public HealthCheckRequest()
HealthCheckRequest(HealthCheckRequest)
Declaration
public HealthCheckRequest(HealthCheckRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| HealthCheckRequest | other |
Fields
ServiceFieldNumber
Field number for the "service" field.
Declaration
public const int ServiceFieldNumber = 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<HealthCheckRequest> Parser { get; }
Property Value
| Type | Description |
|---|---|
| Google.Protobuf.MessageParser<HealthCheckRequest> |
Service
Declaration
public string Service { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Implements
Google.Protobuf.IMessage.CalculateSize()
Clone()
Declaration
public HealthCheckRequest Clone()
Returns
| Type | Description |
|---|---|
| HealthCheckRequest |
Implements
Google.Protobuf.IDeepCloneable<T>.Clone()
Equals(HealthCheckRequest)
Declaration
public bool Equals(HealthCheckRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| HealthCheckRequest | 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(HealthCheckRequest)
Declaration
public void MergeFrom(HealthCheckRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| HealthCheckRequest | 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