public enum GrpcStreamType extends Enum<GrpcStreamType>
| Enum Constant and Description |
|---|
OTHER |
READ_OBJECT |
START_RESUMABLE_WRITE |
WRITE_OBJECT |
| Modifier and Type | Method and Description |
|---|---|
static GrpcStreamType |
getTypeFromName(String name) |
static GrpcStreamType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpcStreamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpcStreamType START_RESUMABLE_WRITE
public static final GrpcStreamType WRITE_OBJECT
public static final GrpcStreamType READ_OBJECT
public static final GrpcStreamType OTHER
public final String name
public static GrpcStreamType[] values()
for (GrpcStreamType c : GrpcStreamType.values()) System.out.println(c);
public static GrpcStreamType 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 nullpublic static GrpcStreamType getTypeFromName(String name)
Copyright © 2024. All rights reserved.