Interface ReliabilityProjectionOrBuilder (2.36.0)

public interface ReliabilityProjectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetails()

public abstract Struct getDetails()

Per-recommender projection.

.google.protobuf.Struct details = 2;

Returns
TypeDescription
Struct

The details.

getDetailsOrBuilder()

public abstract StructOrBuilder getDetailsOrBuilder()

Per-recommender projection.

.google.protobuf.Struct details = 2;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the details field is set.