Enum BufferBehavior.BehaviorCase
- java.lang.Object
-
- java.lang.Enum<BufferBehavior.BehaviorCase>
-
- io.envoyproxy.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.BehaviorCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<BufferBehavior.BehaviorCase>
- Enclosing class:
- BufferBehavior
public static enum BufferBehavior.BehaviorCase extends Enum<BufferBehavior.BehaviorCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEHAVIOR_NOT_SETBYPASSFULLY_BUFFERFULLY_BUFFER_AND_ALWAYS_INJECT_CONTENT_LENGTHINJECT_CONTENT_LENGTH_IF_NECESSARYSTREAM_WHEN_POSSIBLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BufferBehavior.BehaviorCaseforNumber(int value)intgetNumber()static BufferBehavior.BehaviorCasevalueOf(int value)Deprecated.static BufferBehavior.BehaviorCasevalueOf(String name)Returns the enum constant of this type with the specified name.static BufferBehavior.BehaviorCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STREAM_WHEN_POSSIBLE
public static final BufferBehavior.BehaviorCase STREAM_WHEN_POSSIBLE
-
BYPASS
public static final BufferBehavior.BehaviorCase BYPASS
-
INJECT_CONTENT_LENGTH_IF_NECESSARY
public static final BufferBehavior.BehaviorCase INJECT_CONTENT_LENGTH_IF_NECESSARY
-
FULLY_BUFFER_AND_ALWAYS_INJECT_CONTENT_LENGTH
public static final BufferBehavior.BehaviorCase FULLY_BUFFER_AND_ALWAYS_INJECT_CONTENT_LENGTH
-
FULLY_BUFFER
public static final BufferBehavior.BehaviorCase FULLY_BUFFER
-
BEHAVIOR_NOT_SET
public static final BufferBehavior.BehaviorCase BEHAVIOR_NOT_SET
-
-
Method Detail
-
values
public static BufferBehavior.BehaviorCase[] 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 (BufferBehavior.BehaviorCase c : BufferBehavior.BehaviorCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BufferBehavior.BehaviorCase valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
@Deprecated public static BufferBehavior.BehaviorCase 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static BufferBehavior.BehaviorCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-