public com.google.cloud.automl.v1beta1.Model.DeploymentState getDeploymentState() {
    @SuppressWarnings("deprecation")
    com.google.cloud.automl.v1beta1.Model.DeploymentState result =
        com.google.cloud.automl.v1beta1.Model.DeploymentState.valueOf(deploymentState_);
    return result == null
        ? com.google.cloud.automl.v1beta1.Model.DeploymentState.UNRECOGNIZED
        : result;
  }
public com . google . cloud . automl . v1beta1 . Model . DeploymentState getDeploymentState ( ) { @ SuppressWarnings ( "deprecation" ) com . google . cloud . automl . v1beta1 . Model . DeploymentState result = com . google . cloud . automl . v1beta1 . Model . DeploymentState . valueOf ( deploymentState_ ) ; return result == null ? com . google . cloud . automl . v1beta1 . Model . DeploymentState . UNRECOGNIZED : result ; }
<pre>
Output only. Deployment state of the model. A model can only serve
prediction requests after it gets deployed.
</pre>

<code>.google.cloud.automl.v1beta1.Model.DeploymentState deployment_state = 8;</code>