Class PredictResponseMetadata
java.lang.Object
com.sap.ai.sdk.foundationmodels.rpt.generated.model.PredictResponseMetadata
Metadata about the prediction request.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for PredictResponseMetadata. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newPredictResponseMetadatainstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of thePredictResponseMetadata.Number of columns in the input data.Number of table cells containing the specified placeholder value.Number of rows for which a prediction was made.Number of rows in the input data.inthashCode()numColumns(Integer numColumns) Set the numColumns of thisPredictResponseMetadatainstance and return the same instance.numPredictions(Integer numPredictions) Set the numPredictions of thisPredictResponseMetadatainstance and return the same instance.numQueryRows(Integer numQueryRows) Set the numQueryRows of thisPredictResponseMetadatainstance and return the same instance.Set the numRows of thisPredictResponseMetadatainstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisPredictResponseMetadatainstance.voidsetNumColumns(Integer numColumns) Set the numColumns of thisPredictResponseMetadatainstance.voidsetNumPredictions(Integer numPredictions) Set the numPredictions of thisPredictResponseMetadatainstance.voidsetNumQueryRows(Integer numQueryRows) Set the numQueryRows of thisPredictResponseMetadatainstance.voidsetNumRows(Integer numRows) Set the numRows of thisPredictResponseMetadatainstance.toMap()Get the value of all properties of thisPredictResponseMetadatainstance including unrecognized properties.toString()
-
Constructor Details
-
PredictResponseMetadata
protected PredictResponseMetadata()Default constructor for PredictResponseMetadata.
-
-
Method Details
-
numColumns
Set the numColumns of thisPredictResponseMetadatainstance and return the same instance.- Parameters:
numColumns- Number of columns in the input data.- Returns:
- The same instance of this
PredictResponseMetadataclass
-
getNumColumns
Number of columns in the input data.- Returns:
- numColumns The numColumns of this
PredictResponseMetadatainstance.
-
setNumColumns
Set the numColumns of thisPredictResponseMetadatainstance.- Parameters:
numColumns- Number of columns in the input data.
-
numRows
Set the numRows of thisPredictResponseMetadatainstance and return the same instance.- Parameters:
numRows- Number of rows in the input data.- Returns:
- The same instance of this
PredictResponseMetadataclass
-
getNumRows
Number of rows in the input data.- Returns:
- numRows The numRows of this
PredictResponseMetadatainstance.
-
setNumRows
Set the numRows of thisPredictResponseMetadatainstance.- Parameters:
numRows- Number of rows in the input data.
-
numPredictions
Set the numPredictions of thisPredictResponseMetadatainstance and return the same instance.- Parameters:
numPredictions- Number of table cells containing the specified placeholder value.- Returns:
- The same instance of this
PredictResponseMetadataclass
-
getNumPredictions
Number of table cells containing the specified placeholder value.- Returns:
- numPredictions The numPredictions of this
PredictResponseMetadatainstance.
-
setNumPredictions
Set the numPredictions of thisPredictResponseMetadatainstance.- Parameters:
numPredictions- Number of table cells containing the specified placeholder value.
-
numQueryRows
Set the numQueryRows of thisPredictResponseMetadatainstance and return the same instance.- Parameters:
numQueryRows- Number of rows for which a prediction was made.- Returns:
- The same instance of this
PredictResponseMetadataclass
-
getNumQueryRows
Number of rows for which a prediction was made.- Returns:
- numQueryRows The numQueryRows of this
PredictResponseMetadatainstance.
-
setNumQueryRows
Set the numQueryRows of thisPredictResponseMetadatainstance.- Parameters:
numQueryRows- Number of rows for which a prediction was made.
-
getCustomFieldNames
Get the names of the unrecognizable properties of thePredictResponseMetadata.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisPredictResponseMetadatainstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisPredictResponseMetadatainstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisPredictResponseMetadatainstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a type-safe, fluent-api builder object to construct a newPredictResponseMetadatainstance with all required arguments.
-
toMap()instead.