枚举类 EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation
java.lang.Object
java.lang.Enum<EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation>
istio.networking.v1alpha3.EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation
- 所有已实现的接口:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation>,java.lang.constant.Constable
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-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明Add the provided config to an existing list (of listeners, clusters, virtual hosts, network filters, or http filters).Insert operation on an array of named objects.Insert operation on an array of named objects.Insert operation on an array of named objects.INVALID = 0;Merge the provided config with the generated config using proto merge semantics.Remove the selected object from the list (of listeners, clusters, virtual hosts, network filters, routes, or http filters).Replace contents of a named filter with new contents. -
字段概要
字段修饰符和类型字段说明static final intAdd the provided config to an existing list (of listeners, clusters, virtual hosts, network filters, or http filters).static final intInsert operation on an array of named objects.static final intInsert operation on an array of named objects.static final intInsert operation on an array of named objects.static final intINVALID = 0;static final intMerge the provided config with the generated config using proto merge semantics.static final intRemove the selected object from the list (of listeners, clusters, virtual hosts, network filters, routes, or http filters).static final intReplace contents of a named filter with new contents. -
方法概要
修饰符和类型方法说明forNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation> valueOf(int value) 已过时。valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 返回带有指定名称的该类的枚举常量。返回带有指定名称的该类的枚举常量。values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
-
枚举常量详细资料
-
INVALID
INVALID = 0; -
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; -
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; -
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; -
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; -
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; -
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; -
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; -
UNRECOGNIZED
-
-
字段详细资料
-
INVALID_VALUE
public static final int INVALID_VALUEINVALID = 0;- 另请参阅:
-
MERGE_VALUE
public static final int MERGE_VALUEMerge the provided config with the generated config using proto merge semantics. If you are specifying config in its entirity, use `REPLACE` instead.
MERGE = 1;- 另请参阅:
-
ADD_VALUE
public static final int ADD_VALUEAdd 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;- 另请参阅:
-
REMOVE_VALUE
public static final int REMOVE_VALUERemove 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;- 另请参阅:
-
INSERT_BEFORE_VALUE
public static final int INSERT_BEFORE_VALUEInsert 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;- 另请参阅:
-
INSERT_AFTER_VALUE
public static final int INSERT_AFTER_VALUEInsert 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;- 另请参阅:
-
INSERT_FIRST_VALUE
public static final int INSERT_FIRST_VALUEInsert 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;- 另请参阅:
-
REPLACE_VALUE
public static final int REPLACE_VALUEReplace 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;- 另请参阅:
-
-
方法详细资料
-
values
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同- 返回:
- 包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
-
valueOf
返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getNumber
public final int getNumber()- 指定者:
getNumber在接口中com.google.protobuf.Internal.EnumLite- 指定者:
getNumber在接口中com.google.protobuf.ProtocolMessageEnum
-
valueOf
已过时。返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
value- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类没有带有指定名称的常量NullPointerException- 如果参数为空值
-
forNumber
- 参数:
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.Patch.Operation> 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.Patch.Operation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
desc- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类没有带有指定名称的常量NullPointerException- 如果参数为空值
-