Interface ImpactOrBuilder (2.5.5)

public interface ImpactOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCategory()

public abstract Impact.Category getCategory()

Category that is being targeted.

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

Returns
TypeDescription
Impact.Category

The category.

getCategoryValue()

public abstract int getCategoryValue()

Category that is being targeted.

.google.cloud.recommender.v1.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.v1.CostProjection cost_projection = 100;

Returns
TypeDescription
CostProjection

The costProjection.

getCostProjectionOrBuilder()

public abstract CostProjectionOrBuilder getCostProjectionOrBuilder()

Use with CategoryType.COST

.google.cloud.recommender.v1.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.v1.SecurityProjection security_projection = 101;

Returns
TypeDescription
SecurityProjection

The securityProjection.

getSecurityProjectionOrBuilder()

public abstract SecurityProjectionOrBuilder getSecurityProjectionOrBuilder()

Use with CategoryType.SECURITY

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

Returns
TypeDescription
SecurityProjectionOrBuilder

hasCostProjection()

public abstract boolean hasCostProjection()

Use with CategoryType.COST

.google.cloud.recommender.v1.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.v1.SecurityProjection security_projection = 101;

Returns
TypeDescription
boolean

Whether the securityProjection field is set.