GrpcServingStatus enum

gRPC serving status per the health checking protocol.

Open: it mirrors a protobuf enum, which can grow, so a minor release may add a value and a switch keeps a default.

Inheritance
Available extensions

Values

unknown → const GrpcServingStatus

Status is not known.

const GrpcServingStatus(0)
serving → const GrpcServingStatus

The service is currently serving.

const GrpcServingStatus(1)
notServing → const GrpcServingStatus

The service is not currently serving.

const GrpcServingStatus(2)
serviceUnknown → const GrpcServingStatus

Used by Watch only. The requested service is not registered.

const GrpcServingStatus(3)

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → int
Wire value per the gRPC health proto.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromValue(int v) → GrpcServingStatus
Creates a GrpcServingStatus from its wire value.

Constants

values → const List<GrpcServingStatus>
A constant List of the values in this enum, in order of their declaration.