枚举 EnvoyFilterOuterClass.EnvoyFilter.Patch.Operation

    • 枚举常量详细资料

      • 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;
    • 字段详细资料

      • 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;
        另请参阅:
        常量字段值
      • value

        private final int value
    • 构造器详细资料

      • Operation

        private Operation​(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 - 如果参数为空值
      • 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 - 如果参数为空值