Enum InsightStateInfo.State (2.50.0)

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

Represents insight state.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACCEPTED

Some action has been taken based on this insight. Insights become accepted when a recommendation derived from the insight has been marked CLAIMED, SUCCEEDED, or FAILED. ACTIVE insights can also be marked ACCEPTED explicitly. Content for ACCEPTED insights is immutable. ACCEPTED insights can only be marked ACCEPTED (which may update state metadata).

ACCEPTED = 2;

ACCEPTED_VALUE

Some action has been taken based on this insight. Insights become accepted when a recommendation derived from the insight has been marked CLAIMED, SUCCEEDED, or FAILED. ACTIVE insights can also be marked ACCEPTED explicitly. Content for ACCEPTED insights is immutable. ACCEPTED insights can only be marked ACCEPTED (which may update state metadata).

ACCEPTED = 2;

ACTIVE

Insight is active. Content for ACTIVE insights can be updated by Google. ACTIVE insights can be marked DISMISSED OR ACCEPTED.

ACTIVE = 1;

ACTIVE_VALUE

Insight is active. Content for ACTIVE insights can be updated by Google. ACTIVE insights can be marked DISMISSED OR ACCEPTED.

ACTIVE = 1;

DISMISSED

Insight is dismissed. Content for DISMISSED insights can be updated by Google. DISMISSED insights can be marked as ACTIVE.

DISMISSED = 3;

DISMISSED_VALUE

Insight is dismissed. Content for DISMISSED insights can be updated by Google. DISMISSED insights can be marked as ACTIVE.

DISMISSED = 3;

STATE_UNSPECIFIED

Unspecified state.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Unspecified state.

STATE_UNSPECIFIED = 0;

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