- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.7
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.5
public 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Impact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Impact.Builder |
build()
public Impact build()
Returns | |
---|---|
Type | Description |
Impact |
buildPartial()
public Impact buildPartial()
Returns | |
---|---|
Type | Description |
Impact |
clear()
public Impact.Builder clear()
Returns | |
---|---|
Type | Description |
Impact.Builder |
clearCategory()
public Impact.Builder clearCategory()
Category that is being targeted.
.google.cloud.recommender.v1beta1.Impact.Category category = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Impact.Builder |
clearField(Descriptors.FieldDescriptor field)
public Impact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Impact.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Impact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Impact.Builder |
clearProjection()
public Impact.Builder clearProjection()
Returns | |
---|---|
Type | Description |
Impact.Builder |
clearSecurityProjection()
public Impact.Builder clearSecurityProjection()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;
Returns | |
---|---|
Type | Description |
Impact.Builder |
clearSustainabilityProjection()
public Impact.Builder clearSustainabilityProjection()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
Returns | |
---|---|
Type | Description |
Impact.Builder |
clone()
public Impact.Builder clone()
Returns | |
---|---|
Type | Description |
Impact.Builder |
getCategory()
public Impact.Category getCategory()
Category that is being targeted.
.google.cloud.recommender.v1beta1.Impact.Category category = 1;
Returns | |
---|---|
Type | Description |
Impact.Category | The category. |
getCategoryValue()
public int getCategoryValue()
Category that is being targeted.
.google.cloud.recommender.v1beta1.Impact.Category category = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
CostProjection | The costProjection. |
getCostProjectionBuilder()
public CostProjection.Builder getCostProjectionBuilder()
Use with CategoryType.COST
.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;
Returns | |
---|---|
Type | Description |
CostProjection.Builder |
getCostProjectionOrBuilder()
public CostProjectionOrBuilder getCostProjectionOrBuilder()
Use with CategoryType.COST
.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;
Returns | |
---|---|
Type | Description |
CostProjectionOrBuilder |
getDefaultInstanceForType()
public Impact getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Impact |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getProjectionCase()
public Impact.ProjectionCase getProjectionCase()
Returns | |
---|---|
Type | Description |
Impact.ProjectionCase |
getSecurityProjection()
public SecurityProjection getSecurityProjection()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;
Returns | |
---|---|
Type | Description |
SecurityProjection | The securityProjection. |
getSecurityProjectionBuilder()
public SecurityProjection.Builder getSecurityProjectionBuilder()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;
Returns | |
---|---|
Type | Description |
SecurityProjection.Builder |
getSecurityProjectionOrBuilder()
public SecurityProjectionOrBuilder getSecurityProjectionOrBuilder()
Use with CategoryType.SECURITY
.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;
Returns | |
---|---|
Type | Description |
SecurityProjectionOrBuilder |
getSustainabilityProjection()
public SustainabilityProjection getSustainabilityProjection()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
Returns | |
---|---|
Type | Description |
SustainabilityProjection | The sustainabilityProjection. |
getSustainabilityProjectionBuilder()
public SustainabilityProjection.Builder getSustainabilityProjectionBuilder()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
Returns | |
---|---|
Type | Description |
SustainabilityProjection.Builder |
getSustainabilityProjectionOrBuilder()
public SustainabilityProjectionOrBuilder getSustainabilityProjectionOrBuilder()
Use with CategoryType.SUSTAINABILITY
.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
Returns | |
---|---|
Type | Description |
SustainabilityProjectionOrBuilder |
hasCostProjection()
public boolean hasCostProjection()
Use with CategoryType.COST
.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the sustainabilityProjection field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCostProjection(CostProjection value)
public Impact.Builder mergeCostProjection(CostProjection value)
Use with CategoryType.COST
.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;
Parameter | |
---|---|
Name | Description |
value | CostProjection |
Returns | |
---|---|
Type | Description |
Impact.Builder |
mergeFrom(Impact other)
public Impact.Builder mergeFrom(Impact other)
Parameter | |
---|---|
Name | Description |
other | Impact |
Returns | |
---|---|
Type | Description |
Impact.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Impact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Impact.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Impact.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | SecurityProjection |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | SustainabilityProjection |
Returns | |
---|---|
Type | Description |
Impact.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Impact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Impact.Category The category to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for category to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | CostProjection |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | CostProjection.Builder |
Returns | |
---|---|
Type | Description |
Impact.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Impact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Impact.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Impact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | SecurityProjection |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | SecurityProjection.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | SustainabilityProjection |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | SustainabilityProjection.Builder |
Returns | |
---|---|
Type | Description |
Impact.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Impact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Impact.Builder |