Interface InsightStateInfoOrBuilder (2.24.0)

public interface InsightStateInfoOrBuilder 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 InsightStateInfo.State getState()

Insight state.

.google.cloud.recommender.v1.InsightStateInfo.State state = 1;

Returns
TypeDescription
InsightStateInfo.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()

Insight state.

.google.cloud.recommender.v1.InsightStateInfo.State state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for state.