枚举 EnvoyFilterOuterClass.EnvoyFilter.ApplyTo
- java.lang.Object
-
- java.lang.Enum<EnvoyFilterOuterClass.EnvoyFilter.ApplyTo>
-
- istio.networking.v1alpha3.EnvoyFilterOuterClass.EnvoyFilter.ApplyTo
-
- 所有已实现的接口:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<EnvoyFilterOuterClass.EnvoyFilter.ApplyTo>
public static enum EnvoyFilterOuterClass.EnvoyFilter.ApplyTo extends java.lang.Enum<EnvoyFilterOuterClass.EnvoyFilter.ApplyTo> implements com.google.protobuf.ProtocolMessageEnum
`ApplyTo` specifies where in the Envoy configuration, the given patch should be applied.
Protobuf enumistio.networking.v1alpha3.EnvoyFilter.ApplyTo
-
-
枚举常量概要
枚举常量 枚举常量 说明 CLUSTERApplies the patch to a cluster in a CDS output.EXTENSION_CONFIGApplies the patch to or adds an extension config in ECDS output.FILTER_CHAINApplies the patch to the filter chain.HTTP_FILTERApplies the patch to the HTTP filter chain in the http connection manager, to modify an existing filter or add a new filter.HTTP_ROUTEApplies the patch to a route object inside the matched virtual host in a route configuration.INVALIDINVALID = 0;LISTENERApplies the patch to the listener.NETWORK_FILTERApplies the patch to the network filter chain, to modify an existing filter or add a new filter.ROUTE_CONFIGURATIONApplies the patch to the Route configuration (rds output) inside a HTTP connection manager.UNRECOGNIZEDVIRTUAL_HOSTApplies the patch to a virtual host inside a route configuration.
-
字段概要
字段 修饰符和类型 字段 说明 static intCLUSTER_VALUEApplies the patch to a cluster in a CDS output.static intEXTENSION_CONFIG_VALUEApplies the patch to or adds an extension config in ECDS output.static intFILTER_CHAIN_VALUEApplies the patch to the filter chain.static intHTTP_FILTER_VALUEApplies the patch to the HTTP filter chain in the http connection manager, to modify an existing filter or add a new filter.static intHTTP_ROUTE_VALUEApplies the patch to a route object inside the matched virtual host in a route configuration.private static com.google.protobuf.Internal.EnumLiteMap<EnvoyFilterOuterClass.EnvoyFilter.ApplyTo>internalValueMapstatic intINVALID_VALUEINVALID = 0;static intLISTENER_VALUEApplies the patch to the listener.static intNETWORK_FILTER_VALUEApplies the patch to the network filter chain, to modify an existing filter or add a new filter.static intROUTE_CONFIGURATION_VALUEApplies the patch to the Route configuration (rds output) inside a HTTP connection manager.private intvalueprivate static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo[]VALUESstatic intVIRTUAL_HOST_VALUEApplies the patch to a virtual host inside a route configuration.
-
构造器概要
构造器 限定符 构造器 说明 privateApplyTo(int value)
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 static EnvoyFilterOuterClass.EnvoyFilter.ApplyToforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<EnvoyFilterOuterClass.EnvoyFilter.ApplyTo>internalGetValueMap()static EnvoyFilterOuterClass.EnvoyFilter.ApplyTovalueOf(int value)已过时。static EnvoyFilterOuterClass.EnvoyFilter.ApplyTovalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)返回带有指定名称的该类型的枚举常量。static EnvoyFilterOuterClass.EnvoyFilter.ApplyTovalueOf(java.lang.String name)返回带有指定名称的该类型的枚举常量。static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
INVALID
public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo INVALID
INVALID = 0;
-
LISTENER
public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo LISTENER
Applies the patch to the listener.
LISTENER = 1;
-
FILTER_CHAIN
public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo FILTER_CHAIN
Applies the patch to the filter chain.
FILTER_CHAIN = 2;
-
NETWORK_FILTER
public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo NETWORK_FILTER
Applies the patch to the network filter chain, to modify an existing filter or add a new filter.
NETWORK_FILTER = 3;
-
HTTP_FILTER
public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo HTTP_FILTER
Applies the patch to the HTTP filter chain in the http connection manager, to modify an existing filter or add a new filter.
HTTP_FILTER = 4;
-
ROUTE_CONFIGURATION
public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo ROUTE_CONFIGURATION
Applies the patch to the Route configuration (rds output) inside a HTTP connection manager. This does not apply to the virtual host. Currently, only `MERGE` operation is allowed on the route configuration objects.
ROUTE_CONFIGURATION = 5;
-
VIRTUAL_HOST
public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo VIRTUAL_HOST
Applies the patch to a virtual host inside a route configuration.
VIRTUAL_HOST = 6;
-
HTTP_ROUTE
public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo HTTP_ROUTE
Applies the patch to a route object inside the matched virtual host in a route configuration.
HTTP_ROUTE = 7;
-
CLUSTER
public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo CLUSTER
Applies the patch to a cluster in a CDS output. Also used to add new clusters.
CLUSTER = 8;
-
EXTENSION_CONFIG
public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo EXTENSION_CONFIG
Applies the patch to or adds an extension config in ECDS output. Note that ECDS is only supported by HTTP filters.
EXTENSION_CONFIG = 9;
-
UNRECOGNIZED
public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo UNRECOGNIZED
-
-
字段详细资料
-
INVALID_VALUE
public static final int INVALID_VALUE
INVALID = 0;- 另请参阅:
- 常量字段值
-
LISTENER_VALUE
public static final int LISTENER_VALUE
Applies the patch to the listener.
LISTENER = 1;- 另请参阅:
- 常量字段值
-
FILTER_CHAIN_VALUE
public static final int FILTER_CHAIN_VALUE
Applies the patch to the filter chain.
FILTER_CHAIN = 2;- 另请参阅:
- 常量字段值
-
NETWORK_FILTER_VALUE
public static final int NETWORK_FILTER_VALUE
Applies the patch to the network filter chain, to modify an existing filter or add a new filter.
NETWORK_FILTER = 3;- 另请参阅:
- 常量字段值
-
HTTP_FILTER_VALUE
public static final int HTTP_FILTER_VALUE
Applies the patch to the HTTP filter chain in the http connection manager, to modify an existing filter or add a new filter.
HTTP_FILTER = 4;- 另请参阅:
- 常量字段值
-
ROUTE_CONFIGURATION_VALUE
public static final int ROUTE_CONFIGURATION_VALUE
Applies the patch to the Route configuration (rds output) inside a HTTP connection manager. This does not apply to the virtual host. Currently, only `MERGE` operation is allowed on the route configuration objects.
ROUTE_CONFIGURATION = 5;- 另请参阅:
- 常量字段值
-
VIRTUAL_HOST_VALUE
public static final int VIRTUAL_HOST_VALUE
Applies the patch to a virtual host inside a route configuration.
VIRTUAL_HOST = 6;- 另请参阅:
- 常量字段值
-
HTTP_ROUTE_VALUE
public static final int HTTP_ROUTE_VALUE
Applies the patch to a route object inside the matched virtual host in a route configuration.
HTTP_ROUTE = 7;- 另请参阅:
- 常量字段值
-
CLUSTER_VALUE
public static final int CLUSTER_VALUE
Applies the patch to a cluster in a CDS output. Also used to add new clusters.
CLUSTER = 8;- 另请参阅:
- 常量字段值
-
EXTENSION_CONFIG_VALUE
public static final int EXTENSION_CONFIG_VALUE
Applies the patch to or adds an extension config in ECDS output. Note that ECDS is only supported by HTTP filters.
EXTENSION_CONFIG = 9;- 另请参阅:
- 常量字段值
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<EnvoyFilterOuterClass.EnvoyFilter.ApplyTo> internalValueMap
-
VALUES
private static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo[] VALUES
-
value
private final int value
-
-
方法详细资料
-
values
public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (EnvoyFilterOuterClass.EnvoyFilter.ApplyTo c : EnvoyFilterOuterClass.EnvoyFilter.ApplyTo.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
java.lang.IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException- 如果参数为空值
-
getNumber
public final int getNumber()
- 指定者:
getNumber在接口中com.google.protobuf.Internal.EnumLite- 指定者:
getNumber在接口中com.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo valueOf(int value)
已过时。返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
value- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
java.lang.IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException- 如果参数为空值
-
forNumber
public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo forNumber(int value)
- 参数:
value- The numeric wire value of the corresponding enum entry.- 返回:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<EnvoyFilterOuterClass.EnvoyFilter.ApplyTo> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- 指定者:
getValueDescriptor在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
desc- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
java.lang.IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException- 如果参数为空值
-
-