Interface TrainCustomModelResponseOrBuilder (0.44.0)

public interface TrainCustomModelResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsMetrics(String key)

public abstract boolean containsMetrics(String key)

The metrics of the trained model.

map<string, double> metrics = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getErrorConfig()

public abstract ImportErrorConfig getErrorConfig()

Echoes the destination for the complete errors in the request if set.

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
Type Description
ImportErrorConfig

The errorConfig.

getErrorConfigOrBuilder()

public abstract ImportErrorConfigOrBuilder getErrorConfigOrBuilder()

Echoes the destination for the complete errors in the request if set.

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
Type Description
ImportErrorConfigOrBuilder

getErrorSamples(int index)

public abstract Status getErrorSamples(int index)

A sample of errors encountered while processing the data.

repeated .google.rpc.Status error_samples = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getErrorSamplesCount()

public abstract int getErrorSamplesCount()

A sample of errors encountered while processing the data.

repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
int

getErrorSamplesList()

public abstract List<Status> getErrorSamplesList()

A sample of errors encountered while processing the data.

repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
List<com.google.rpc.Status>

getErrorSamplesOrBuilder(int index)

public abstract StatusOrBuilder getErrorSamplesOrBuilder(int index)

A sample of errors encountered while processing the data.

repeated .google.rpc.Status error_samples = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getErrorSamplesOrBuilderList()

public abstract List<? extends StatusOrBuilder> getErrorSamplesOrBuilderList()

A sample of errors encountered while processing the data.

repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getMetrics() (deprecated)

public abstract Map<String,Double> getMetrics()

Use #getMetricsMap() instead.

Returns
Type Description
Map<String,Double>

getMetricsCount()

public abstract int getMetricsCount()

The metrics of the trained model.

map<string, double> metrics = 4;

Returns
Type Description
int

getMetricsMap()

public abstract Map<String,Double> getMetricsMap()

The metrics of the trained model.

map<string, double> metrics = 4;

Returns
Type Description
Map<String,Double>

getMetricsOrDefault(String key, double defaultValue)

public abstract double getMetricsOrDefault(String key, double defaultValue)

The metrics of the trained model.

map<string, double> metrics = 4;

Parameters
Name Description
key String
defaultValue double
Returns
Type Description
double

getMetricsOrThrow(String key)

public abstract double getMetricsOrThrow(String key)

The metrics of the trained model.

map<string, double> metrics = 4;

Parameter
Name Description
key String
Returns
Type Description
double

getModelName()

public abstract String getModelName()

Fully qualified name of the CustomTuningModel.

string model_name = 5;

Returns
Type Description
String

The modelName.

getModelNameBytes()

public abstract ByteString getModelNameBytes()

Fully qualified name of the CustomTuningModel.

string model_name = 5;

Returns
Type Description
ByteString

The bytes for modelName.

getModelStatus()

public abstract 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
Type Description
String

The modelStatus.

getModelStatusBytes()

public abstract 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
Type Description
ByteString

The bytes for modelStatus.

hasErrorConfig()

public abstract boolean hasErrorConfig()

Echoes the destination for the complete errors in the request if set.

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
Type Description
boolean

Whether the errorConfig field is set.