public static final class Impact.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Impact.Builder> implements ImpactOrBuilder
Contains the impact a recommendation can have for a given category.Protobuf type
google.cloud.recommender.v1.Impact| Modifier and Type | Method and Description |
|---|---|
Impact.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Impact |
build() |
Impact |
buildPartial() |
Impact.Builder |
clear() |
Impact.Builder |
clearCategory()
Category that is being targeted.
|
Impact.Builder |
clearCostProjection()
Use with CategoryType.COST
|
Impact.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Impact.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Impact.Builder |
clearProjection() |
Impact.Builder |
clearReliabilityProjection()
Use with CategoryType.RELIABILITY
|
Impact.Builder |
clearSecurityProjection()
Use with CategoryType.SECURITY
|
Impact.Builder |
clearSustainabilityProjection()
Use with CategoryType.SUSTAINABILITY
|
Impact.Builder |
clone() |
Impact.Category |
getCategory()
Category that is being targeted.
|
int |
getCategoryValue()
Category that is being targeted.
|
CostProjection |
getCostProjection()
Use with CategoryType.COST
|
CostProjection.Builder |
getCostProjectionBuilder()
Use with CategoryType.COST
|
CostProjectionOrBuilder |
getCostProjectionOrBuilder()
Use with CategoryType.COST
|
Impact |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Impact.ProjectionCase |
getProjectionCase() |
ReliabilityProjection |
getReliabilityProjection()
Use with CategoryType.RELIABILITY
|
ReliabilityProjection.Builder |
getReliabilityProjectionBuilder()
Use with CategoryType.RELIABILITY
|
ReliabilityProjectionOrBuilder |
getReliabilityProjectionOrBuilder()
Use with CategoryType.RELIABILITY
|
SecurityProjection |
getSecurityProjection()
Use with CategoryType.SECURITY
|
SecurityProjection.Builder |
getSecurityProjectionBuilder()
Use with CategoryType.SECURITY
|
SecurityProjectionOrBuilder |
getSecurityProjectionOrBuilder()
Use with CategoryType.SECURITY
|
SustainabilityProjection |
getSustainabilityProjection()
Use with CategoryType.SUSTAINABILITY
|
SustainabilityProjection.Builder |
getSustainabilityProjectionBuilder()
Use with CategoryType.SUSTAINABILITY
|
SustainabilityProjectionOrBuilder |
getSustainabilityProjectionOrBuilder()
Use with CategoryType.SUSTAINABILITY
|
boolean |
hasCostProjection()
Use with CategoryType.COST
|
boolean |
hasReliabilityProjection()
Use with CategoryType.RELIABILITY
|
boolean |
hasSecurityProjection()
Use with CategoryType.SECURITY
|
boolean |
hasSustainabilityProjection()
Use with CategoryType.SUSTAINABILITY
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Impact.Builder |
mergeCostProjection(CostProjection value)
Use with CategoryType.COST
|
Impact.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Impact.Builder |
mergeFrom(Impact other) |
Impact.Builder |
mergeFrom(com.google.protobuf.Message other) |
Impact.Builder |
mergeReliabilityProjection(ReliabilityProjection value)
Use with CategoryType.RELIABILITY
|
Impact.Builder |
mergeSecurityProjection(SecurityProjection value)
Use with CategoryType.SECURITY
|
Impact.Builder |
mergeSustainabilityProjection(SustainabilityProjection value)
Use with CategoryType.SUSTAINABILITY
|
Impact.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Impact.Builder |
setCategory(Impact.Category value)
Category that is being targeted.
|
Impact.Builder |
setCategoryValue(int value)
Category that is being targeted.
|
Impact.Builder |
setCostProjection(CostProjection.Builder builderForValue)
Use with CategoryType.COST
|
Impact.Builder |
setCostProjection(CostProjection value)
Use with CategoryType.COST
|
Impact.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Impact.Builder |
setReliabilityProjection(ReliabilityProjection.Builder builderForValue)
Use with CategoryType.RELIABILITY
|
Impact.Builder |
setReliabilityProjection(ReliabilityProjection value)
Use with CategoryType.RELIABILITY
|
Impact.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Impact.Builder |
setSecurityProjection(SecurityProjection.Builder builderForValue)
Use with CategoryType.SECURITY
|
Impact.Builder |
setSecurityProjection(SecurityProjection value)
Use with CategoryType.SECURITY
|
Impact.Builder |
setSustainabilityProjection(SustainabilityProjection.Builder builderForValue)
Use with CategoryType.SUSTAINABILITY
|
Impact.Builder |
setSustainabilityProjection(SustainabilityProjection value)
Use with CategoryType.SUSTAINABILITY
|
Impact.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<Impact.Builder>public Impact.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Impact.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<Impact.Builder>public Impact getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Impact build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Impact buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Impact.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Impact.Builder>public Impact.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<Impact.Builder>public Impact.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Impact.Builder>public Impact.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Impact.Builder>public Impact.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<Impact.Builder>public Impact.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<Impact.Builder>public Impact.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Impact.Builder>public Impact.Builder mergeFrom(Impact other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Impact.Builder>public Impact.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<Impact.Builder>IOExceptionpublic Impact.ProjectionCase getProjectionCase()
getProjectionCase in interface ImpactOrBuilderpublic Impact.Builder clearProjection()
public int getCategoryValue()
Category that is being targeted.
.google.cloud.recommender.v1.Impact.Category category = 1;getCategoryValue in interface ImpactOrBuilderpublic Impact.Builder setCategoryValue(int value)
Category that is being targeted.
.google.cloud.recommender.v1.Impact.Category category = 1;value - The enum numeric value on the wire for category to set.public Impact.Category getCategory()
Category that is being targeted.
.google.cloud.recommender.v1.Impact.Category category = 1;getCategory in interface ImpactOrBuilderpublic Impact.Builder setCategory(Impact.Category value)
Category that is being targeted.
.google.cloud.recommender.v1.Impact.Category category = 1;value - The category to set.public Impact.Builder clearCategory()
Category that is being targeted.
.google.cloud.recommender.v1.Impact.Category category = 1;public boolean hasCostProjection()
Use with CategoryType.COST
.google.cloud.recommender.v1.CostProjection cost_projection = 100;hasCostProjection in interface ImpactOrBuilderpublic CostProjection getCostProjection()
Use with CategoryType.COST
.google.cloud.recommender.v1.CostProjection cost_projection = 100;getCostProjection in interface ImpactOrBuilderpublic Impact.Builder setCostProjection(CostProjection value)
Use with CategoryType.COST
.google.cloud.recommender.v1.CostProjection cost_projection = 100;public Impact.Builder setCostProjection(CostProjection.Builder builderForValue)
Use with CategoryType.COST
.google.cloud.recommender.v1.CostProjection cost_projection = 100;public Impact.Builder mergeCostProjection(CostProjection value)
Use with CategoryType.COST
.google.cloud.recommender.v1.CostProjection cost_projection = 100;public Impact.Builder clearCostProjection()
Use with CategoryType.COST
.google.cloud.recommender.v1.CostProjection cost_projection = 100;public CostProjection.Builder getCostProjectionBuilder()
Use with CategoryType.COST
.google.cloud.recommender.v1.CostProjection cost_projection = 100;public CostProjectionOrBuilder getCostProjectionOrBuilder()
Use with CategoryType.COST
.google.cloud.recommender.v1.CostProjection cost_projection = 100;getCostProjectionOrBuilder in interface ImpactOrBuilderpublic boolean hasSecurityProjection()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1.SecurityProjection security_projection = 101;hasSecurityProjection in interface ImpactOrBuilderpublic SecurityProjection getSecurityProjection()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1.SecurityProjection security_projection = 101;getSecurityProjection in interface ImpactOrBuilderpublic Impact.Builder setSecurityProjection(SecurityProjection value)
Use with CategoryType.SECURITY
.google.cloud.recommender.v1.SecurityProjection security_projection = 101;public Impact.Builder setSecurityProjection(SecurityProjection.Builder builderForValue)
Use with CategoryType.SECURITY
.google.cloud.recommender.v1.SecurityProjection security_projection = 101;public Impact.Builder mergeSecurityProjection(SecurityProjection value)
Use with CategoryType.SECURITY
.google.cloud.recommender.v1.SecurityProjection security_projection = 101;public Impact.Builder clearSecurityProjection()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1.SecurityProjection security_projection = 101;public SecurityProjection.Builder getSecurityProjectionBuilder()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1.SecurityProjection security_projection = 101;public SecurityProjectionOrBuilder getSecurityProjectionOrBuilder()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1.SecurityProjection security_projection = 101;getSecurityProjectionOrBuilder in interface ImpactOrBuilderpublic boolean hasSustainabilityProjection()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1.SustainabilityProjection sustainability_projection = 102;
hasSustainabilityProjection in interface ImpactOrBuilderpublic SustainabilityProjection getSustainabilityProjection()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1.SustainabilityProjection sustainability_projection = 102;
getSustainabilityProjection in interface ImpactOrBuilderpublic Impact.Builder setSustainabilityProjection(SustainabilityProjection value)
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1.SustainabilityProjection sustainability_projection = 102;
public Impact.Builder setSustainabilityProjection(SustainabilityProjection.Builder builderForValue)
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1.SustainabilityProjection sustainability_projection = 102;
public Impact.Builder mergeSustainabilityProjection(SustainabilityProjection value)
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1.SustainabilityProjection sustainability_projection = 102;
public Impact.Builder clearSustainabilityProjection()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1.SustainabilityProjection sustainability_projection = 102;
public SustainabilityProjection.Builder getSustainabilityProjectionBuilder()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1.SustainabilityProjection sustainability_projection = 102;
public SustainabilityProjectionOrBuilder getSustainabilityProjectionOrBuilder()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1.SustainabilityProjection sustainability_projection = 102;
getSustainabilityProjectionOrBuilder in interface ImpactOrBuilderpublic boolean hasReliabilityProjection()
Use with CategoryType.RELIABILITY
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;hasReliabilityProjection in interface ImpactOrBuilderpublic ReliabilityProjection getReliabilityProjection()
Use with CategoryType.RELIABILITY
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;getReliabilityProjection in interface ImpactOrBuilderpublic Impact.Builder setReliabilityProjection(ReliabilityProjection value)
Use with CategoryType.RELIABILITY
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;public Impact.Builder setReliabilityProjection(ReliabilityProjection.Builder builderForValue)
Use with CategoryType.RELIABILITY
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;public Impact.Builder mergeReliabilityProjection(ReliabilityProjection value)
Use with CategoryType.RELIABILITY
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;public Impact.Builder clearReliabilityProjection()
Use with CategoryType.RELIABILITY
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;public ReliabilityProjection.Builder getReliabilityProjectionBuilder()
Use with CategoryType.RELIABILITY
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;public ReliabilityProjectionOrBuilder getReliabilityProjectionOrBuilder()
Use with CategoryType.RELIABILITY
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;getReliabilityProjectionOrBuilder in interface ImpactOrBuilderpublic final Impact.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Impact.Builder>public final Impact.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Impact.Builder>Copyright © 2024 Google LLC. All rights reserved.