com.pulumi.googlenative.ml.v1.enums.TrialState Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.googlenative.ml.v1.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* The detailed state of a trial.
*
*/
@EnumType
public enum TrialState {
/**
* The trial state is unspecified.
*
*/
StateUnspecified("STATE_UNSPECIFIED"),
/**
* Indicates that a specific trial has been requested, but it has not yet been suggested by the service.
*
*/
Requested("REQUESTED"),
/**
* Indicates that the trial has been suggested.
*
*/
Active("ACTIVE"),
/**
* Indicates that the trial is done, and either has a final_measurement set, or is marked as trial_infeasible.
*
*/
Completed("COMPLETED"),
/**
* Indicates that the trial should stop according to the service.
*
*/
Stopping("STOPPING");
private final String value;
TrialState(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public String toString() {
return new StringJoiner(", ", "TrialState[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy