Interface RecommendationStateInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecommendationStateInfo,RecommendationStateInfo.Builder
@Generated
public interface RecommendationStateInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanA map of metadata for the state, provided by user or automations systems.getState()The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.Deprecated.intA map of metadata for the state, provided by user or automations systems.A map of metadata for the state, provided by user or automations systems.getStateMetadataOrDefault(String key, String defaultValue) A map of metadata for the state, provided by user or automations systems.A map of metadata for the state, provided by user or automations systems.intThe state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStateValue
int getStateValue()The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
.google.cloud.recommender.v1beta1.RecommendationStateInfo.State state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
RecommendationStateInfo.State getState()The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
.google.cloud.recommender.v1beta1.RecommendationStateInfo.State state = 1;- Returns:
- The state.
-
getStateMetadataCount
int getStateMetadataCount()A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2; -
containsStateMetadata
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2; -
getStateMetadata
Deprecated.UsegetStateMetadataMap()instead. -
getStateMetadataMap
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2; -
getStateMetadataOrDefault
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2; -
getStateMetadataOrThrow
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;
-