枚举 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,java.io.Serializable,java.lang.Comparable<EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation>
public static enum EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation extends java.lang.Enum<EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation> implements com.google.protobuf.ProtocolMessageEnum
Operation denotes how the patch should be applied to the selected configuration.
Protobuf enumistio.networking.v1alpha3.EnvoyFilter.Patch.Operation
-
-
枚举常量概要
枚举常量 枚举常量 说明 ADDAdd the provided config to an existing list (of listeners, clusters, virtual hosts, network filters, or http filters).INSERT_AFTERInsert operation on an array of named objects.INSERT_BEFOREInsert operation on an array of named objects.INSERT_FIRSTInsert operation on an array of named objects.INVALIDINVALID = 0;MERGEMerge the provided config with the generated config using proto merge semantics.REMOVERemove the selected object from the list (of listeners, clusters, virtual hosts, network filters, routes, or http filters).REPLACEReplace contents of a named filter with new contents.UNRECOGNIZED
-
字段概要
字段 修饰符和类型 字段 说明 static intADD_VALUEAdd the provided config to an existing list (of listeners, clusters, virtual hosts, network filters, or http filters).static intINSERT_AFTER_VALUEInsert operation on an array of named objects.static intINSERT_BEFORE_VALUEInsert operation on an array of named objects.static intINSERT_FIRST_VALUEInsert operation on an array of named objects.private static com.google.protobuf.Internal.EnumLiteMap<EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation>internalValueMapstatic intINVALID_VALUEINVALID = 0;static intMERGE_VALUEMerge the provided config with the generated config using proto merge semantics.static intREMOVE_VALUERemove the selected object from the list (of listeners, clusters, virtual hosts, network filters, routes, or http filters).static intREPLACE_VALUEReplace contents of a named filter with new contents.private intvalueprivate static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation[]VALUES
-
构造器概要
构造器 限定符 构造器 说明 privateOperation(int value)
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 static EnvoyFilterOuterClass.EnvoyFilter.Patch.OperationforNumber(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.Patch.Operation>internalGetValueMap()static EnvoyFilterOuterClass.EnvoyFilter.Patch.OperationvalueOf(int value)已过时。static EnvoyFilterOuterClass.EnvoyFilter.Patch.OperationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)返回带有指定名称的该类型的枚举常量。static EnvoyFilterOuterClass.EnvoyFilter.Patch.OperationvalueOf(java.lang.String name)返回带有指定名称的该类型的枚举常量。static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
INVALID
public static final EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation INVALID
INVALID = 0;
-
MERGE
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;
-
ADD
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;
-
REMOVE
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;
-
INSERT_BEFORE
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;
-
INSERT_AFTER
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;
-
INSERT_FIRST
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;
-
REPLACE
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;
-
UNRECOGNIZED
public static final EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation UNRECOGNIZED
-
-
字段详细资料
-
INVALID_VALUE
public static final int INVALID_VALUE
INVALID = 0;- 另请参阅:
- 常量字段值
-
MERGE_VALUE
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;- 另请参阅:
- 常量字段值
-
ADD_VALUE
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;- 另请参阅:
- 常量字段值
-
REMOVE_VALUE
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;- 另请参阅:
- 常量字段值
-
INSERT_BEFORE_VALUE
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;- 另请参阅:
- 常量字段值
-
INSERT_AFTER_VALUE
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;- 另请参阅:
- 常量字段值
-
INSERT_FIRST_VALUE
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;- 另请参阅:
- 常量字段值
-
REPLACE_VALUE
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;- 另请参阅:
- 常量字段值
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation> internalValueMap
-
VALUES
private static final EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation[] VALUES
-
value
private final int value
-
-
方法详细资料
-
values
public static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation c : EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation 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.Patch.Operation valueOf(int value)
已过时。返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
value- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
java.lang.IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException- 如果参数为空值
-
forNumber
public static EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation 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.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- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
java.lang.IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException- 如果参数为空值
-
-