Interface RecommendationStateInfoOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    RecommendationStateInfo, RecommendationStateInfo.Builder

    public interface RecommendationStateInfoOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getStateValue

        int getStateValue()
         The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
         
        .google.cloud.recommender.v1.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.v1.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

        boolean containsStateMetadata​(String key)
         A map of metadata for the state, provided by user or automations systems.
         
        map<string, string> state_metadata = 2;
      • getStateMetadataMap

        Map<String,​String> getStateMetadataMap()
         A map of metadata for the state, provided by user or automations systems.
         
        map<string, string> state_metadata = 2;
      • getStateMetadataOrDefault

        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;
      • getStateMetadataOrThrow

        String getStateMetadataOrThrow​(String key)
         A map of metadata for the state, provided by user or automations systems.
         
        map<string, string> state_metadata = 2;