public interface RecommendationStateInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsStateMetadata(String key)
A map of metadata for the state, provided by user or automations systems.
|
RecommendationStateInfo.State |
getState()
The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
|
Map<String,String> |
getStateMetadata()
Deprecated.
|
int |
getStateMetadataCount()
A map of metadata for the state, provided by user or automations systems.
|
Map<String,String> |
getStateMetadataMap()
A map of metadata for the state, provided by user or automations systems.
|
String |
getStateMetadataOrDefault(String key,
String defaultValue)
A map of metadata for the state, provided by user or automations systems.
|
String |
getStateMetadataOrThrow(String key)
A map of metadata for the state, provided by user or automations systems.
|
int |
getStateValue()
The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getStateValue()
The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
.google.cloud.recommender.v1.RecommendationStateInfo.State state = 1;RecommendationStateInfo.State getState()
The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
.google.cloud.recommender.v1.RecommendationStateInfo.State state = 1;int getStateMetadataCount()
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;boolean containsStateMetadata(String key)
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;@Deprecated Map<String,String> getStateMetadata()
getStateMetadataMap() instead.Map<String,String> getStateMetadataMap()
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;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;Copyright © 2020 Google LLC. All rights reserved.