Interface InsightStateInfoOrBuilder (2.57.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
Name Description
key String
Returns
Type Description
boolean

getState()

public abstract InsightStateInfo.State getState()

Insight state.

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

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

Insight state.

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

Returns
Type Description
int

The enum numeric value on the wire for state.