- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.7
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.5
public interface InsightOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAssociatedRecommendations(int index)
public abstract Insight.RecommendationReference getAssociatedRecommendations(int index)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
Name | Description |
index | int |
Type | Description |
Insight.RecommendationReference |
getAssociatedRecommendationsCount()
public abstract int getAssociatedRecommendationsCount()
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
Type | Description |
int |
getAssociatedRecommendationsList()
public abstract List<Insight.RecommendationReference> getAssociatedRecommendationsList()
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
Type | Description |
List<RecommendationReference> |
getAssociatedRecommendationsOrBuilder(int index)
public abstract Insight.RecommendationReferenceOrBuilder getAssociatedRecommendationsOrBuilder(int index)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
Name | Description |
index | int |
Type | Description |
Insight.RecommendationReferenceOrBuilder |
getAssociatedRecommendationsOrBuilderList()
public abstract List<? extends Insight.RecommendationReferenceOrBuilder> getAssociatedRecommendationsOrBuilderList()
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
Type | Description |
List<? extends com.google.cloud.recommender.v1.Insight.RecommendationReferenceOrBuilder> |
getCategory()
public abstract Insight.Category getCategory()
Category being targeted by the insight.
.google.cloud.recommender.v1.Insight.Category category = 7;
Type | Description |
Insight.Category | The category. |
getCategoryValue()
public abstract int getCategoryValue()
Category being targeted by the insight.
.google.cloud.recommender.v1.Insight.Category category = 7;
Type | Description |
int | The enum numeric value on the wire for category. |
getContent()
public abstract Struct getContent()
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
.google.protobuf.Struct content = 3;
Type | Description |
Struct | The content. |
getContentOrBuilder()
public abstract StructOrBuilder getContentOrBuilder()
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
.google.protobuf.Struct content = 3;
Type | Description |
StructOrBuilder |
getDescription()
public abstract String getDescription()
Free-form human readable summary in English. The maximum length is 500 characters.
string description = 2;
Type | Description |
String | The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Free-form human readable summary in English. The maximum length is 500 characters.
string description = 2;
Type | Description |
ByteString | The bytes for description. |
getEtag()
public abstract String getEtag()
Fingerprint of the Insight. Provides optimistic locking when updating states.
string etag = 11;
Type | Description |
String | The etag. |
getEtagBytes()
public abstract ByteString getEtagBytes()
Fingerprint of the Insight. Provides optimistic locking when updating states.
string etag = 11;
Type | Description |
ByteString | The bytes for etag. |
getInsightSubtype()
public abstract String getInsightSubtype()
Insight subtype. Insight content schema will be stable for a given subtype.
string insight_subtype = 10;
Type | Description |
String | The insightSubtype. |
getInsightSubtypeBytes()
public abstract ByteString getInsightSubtypeBytes()
Insight subtype. Insight content schema will be stable for a given subtype.
string insight_subtype = 10;
Type | Description |
ByteString | The bytes for insightSubtype. |
getLastRefreshTime()
public abstract Timestamp getLastRefreshTime()
Timestamp of the latest data used to generate the insight.
.google.protobuf.Timestamp last_refresh_time = 4;
Type | Description |
Timestamp | The lastRefreshTime. |
getLastRefreshTimeOrBuilder()
public abstract TimestampOrBuilder getLastRefreshTimeOrBuilder()
Timestamp of the latest data used to generate the insight.
.google.protobuf.Timestamp last_refresh_time = 4;
Type | Description |
TimestampOrBuilder |
getName()
public abstract String getName()
Name of the insight.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Name of the insight.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getObservationPeriod()
public abstract 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;
Type | Description |
Duration | The observationPeriod. |
getObservationPeriodOrBuilder()
public abstract 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;
Type | Description |
DurationOrBuilder |
getSeverity()
public abstract Insight.Severity getSeverity()
Insight's severity.
.google.cloud.recommender.v1.Insight.Severity severity = 15;
Type | Description |
Insight.Severity | The severity. |
getSeverityValue()
public abstract int getSeverityValue()
Insight's severity.
.google.cloud.recommender.v1.Insight.Severity severity = 15;
Type | Description |
int | The enum numeric value on the wire for severity. |
getStateInfo()
public abstract InsightStateInfo getStateInfo()
Information state and metadata.
.google.cloud.recommender.v1.InsightStateInfo state_info = 6;
Type | Description |
InsightStateInfo | The stateInfo. |
getStateInfoOrBuilder()
public abstract InsightStateInfoOrBuilder getStateInfoOrBuilder()
Information state and metadata.
.google.cloud.recommender.v1.InsightStateInfo state_info = 6;
Type | Description |
InsightStateInfoOrBuilder |
getTargetResources(int index)
public abstract String getTargetResources(int index)
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The targetResources at the given index. |
getTargetResourcesBytes(int index)
public abstract ByteString getTargetResourcesBytes(int index)
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the targetResources at the given index. |
getTargetResourcesCount()
public abstract int getTargetResourcesCount()
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;
Type | Description |
int | The count of targetResources. |
getTargetResourcesList()
public abstract List<String> getTargetResourcesList()
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;
Type | Description |
List<String> | A list containing the targetResources. |
hasContent()
public abstract boolean hasContent()
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
.google.protobuf.Struct content = 3;
Type | Description |
boolean | Whether the content field is set. |
hasLastRefreshTime()
public abstract boolean hasLastRefreshTime()
Timestamp of the latest data used to generate the insight.
.google.protobuf.Timestamp last_refresh_time = 4;
Type | Description |
boolean | Whether the lastRefreshTime field is set. |
hasObservationPeriod()
public abstract 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;
Type | Description |
boolean | Whether the observationPeriod field is set. |
hasStateInfo()
public abstract boolean hasStateInfo()
Information state and metadata.
.google.cloud.recommender.v1.InsightStateInfo state_info = 6;
Type | Description |
boolean | Whether the stateInfo field is set. |