Enum RecommendationStateInfo.State (2.57.0)

public enum RecommendationStateInfo.State extends Enum<RecommendationStateInfo.State> implements ProtocolMessageEnum

Represents Recommendation State.

Protobuf enum google.cloud.recommender.v1.RecommendationStateInfo.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

Recommendation is active and can be applied. Recommendations content can be updated by Google.

ACTIVE recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED.

ACTIVE = 1;

ACTIVE_VALUE

Recommendation is active and can be applied. Recommendations content can be updated by Google.

ACTIVE recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED.

ACTIVE = 1;

CLAIMED

Recommendation is in claimed state. Recommendations content is immutable and cannot be updated by Google.

CLAIMED recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED.

CLAIMED = 6;

CLAIMED_VALUE

Recommendation is in claimed state. Recommendations content is immutable and cannot be updated by Google.

CLAIMED recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED.

CLAIMED = 6;

DISMISSED

Recommendation is in dismissed state. Recommendation content can be updated by Google.

DISMISSED recommendations can be marked as ACTIVE.

DISMISSED = 5;

DISMISSED_VALUE

Recommendation is in dismissed state. Recommendation content can be updated by Google.

DISMISSED recommendations can be marked as ACTIVE.

DISMISSED = 5;

FAILED

Recommendation is in failed state. Recommendations content is immutable and cannot be updated by Google.

FAILED recommendations can be marked as SUCCEEDED, or FAILED.

FAILED = 4;

FAILED_VALUE

Recommendation is in failed state. Recommendations content is immutable and cannot be updated by Google.

FAILED recommendations can be marked as SUCCEEDED, or FAILED.

FAILED = 4;

STATE_UNSPECIFIED

Default state. Don't use directly.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Default state. Don't use directly.

STATE_UNSPECIFIED = 0;

SUCCEEDED

Recommendation is in succeeded state. Recommendations content is immutable and cannot be updated by Google.

SUCCEEDED recommendations can be marked as SUCCEEDED, or FAILED.

SUCCEEDED = 3;

SUCCEEDED_VALUE

Recommendation is in succeeded state. Recommendations content is immutable and cannot be updated by Google.

SUCCEEDED recommendations can be marked as SUCCEEDED, or FAILED.

SUCCEEDED = 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()