- 2.50.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.7
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.5
public static final class Impact.Builder extends GeneratedMessageV3.Builder<Impact.Builder> implements ImpactOrBuilder
Contains the impact a recommendation can have for a given category.
Protobuf type google.cloud.recommender.v1beta1.Impact
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Impact.BuilderImplements
ImpactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Impact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Impact.Builder |
build()
public Impact build()
Type | Description |
Impact |
buildPartial()
public Impact buildPartial()
Type | Description |
Impact |
clear()
public Impact.Builder clear()
Type | Description |
Impact.Builder |
clearCategory()
public Impact.Builder clearCategory()
Category that is being targeted.
.google.cloud.recommender.v1beta1.Impact.Category category = 1;
Type | Description |
Impact.Builder | This builder for chaining. |
clearCostProjection()
public Impact.Builder clearCostProjection()
Use with CategoryType.COST
.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;
Type | Description |
Impact.Builder |
clearField(Descriptors.FieldDescriptor field)
public Impact.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Impact.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Impact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Impact.Builder |
clearProjection()
public Impact.Builder clearProjection()
Type | Description |
Impact.Builder |
clearSecurityProjection()
public Impact.Builder clearSecurityProjection()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;
Type | Description |
Impact.Builder |
clearSustainabilityProjection()
public Impact.Builder clearSustainabilityProjection()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
Type | Description |
Impact.Builder |
clone()
public Impact.Builder clone()
Type | Description |
Impact.Builder |
getCategory()
public Impact.Category getCategory()
Category that is being targeted.
.google.cloud.recommender.v1beta1.Impact.Category category = 1;
Type | Description |
Impact.Category | The category. |
getCategoryValue()
public int getCategoryValue()
Category that is being targeted.
.google.cloud.recommender.v1beta1.Impact.Category category = 1;
Type | Description |
int | The enum numeric value on the wire for category. |
getCostProjection()
public CostProjection getCostProjection()
Use with CategoryType.COST
.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;
Type | Description |
CostProjection | The costProjection. |
getCostProjectionBuilder()
public CostProjection.Builder getCostProjectionBuilder()
Use with CategoryType.COST
.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;
Type | Description |
CostProjection.Builder |
getCostProjectionOrBuilder()
public CostProjectionOrBuilder getCostProjectionOrBuilder()
Use with CategoryType.COST
.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;
Type | Description |
CostProjectionOrBuilder |
getDefaultInstanceForType()
public Impact getDefaultInstanceForType()
Type | Description |
Impact |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getProjectionCase()
public Impact.ProjectionCase getProjectionCase()
Type | Description |
Impact.ProjectionCase |
getSecurityProjection()
public SecurityProjection getSecurityProjection()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;
Type | Description |
SecurityProjection | The securityProjection. |
getSecurityProjectionBuilder()
public SecurityProjection.Builder getSecurityProjectionBuilder()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;
Type | Description |
SecurityProjection.Builder |
getSecurityProjectionOrBuilder()
public SecurityProjectionOrBuilder getSecurityProjectionOrBuilder()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;
Type | Description |
SecurityProjectionOrBuilder |
getSustainabilityProjection()
public SustainabilityProjection getSustainabilityProjection()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
Type | Description |
SustainabilityProjection | The sustainabilityProjection. |
getSustainabilityProjectionBuilder()
public SustainabilityProjection.Builder getSustainabilityProjectionBuilder()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
Type | Description |
SustainabilityProjection.Builder |
getSustainabilityProjectionOrBuilder()
public SustainabilityProjectionOrBuilder getSustainabilityProjectionOrBuilder()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
Type | Description |
SustainabilityProjectionOrBuilder |
hasCostProjection()
public boolean hasCostProjection()
Use with CategoryType.COST
.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;
Type | Description |
boolean | Whether the costProjection field is set. |
hasSecurityProjection()
public boolean hasSecurityProjection()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;
Type | Description |
boolean | Whether the securityProjection field is set. |
hasSustainabilityProjection()
public boolean hasSustainabilityProjection()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
Type | Description |
boolean | Whether the sustainabilityProjection field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCostProjection(CostProjection value)
public Impact.Builder mergeCostProjection(CostProjection value)
Use with CategoryType.COST
.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;
Name | Description |
value | CostProjection |
Type | Description |
Impact.Builder |
mergeFrom(Impact other)
public Impact.Builder mergeFrom(Impact other)
Name | Description |
other | Impact |
Type | Description |
Impact.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Impact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Impact.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Impact.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Impact.Builder |
mergeSecurityProjection(SecurityProjection value)
public Impact.Builder mergeSecurityProjection(SecurityProjection value)
Use with CategoryType.SECURITY
.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;
Name | Description |
value | SecurityProjection |
Type | Description |
Impact.Builder |
mergeSustainabilityProjection(SustainabilityProjection value)
public Impact.Builder mergeSustainabilityProjection(SustainabilityProjection value)
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
Name | Description |
value | SustainabilityProjection |
Type | Description |
Impact.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Impact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Impact.Builder |
setCategory(Impact.Category value)
public Impact.Builder setCategory(Impact.Category value)
Category that is being targeted.
.google.cloud.recommender.v1beta1.Impact.Category category = 1;
Name | Description |
value | Impact.Category The category to set. |
Type | Description |
Impact.Builder | This builder for chaining. |
setCategoryValue(int value)
public Impact.Builder setCategoryValue(int value)
Category that is being targeted.
.google.cloud.recommender.v1beta1.Impact.Category category = 1;
Name | Description |
value | int The enum numeric value on the wire for category to set. |
Type | Description |
Impact.Builder | This builder for chaining. |
setCostProjection(CostProjection value)
public Impact.Builder setCostProjection(CostProjection value)
Use with CategoryType.COST
.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;
Name | Description |
value | CostProjection |
Type | Description |
Impact.Builder |
setCostProjection(CostProjection.Builder builderForValue)
public Impact.Builder setCostProjection(CostProjection.Builder builderForValue)
Use with CategoryType.COST
.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;
Name | Description |
builderForValue | CostProjection.Builder |
Type | Description |
Impact.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Impact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Impact.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Impact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Impact.Builder |
setSecurityProjection(SecurityProjection value)
public Impact.Builder setSecurityProjection(SecurityProjection value)
Use with CategoryType.SECURITY
.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;
Name | Description |
value | SecurityProjection |
Type | Description |
Impact.Builder |
setSecurityProjection(SecurityProjection.Builder builderForValue)
public Impact.Builder setSecurityProjection(SecurityProjection.Builder builderForValue)
Use with CategoryType.SECURITY
.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;
Name | Description |
builderForValue | SecurityProjection.Builder |
Type | Description |
Impact.Builder |
setSustainabilityProjection(SustainabilityProjection value)
public Impact.Builder setSustainabilityProjection(SustainabilityProjection value)
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
Name | Description |
value | SustainabilityProjection |
Type | Description |
Impact.Builder |
setSustainabilityProjection(SustainabilityProjection.Builder builderForValue)
public Impact.Builder setSustainabilityProjection(SustainabilityProjection.Builder builderForValue)
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
Name | Description |
builderForValue | SustainabilityProjection.Builder |
Type | Description |
Impact.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Impact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Impact.Builder |