Interface ImpactOrBuilder (2.42.0)

public interface ImpactOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCategory()

public abstract Impact.Category getCategory()

Category that is being targeted.

.google.cloud.recommender.v1beta1.Impact.Category category = 1;

Returns
TypeDescription
Impact.Category

The category.

getCategoryValue()

public abstract int getCategoryValue()

Category that is being targeted.

.google.cloud.recommender.v1beta1.Impact.Category category = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for category.

getCostProjection()

public abstract CostProjection getCostProjection()

Use with CategoryType.COST

.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;

Returns
TypeDescription
CostProjection

The costProjection.

getCostProjectionOrBuilder()

public abstract CostProjectionOrBuilder getCostProjectionOrBuilder()

Use with CategoryType.COST

.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;

Returns
TypeDescription
CostProjectionOrBuilder

getProjectionCase()

public abstract Impact.ProjectionCase getProjectionCase()
Returns
TypeDescription
Impact.ProjectionCase

getSecurityProjection()

public abstract SecurityProjection getSecurityProjection()

Use with CategoryType.SECURITY

.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;

Returns
TypeDescription
SecurityProjection

The securityProjection.

getSecurityProjectionOrBuilder()

public abstract SecurityProjectionOrBuilder getSecurityProjectionOrBuilder()

Use with CategoryType.SECURITY

.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;

Returns
TypeDescription
SecurityProjectionOrBuilder

getSustainabilityProjection()

public abstract SustainabilityProjection getSustainabilityProjection()

Use with CategoryType.SUSTAINABILITY

.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;

Returns
TypeDescription
SustainabilityProjection

The sustainabilityProjection.

getSustainabilityProjectionOrBuilder()

public abstract SustainabilityProjectionOrBuilder getSustainabilityProjectionOrBuilder()

Use with CategoryType.SUSTAINABILITY

.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;

Returns
TypeDescription
SustainabilityProjectionOrBuilder

hasCostProjection()

public abstract boolean hasCostProjection()

Use with CategoryType.COST

.google.cloud.recommender.v1beta1.CostProjection cost_projection = 100;

Returns
TypeDescription
boolean

Whether the costProjection field is set.

hasSecurityProjection()

public abstract boolean hasSecurityProjection()

Use with CategoryType.SECURITY

.google.cloud.recommender.v1beta1.SecurityProjection security_projection = 101;

Returns
TypeDescription
boolean

Whether the securityProjection field is set.

hasSustainabilityProjection()

public abstract boolean hasSustainabilityProjection()

Use with CategoryType.SUSTAINABILITY

.google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;

Returns
TypeDescription
boolean

Whether the sustainabilityProjection field is set.