Interface InsightOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Insight,Insight.Builder
@Generated
public interface InsightOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAssociatedRecommendations(int index) Recommendations derived from this insight.intRecommendations derived from this insight.Recommendations derived from this insight.getAssociatedRecommendationsOrBuilder(int index) Recommendations derived from this insight.List<? extends Insight.RecommendationReferenceOrBuilder>Recommendations derived from this insight.Category being targeted by the insight.intCategory being targeted by the insight.com.google.protobuf.StructA struct of custom fields to explain the insight.com.google.protobuf.StructOrBuilderA struct of custom fields to explain the insight.Free-form human readable summary in English.com.google.protobuf.ByteStringFree-form human readable summary in English.getEtag()Fingerprint of the Insight.com.google.protobuf.ByteStringFingerprint of the Insight.Insight subtype.com.google.protobuf.ByteStringInsight subtype.com.google.protobuf.TimestampTimestamp of the latest data used to generate the insight.com.google.protobuf.TimestampOrBuilderTimestamp of the latest data used to generate the insight.getName()Name of the insight.com.google.protobuf.ByteStringName of the insight.com.google.protobuf.DurationObservation period that led to the insight.com.google.protobuf.DurationOrBuilderObservation period that led to the insight.Insight's severity.intInsight's severity.Information state and metadata.Information state and metadata.getTargetResources(int index) Fully qualified resource names that this insight is targeting.com.google.protobuf.ByteStringgetTargetResourcesBytes(int index) Fully qualified resource names that this insight is targeting.intFully qualified resource names that this insight is targeting.Fully qualified resource names that this insight is targeting.booleanA struct of custom fields to explain the insight.booleanTimestamp of the latest data used to generate the insight.booleanObservation period that led to the insight.booleanInformation state and metadata.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
-
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
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
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
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
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1beta1.Insight.RecommendationReference associated_recommendations = 8;
-