public static enum OtlpConfig.Protocol extends Enum<OtlpConfig.Protocol>
| Enum Constant and Description |
|---|
GRPC |
HTTP_JSON |
HTTP_PROTOBUF |
| Modifier and Type | Method and Description |
|---|---|
static OtlpConfig.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OtlpConfig.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OtlpConfig.Protocol GRPC
public static final OtlpConfig.Protocol HTTP_PROTOBUF
public static final OtlpConfig.Protocol HTTP_JSON
public static OtlpConfig.Protocol[] values()
for (OtlpConfig.Protocol c : OtlpConfig.Protocol.values()) System.out.println(c);
public static OtlpConfig.Protocol 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