protected static enum GrpcMessagingConnection.ConnectionOwner extends Enum<GrpcMessagingConnection.ConnectionOwner>
Modifier and Type | Method and Description |
---|---|
static GrpcMessagingConnection.ConnectionOwner |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpcMessagingConnection.ConnectionOwner[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpcMessagingConnection.ConnectionOwner CLIENT
public static final GrpcMessagingConnection.ConnectionOwner SERVER
public static GrpcMessagingConnection.ConnectionOwner[] values()
for (GrpcMessagingConnection.ConnectionOwner c : GrpcMessagingConnection.ConnectionOwner.values()) System.out.println(c);
public static GrpcMessagingConnection.ConnectionOwner 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 nullCopyright © 2023. All Rights Reserved.