Interface ImpactOrBuilder (2.57.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
Type Description
Impact.Category

The category.

getCategoryValue()

public abstract 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 abstract CostProjection getCostProjection()

Use with CategoryType.COST

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

Returns
Type Description
CostProjection

The costProjection.

getCostProjectionOrBuilder()

public abstract CostProjectionOrBuilder getCostProjectionOrBuilder()

Use with CategoryType.COST

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

Returns
Type Description
CostProjectionOrBuilder

getProjectionCase()

public abstract Impact.ProjectionCase getProjectionCase()
Returns
Type Description
Impact.ProjectionCase

getSecurityProjection()

public abstract SecurityProjection getSecurityProjection()

Use with CategoryType.SECURITY

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

Returns
Type Description
SecurityProjection

The securityProjection.

getSecurityProjectionOrBuilder()

public abstract SecurityProjectionOrBuilder getSecurityProjectionOrBuilder()

Use with CategoryType.SECURITY

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

Returns
Type Description
SecurityProjectionOrBuilder

getSustainabilityProjection()

public abstract SustainabilityProjection getSustainabilityProjection()

Use with CategoryType.SUSTAINABILITY

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

Returns
Type Description
SustainabilityProjection

The sustainabilityProjection.

getSustainabilityProjectionOrBuilder()

public abstract SustainabilityProjectionOrBuilder getSustainabilityProjectionOrBuilder()

Use with CategoryType.SUSTAINABILITY

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

Returns
Type Description
SustainabilityProjectionOrBuilder

hasCostProjection()

public abstract 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 abstract 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 abstract boolean hasSustainabilityProjection()

Use with CategoryType.SUSTAINABILITY

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

Returns
Type Description
boolean

Whether the sustainabilityProjection field is set.