Enum Prediction.Type
- java.lang.Object
-
- java.lang.Enum<Prediction.Type>
-
- com.oracle.bmc.generativeaiinference.model.Prediction.Type
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<Prediction.Type>
- Enclosing class:
- Prediction
public static enum Prediction.Type extends Enum<Prediction.Type> implements BmcEnum
The type of the predicted content you want to provide.This type is currently always content.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Content
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Prediction.Typecreate(String key)StringgetValue()static Prediction.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Prediction.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Content
public static final Prediction.Type Content
-
-
Method Detail
-
values
public static Prediction.Type[] 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 (Prediction.Type c : Prediction.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Prediction.Type 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
-
create
public static Prediction.Type create(String key)
-
-