public static enum EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation extends Enum<EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation> implements com.google.protobuf.ProtocolMessageEnum
Operation denotes how the patch should be applied to the selected configuration.Protobuf enum
istio.networking.v1alpha3.EnvoyFilter.Patch.Operation| 枚举常量和说明 |
|---|
ADD
Add the provided config to an existing list (of listeners,
clusters, virtual hosts, network filters, or http
filters).
|
INSERT_AFTER
Insert operation on an array of named objects.
|
INSERT_BEFORE
Insert operation on an array of named objects.
|
INSERT_FIRST
Insert operation on an array of named objects.
|
INVALID
INVALID = 0; |
MERGE
Merge the provided config with the generated config using
proto merge semantics.
|
REMOVE
Remove the selected object from the list (of listeners,
clusters, virtual hosts, network filters, routes, or http
filters).
|
REPLACE
Replace contents of a named filter with new contents.
|
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ADD_VALUE
Add the provided config to an existing list (of listeners,
clusters, virtual hosts, network filters, or http
filters).
|
static int |
INSERT_AFTER_VALUE
Insert operation on an array of named objects.
|
static int |
INSERT_BEFORE_VALUE
Insert operation on an array of named objects.
|
static int |
INSERT_FIRST_VALUE
Insert operation on an array of named objects.
|
static int |
INVALID_VALUE
INVALID = 0; |
static int |
MERGE_VALUE
Merge the provided config with the generated config using
proto merge semantics.
|
static int |
REMOVE_VALUE
Remove the selected object from the list (of listeners,
clusters, virtual hosts, network filters, routes, or http
filters).
|
static int |
REPLACE_VALUE
Replace contents of a named filter with new contents.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation |
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.Patch.Operation> |
internalGetValueMap() |
static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation INVALID
INVALID = 0;public static final EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation MERGE
Merge the provided config with the generated config using proto merge semantics. If you are specifying config in its entirity, use `REPLACE` instead.
MERGE = 1;public static final EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation ADD
Add the provided config to an existing list (of listeners, clusters, virtual hosts, network filters, or http filters). This operation will be ignored when `applyTo` is set to `ROUTE_CONFIGURATION`, or `HTTP_ROUTE`.
ADD = 2;public static final EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation REMOVE
Remove the selected object from the list (of listeners, clusters, virtual hosts, network filters, routes, or http filters). Does not require a value to be specified. This operation will be ignored when `applyTo` is set to `ROUTE_CONFIGURATION`, or `HTTP_ROUTE`.
REMOVE = 3;public static final EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation INSERT_BEFORE
Insert operation on an array of named objects. This operation is typically useful only in the context of filters or routes, where the order of elements matter. Routes should be ordered based on most to least specific matching criteria since the first matching element is selected. For clusters and virtual hosts, order of the element in the array does not matter. Insert before the selected filter or sub filter. If no filter is selected, the specified filter will be inserted at the front of the list.
INSERT_BEFORE = 4;public static final EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation INSERT_AFTER
Insert operation on an array of named objects. This operation is typically useful only in the context of filters or routes, where the order of elements matter. Routes should be ordered based on most to least specific matching criteria since the first matching element is selected. For clusters and virtual hosts, order of the element in the array does not matter. Insert after the selected filter or sub filter. If no filter is selected, the specified filter will be inserted at the end of the list.
INSERT_AFTER = 5;public static final EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation INSERT_FIRST
Insert operation on an array of named objects. This operation is typically useful only in the context of filters or routes, where the order of elements matter. Routes should be ordered based on most to least specific matching criteria since the first matching element is selected. For clusters and virtual hosts, order of the element in the array does not matter. Insert first in the list based on the presence of selected filter or not. This is specifically useful when you want your filter first in the list based on a match condition specified in Match clause.
INSERT_FIRST = 6;public static final EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation REPLACE
Replace contents of a named filter with new contents. `REPLACE` operation is only valid for `HTTP_FILTER` and `NETWORK_FILTER`. If the named filter is not found, this operation has no effect.
REPLACE = 7;public static final EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation UNRECOGNIZED
public static final int INVALID_VALUE
INVALID = 0;public static final int MERGE_VALUE
Merge the provided config with the generated config using proto merge semantics. If you are specifying config in its entirity, use `REPLACE` instead.
MERGE = 1;public static final int ADD_VALUE
Add the provided config to an existing list (of listeners, clusters, virtual hosts, network filters, or http filters). This operation will be ignored when `applyTo` is set to `ROUTE_CONFIGURATION`, or `HTTP_ROUTE`.
ADD = 2;public static final int REMOVE_VALUE
Remove the selected object from the list (of listeners, clusters, virtual hosts, network filters, routes, or http filters). Does not require a value to be specified. This operation will be ignored when `applyTo` is set to `ROUTE_CONFIGURATION`, or `HTTP_ROUTE`.
REMOVE = 3;public static final int INSERT_BEFORE_VALUE
Insert operation on an array of named objects. This operation is typically useful only in the context of filters or routes, where the order of elements matter. Routes should be ordered based on most to least specific matching criteria since the first matching element is selected. For clusters and virtual hosts, order of the element in the array does not matter. Insert before the selected filter or sub filter. If no filter is selected, the specified filter will be inserted at the front of the list.
INSERT_BEFORE = 4;public static final int INSERT_AFTER_VALUE
Insert operation on an array of named objects. This operation is typically useful only in the context of filters or routes, where the order of elements matter. Routes should be ordered based on most to least specific matching criteria since the first matching element is selected. For clusters and virtual hosts, order of the element in the array does not matter. Insert after the selected filter or sub filter. If no filter is selected, the specified filter will be inserted at the end of the list.
INSERT_AFTER = 5;public static final int INSERT_FIRST_VALUE
Insert operation on an array of named objects. This operation is typically useful only in the context of filters or routes, where the order of elements matter. Routes should be ordered based on most to least specific matching criteria since the first matching element is selected. For clusters and virtual hosts, order of the element in the array does not matter. Insert first in the list based on the presence of selected filter or not. This is specifically useful when you want your filter first in the list based on a match condition specified in Match clause.
INSERT_FIRST = 6;public static final int REPLACE_VALUE
Replace contents of a named filter with new contents. `REPLACE` operation is only valid for `HTTP_FILTER` and `NETWORK_FILTER`. If the named filter is not found, this operation has no effect.
REPLACE = 7;public static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation[] values()
for (EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation c : EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation.values()) System.out.println(c);
public static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation 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.Patch.Operation valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation> 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.Patch.Operation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2023 Alibaba Group. All rights reserved.