Class TrainingWarning
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.TrainingWarning
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class TrainingWarning
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A warning from training of a custom language or custom acoustic model.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TrainingWarning.Code
An identifier for the type of invalid resources listed in the `description` field. -
Constructor Summary
Constructors Constructor Description TrainingWarning()
-
Method Summary
Modifier and Type Method Description String
getCode()
Gets the code.String
getMessage()
Gets the message.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
TrainingWarning
public TrainingWarning()
-
-
Method Details
-
getCode
Gets the code.An identifier for the type of invalid resources listed in the `description` field.
- Returns:
- the code
-
getMessage
Gets the message.A warning message that lists the invalid resources that are excluded from the custom model's training. The message has the following format: `Analysis of the following {resource_type} has not completed successfully: [{resource_names}]. They will be excluded from custom {model_type} model training.`.
- Returns:
- the message
-