枚举 EnvoyFilterOuterClass.EnvoyFilter.ApplyTo

    • 字段详细资料

      • INVALID_VALUE

        public static final int INVALID_VALUE
        INVALID = 0;
        另请参阅:
        常量字段值
      • LISTENER_VALUE

        public static final int LISTENER_VALUE
         Applies the patch to the listener.
         
        LISTENER = 1;
        另请参阅:
        常量字段值
      • FILTER_CHAIN_VALUE

        public static final int FILTER_CHAIN_VALUE
         Applies the patch to the filter chain.
         
        FILTER_CHAIN = 2;
        另请参阅:
        常量字段值
      • NETWORK_FILTER_VALUE

        public static final int NETWORK_FILTER_VALUE
         Applies the patch to the network filter chain, to modify an
         existing filter or add a new filter.
         
        NETWORK_FILTER = 3;
        另请参阅:
        常量字段值
      • HTTP_FILTER_VALUE

        public static final int HTTP_FILTER_VALUE
         Applies the patch to the HTTP filter chain in the http
         connection manager, to modify an existing filter or add a new
         filter.
         
        HTTP_FILTER = 4;
        另请参阅:
        常量字段值
      • ROUTE_CONFIGURATION_VALUE

        public static final int ROUTE_CONFIGURATION_VALUE
         Applies the patch to the Route configuration (rds output)
         inside a HTTP connection manager. This does not apply to the
         virtual host. Currently, only `MERGE` operation is allowed on the
         route configuration objects.
         
        ROUTE_CONFIGURATION = 5;
        另请参阅:
        常量字段值
      • VIRTUAL_HOST_VALUE

        public static final int VIRTUAL_HOST_VALUE
         Applies the patch to a virtual host inside a route configuration.
         
        VIRTUAL_HOST = 6;
        另请参阅:
        常量字段值
      • HTTP_ROUTE_VALUE

        public static final int HTTP_ROUTE_VALUE
         Applies the patch to a route object inside the matched virtual
         host in a route configuration.
         
        HTTP_ROUTE = 7;
        另请参阅:
        常量字段值
      • CLUSTER_VALUE

        public static final int CLUSTER_VALUE
         Applies the patch to a cluster in a CDS output. Also used to add new clusters.
         
        CLUSTER = 8;
        另请参阅:
        常量字段值
      • EXTENSION_CONFIG_VALUE

        public static final int EXTENSION_CONFIG_VALUE
         Applies the patch to or adds an extension config in ECDS output. Note that ECDS
         is only supported by HTTP filters.
         
        EXTENSION_CONFIG = 9;
        另请参阅:
        常量字段值
      • value

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

      • ApplyTo

        private ApplyTo​(int value)
    • 方法详细资料

      • values

        public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo[] values()
        按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
        for (EnvoyFilterOuterClass.EnvoyFilter.ApplyTo c : EnvoyFilterOuterClass.EnvoyFilter.ApplyTo.values())
            System.out.println(c);
        
        返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
      • valueOf

        public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo 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.ApplyTo valueOf​(int value)
        已过时。
        返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
        参数:
        value - 要返回的枚举常量的名称。
        返回:
        返回带有指定名称的枚举常量
        抛出:
        java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
        java.lang.NullPointerException - 如果参数为空值
      • forNumber

        public static EnvoyFilterOuterClass.EnvoyFilter.ApplyTo forNumber​(int value)
        参数:
        value - The numeric wire value of the corresponding enum entry.
        返回:
        The enum associated with the given numeric wire value.
      • 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.ApplyTo valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
        参数:
        desc - 要返回的枚举常量的名称。
        返回:
        返回带有指定名称的枚举常量
        抛出:
        java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
        java.lang.NullPointerException - 如果参数为空值