- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.7
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.5
public static final class ReliabilityProjection.Builder extends GeneratedMessageV3.Builder<ReliabilityProjection.Builder> implements ReliabilityProjectionOrBuilder
Contains information on the impact of a reliability recommendation.
Protobuf type google.cloud.recommender.v1.ReliabilityProjection
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReliabilityProjection.BuilderImplements
ReliabilityProjectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllRisks(Iterable<? extends ReliabilityProjection.RiskType> values)
public ReliabilityProjection.Builder addAllRisks(Iterable<? extends ReliabilityProjection.RiskType> values)
Reliability risks mitigated by this recommendation.
repeated .google.cloud.recommender.v1.ReliabilityProjection.RiskType risks = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.recommender.v1.ReliabilityProjection.RiskType> The risks to add. |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
This builder for chaining. |
addAllRisksValue(Iterable<Integer> values)
public ReliabilityProjection.Builder addAllRisksValue(Iterable<Integer> values)
Reliability risks mitigated by this recommendation.
repeated .google.cloud.recommender.v1.ReliabilityProjection.RiskType risks = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for risks to add. |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReliabilityProjection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
addRisks(ReliabilityProjection.RiskType value)
public ReliabilityProjection.Builder addRisks(ReliabilityProjection.RiskType value)
Reliability risks mitigated by this recommendation.
repeated .google.cloud.recommender.v1.ReliabilityProjection.RiskType risks = 1;
Parameter | |
---|---|
Name | Description |
value |
ReliabilityProjection.RiskType The risks to add. |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
This builder for chaining. |
addRisksValue(int value)
public ReliabilityProjection.Builder addRisksValue(int value)
Reliability risks mitigated by this recommendation.
repeated .google.cloud.recommender.v1.ReliabilityProjection.RiskType risks = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for risks to add. |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
This builder for chaining. |
build()
public ReliabilityProjection build()
Returns | |
---|---|
Type | Description |
ReliabilityProjection |
buildPartial()
public ReliabilityProjection buildPartial()
Returns | |
---|---|
Type | Description |
ReliabilityProjection |
clear()
public ReliabilityProjection.Builder clear()
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
clearDetails()
public ReliabilityProjection.Builder clearDetails()
Per-recommender projection.
.google.protobuf.Struct details = 2;
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReliabilityProjection.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReliabilityProjection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
clearRisks()
public ReliabilityProjection.Builder clearRisks()
Reliability risks mitigated by this recommendation.
repeated .google.cloud.recommender.v1.ReliabilityProjection.RiskType risks = 1;
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
This builder for chaining. |
clone()
public ReliabilityProjection.Builder clone()
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
getDefaultInstanceForType()
public ReliabilityProjection getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReliabilityProjection |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDetails()
public Struct getDetails()
Per-recommender projection.
.google.protobuf.Struct details = 2;
Returns | |
---|---|
Type | Description |
Struct |
The details. |
getDetailsBuilder()
public Struct.Builder getDetailsBuilder()
Per-recommender projection.
.google.protobuf.Struct details = 2;
Returns | |
---|---|
Type | Description |
Builder |
getDetailsOrBuilder()
public StructOrBuilder getDetailsOrBuilder()
Per-recommender projection.
.google.protobuf.Struct details = 2;
Returns | |
---|---|
Type | Description |
StructOrBuilder |
getRisks(int index)
public 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 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 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 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 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 boolean hasDetails()
Per-recommender projection.
.google.protobuf.Struct details = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the details field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDetails(Struct value)
public ReliabilityProjection.Builder mergeDetails(Struct value)
Per-recommender projection.
.google.protobuf.Struct details = 2;
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
mergeFrom(ReliabilityProjection other)
public ReliabilityProjection.Builder mergeFrom(ReliabilityProjection other)
Parameter | |
---|---|
Name | Description |
other |
ReliabilityProjection |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReliabilityProjection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ReliabilityProjection.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReliabilityProjection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
setDetails(Struct value)
public ReliabilityProjection.Builder setDetails(Struct value)
Per-recommender projection.
.google.protobuf.Struct details = 2;
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
setDetails(Struct.Builder builderForValue)
public ReliabilityProjection.Builder setDetails(Struct.Builder builderForValue)
Per-recommender projection.
.google.protobuf.Struct details = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReliabilityProjection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReliabilityProjection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
setRisks(int index, ReliabilityProjection.RiskType value)
public ReliabilityProjection.Builder setRisks(int index, ReliabilityProjection.RiskType value)
Reliability risks mitigated by this recommendation.
repeated .google.cloud.recommender.v1.ReliabilityProjection.RiskType risks = 1;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
ReliabilityProjection.RiskType The risks to set. |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
This builder for chaining. |
setRisksValue(int index, int value)
public ReliabilityProjection.Builder setRisksValue(int index, int value)
Reliability risks mitigated by this recommendation.
repeated .google.cloud.recommender.v1.ReliabilityProjection.RiskType risks = 1;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for risks to set. |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReliabilityProjection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReliabilityProjection.Builder |