Interface CapacityAdviceResponseRecommendationOrBuilder (1.109.0)

public interface CapacityAdviceResponseRecommendationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getScores()

public abstract CapacityAdviceResponseRecommendationScores getScores()

Scores for the recommendation.

optional .google.cloud.compute.v1.CapacityAdviceResponseRecommendationScores scores = 165975073;

Returns
Type Description
CapacityAdviceResponseRecommendationScores

The scores.

getScoresOrBuilder()

public abstract CapacityAdviceResponseRecommendationScoresOrBuilder getScoresOrBuilder()

Scores for the recommendation.

optional .google.cloud.compute.v1.CapacityAdviceResponseRecommendationScores scores = 165975073;

Returns
Type Description
CapacityAdviceResponseRecommendationScoresOrBuilder

getShards(int index)

public abstract CapacityAdviceResponseRecommendationShard getShards(int index)

Shards represent blocks of uniform capacity in recommendations.

repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendationShard shards = 170175573;

Parameter
Name Description
index int
Returns
Type Description
CapacityAdviceResponseRecommendationShard

getShardsCount()

public abstract int getShardsCount()

Shards represent blocks of uniform capacity in recommendations.

repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendationShard shards = 170175573;

Returns
Type Description
int

getShardsList()

public abstract List<CapacityAdviceResponseRecommendationShard> getShardsList()

Shards represent blocks of uniform capacity in recommendations.

repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendationShard shards = 170175573;

Returns
Type Description
List<CapacityAdviceResponseRecommendationShard>

getShardsOrBuilder(int index)

public abstract CapacityAdviceResponseRecommendationShardOrBuilder getShardsOrBuilder(int index)

Shards represent blocks of uniform capacity in recommendations.

repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendationShard shards = 170175573;

Parameter
Name Description
index int
Returns
Type Description
CapacityAdviceResponseRecommendationShardOrBuilder

getShardsOrBuilderList()

public abstract List<? extends CapacityAdviceResponseRecommendationShardOrBuilder> getShardsOrBuilderList()

Shards represent blocks of uniform capacity in recommendations.

repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendationShard shards = 170175573;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.CapacityAdviceResponseRecommendationShardOrBuilder>

hasScores()

public abstract boolean hasScores()

Scores for the recommendation.

optional .google.cloud.compute.v1.CapacityAdviceResponseRecommendationScores scores = 165975073;

Returns
Type Description
boolean

Whether the scores field is set.