Enum ScaleTimersOverloadActionConfig.TimerType
- java.lang.Object
-
- java.lang.Enum<ScaleTimersOverloadActionConfig.TimerType>
-
- io.envoyproxy.envoy.config.overload.v3.ScaleTimersOverloadActionConfig.TimerType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<ScaleTimersOverloadActionConfig.TimerType>
- Enclosing class:
- ScaleTimersOverloadActionConfig
public static enum ScaleTimersOverloadActionConfig.TimerType extends java.lang.Enum<ScaleTimersOverloadActionConfig.TimerType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumenvoy.config.overload.v3.ScaleTimersOverloadActionConfig.TimerType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HTTP_DOWNSTREAM_CONNECTION_IDLE
Adjusts the idle timer for downstream HTTP connections that takes effect when there are no active streams.HTTP_DOWNSTREAM_STREAM_IDLE
Adjusts the idle timer for HTTP streams initiated by downstream clients.TRANSPORT_SOCKET_CONNECT
Adjusts the timer for how long downstream clients have to finish transport-level negotiations before the connection is closed.UNRECOGNIZED
UNSPECIFIED
Unsupported value; users must explicitly specify the timer they want scaled.
-
Field Summary
Fields Modifier and Type Field Description static int
HTTP_DOWNSTREAM_CONNECTION_IDLE_VALUE
Adjusts the idle timer for downstream HTTP connections that takes effect when there are no active streams.static int
HTTP_DOWNSTREAM_STREAM_IDLE_VALUE
Adjusts the idle timer for HTTP streams initiated by downstream clients.private static com.google.protobuf.Internal.EnumLiteMap<ScaleTimersOverloadActionConfig.TimerType>
internalValueMap
static int
TRANSPORT_SOCKET_CONNECT_VALUE
Adjusts the timer for how long downstream clients have to finish transport-level negotiations before the connection is closed.static int
UNSPECIFIED_VALUE
Unsupported value; users must explicitly specify the timer they want scaled.private int
value
private static ScaleTimersOverloadActionConfig.TimerType[]
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
TimerType(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ScaleTimersOverloadActionConfig.TimerType
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<ScaleTimersOverloadActionConfig.TimerType>
internalGetValueMap()
static ScaleTimersOverloadActionConfig.TimerType
valueOf(int value)
Deprecated.static ScaleTimersOverloadActionConfig.TimerType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ScaleTimersOverloadActionConfig.TimerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ScaleTimersOverloadActionConfig.TimerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final ScaleTimersOverloadActionConfig.TimerType UNSPECIFIED
Unsupported value; users must explicitly specify the timer they want scaled.
UNSPECIFIED = 0;
-
HTTP_DOWNSTREAM_CONNECTION_IDLE
public static final ScaleTimersOverloadActionConfig.TimerType HTTP_DOWNSTREAM_CONNECTION_IDLE
Adjusts the idle timer for downstream HTTP connections that takes effect when there are no active streams. This affects the value of :ref:`HttpConnectionManager.common_http_protocol_options.idle_timeout <envoy_v3_api_field_config.core.v3.HttpProtocolOptions.idle_timeout>`
HTTP_DOWNSTREAM_CONNECTION_IDLE = 1;
-
HTTP_DOWNSTREAM_STREAM_IDLE
public static final ScaleTimersOverloadActionConfig.TimerType HTTP_DOWNSTREAM_STREAM_IDLE
Adjusts the idle timer for HTTP streams initiated by downstream clients. This affects the value of :ref:`RouteAction.idle_timeout <envoy_v3_api_field_config.route.v3.RouteAction.idle_timeout>` and :ref:`HttpConnectionManager.stream_idle_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>`
HTTP_DOWNSTREAM_STREAM_IDLE = 2;
-
TRANSPORT_SOCKET_CONNECT
public static final ScaleTimersOverloadActionConfig.TimerType TRANSPORT_SOCKET_CONNECT
Adjusts the timer for how long downstream clients have to finish transport-level negotiations before the connection is closed. This affects the value of :ref:`FilterChain.transport_socket_connect_timeout <envoy_v3_api_field_config.listener.v3.FilterChain.transport_socket_connect_timeout>`.
TRANSPORT_SOCKET_CONNECT = 3;
-
UNRECOGNIZED
public static final ScaleTimersOverloadActionConfig.TimerType UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Unsupported value; users must explicitly specify the timer they want scaled.
UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
HTTP_DOWNSTREAM_CONNECTION_IDLE_VALUE
public static final int HTTP_DOWNSTREAM_CONNECTION_IDLE_VALUE
Adjusts the idle timer for downstream HTTP connections that takes effect when there are no active streams. This affects the value of :ref:`HttpConnectionManager.common_http_protocol_options.idle_timeout <envoy_v3_api_field_config.core.v3.HttpProtocolOptions.idle_timeout>`
HTTP_DOWNSTREAM_CONNECTION_IDLE = 1;
- See Also:
- Constant Field Values
-
HTTP_DOWNSTREAM_STREAM_IDLE_VALUE
public static final int HTTP_DOWNSTREAM_STREAM_IDLE_VALUE
Adjusts the idle timer for HTTP streams initiated by downstream clients. This affects the value of :ref:`RouteAction.idle_timeout <envoy_v3_api_field_config.route.v3.RouteAction.idle_timeout>` and :ref:`HttpConnectionManager.stream_idle_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>`
HTTP_DOWNSTREAM_STREAM_IDLE = 2;
- See Also:
- Constant Field Values
-
TRANSPORT_SOCKET_CONNECT_VALUE
public static final int TRANSPORT_SOCKET_CONNECT_VALUE
Adjusts the timer for how long downstream clients have to finish transport-level negotiations before the connection is closed. This affects the value of :ref:`FilterChain.transport_socket_connect_timeout <envoy_v3_api_field_config.listener.v3.FilterChain.transport_socket_connect_timeout>`.
TRANSPORT_SOCKET_CONNECT = 3;
- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<ScaleTimersOverloadActionConfig.TimerType> internalValueMap
-
VALUES
private static final ScaleTimersOverloadActionConfig.TimerType[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static ScaleTimersOverloadActionConfig.TimerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ScaleTimersOverloadActionConfig.TimerType c : ScaleTimersOverloadActionConfig.TimerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScaleTimersOverloadActionConfig.TimerType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ScaleTimersOverloadActionConfig.TimerType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static ScaleTimersOverloadActionConfig.TimerType forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ScaleTimersOverloadActionConfig.TimerType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ScaleTimersOverloadActionConfig.TimerType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-