Interface InsightOrBuilder

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

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

      • getName

        String getName()
         Name of the insight.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of the insight.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getDescription

        String getDescription()
         Free-form human readable summary in English. The maximum length is 500
         characters.
         
        string description = 2;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         Free-form human readable summary in English. The maximum length is 500
         characters.
         
        string description = 2;
        Returns:
        The bytes for description.
      • getTargetResourcesList

        List<String> getTargetResourcesList()
         Fully qualified resource names that this insight is targeting.
         
        repeated string target_resources = 9;
        Returns:
        A list containing the targetResources.
      • getTargetResourcesCount

        int getTargetResourcesCount()
         Fully qualified resource names that this insight is targeting.
         
        repeated string target_resources = 9;
        Returns:
        The count of targetResources.
      • getTargetResources

        String getTargetResources​(int index)
         Fully qualified resource names that this insight is targeting.
         
        repeated string target_resources = 9;
        Parameters:
        index - The index of the element to return.
        Returns:
        The targetResources at the given index.
      • getTargetResourcesBytes

        com.google.protobuf.ByteString getTargetResourcesBytes​(int index)
         Fully qualified resource names that this insight is targeting.
         
        repeated string target_resources = 9;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the targetResources at the given index.
      • getInsightSubtype

        String getInsightSubtype()
         Insight subtype. Insight content schema will be stable for a given subtype.
         
        string insight_subtype = 10;
        Returns:
        The insightSubtype.
      • getInsightSubtypeBytes

        com.google.protobuf.ByteString getInsightSubtypeBytes()
         Insight subtype. Insight content schema will be stable for a given subtype.
         
        string insight_subtype = 10;
        Returns:
        The bytes for insightSubtype.
      • hasContent

        boolean hasContent()
         A struct of custom fields to explain the insight.
         Example: "grantedPermissionsCount": "1000"
         
        .google.protobuf.Struct content = 3;
        Returns:
        Whether the content field is set.
      • getContent

        com.google.protobuf.Struct getContent()
         A struct of custom fields to explain the insight.
         Example: "grantedPermissionsCount": "1000"
         
        .google.protobuf.Struct content = 3;
        Returns:
        The content.
      • getContentOrBuilder

        com.google.protobuf.StructOrBuilder getContentOrBuilder()
         A struct of custom fields to explain the insight.
         Example: "grantedPermissionsCount": "1000"
         
        .google.protobuf.Struct content = 3;
      • hasLastRefreshTime

        boolean hasLastRefreshTime()
         Timestamp of the latest data used to generate the insight.
         
        .google.protobuf.Timestamp last_refresh_time = 4;
        Returns:
        Whether the lastRefreshTime field is set.
      • getLastRefreshTime

        com.google.protobuf.Timestamp getLastRefreshTime()
         Timestamp of the latest data used to generate the insight.
         
        .google.protobuf.Timestamp last_refresh_time = 4;
        Returns:
        The lastRefreshTime.
      • getLastRefreshTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getLastRefreshTimeOrBuilder()
         Timestamp of the latest data used to generate the insight.
         
        .google.protobuf.Timestamp last_refresh_time = 4;
      • hasObservationPeriod

        boolean hasObservationPeriod()
         Observation period that led to the insight. The source data used to
         generate the insight ends at last_refresh_time and begins at
         (last_refresh_time - observation_period).
         
        .google.protobuf.Duration observation_period = 5;
        Returns:
        Whether the observationPeriod field is set.
      • getObservationPeriod

        com.google.protobuf.Duration getObservationPeriod()
         Observation period that led to the insight. The source data used to
         generate the insight ends at last_refresh_time and begins at
         (last_refresh_time - observation_period).
         
        .google.protobuf.Duration observation_period = 5;
        Returns:
        The observationPeriod.
      • getObservationPeriodOrBuilder

        com.google.protobuf.DurationOrBuilder getObservationPeriodOrBuilder()
         Observation period that led to the insight. The source data used to
         generate the insight ends at last_refresh_time and begins at
         (last_refresh_time - observation_period).
         
        .google.protobuf.Duration observation_period = 5;
      • hasStateInfo

        boolean hasStateInfo()
         Information state and metadata.
         
        .google.cloud.recommender.v1beta1.InsightStateInfo state_info = 6;
        Returns:
        Whether the stateInfo field is set.
      • getStateInfo

        InsightStateInfo getStateInfo()
         Information state and metadata.
         
        .google.cloud.recommender.v1beta1.InsightStateInfo state_info = 6;
        Returns:
        The stateInfo.
      • getStateInfoOrBuilder

        InsightStateInfoOrBuilder getStateInfoOrBuilder()
         Information state and metadata.
         
        .google.cloud.recommender.v1beta1.InsightStateInfo state_info = 6;
      • getCategoryValue

        int getCategoryValue()
         Category being targeted by the insight.
         
        .google.cloud.recommender.v1beta1.Insight.Category category = 7;
        Returns:
        The enum numeric value on the wire for category.
      • getCategory

        Insight.Category getCategory()
         Category being targeted by the insight.
         
        .google.cloud.recommender.v1beta1.Insight.Category category = 7;
        Returns:
        The category.
      • getSeverityValue

        int getSeverityValue()
         Insight's severity.
         
        .google.cloud.recommender.v1beta1.Insight.Severity severity = 15;
        Returns:
        The enum numeric value on the wire for severity.
      • getSeverity

        Insight.Severity getSeverity()
         Insight's severity.
         
        .google.cloud.recommender.v1beta1.Insight.Severity severity = 15;
        Returns:
        The severity.
      • getEtag

        String getEtag()
         Fingerprint of the Insight. Provides optimistic locking when updating
         states.
         
        string etag = 11;
        Returns:
        The etag.
      • getEtagBytes

        com.google.protobuf.ByteString getEtagBytes()
         Fingerprint of the Insight. Provides optimistic locking when updating
         states.
         
        string etag = 11;
        Returns:
        The bytes for etag.
      • getAssociatedRecommendationsList

        List<Insight.RecommendationReference> getAssociatedRecommendationsList()
         Recommendations derived from this insight.
         
        repeated .google.cloud.recommender.v1beta1.Insight.RecommendationReference associated_recommendations = 8;
      • getAssociatedRecommendations

        Insight.RecommendationReference getAssociatedRecommendations​(int index)
         Recommendations derived from this insight.
         
        repeated .google.cloud.recommender.v1beta1.Insight.RecommendationReference associated_recommendations = 8;
      • getAssociatedRecommendationsCount

        int getAssociatedRecommendationsCount()
         Recommendations derived from this insight.
         
        repeated .google.cloud.recommender.v1beta1.Insight.RecommendationReference associated_recommendations = 8;
      • getAssociatedRecommendationsOrBuilderList

        List<? extends Insight.RecommendationReferenceOrBuilder> getAssociatedRecommendationsOrBuilderList()
         Recommendations derived from this insight.
         
        repeated .google.cloud.recommender.v1beta1.Insight.RecommendationReference associated_recommendations = 8;
      • getAssociatedRecommendationsOrBuilder

        Insight.RecommendationReferenceOrBuilder getAssociatedRecommendationsOrBuilder​(int index)
         Recommendations derived from this insight.
         
        repeated .google.cloud.recommender.v1beta1.Insight.RecommendationReference associated_recommendations = 8;