public static final class Insight.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder> implements InsightOrBuilder
An insight along with the information used to derive the insight. The insight may have associated recomendations as well.Protobuf type
google.cloud.recommender.v1.Insight| Modifier and Type | Method and Description |
|---|---|
Insight.Builder |
addAllAssociatedRecommendations(Iterable<? extends Insight.RecommendationReference> values)
Recommendations derived from this insight.
|
Insight.Builder |
addAllTargetResources(Iterable<String> values)
Fully qualified resource names that this insight is targeting.
|
Insight.Builder |
addAssociatedRecommendations(Insight.RecommendationReference.Builder builderForValue)
Recommendations derived from this insight.
|
Insight.Builder |
addAssociatedRecommendations(Insight.RecommendationReference value)
Recommendations derived from this insight.
|
Insight.Builder |
addAssociatedRecommendations(int index,
Insight.RecommendationReference.Builder builderForValue)
Recommendations derived from this insight.
|
Insight.Builder |
addAssociatedRecommendations(int index,
Insight.RecommendationReference value)
Recommendations derived from this insight.
|
Insight.RecommendationReference.Builder |
addAssociatedRecommendationsBuilder()
Recommendations derived from this insight.
|
Insight.RecommendationReference.Builder |
addAssociatedRecommendationsBuilder(int index)
Recommendations derived from this insight.
|
Insight.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Insight.Builder |
addTargetResources(String value)
Fully qualified resource names that this insight is targeting.
|
Insight.Builder |
addTargetResourcesBytes(com.google.protobuf.ByteString value)
Fully qualified resource names that this insight is targeting.
|
Insight |
build() |
Insight |
buildPartial() |
Insight.Builder |
clear() |
Insight.Builder |
clearAssociatedRecommendations()
Recommendations derived from this insight.
|
Insight.Builder |
clearCategory()
Category being targeted by the insight.
|
Insight.Builder |
clearContent()
A struct of custom fields to explain the insight.
|
Insight.Builder |
clearDescription()
Free-form human readable summary in English.
|
Insight.Builder |
clearEtag()
Fingerprint of the Insight.
|
Insight.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Insight.Builder |
clearInsightSubtype()
Insight subtype.
|
Insight.Builder |
clearLastRefreshTime()
Timestamp of the latest data used to generate the insight.
|
Insight.Builder |
clearName()
Name of the insight.
|
Insight.Builder |
clearObservationPeriod()
Observation period that led to the insight.
|
Insight.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Insight.Builder |
clearStateInfo()
Information state and metadata.
|
Insight.Builder |
clearTargetResources()
Fully qualified resource names that this insight is targeting.
|
Insight.Builder |
clone() |
Insight.RecommendationReference |
getAssociatedRecommendations(int index)
Recommendations derived from this insight.
|
Insight.RecommendationReference.Builder |
getAssociatedRecommendationsBuilder(int index)
Recommendations derived from this insight.
|
List<Insight.RecommendationReference.Builder> |
getAssociatedRecommendationsBuilderList()
Recommendations derived from this insight.
|
int |
getAssociatedRecommendationsCount()
Recommendations derived from this insight.
|
List<Insight.RecommendationReference> |
getAssociatedRecommendationsList()
Recommendations derived from this insight.
|
Insight.RecommendationReferenceOrBuilder |
getAssociatedRecommendationsOrBuilder(int index)
Recommendations derived from this insight.
|
List<? extends Insight.RecommendationReferenceOrBuilder> |
getAssociatedRecommendationsOrBuilderList()
Recommendations derived from this insight.
|
Insight.Category |
getCategory()
Category being targeted by the insight.
|
int |
getCategoryValue()
Category being targeted by the insight.
|
com.google.protobuf.Struct |
getContent()
A struct of custom fields to explain the insight.
|
com.google.protobuf.Struct.Builder |
getContentBuilder()
A struct of custom fields to explain the insight.
|
com.google.protobuf.StructOrBuilder |
getContentOrBuilder()
A struct of custom fields to explain the insight.
|
Insight |
getDefaultInstanceForType() |
String |
getDescription()
Free-form human readable summary in English.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Free-form human readable summary in English.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEtag()
Fingerprint of the Insight.
|
com.google.protobuf.ByteString |
getEtagBytes()
Fingerprint of the Insight.
|
String |
getInsightSubtype()
Insight subtype.
|
com.google.protobuf.ByteString |
getInsightSubtypeBytes()
Insight subtype.
|
com.google.protobuf.Timestamp |
getLastRefreshTime()
Timestamp of the latest data used to generate the insight.
|
com.google.protobuf.Timestamp.Builder |
getLastRefreshTimeBuilder()
Timestamp of the latest data used to generate the insight.
|
com.google.protobuf.TimestampOrBuilder |
getLastRefreshTimeOrBuilder()
Timestamp of the latest data used to generate the insight.
|
String |
getName()
Name of the insight.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the insight.
|
com.google.protobuf.Duration |
getObservationPeriod()
Observation period that led to the insight.
|
com.google.protobuf.Duration.Builder |
getObservationPeriodBuilder()
Observation period that led to the insight.
|
com.google.protobuf.DurationOrBuilder |
getObservationPeriodOrBuilder()
Observation period that led to the insight.
|
InsightStateInfo |
getStateInfo()
Information state and metadata.
|
InsightStateInfo.Builder |
getStateInfoBuilder()
Information state and metadata.
|
InsightStateInfoOrBuilder |
getStateInfoOrBuilder()
Information state and metadata.
|
String |
getTargetResources(int index)
Fully qualified resource names that this insight is targeting.
|
com.google.protobuf.ByteString |
getTargetResourcesBytes(int index)
Fully qualified resource names that this insight is targeting.
|
int |
getTargetResourcesCount()
Fully qualified resource names that this insight is targeting.
|
com.google.protobuf.ProtocolStringList |
getTargetResourcesList()
Fully qualified resource names that this insight is targeting.
|
boolean |
hasContent()
A struct of custom fields to explain the insight.
|
boolean |
hasLastRefreshTime()
Timestamp of the latest data used to generate the insight.
|
boolean |
hasObservationPeriod()
Observation period that led to the insight.
|
boolean |
hasStateInfo()
Information state and metadata.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Insight.Builder |
mergeContent(com.google.protobuf.Struct value)
A struct of custom fields to explain the insight.
|
Insight.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Insight.Builder |
mergeFrom(Insight other) |
Insight.Builder |
mergeFrom(com.google.protobuf.Message other) |
Insight.Builder |
mergeLastRefreshTime(com.google.protobuf.Timestamp value)
Timestamp of the latest data used to generate the insight.
|
Insight.Builder |
mergeObservationPeriod(com.google.protobuf.Duration value)
Observation period that led to the insight.
|
Insight.Builder |
mergeStateInfo(InsightStateInfo value)
Information state and metadata.
|
Insight.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Insight.Builder |
removeAssociatedRecommendations(int index)
Recommendations derived from this insight.
|
Insight.Builder |
setAssociatedRecommendations(int index,
Insight.RecommendationReference.Builder builderForValue)
Recommendations derived from this insight.
|
Insight.Builder |
setAssociatedRecommendations(int index,
Insight.RecommendationReference value)
Recommendations derived from this insight.
|
Insight.Builder |
setCategory(Insight.Category value)
Category being targeted by the insight.
|
Insight.Builder |
setCategoryValue(int value)
Category being targeted by the insight.
|
Insight.Builder |
setContent(com.google.protobuf.Struct.Builder builderForValue)
A struct of custom fields to explain the insight.
|
Insight.Builder |
setContent(com.google.protobuf.Struct value)
A struct of custom fields to explain the insight.
|
Insight.Builder |
setDescription(String value)
Free-form human readable summary in English.
|
Insight.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Free-form human readable summary in English.
|
Insight.Builder |
setEtag(String value)
Fingerprint of the Insight.
|
Insight.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Fingerprint of the Insight.
|
Insight.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Insight.Builder |
setInsightSubtype(String value)
Insight subtype.
|
Insight.Builder |
setInsightSubtypeBytes(com.google.protobuf.ByteString value)
Insight subtype.
|
Insight.Builder |
setLastRefreshTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp of the latest data used to generate the insight.
|
Insight.Builder |
setLastRefreshTime(com.google.protobuf.Timestamp value)
Timestamp of the latest data used to generate the insight.
|
Insight.Builder |
setName(String value)
Name of the insight.
|
Insight.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the insight.
|
Insight.Builder |
setObservationPeriod(com.google.protobuf.Duration.Builder builderForValue)
Observation period that led to the insight.
|
Insight.Builder |
setObservationPeriod(com.google.protobuf.Duration value)
Observation period that led to the insight.
|
Insight.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Insight.Builder |
setStateInfo(InsightStateInfo.Builder builderForValue)
Information state and metadata.
|
Insight.Builder |
setStateInfo(InsightStateInfo value)
Information state and metadata.
|
Insight.Builder |
setTargetResources(int index,
String value)
Fully qualified resource names that this insight is targeting.
|
Insight.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>public Insight.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>public Insight getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Insight build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Insight buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Insight.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>public Insight.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>public Insight.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>public Insight.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>public Insight.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>public Insight.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>public Insight.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Insight.Builder>public Insight.Builder mergeFrom(Insight other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>public Insight.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Insight.Builder>IOExceptionpublic String getName()
Name of the insight.
string name = 1;getName in interface InsightOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the insight.
string name = 1;getNameBytes in interface InsightOrBuilderpublic Insight.Builder setName(String value)
Name of the insight.
string name = 1;value - The name to set.public Insight.Builder clearName()
Name of the insight.
string name = 1;public Insight.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the insight.
string name = 1;value - The bytes for name to set.public String getDescription()
Free-form human readable summary in English. The maximum length is 500 characters.
string description = 2;getDescription in interface InsightOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Free-form human readable summary in English. The maximum length is 500 characters.
string description = 2;getDescriptionBytes in interface InsightOrBuilderpublic Insight.Builder setDescription(String value)
Free-form human readable summary in English. The maximum length is 500 characters.
string description = 2;value - The description to set.public Insight.Builder clearDescription()
Free-form human readable summary in English. The maximum length is 500 characters.
string description = 2;public Insight.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Free-form human readable summary in English. The maximum length is 500 characters.
string description = 2;value - The bytes for description to set.public com.google.protobuf.ProtocolStringList getTargetResourcesList()
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;getTargetResourcesList in interface InsightOrBuilderpublic int getTargetResourcesCount()
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;getTargetResourcesCount in interface InsightOrBuilderpublic String getTargetResources(int index)
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;getTargetResources in interface InsightOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTargetResourcesBytes(int index)
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;getTargetResourcesBytes in interface InsightOrBuilderindex - The index of the value to return.public Insight.Builder setTargetResources(int index, String value)
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;index - The index to set the value at.value - The targetResources to set.public Insight.Builder addTargetResources(String value)
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;value - The targetResources to add.public Insight.Builder addAllTargetResources(Iterable<String> values)
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;values - The targetResources to add.public Insight.Builder clearTargetResources()
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;public Insight.Builder addTargetResourcesBytes(com.google.protobuf.ByteString value)
Fully qualified resource names that this insight is targeting.
repeated string target_resources = 9;value - The bytes of the targetResources to add.public String getInsightSubtype()
Insight subtype. Insight content schema will be stable for a given subtype.
string insight_subtype = 10;getInsightSubtype in interface InsightOrBuilderpublic com.google.protobuf.ByteString getInsightSubtypeBytes()
Insight subtype. Insight content schema will be stable for a given subtype.
string insight_subtype = 10;getInsightSubtypeBytes in interface InsightOrBuilderpublic Insight.Builder setInsightSubtype(String value)
Insight subtype. Insight content schema will be stable for a given subtype.
string insight_subtype = 10;value - The insightSubtype to set.public Insight.Builder clearInsightSubtype()
Insight subtype. Insight content schema will be stable for a given subtype.
string insight_subtype = 10;public Insight.Builder setInsightSubtypeBytes(com.google.protobuf.ByteString value)
Insight subtype. Insight content schema will be stable for a given subtype.
string insight_subtype = 10;value - The bytes for insightSubtype to set.public boolean hasContent()
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
.google.protobuf.Struct content = 3;hasContent in interface InsightOrBuilderpublic com.google.protobuf.Struct getContent()
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
.google.protobuf.Struct content = 3;getContent in interface InsightOrBuilderpublic Insight.Builder setContent(com.google.protobuf.Struct value)
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
.google.protobuf.Struct content = 3;public Insight.Builder setContent(com.google.protobuf.Struct.Builder builderForValue)
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
.google.protobuf.Struct content = 3;public Insight.Builder mergeContent(com.google.protobuf.Struct value)
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
.google.protobuf.Struct content = 3;public Insight.Builder clearContent()
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
.google.protobuf.Struct content = 3;public com.google.protobuf.Struct.Builder getContentBuilder()
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
.google.protobuf.Struct content = 3;public com.google.protobuf.StructOrBuilder getContentOrBuilder()
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
.google.protobuf.Struct content = 3;getContentOrBuilder in interface InsightOrBuilderpublic boolean hasLastRefreshTime()
Timestamp of the latest data used to generate the insight.
.google.protobuf.Timestamp last_refresh_time = 4;hasLastRefreshTime in interface InsightOrBuilderpublic com.google.protobuf.Timestamp getLastRefreshTime()
Timestamp of the latest data used to generate the insight.
.google.protobuf.Timestamp last_refresh_time = 4;getLastRefreshTime in interface InsightOrBuilderpublic Insight.Builder setLastRefreshTime(com.google.protobuf.Timestamp value)
Timestamp of the latest data used to generate the insight.
.google.protobuf.Timestamp last_refresh_time = 4;public Insight.Builder setLastRefreshTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp of the latest data used to generate the insight.
.google.protobuf.Timestamp last_refresh_time = 4;public Insight.Builder mergeLastRefreshTime(com.google.protobuf.Timestamp value)
Timestamp of the latest data used to generate the insight.
.google.protobuf.Timestamp last_refresh_time = 4;public Insight.Builder clearLastRefreshTime()
Timestamp of the latest data used to generate the insight.
.google.protobuf.Timestamp last_refresh_time = 4;public com.google.protobuf.Timestamp.Builder getLastRefreshTimeBuilder()
Timestamp of the latest data used to generate the insight.
.google.protobuf.Timestamp last_refresh_time = 4;public com.google.protobuf.TimestampOrBuilder getLastRefreshTimeOrBuilder()
Timestamp of the latest data used to generate the insight.
.google.protobuf.Timestamp last_refresh_time = 4;getLastRefreshTimeOrBuilder in interface InsightOrBuilderpublic 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;hasObservationPeriod in interface InsightOrBuilderpublic 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;getObservationPeriod in interface InsightOrBuilderpublic Insight.Builder setObservationPeriod(com.google.protobuf.Duration value)
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;public Insight.Builder setObservationPeriod(com.google.protobuf.Duration.Builder builderForValue)
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;public Insight.Builder mergeObservationPeriod(com.google.protobuf.Duration value)
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;public Insight.Builder clearObservationPeriod()
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;public com.google.protobuf.Duration.Builder getObservationPeriodBuilder()
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;public 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;getObservationPeriodOrBuilder in interface InsightOrBuilderpublic boolean hasStateInfo()
Information state and metadata.
.google.cloud.recommender.v1.InsightStateInfo state_info = 6;hasStateInfo in interface InsightOrBuilderpublic InsightStateInfo getStateInfo()
Information state and metadata.
.google.cloud.recommender.v1.InsightStateInfo state_info = 6;getStateInfo in interface InsightOrBuilderpublic Insight.Builder setStateInfo(InsightStateInfo value)
Information state and metadata.
.google.cloud.recommender.v1.InsightStateInfo state_info = 6;public Insight.Builder setStateInfo(InsightStateInfo.Builder builderForValue)
Information state and metadata.
.google.cloud.recommender.v1.InsightStateInfo state_info = 6;public Insight.Builder mergeStateInfo(InsightStateInfo value)
Information state and metadata.
.google.cloud.recommender.v1.InsightStateInfo state_info = 6;public Insight.Builder clearStateInfo()
Information state and metadata.
.google.cloud.recommender.v1.InsightStateInfo state_info = 6;public InsightStateInfo.Builder getStateInfoBuilder()
Information state and metadata.
.google.cloud.recommender.v1.InsightStateInfo state_info = 6;public InsightStateInfoOrBuilder getStateInfoOrBuilder()
Information state and metadata.
.google.cloud.recommender.v1.InsightStateInfo state_info = 6;getStateInfoOrBuilder in interface InsightOrBuilderpublic int getCategoryValue()
Category being targeted by the insight.
.google.cloud.recommender.v1.Insight.Category category = 7;getCategoryValue in interface InsightOrBuilderpublic Insight.Builder setCategoryValue(int value)
Category being targeted by the insight.
.google.cloud.recommender.v1.Insight.Category category = 7;value - The enum numeric value on the wire for category to set.public Insight.Category getCategory()
Category being targeted by the insight.
.google.cloud.recommender.v1.Insight.Category category = 7;getCategory in interface InsightOrBuilderpublic Insight.Builder setCategory(Insight.Category value)
Category being targeted by the insight.
.google.cloud.recommender.v1.Insight.Category category = 7;value - The category to set.public Insight.Builder clearCategory()
Category being targeted by the insight.
.google.cloud.recommender.v1.Insight.Category category = 7;public String getEtag()
Fingerprint of the Insight. Provides optimistic locking when updating states.
string etag = 11;getEtag in interface InsightOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Fingerprint of the Insight. Provides optimistic locking when updating states.
string etag = 11;getEtagBytes in interface InsightOrBuilderpublic Insight.Builder setEtag(String value)
Fingerprint of the Insight. Provides optimistic locking when updating states.
string etag = 11;value - The etag to set.public Insight.Builder clearEtag()
Fingerprint of the Insight. Provides optimistic locking when updating states.
string etag = 11;public Insight.Builder setEtagBytes(com.google.protobuf.ByteString value)
Fingerprint of the Insight. Provides optimistic locking when updating states.
string etag = 11;value - The bytes for etag to set.public List<Insight.RecommendationReference> getAssociatedRecommendationsList()
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
getAssociatedRecommendationsList in interface InsightOrBuilderpublic int getAssociatedRecommendationsCount()
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
getAssociatedRecommendationsCount in interface InsightOrBuilderpublic Insight.RecommendationReference getAssociatedRecommendations(int index)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
getAssociatedRecommendations in interface InsightOrBuilderpublic Insight.Builder setAssociatedRecommendations(int index, Insight.RecommendationReference value)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public Insight.Builder setAssociatedRecommendations(int index, Insight.RecommendationReference.Builder builderForValue)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public Insight.Builder addAssociatedRecommendations(Insight.RecommendationReference value)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public Insight.Builder addAssociatedRecommendations(int index, Insight.RecommendationReference value)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public Insight.Builder addAssociatedRecommendations(Insight.RecommendationReference.Builder builderForValue)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public Insight.Builder addAssociatedRecommendations(int index, Insight.RecommendationReference.Builder builderForValue)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public Insight.Builder addAllAssociatedRecommendations(Iterable<? extends Insight.RecommendationReference> values)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public Insight.Builder clearAssociatedRecommendations()
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public Insight.Builder removeAssociatedRecommendations(int index)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public Insight.RecommendationReference.Builder getAssociatedRecommendationsBuilder(int index)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public Insight.RecommendationReferenceOrBuilder getAssociatedRecommendationsOrBuilder(int index)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
getAssociatedRecommendationsOrBuilder in interface InsightOrBuilderpublic List<? extends Insight.RecommendationReferenceOrBuilder> getAssociatedRecommendationsOrBuilderList()
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
getAssociatedRecommendationsOrBuilderList in interface InsightOrBuilderpublic Insight.RecommendationReference.Builder addAssociatedRecommendationsBuilder()
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public Insight.RecommendationReference.Builder addAssociatedRecommendationsBuilder(int index)
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public List<Insight.RecommendationReference.Builder> getAssociatedRecommendationsBuilderList()
Recommendations derived from this insight.
repeated .google.cloud.recommender.v1.Insight.RecommendationReference associated_recommendations = 8;
public final Insight.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>public final Insight.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>Copyright © 2020 Google LLC. All rights reserved.