Enum Model.ServingState (2.45.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

Name Description
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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()