Enum HttpProtocolOptions.UpstreamProtocolOptionsCase
- java.lang.Object
-
- java.lang.Enum<HttpProtocolOptions.UpstreamProtocolOptionsCase>
-
- io.envoyproxy.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UpstreamProtocolOptionsCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<HttpProtocolOptions.UpstreamProtocolOptionsCase>
- Enclosing class:
- HttpProtocolOptions
public static enum HttpProtocolOptions.UpstreamProtocolOptionsCase extends Enum<HttpProtocolOptions.UpstreamProtocolOptionsCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_CONFIGEXPLICIT_HTTP_CONFIGUPSTREAMPROTOCOLOPTIONS_NOT_SETUSE_DOWNSTREAM_PROTOCOL_CONFIG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HttpProtocolOptions.UpstreamProtocolOptionsCaseforNumber(int value)intgetNumber()static HttpProtocolOptions.UpstreamProtocolOptionsCasevalueOf(int value)Deprecated.static HttpProtocolOptions.UpstreamProtocolOptionsCasevalueOf(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.
-
-
-
Enum Constant Detail
-
EXPLICIT_HTTP_CONFIG
public static final HttpProtocolOptions.UpstreamProtocolOptionsCase EXPLICIT_HTTP_CONFIG
-
USE_DOWNSTREAM_PROTOCOL_CONFIG
public static final HttpProtocolOptions.UpstreamProtocolOptionsCase USE_DOWNSTREAM_PROTOCOL_CONFIG
-
AUTO_CONFIG
public static final HttpProtocolOptions.UpstreamProtocolOptionsCase AUTO_CONFIG
-
UPSTREAMPROTOCOLOPTIONS_NOT_SET
public static final HttpProtocolOptions.UpstreamProtocolOptionsCase UPSTREAMPROTOCOLOPTIONS_NOT_SET
-
-
Method Detail
-
values
public static HttpProtocolOptions.UpstreamProtocolOptionsCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HttpProtocolOptions.UpstreamProtocolOptionsCase c : HttpProtocolOptions.UpstreamProtocolOptionsCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpProtocolOptions.UpstreamProtocolOptionsCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
@Deprecated public static HttpProtocolOptions.UpstreamProtocolOptionsCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static HttpProtocolOptions.UpstreamProtocolOptionsCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-