Interface TrainCustomModelResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TrainCustomModelResponse,TrainCustomModelResponse.Builder
@Generated
public interface TrainCustomModelResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetrics(String key) The metrics of the trained model.Echoes the destination for the complete errors in the request if set.Echoes the destination for the complete errors in the request if set.getErrorSamples(int index) A sample of errors encountered while processing the data.intA sample of errors encountered while processing the data.A sample of errors encountered while processing the data.getErrorSamplesOrBuilder(int index) A sample of errors encountered while processing the data.List<? extends StatusOrBuilder>A sample of errors encountered while processing the data.Deprecated.intThe metrics of the trained model.The metrics of the trained model.doublegetMetricsOrDefault(String key, double defaultValue) The metrics of the trained model.doublegetMetricsOrThrow(String key) The metrics of the trained model.Fully qualified name of the CustomTuningModel.com.google.protobuf.ByteStringFully qualified name of the CustomTuningModel.The trained model status.com.google.protobuf.ByteStringThe trained model status.booleanEchoes the destination for the complete errors in the request if set.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getErrorSamplesList
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1; -
getErrorSamples
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1; -
getErrorSamplesCount
int getErrorSamplesCount()A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1; -
getErrorSamplesOrBuilderList
List<? extends StatusOrBuilder> getErrorSamplesOrBuilderList()A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1; -
getErrorSamplesOrBuilder
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1; -
hasErrorConfig
boolean hasErrorConfig()Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;- Returns:
- Whether the errorConfig field is set.
-
getErrorConfig
ImportErrorConfig getErrorConfig()Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;- Returns:
- The errorConfig.
-
getErrorConfigOrBuilder
ImportErrorConfigOrBuilder getErrorConfigOrBuilder()Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2; -
getModelStatus
String getModelStatus()The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving.
string model_status = 3;- Returns:
- The modelStatus.
-
getModelStatusBytes
com.google.protobuf.ByteString getModelStatusBytes()The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving.
string model_status = 3;- Returns:
- The bytes for modelStatus.
-
getMetricsCount
int getMetricsCount()The metrics of the trained model.
map<string, double> metrics = 4; -
containsMetrics
The metrics of the trained model.
map<string, double> metrics = 4; -
getMetrics
Deprecated.UsegetMetricsMap()instead. -
getMetricsMap
The metrics of the trained model.
map<string, double> metrics = 4; -
getMetricsOrDefault
The metrics of the trained model.
map<string, double> metrics = 4; -
getMetricsOrThrow
The metrics of the trained model.
map<string, double> metrics = 4; -
getModelName
String getModelName()Fully qualified name of the CustomTuningModel.
string model_name = 5;- Returns:
- The modelName.
-
getModelNameBytes
com.google.protobuf.ByteString getModelNameBytes()Fully qualified name of the CustomTuningModel.
string model_name = 5;- Returns:
- The bytes for modelName.
-