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