Interface ReliabilityProjectionOrBuilder (2.51.0)

public interface ReliabilityProjectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetails()

public abstract Struct getDetails()

Per-recommender projection.

.google.protobuf.Struct details = 2;

Returns
Type Description
Struct

The details.

getDetailsOrBuilder()

public abstract StructOrBuilder getDetailsOrBuilder()

Per-recommender projection.

.google.protobuf.Struct details = 2;

Returns
Type Description
StructOrBuilder

getRisks(int index)

public abstract ReliabilityProjection.RiskType getRisks(int index)

Reliability risks mitigated by this recommendation.

repeated .google.cloud.recommender.v1.ReliabilityProjection.RiskType risks = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ReliabilityProjection.RiskType

The risks at the given index.

getRisksCount()

public abstract int getRisksCount()

Reliability risks mitigated by this recommendation.

repeated .google.cloud.recommender.v1.ReliabilityProjection.RiskType risks = 1;

Returns
Type Description
int

The count of risks.

getRisksList()

public abstract List<ReliabilityProjection.RiskType> getRisksList()

Reliability risks mitigated by this recommendation.

repeated .google.cloud.recommender.v1.ReliabilityProjection.RiskType risks = 1;

Returns
Type Description
List<RiskType>

A list containing the risks.

getRisksValue(int index)

public abstract int getRisksValue(int index)

Reliability risks mitigated by this recommendation.

repeated .google.cloud.recommender.v1.ReliabilityProjection.RiskType risks = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of risks at the given index.

getRisksValueList()

public abstract List<Integer> getRisksValueList()

Reliability risks mitigated by this recommendation.

repeated .google.cloud.recommender.v1.ReliabilityProjection.RiskType risks = 1;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for risks.

hasDetails()

public abstract boolean hasDetails()

Per-recommender projection.

.google.protobuf.Struct details = 2;

Returns
Type Description
boolean

Whether the details field is set.