public static enum HttpProtocolOptions.UpstreamProtocolOptionsCase extends Enum<HttpProtocolOptions.UpstreamProtocolOptionsCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
AUTO_CONFIG |
EXPLICIT_HTTP_CONFIG |
UPSTREAMPROTOCOLOPTIONS_NOT_SET |
USE_DOWNSTREAM_PROTOCOL_CONFIG |
| Modifier and Type | Method and Description |
|---|---|
static HttpProtocolOptions.UpstreamProtocolOptionsCase |
forNumber(int value) |
int |
getNumber() |
static HttpProtocolOptions.UpstreamProtocolOptionsCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HttpProtocolOptions.UpstreamProtocolOptionsCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpProtocolOptions.UpstreamProtocolOptionsCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpProtocolOptions.UpstreamProtocolOptionsCase EXPLICIT_HTTP_CONFIG
public static final HttpProtocolOptions.UpstreamProtocolOptionsCase USE_DOWNSTREAM_PROTOCOL_CONFIG
public static final HttpProtocolOptions.UpstreamProtocolOptionsCase AUTO_CONFIG
public static final HttpProtocolOptions.UpstreamProtocolOptionsCase UPSTREAMPROTOCOLOPTIONS_NOT_SET
public static HttpProtocolOptions.UpstreamProtocolOptionsCase[] values()
for (HttpProtocolOptions.UpstreamProtocolOptionsCase c : HttpProtocolOptions.UpstreamProtocolOptionsCase.values()) System.out.println(c);
public static HttpProtocolOptions.UpstreamProtocolOptionsCase 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@Deprecated public static HttpProtocolOptions.UpstreamProtocolOptionsCase valueOf(int value)
forNumber(int) instead.public static HttpProtocolOptions.UpstreamProtocolOptionsCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2018–2021 The Envoy Project. All rights reserved.