Interface RecommendationStateInfoOrBuilder (2.17.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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
RecommendationStateInfo.State

The state.

getStateMetadata()

public abstract Map<String,String> getStateMetadata()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getStateValue()

public abstract int getStateValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.