public static enum ClientStreamListener.RpcProgress extends Enum<ClientStreamListener.RpcProgress>
| Enum Constant and Description |
|---|
DROPPED
The RPC is dropped (by load balancer).
|
PROCESSED
The RPC is processed by the server normally.
|
REFUSED
The RPC is not processed by the server's application logic.
|
| Modifier and Type | Method and Description |
|---|---|
static ClientStreamListener.RpcProgress |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientStreamListener.RpcProgress[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientStreamListener.RpcProgress PROCESSED
public static final ClientStreamListener.RpcProgress REFUSED
public static final ClientStreamListener.RpcProgress DROPPED
public static ClientStreamListener.RpcProgress[] values()
for (ClientStreamListener.RpcProgress c : ClientStreamListener.RpcProgress.values()) System.out.println(c);
public static ClientStreamListener.RpcProgress valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null