枚举类 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
封闭类:
EnvoyFilterOuterClass.EnvoyFilter.Patch

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
  • 枚举常量详细资料

    • 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

      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

       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;
      另请参阅:
  • 方法详细资料

    • 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

      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 - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类没有带有指定名称的常量
      NullPointerException - 如果参数为空值