public static final class Recommendation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Recommendation.Builder> implements RecommendationOrBuilder
A recommendation along with a suggested action. E.g., a rightsizing recommendation for an underutilized VM, IAM role recommendations, etcProtobuf type
google.cloud.recommender.v1.Recommendation| Modifier and Type | Method and Description |
|---|---|
Recommendation.Builder |
addAdditionalImpact(Impact.Builder builderForValue)
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Recommendation.Builder |
addAdditionalImpact(Impact value)
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Recommendation.Builder |
addAdditionalImpact(int index,
Impact.Builder builderForValue)
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Recommendation.Builder |
addAdditionalImpact(int index,
Impact value)
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Impact.Builder |
addAdditionalImpactBuilder()
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Impact.Builder |
addAdditionalImpactBuilder(int index)
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Recommendation.Builder |
addAllAdditionalImpact(Iterable<? extends Impact> values)
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Recommendation.Builder |
addAllAssociatedInsights(Iterable<? extends Recommendation.InsightReference> values)
Insights that led to this recommendation.
|
Recommendation.Builder |
addAssociatedInsights(int index,
Recommendation.InsightReference.Builder builderForValue)
Insights that led to this recommendation.
|
Recommendation.Builder |
addAssociatedInsights(int index,
Recommendation.InsightReference value)
Insights that led to this recommendation.
|
Recommendation.Builder |
addAssociatedInsights(Recommendation.InsightReference.Builder builderForValue)
Insights that led to this recommendation.
|
Recommendation.Builder |
addAssociatedInsights(Recommendation.InsightReference value)
Insights that led to this recommendation.
|
Recommendation.InsightReference.Builder |
addAssociatedInsightsBuilder()
Insights that led to this recommendation.
|
Recommendation.InsightReference.Builder |
addAssociatedInsightsBuilder(int index)
Insights that led to this recommendation.
|
Recommendation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Recommendation |
build() |
Recommendation |
buildPartial() |
Recommendation.Builder |
clear() |
Recommendation.Builder |
clearAdditionalImpact()
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Recommendation.Builder |
clearAssociatedInsights()
Insights that led to this recommendation.
|
Recommendation.Builder |
clearContent()
Content of the recommendation describing recommended changes to resources.
|
Recommendation.Builder |
clearDescription()
Free-form human readable summary in English.
|
Recommendation.Builder |
clearEtag()
Fingerprint of the Recommendation.
|
Recommendation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Recommendation.Builder |
clearLastRefreshTime()
Last time this recommendation was refreshed by the system that created it
in the first place.
|
Recommendation.Builder |
clearName()
Name of recommendation.
|
Recommendation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Recommendation.Builder |
clearPrimaryImpact()
The primary impact that this recommendation can have while trying to
optimize for one category.
|
Recommendation.Builder |
clearPriority()
Recommendation's priority.
|
Recommendation.Builder |
clearRecommenderSubtype()
Contains an identifier for a subtype of recommendations produced for the
same recommender.
|
Recommendation.Builder |
clearStateInfo()
Information for state.
|
Recommendation.Builder |
clearXorGroupId()
Corresponds to a mutually exclusive group ID within a recommender.
|
Recommendation.Builder |
clone() |
Impact |
getAdditionalImpact(int index)
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Impact.Builder |
getAdditionalImpactBuilder(int index)
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
List<Impact.Builder> |
getAdditionalImpactBuilderList()
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
int |
getAdditionalImpactCount()
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
List<Impact> |
getAdditionalImpactList()
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
ImpactOrBuilder |
getAdditionalImpactOrBuilder(int index)
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
List<? extends ImpactOrBuilder> |
getAdditionalImpactOrBuilderList()
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Recommendation.InsightReference |
getAssociatedInsights(int index)
Insights that led to this recommendation.
|
Recommendation.InsightReference.Builder |
getAssociatedInsightsBuilder(int index)
Insights that led to this recommendation.
|
List<Recommendation.InsightReference.Builder> |
getAssociatedInsightsBuilderList()
Insights that led to this recommendation.
|
int |
getAssociatedInsightsCount()
Insights that led to this recommendation.
|
List<Recommendation.InsightReference> |
getAssociatedInsightsList()
Insights that led to this recommendation.
|
Recommendation.InsightReferenceOrBuilder |
getAssociatedInsightsOrBuilder(int index)
Insights that led to this recommendation.
|
List<? extends Recommendation.InsightReferenceOrBuilder> |
getAssociatedInsightsOrBuilderList()
Insights that led to this recommendation.
|
RecommendationContent |
getContent()
Content of the recommendation describing recommended changes to resources.
|
RecommendationContent.Builder |
getContentBuilder()
Content of the recommendation describing recommended changes to resources.
|
RecommendationContentOrBuilder |
getContentOrBuilder()
Content of the recommendation describing recommended changes to resources.
|
Recommendation |
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 Recommendation.
|
com.google.protobuf.ByteString |
getEtagBytes()
Fingerprint of the Recommendation.
|
com.google.protobuf.Timestamp |
getLastRefreshTime()
Last time this recommendation was refreshed by the system that created it
in the first place.
|
com.google.protobuf.Timestamp.Builder |
getLastRefreshTimeBuilder()
Last time this recommendation was refreshed by the system that created it
in the first place.
|
com.google.protobuf.TimestampOrBuilder |
getLastRefreshTimeOrBuilder()
Last time this recommendation was refreshed by the system that created it
in the first place.
|
String |
getName()
Name of recommendation.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of recommendation.
|
Impact |
getPrimaryImpact()
The primary impact that this recommendation can have while trying to
optimize for one category.
|
Impact.Builder |
getPrimaryImpactBuilder()
The primary impact that this recommendation can have while trying to
optimize for one category.
|
ImpactOrBuilder |
getPrimaryImpactOrBuilder()
The primary impact that this recommendation can have while trying to
optimize for one category.
|
Recommendation.Priority |
getPriority()
Recommendation's priority.
|
int |
getPriorityValue()
Recommendation's priority.
|
String |
getRecommenderSubtype()
Contains an identifier for a subtype of recommendations produced for the
same recommender.
|
com.google.protobuf.ByteString |
getRecommenderSubtypeBytes()
Contains an identifier for a subtype of recommendations produced for the
same recommender.
|
RecommendationStateInfo |
getStateInfo()
Information for state.
|
RecommendationStateInfo.Builder |
getStateInfoBuilder()
Information for state.
|
RecommendationStateInfoOrBuilder |
getStateInfoOrBuilder()
Information for state.
|
String |
getXorGroupId()
Corresponds to a mutually exclusive group ID within a recommender.
|
com.google.protobuf.ByteString |
getXorGroupIdBytes()
Corresponds to a mutually exclusive group ID within a recommender.
|
boolean |
hasContent()
Content of the recommendation describing recommended changes to resources.
|
boolean |
hasLastRefreshTime()
Last time this recommendation was refreshed by the system that created it
in the first place.
|
boolean |
hasPrimaryImpact()
The primary impact that this recommendation can have while trying to
optimize for one category.
|
boolean |
hasStateInfo()
Information for state.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Recommendation.Builder |
mergeContent(RecommendationContent value)
Content of the recommendation describing recommended changes to resources.
|
Recommendation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Recommendation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Recommendation.Builder |
mergeFrom(Recommendation other) |
Recommendation.Builder |
mergeLastRefreshTime(com.google.protobuf.Timestamp value)
Last time this recommendation was refreshed by the system that created it
in the first place.
|
Recommendation.Builder |
mergePrimaryImpact(Impact value)
The primary impact that this recommendation can have while trying to
optimize for one category.
|
Recommendation.Builder |
mergeStateInfo(RecommendationStateInfo value)
Information for state.
|
Recommendation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Recommendation.Builder |
removeAdditionalImpact(int index)
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Recommendation.Builder |
removeAssociatedInsights(int index)
Insights that led to this recommendation.
|
Recommendation.Builder |
setAdditionalImpact(int index,
Impact.Builder builderForValue)
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Recommendation.Builder |
setAdditionalImpact(int index,
Impact value)
Optional set of additional impact that this recommendation may have when
trying to optimize for the primary category.
|
Recommendation.Builder |
setAssociatedInsights(int index,
Recommendation.InsightReference.Builder builderForValue)
Insights that led to this recommendation.
|
Recommendation.Builder |
setAssociatedInsights(int index,
Recommendation.InsightReference value)
Insights that led to this recommendation.
|
Recommendation.Builder |
setContent(RecommendationContent.Builder builderForValue)
Content of the recommendation describing recommended changes to resources.
|
Recommendation.Builder |
setContent(RecommendationContent value)
Content of the recommendation describing recommended changes to resources.
|
Recommendation.Builder |
setDescription(String value)
Free-form human readable summary in English.
|
Recommendation.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Free-form human readable summary in English.
|
Recommendation.Builder |
setEtag(String value)
Fingerprint of the Recommendation.
|
Recommendation.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Fingerprint of the Recommendation.
|
Recommendation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Recommendation.Builder |
setLastRefreshTime(com.google.protobuf.Timestamp.Builder builderForValue)
Last time this recommendation was refreshed by the system that created it
in the first place.
|
Recommendation.Builder |
setLastRefreshTime(com.google.protobuf.Timestamp value)
Last time this recommendation was refreshed by the system that created it
in the first place.
|
Recommendation.Builder |
setName(String value)
Name of recommendation.
|
Recommendation.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of recommendation.
|
Recommendation.Builder |
setPrimaryImpact(Impact.Builder builderForValue)
The primary impact that this recommendation can have while trying to
optimize for one category.
|
Recommendation.Builder |
setPrimaryImpact(Impact value)
The primary impact that this recommendation can have while trying to
optimize for one category.
|
Recommendation.Builder |
setPriority(Recommendation.Priority value)
Recommendation's priority.
|
Recommendation.Builder |
setPriorityValue(int value)
Recommendation's priority.
|
Recommendation.Builder |
setRecommenderSubtype(String value)
Contains an identifier for a subtype of recommendations produced for the
same recommender.
|
Recommendation.Builder |
setRecommenderSubtypeBytes(com.google.protobuf.ByteString value)
Contains an identifier for a subtype of recommendations produced for the
same recommender.
|
Recommendation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Recommendation.Builder |
setStateInfo(RecommendationStateInfo.Builder builderForValue)
Information for state.
|
Recommendation.Builder |
setStateInfo(RecommendationStateInfo value)
Information for state.
|
Recommendation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Recommendation.Builder |
setXorGroupId(String value)
Corresponds to a mutually exclusive group ID within a recommender.
|
Recommendation.Builder |
setXorGroupIdBytes(com.google.protobuf.ByteString value)
Corresponds to a mutually exclusive group ID within a recommender.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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<Recommendation.Builder>public Recommendation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Recommendation.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<Recommendation.Builder>public Recommendation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Recommendation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Recommendation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Recommendation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Recommendation.Builder>public Recommendation.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<Recommendation.Builder>public Recommendation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Recommendation.Builder>public Recommendation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Recommendation.Builder>public Recommendation.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<Recommendation.Builder>public Recommendation.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<Recommendation.Builder>public Recommendation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Recommendation.Builder>public Recommendation.Builder mergeFrom(Recommendation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Recommendation.Builder>public Recommendation.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<Recommendation.Builder>IOExceptionpublic String getName()
Name of recommendation.
string name = 1;getName in interface RecommendationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of recommendation.
string name = 1;getNameBytes in interface RecommendationOrBuilderpublic Recommendation.Builder setName(String value)
Name of recommendation.
string name = 1;value - The name to set.public Recommendation.Builder clearName()
Name of recommendation.
string name = 1;public Recommendation.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of recommendation.
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 RecommendationOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Free-form human readable summary in English. The maximum length is 500 characters.
string description = 2;getDescriptionBytes in interface RecommendationOrBuilderpublic Recommendation.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 Recommendation.Builder clearDescription()
Free-form human readable summary in English. The maximum length is 500 characters.
string description = 2;public Recommendation.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 String getRecommenderSubtype()
Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = "google.iam.policy.Recommender", recommender_subtype can be one of "REMOVE_ROLE"/"REPLACE_ROLE"
string recommender_subtype = 12;getRecommenderSubtype in interface RecommendationOrBuilderpublic com.google.protobuf.ByteString getRecommenderSubtypeBytes()
Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = "google.iam.policy.Recommender", recommender_subtype can be one of "REMOVE_ROLE"/"REPLACE_ROLE"
string recommender_subtype = 12;getRecommenderSubtypeBytes in interface RecommendationOrBuilderpublic Recommendation.Builder setRecommenderSubtype(String value)
Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = "google.iam.policy.Recommender", recommender_subtype can be one of "REMOVE_ROLE"/"REPLACE_ROLE"
string recommender_subtype = 12;value - The recommenderSubtype to set.public Recommendation.Builder clearRecommenderSubtype()
Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = "google.iam.policy.Recommender", recommender_subtype can be one of "REMOVE_ROLE"/"REPLACE_ROLE"
string recommender_subtype = 12;public Recommendation.Builder setRecommenderSubtypeBytes(com.google.protobuf.ByteString value)
Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = "google.iam.policy.Recommender", recommender_subtype can be one of "REMOVE_ROLE"/"REPLACE_ROLE"
string recommender_subtype = 12;value - The bytes for recommenderSubtype to set.public boolean hasLastRefreshTime()
Last time this recommendation was refreshed by the system that created it in the first place.
.google.protobuf.Timestamp last_refresh_time = 4;hasLastRefreshTime in interface RecommendationOrBuilderpublic com.google.protobuf.Timestamp getLastRefreshTime()
Last time this recommendation was refreshed by the system that created it in the first place.
.google.protobuf.Timestamp last_refresh_time = 4;getLastRefreshTime in interface RecommendationOrBuilderpublic Recommendation.Builder setLastRefreshTime(com.google.protobuf.Timestamp value)
Last time this recommendation was refreshed by the system that created it in the first place.
.google.protobuf.Timestamp last_refresh_time = 4;public Recommendation.Builder setLastRefreshTime(com.google.protobuf.Timestamp.Builder builderForValue)
Last time this recommendation was refreshed by the system that created it in the first place.
.google.protobuf.Timestamp last_refresh_time = 4;public Recommendation.Builder mergeLastRefreshTime(com.google.protobuf.Timestamp value)
Last time this recommendation was refreshed by the system that created it in the first place.
.google.protobuf.Timestamp last_refresh_time = 4;public Recommendation.Builder clearLastRefreshTime()
Last time this recommendation was refreshed by the system that created it in the first place.
.google.protobuf.Timestamp last_refresh_time = 4;public com.google.protobuf.Timestamp.Builder getLastRefreshTimeBuilder()
Last time this recommendation was refreshed by the system that created it in the first place.
.google.protobuf.Timestamp last_refresh_time = 4;public com.google.protobuf.TimestampOrBuilder getLastRefreshTimeOrBuilder()
Last time this recommendation was refreshed by the system that created it in the first place.
.google.protobuf.Timestamp last_refresh_time = 4;getLastRefreshTimeOrBuilder in interface RecommendationOrBuilderpublic boolean hasPrimaryImpact()
The primary impact that this recommendation can have while trying to optimize for one category.
.google.cloud.recommender.v1.Impact primary_impact = 5;hasPrimaryImpact in interface RecommendationOrBuilderpublic Impact getPrimaryImpact()
The primary impact that this recommendation can have while trying to optimize for one category.
.google.cloud.recommender.v1.Impact primary_impact = 5;getPrimaryImpact in interface RecommendationOrBuilderpublic Recommendation.Builder setPrimaryImpact(Impact value)
The primary impact that this recommendation can have while trying to optimize for one category.
.google.cloud.recommender.v1.Impact primary_impact = 5;public Recommendation.Builder setPrimaryImpact(Impact.Builder builderForValue)
The primary impact that this recommendation can have while trying to optimize for one category.
.google.cloud.recommender.v1.Impact primary_impact = 5;public Recommendation.Builder mergePrimaryImpact(Impact value)
The primary impact that this recommendation can have while trying to optimize for one category.
.google.cloud.recommender.v1.Impact primary_impact = 5;public Recommendation.Builder clearPrimaryImpact()
The primary impact that this recommendation can have while trying to optimize for one category.
.google.cloud.recommender.v1.Impact primary_impact = 5;public Impact.Builder getPrimaryImpactBuilder()
The primary impact that this recommendation can have while trying to optimize for one category.
.google.cloud.recommender.v1.Impact primary_impact = 5;public ImpactOrBuilder getPrimaryImpactOrBuilder()
The primary impact that this recommendation can have while trying to optimize for one category.
.google.cloud.recommender.v1.Impact primary_impact = 5;getPrimaryImpactOrBuilder in interface RecommendationOrBuilderpublic List<Impact> getAdditionalImpactList()
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;getAdditionalImpactList in interface RecommendationOrBuilderpublic int getAdditionalImpactCount()
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;getAdditionalImpactCount in interface RecommendationOrBuilderpublic Impact getAdditionalImpact(int index)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;getAdditionalImpact in interface RecommendationOrBuilderpublic Recommendation.Builder setAdditionalImpact(int index, Impact value)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public Recommendation.Builder setAdditionalImpact(int index, Impact.Builder builderForValue)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public Recommendation.Builder addAdditionalImpact(Impact value)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public Recommendation.Builder addAdditionalImpact(int index, Impact value)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public Recommendation.Builder addAdditionalImpact(Impact.Builder builderForValue)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public Recommendation.Builder addAdditionalImpact(int index, Impact.Builder builderForValue)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public Recommendation.Builder addAllAdditionalImpact(Iterable<? extends Impact> values)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public Recommendation.Builder clearAdditionalImpact()
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public Recommendation.Builder removeAdditionalImpact(int index)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public Impact.Builder getAdditionalImpactBuilder(int index)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public ImpactOrBuilder getAdditionalImpactOrBuilder(int index)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;getAdditionalImpactOrBuilder in interface RecommendationOrBuilderpublic List<? extends ImpactOrBuilder> getAdditionalImpactOrBuilderList()
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;getAdditionalImpactOrBuilderList in interface RecommendationOrBuilderpublic Impact.Builder addAdditionalImpactBuilder()
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public Impact.Builder addAdditionalImpactBuilder(int index)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public List<Impact.Builder> getAdditionalImpactBuilderList()
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1.Impact additional_impact = 6;public int getPriorityValue()
Recommendation's priority.
.google.cloud.recommender.v1.Recommendation.Priority priority = 17;getPriorityValue in interface RecommendationOrBuilderpublic Recommendation.Builder setPriorityValue(int value)
Recommendation's priority.
.google.cloud.recommender.v1.Recommendation.Priority priority = 17;value - The enum numeric value on the wire for priority to set.public Recommendation.Priority getPriority()
Recommendation's priority.
.google.cloud.recommender.v1.Recommendation.Priority priority = 17;getPriority in interface RecommendationOrBuilderpublic Recommendation.Builder setPriority(Recommendation.Priority value)
Recommendation's priority.
.google.cloud.recommender.v1.Recommendation.Priority priority = 17;value - The priority to set.public Recommendation.Builder clearPriority()
Recommendation's priority.
.google.cloud.recommender.v1.Recommendation.Priority priority = 17;public boolean hasContent()
Content of the recommendation describing recommended changes to resources.
.google.cloud.recommender.v1.RecommendationContent content = 7;hasContent in interface RecommendationOrBuilderpublic RecommendationContent getContent()
Content of the recommendation describing recommended changes to resources.
.google.cloud.recommender.v1.RecommendationContent content = 7;getContent in interface RecommendationOrBuilderpublic Recommendation.Builder setContent(RecommendationContent value)
Content of the recommendation describing recommended changes to resources.
.google.cloud.recommender.v1.RecommendationContent content = 7;public Recommendation.Builder setContent(RecommendationContent.Builder builderForValue)
Content of the recommendation describing recommended changes to resources.
.google.cloud.recommender.v1.RecommendationContent content = 7;public Recommendation.Builder mergeContent(RecommendationContent value)
Content of the recommendation describing recommended changes to resources.
.google.cloud.recommender.v1.RecommendationContent content = 7;public Recommendation.Builder clearContent()
Content of the recommendation describing recommended changes to resources.
.google.cloud.recommender.v1.RecommendationContent content = 7;public RecommendationContent.Builder getContentBuilder()
Content of the recommendation describing recommended changes to resources.
.google.cloud.recommender.v1.RecommendationContent content = 7;public RecommendationContentOrBuilder getContentOrBuilder()
Content of the recommendation describing recommended changes to resources.
.google.cloud.recommender.v1.RecommendationContent content = 7;getContentOrBuilder in interface RecommendationOrBuilderpublic boolean hasStateInfo()
Information for state. Contains state and metadata.
.google.cloud.recommender.v1.RecommendationStateInfo state_info = 10;hasStateInfo in interface RecommendationOrBuilderpublic RecommendationStateInfo getStateInfo()
Information for state. Contains state and metadata.
.google.cloud.recommender.v1.RecommendationStateInfo state_info = 10;getStateInfo in interface RecommendationOrBuilderpublic Recommendation.Builder setStateInfo(RecommendationStateInfo value)
Information for state. Contains state and metadata.
.google.cloud.recommender.v1.RecommendationStateInfo state_info = 10;public Recommendation.Builder setStateInfo(RecommendationStateInfo.Builder builderForValue)
Information for state. Contains state and metadata.
.google.cloud.recommender.v1.RecommendationStateInfo state_info = 10;public Recommendation.Builder mergeStateInfo(RecommendationStateInfo value)
Information for state. Contains state and metadata.
.google.cloud.recommender.v1.RecommendationStateInfo state_info = 10;public Recommendation.Builder clearStateInfo()
Information for state. Contains state and metadata.
.google.cloud.recommender.v1.RecommendationStateInfo state_info = 10;public RecommendationStateInfo.Builder getStateInfoBuilder()
Information for state. Contains state and metadata.
.google.cloud.recommender.v1.RecommendationStateInfo state_info = 10;public RecommendationStateInfoOrBuilder getStateInfoOrBuilder()
Information for state. Contains state and metadata.
.google.cloud.recommender.v1.RecommendationStateInfo state_info = 10;getStateInfoOrBuilder in interface RecommendationOrBuilderpublic String getEtag()
Fingerprint of the Recommendation. Provides optimistic locking when updating states.
string etag = 11;getEtag in interface RecommendationOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Fingerprint of the Recommendation. Provides optimistic locking when updating states.
string etag = 11;getEtagBytes in interface RecommendationOrBuilderpublic Recommendation.Builder setEtag(String value)
Fingerprint of the Recommendation. Provides optimistic locking when updating states.
string etag = 11;value - The etag to set.public Recommendation.Builder clearEtag()
Fingerprint of the Recommendation. Provides optimistic locking when updating states.
string etag = 11;public Recommendation.Builder setEtagBytes(com.google.protobuf.ByteString value)
Fingerprint of the Recommendation. Provides optimistic locking when updating states.
string etag = 11;value - The bytes for etag to set.public List<Recommendation.InsightReference> getAssociatedInsightsList()
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
getAssociatedInsightsList in interface RecommendationOrBuilderpublic int getAssociatedInsightsCount()
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
getAssociatedInsightsCount in interface RecommendationOrBuilderpublic Recommendation.InsightReference getAssociatedInsights(int index)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
getAssociatedInsights in interface RecommendationOrBuilderpublic Recommendation.Builder setAssociatedInsights(int index, Recommendation.InsightReference value)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public Recommendation.Builder setAssociatedInsights(int index, Recommendation.InsightReference.Builder builderForValue)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public Recommendation.Builder addAssociatedInsights(Recommendation.InsightReference value)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public Recommendation.Builder addAssociatedInsights(int index, Recommendation.InsightReference value)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public Recommendation.Builder addAssociatedInsights(Recommendation.InsightReference.Builder builderForValue)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public Recommendation.Builder addAssociatedInsights(int index, Recommendation.InsightReference.Builder builderForValue)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public Recommendation.Builder addAllAssociatedInsights(Iterable<? extends Recommendation.InsightReference> values)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public Recommendation.Builder clearAssociatedInsights()
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public Recommendation.Builder removeAssociatedInsights(int index)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public Recommendation.InsightReference.Builder getAssociatedInsightsBuilder(int index)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public Recommendation.InsightReferenceOrBuilder getAssociatedInsightsOrBuilder(int index)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
getAssociatedInsightsOrBuilder in interface RecommendationOrBuilderpublic List<? extends Recommendation.InsightReferenceOrBuilder> getAssociatedInsightsOrBuilderList()
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
getAssociatedInsightsOrBuilderList in interface RecommendationOrBuilderpublic Recommendation.InsightReference.Builder addAssociatedInsightsBuilder()
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public Recommendation.InsightReference.Builder addAssociatedInsightsBuilder(int index)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public List<Recommendation.InsightReference.Builder> getAssociatedInsightsBuilderList()
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1.Recommendation.InsightReference associated_insights = 14;
public String getXorGroupId()
Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied.
string xor_group_id = 18;getXorGroupId in interface RecommendationOrBuilderpublic com.google.protobuf.ByteString getXorGroupIdBytes()
Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied.
string xor_group_id = 18;getXorGroupIdBytes in interface RecommendationOrBuilderpublic Recommendation.Builder setXorGroupId(String value)
Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied.
string xor_group_id = 18;value - The xorGroupId to set.public Recommendation.Builder clearXorGroupId()
Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied.
string xor_group_id = 18;public Recommendation.Builder setXorGroupIdBytes(com.google.protobuf.ByteString value)
Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied.
string xor_group_id = 18;value - The bytes for xorGroupId to set.public final Recommendation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Recommendation.Builder>public final Recommendation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Recommendation.Builder>Copyright © 2024 Google LLC. All rights reserved.