# Google Cloud Discovery Engine V1 Client - Class ModelState (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ModelState.

The state of the model.

Protobuf type `google.cloud.discoveryengine.v1.CustomTuningModel.ModelState`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1 \\ CustomTuningModel

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### MODEL_STATE_UNSPECIFIED

    Value: 0

Default value.

Generated from protobuf enum `MODEL_STATE_UNSPECIFIED = 0;`

### TRAINING_PAUSED

    Value: 1

The model is in a paused training state.

Generated from protobuf enum `TRAINING_PAUSED = 1;`

### TRAINING

    Value: 2

The model is currently training.

Generated from protobuf enum `TRAINING = 2;`

### TRAINING_COMPLETE

    Value: 3

The model has successfully completed training.

Generated from protobuf enum `TRAINING_COMPLETE = 3;`

### READY_FOR_SERVING

    Value: 4

The model is ready for serving.

Generated from protobuf enum `READY_FOR_SERVING = 4;`

### TRAINING_FAILED

    Value: 5

The model training failed.

Generated from protobuf enum `TRAINING_FAILED = 5;`

### NO_IMPROVEMENT

    Value: 6

The model training finished successfully but metrics did not improve.

Generated from protobuf enum `NO_IMPROVEMENT = 6;`

### INPUT_VALIDATION_FAILED

    Value: 7

Input data validation failed. Model training didn't start.

Generated from protobuf enum `INPUT_VALIDATION_FAILED = 7;`