public interface InsightStateInfoOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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;
| Name | Description |
| key | String |
| Type | Description |
| boolean |
getState()
public abstract InsightStateInfo.State getState()Insight state.
.google.cloud.recommender.v1beta1.InsightStateInfo.State state = 1;
| Type | Description |
| InsightStateInfo.State | The state. |
getStateMetadata()
public abstract Map<String,String> getStateMetadata()Use #getStateMetadataMap() instead.
| 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;
| 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;
| 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;
| Name | Description |
| key | String |
| defaultValue | String |
| 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;
| Name | Description |
| key | String |
| Type | Description |
| String |
getStateValue()
public abstract int getStateValue()Insight state.
.google.cloud.recommender.v1beta1.InsightStateInfo.State state = 1;
| Type | Description |
| int | The enum numeric value on the wire for state. |