Package bg.codexio.ai.openai.api.sdk
Enum Processing
- java.lang.Object
-
- java.lang.Enum<Processing>
-
- bg.codexio.ai.openai.api.sdk.Processing
-
- All Implemented Interfaces:
Serializable,Comparable<Processing>
public enum Processing extends Enum<Processing>
Processing type. Usually defines whether server-sent events (REAL_TIME) to be used or not.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanval()static ProcessingvalueOf(String name)Returns the enum constant of this type with the specified name.static Processing[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REAL_TIME
public static final Processing REAL_TIME
-
BATCH
public static final Processing BATCH
-
DEFAULT
public static final Processing DEFAULT
-
-
Method Detail
-
values
public static Processing[] 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 (Processing c : Processing.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Processing 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
-
val
public boolean val()
-
-