public static enum EnvoyFilterOuterClass.EnvoyFilter.ApplyTo extends Enum<EnvoyFilterOuterClass.EnvoyFilter.ApplyTo> implements com.google.protobuf.ProtocolMessageEnum
`ApplyTo` specifies where in the Envoy configuration, the given patch should be applied.Protobuf enum
istio.networking.v1alpha3.EnvoyFilter.ApplyTo| 枚举常量和说明 |
|---|
CLUSTER
Applies the patch to a cluster in a CDS output.
|
EXTENSION_CONFIG
Applies the patch to or adds an extension config in ECDS output.
|
FILTER_CHAIN
Applies the patch to the filter chain.
|
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_ROUTE
Applies the patch to a route object inside the matched virtual
host in a route configuration.
|
INVALID
INVALID = 0; |
LISTENER
Applies the patch to the listener.
|
NETWORK_FILTER
Applies the patch to the network filter chain, to modify an
existing filter or add a new filter.
|
ROUTE_CONFIGURATION
Applies the patch to the Route configuration (rds output)
inside a HTTP connection manager.
|
UNRECOGNIZED |
VIRTUAL_HOST
Applies the patch to a virtual host inside a route configuration.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CLUSTER_VALUE
Applies the patch to a cluster in a CDS output.
|
static int |
EXTENSION_CONFIG_VALUE
Applies the patch to or adds an extension config in ECDS output.
|
static int |
FILTER_CHAIN_VALUE
Applies the patch to the filter chain.
|
static 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.
|
static int |
HTTP_ROUTE_VALUE
Applies the patch to a route object inside the matched virtual
host in a route configuration.
|
static int |
INVALID_VALUE
INVALID = 0; |
static int |
LISTENER_VALUE
Applies the patch to the listener.
|
static int |
NETWORK_FILTER_VALUE
Applies the patch to the network filter chain, to modify an
existing filter or add a new filter.
|
static int |
ROUTE_CONFIGURATION_VALUE
Applies the patch to the Route configuration (rds output)
inside a HTTP connection manager.
|
static int |
VIRTUAL_HOST_VALUE
Applies the patch to a virtual host inside a route configuration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<EnvoyFilterOuterClass.EnvoyFilter.ApplyTo> |
internalGetValueMap() |
static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo INVALID
INVALID = 0;public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo LISTENER
Applies the patch to the listener.
LISTENER = 1;public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo FILTER_CHAIN
Applies the patch to the filter chain.
FILTER_CHAIN = 2;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;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;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;public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo VIRTUAL_HOST
Applies the patch to a virtual host inside a route configuration.
VIRTUAL_HOST = 6;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;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;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;public static final EnvoyFilterOuterClass.EnvoyFilter.ApplyTo UNRECOGNIZED
public static final int INVALID_VALUE
INVALID = 0;public static final int LISTENER_VALUE
Applies the patch to the listener.
LISTENER = 1;public static final int FILTER_CHAIN_VALUE
Applies the patch to the filter chain.
FILTER_CHAIN = 2;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;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;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;public static final int VIRTUAL_HOST_VALUE
Applies the patch to a virtual host inside a route configuration.
VIRTUAL_HOST = 6;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;public static final int CLUSTER_VALUE
Applies the patch to a cluster in a CDS output. Also used to add new clusters.
CLUSTER = 8;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;public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo[] values()
for (EnvoyFilterOuterClass.EnvoyFilter.ApplyTo c : EnvoyFilterOuterClass.EnvoyFilter.ApplyTo.values()) System.out.println(c);
public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EnvoyFilterOuterClass.EnvoyFilter.ApplyTo> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2023 Alibaba Group. All rights reserved.