Enum Model.ServingState (2.21.0)

public enum Model.ServingState extends Enum<Model.ServingState> implements ProtocolMessageEnum

The serving state of the model.

Protobuf enum google.cloud.retail.v2alpha.Model.ServingState

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ACTIVE

The model is serving and can be queried.

ACTIVE = 2;

ACTIVE_VALUE

The model is serving and can be queried.

ACTIVE = 2;

INACTIVE

The model is not serving.

INACTIVE = 1;

INACTIVE_VALUE

The model is not serving.

INACTIVE = 1;

SERVING_STATE_UNSPECIFIED

Unspecified serving state.

SERVING_STATE_UNSPECIFIED = 0;

SERVING_STATE_UNSPECIFIED_VALUE

Unspecified serving state.

SERVING_STATE_UNSPECIFIED = 0;

TUNED

The model is trained on tuned hyperparameters and can be queried.

TUNED = 3;

TUNED_VALUE

The model is trained on tuned hyperparameters and can be queried.

TUNED = 3;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()