public static final class QualityMetrics.TopkMetrics.Builder extends GeneratedMessageV3.Builder<QualityMetrics.TopkMetrics.Builder> implements QualityMetrics.TopkMetricsOrBuilder
Stores the metric values at specific top-k levels.
Protobuf type google.cloud.discoveryengine.v1beta.QualityMetrics.TopkMetrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QualityMetrics.TopkMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public QualityMetrics.TopkMetrics build()
buildPartial()
public QualityMetrics.TopkMetrics buildPartial()
clear()
public QualityMetrics.TopkMetrics.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public QualityMetrics.TopkMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public QualityMetrics.TopkMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTop1()
public QualityMetrics.TopkMetrics.Builder clearTop1()
The top-1 value.
double top_1 = 1;
clearTop10()
public QualityMetrics.TopkMetrics.Builder clearTop10()
The top-10 value.
double top_10 = 4;
clearTop3()
public QualityMetrics.TopkMetrics.Builder clearTop3()
The top-3 value.
double top_3 = 2;
clearTop5()
public QualityMetrics.TopkMetrics.Builder clearTop5()
The top-5 value.
double top_5 = 3;
clone()
public QualityMetrics.TopkMetrics.Builder clone()
Overrides
getDefaultInstanceForType()
public QualityMetrics.TopkMetrics getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTop1()
The top-1 value.
double top_1 = 1;
Returns |
Type |
Description |
double |
The top1.
|
getTop10()
The top-10 value.
double top_10 = 4;
Returns |
Type |
Description |
double |
The top10.
|
getTop3()
The top-3 value.
double top_3 = 2;
Returns |
Type |
Description |
double |
The top3.
|
getTop5()
The top-5 value.
double top_5 = 3;
Returns |
Type |
Description |
double |
The top5.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(QualityMetrics.TopkMetrics other)
public QualityMetrics.TopkMetrics.Builder mergeFrom(QualityMetrics.TopkMetrics other)
public QualityMetrics.TopkMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public QualityMetrics.TopkMetrics.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QualityMetrics.TopkMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public QualityMetrics.TopkMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QualityMetrics.TopkMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTop1(double value)
public QualityMetrics.TopkMetrics.Builder setTop1(double value)
The top-1 value.
double top_1 = 1;
Parameter |
Name |
Description |
value |
double
The top1 to set.
|
setTop10(double value)
public QualityMetrics.TopkMetrics.Builder setTop10(double value)
The top-10 value.
double top_10 = 4;
Parameter |
Name |
Description |
value |
double
The top10 to set.
|
setTop3(double value)
public QualityMetrics.TopkMetrics.Builder setTop3(double value)
The top-3 value.
double top_3 = 2;
Parameter |
Name |
Description |
value |
double
The top3 to set.
|
setTop5(double value)
public QualityMetrics.TopkMetrics.Builder setTop5(double value)
The top-5 value.
double top_5 = 3;
Parameter |
Name |
Description |
value |
double
The top5 to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final QualityMetrics.TopkMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides