Interface RecommendationStateInfoOrBuilder (2.55.0)

public interface RecommendationStateInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsStateMetadata(String key)

public abstract boolean containsStateMetadata(String key)

A map of metadata for the state, provided by user or automations systems.

map<string, string> state_metadata = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getState()

public abstract RecommendationStateInfo.State getState()

The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.

.google.cloud.recommender.v1beta1.RecommendationStateInfo.State state = 1;

Returns
Type Description
RecommendationStateInfo.State

The state.

getStateMetadata() (deprecated)

public abstract Map<String,String> getStateMetadata()
Returns
Type Description
Map<String,String>

getStateMetadataCount()

public abstract int getStateMetadataCount()

A map of metadata for the state, provided by user or automations systems.

map<string, string> state_metadata = 2;

Returns
Type Description
int

getStateMetadataMap()

public abstract Map<String,String> getStateMetadataMap()

A map of metadata for the state, provided by user or automations systems.

map<string, string> state_metadata = 2;

Returns
Type Description
Map<String,String>

getStateMetadataOrDefault(String key, String defaultValue)

public abstract String getStateMetadataOrDefault(String key, String defaultValue)

A map of metadata for the state, provided by user or automations systems.

map<string, string> state_metadata = 2;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getStateMetadataOrThrow(String key)

public abstract String getStateMetadataOrThrow(String key)

A map of metadata for the state, provided by user or automations systems.

map<string, string> state_metadata = 2;

Parameter
Name Description
key String
Returns
Type Description
String

getStateValue()

public abstract int getStateValue()

The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.

.google.cloud.recommender.v1beta1.RecommendationStateInfo.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.