Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.clarifai.grpc.api.MetricsSummary Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
/**
*
* MetricsSummary
*
*
* Protobuf type {@code clarifai.api.MetricsSummary}
*/
public final class MetricsSummary extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:clarifai.api.MetricsSummary)
MetricsSummaryOrBuilder {
private static final long serialVersionUID = 0L;
// Use MetricsSummary.newBuilder() to construct.
private MetricsSummary(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MetricsSummary() {
lopqMetrics_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MetricsSummary();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MetricsSummary(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 13: {
top1Accuracy_ = input.readFloat();
break;
}
case 21: {
top5Accuracy_ = input.readFloat();
break;
}
case 29: {
macroAvgRocAuc_ = input.readFloat();
break;
}
case 37: {
macroStdRocAuc_ = input.readFloat();
break;
}
case 45: {
macroAvgF1Score_ = input.readFloat();
break;
}
case 53: {
macroStdF1Score_ = input.readFloat();
break;
}
case 61: {
macroAvgPrecision_ = input.readFloat();
break;
}
case 69: {
macroAvgRecall_ = input.readFloat();
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
lopqMetrics_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
lopqMetrics_.add(
input.readMessage(com.clarifai.grpc.api.LOPQEvalResult.parser(), extensionRegistry));
break;
}
case 85: {
meanAvgPrecisionIou50_ = input.readFloat();
break;
}
case 93: {
meanAvgPrecisionIouRange_ = input.readFloat();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
lopqMetrics_ = java.util.Collections.unmodifiableList(lopqMetrics_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_MetricsSummary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_MetricsSummary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.clarifai.grpc.api.MetricsSummary.class, com.clarifai.grpc.api.MetricsSummary.Builder.class);
}
public static final int TOP1_ACCURACY_FIELD_NUMBER = 1;
private float top1Accuracy_;
/**
* float top1_accuracy = 1 [deprecated = true];
* @deprecated clarifai.api.MetricsSummary.top1_accuracy is deprecated.
* See proto/clarifai/api/resources.proto;l=1998
* @return The top1Accuracy.
*/
@java.lang.Override
@java.lang.Deprecated public float getTop1Accuracy() {
return top1Accuracy_;
}
public static final int TOP5_ACCURACY_FIELD_NUMBER = 2;
private float top5Accuracy_;
/**
* float top5_accuracy = 2 [deprecated = true];
* @deprecated clarifai.api.MetricsSummary.top5_accuracy is deprecated.
* See proto/clarifai/api/resources.proto;l=1999
* @return The top5Accuracy.
*/
@java.lang.Override
@java.lang.Deprecated public float getTop5Accuracy() {
return top5Accuracy_;
}
public static final int MACRO_AVG_ROC_AUC_FIELD_NUMBER = 3;
private float macroAvgRocAuc_;
/**
* float macro_avg_roc_auc = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The macroAvgRocAuc.
*/
@java.lang.Override
public float getMacroAvgRocAuc() {
return macroAvgRocAuc_;
}
public static final int MACRO_STD_ROC_AUC_FIELD_NUMBER = 4;
private float macroStdRocAuc_;
/**
* float macro_std_roc_auc = 4 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The macroStdRocAuc.
*/
@java.lang.Override
public float getMacroStdRocAuc() {
return macroStdRocAuc_;
}
public static final int MACRO_AVG_F1_SCORE_FIELD_NUMBER = 5;
private float macroAvgF1Score_;
/**
* float macro_avg_f1_score = 5 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The macroAvgF1Score.
*/
@java.lang.Override
public float getMacroAvgF1Score() {
return macroAvgF1Score_;
}
public static final int MACRO_STD_F1_SCORE_FIELD_NUMBER = 6;
private float macroStdF1Score_;
/**
* float macro_std_f1_score = 6 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The macroStdF1Score.
*/
@java.lang.Override
public float getMacroStdF1Score() {
return macroStdF1Score_;
}
public static final int MACRO_AVG_PRECISION_FIELD_NUMBER = 7;
private float macroAvgPrecision_;
/**
* float macro_avg_precision = 7 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The macroAvgPrecision.
*/
@java.lang.Override
public float getMacroAvgPrecision() {
return macroAvgPrecision_;
}
public static final int MACRO_AVG_RECALL_FIELD_NUMBER = 8;
private float macroAvgRecall_;
/**
* float macro_avg_recall = 8 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The macroAvgRecall.
*/
@java.lang.Override
public float getMacroAvgRecall() {
return macroAvgRecall_;
}
public static final int MEAN_AVG_PRECISION_IOU_50_FIELD_NUMBER = 10;
private float meanAvgPrecisionIou50_;
/**
* float mean_avg_precision_iou_50 = 10;
* @return The meanAvgPrecisionIou50.
*/
@java.lang.Override
public float getMeanAvgPrecisionIou50() {
return meanAvgPrecisionIou50_;
}
public static final int MEAN_AVG_PRECISION_IOU_RANGE_FIELD_NUMBER = 11;
private float meanAvgPrecisionIouRange_;
/**
* float mean_avg_precision_iou_range = 11;
* @return The meanAvgPrecisionIouRange.
*/
@java.lang.Override
public float getMeanAvgPrecisionIouRange() {
return meanAvgPrecisionIouRange_;
}
public static final int LOPQ_METRICS_FIELD_NUMBER = 9;
private java.util.List lopqMetrics_;
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
@java.lang.Override
public java.util.List getLopqMetricsList() {
return lopqMetrics_;
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
@java.lang.Override
public java.util.List extends com.clarifai.grpc.api.LOPQEvalResultOrBuilder>
getLopqMetricsOrBuilderList() {
return lopqMetrics_;
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
@java.lang.Override
public int getLopqMetricsCount() {
return lopqMetrics_.size();
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
@java.lang.Override
public com.clarifai.grpc.api.LOPQEvalResult getLopqMetrics(int index) {
return lopqMetrics_.get(index);
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
@java.lang.Override
public com.clarifai.grpc.api.LOPQEvalResultOrBuilder getLopqMetricsOrBuilder(
int index) {
return lopqMetrics_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (java.lang.Float.floatToRawIntBits(top1Accuracy_) != 0) {
output.writeFloat(1, top1Accuracy_);
}
if (java.lang.Float.floatToRawIntBits(top5Accuracy_) != 0) {
output.writeFloat(2, top5Accuracy_);
}
if (java.lang.Float.floatToRawIntBits(macroAvgRocAuc_) != 0) {
output.writeFloat(3, macroAvgRocAuc_);
}
if (java.lang.Float.floatToRawIntBits(macroStdRocAuc_) != 0) {
output.writeFloat(4, macroStdRocAuc_);
}
if (java.lang.Float.floatToRawIntBits(macroAvgF1Score_) != 0) {
output.writeFloat(5, macroAvgF1Score_);
}
if (java.lang.Float.floatToRawIntBits(macroStdF1Score_) != 0) {
output.writeFloat(6, macroStdF1Score_);
}
if (java.lang.Float.floatToRawIntBits(macroAvgPrecision_) != 0) {
output.writeFloat(7, macroAvgPrecision_);
}
if (java.lang.Float.floatToRawIntBits(macroAvgRecall_) != 0) {
output.writeFloat(8, macroAvgRecall_);
}
for (int i = 0; i < lopqMetrics_.size(); i++) {
output.writeMessage(9, lopqMetrics_.get(i));
}
if (java.lang.Float.floatToRawIntBits(meanAvgPrecisionIou50_) != 0) {
output.writeFloat(10, meanAvgPrecisionIou50_);
}
if (java.lang.Float.floatToRawIntBits(meanAvgPrecisionIouRange_) != 0) {
output.writeFloat(11, meanAvgPrecisionIouRange_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (java.lang.Float.floatToRawIntBits(top1Accuracy_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(1, top1Accuracy_);
}
if (java.lang.Float.floatToRawIntBits(top5Accuracy_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, top5Accuracy_);
}
if (java.lang.Float.floatToRawIntBits(macroAvgRocAuc_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, macroAvgRocAuc_);
}
if (java.lang.Float.floatToRawIntBits(macroStdRocAuc_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, macroStdRocAuc_);
}
if (java.lang.Float.floatToRawIntBits(macroAvgF1Score_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(5, macroAvgF1Score_);
}
if (java.lang.Float.floatToRawIntBits(macroStdF1Score_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(6, macroStdF1Score_);
}
if (java.lang.Float.floatToRawIntBits(macroAvgPrecision_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(7, macroAvgPrecision_);
}
if (java.lang.Float.floatToRawIntBits(macroAvgRecall_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(8, macroAvgRecall_);
}
for (int i = 0; i < lopqMetrics_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, lopqMetrics_.get(i));
}
if (java.lang.Float.floatToRawIntBits(meanAvgPrecisionIou50_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(10, meanAvgPrecisionIou50_);
}
if (java.lang.Float.floatToRawIntBits(meanAvgPrecisionIouRange_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(11, meanAvgPrecisionIouRange_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.clarifai.grpc.api.MetricsSummary)) {
return super.equals(obj);
}
com.clarifai.grpc.api.MetricsSummary other = (com.clarifai.grpc.api.MetricsSummary) obj;
if (java.lang.Float.floatToIntBits(getTop1Accuracy())
!= java.lang.Float.floatToIntBits(
other.getTop1Accuracy())) return false;
if (java.lang.Float.floatToIntBits(getTop5Accuracy())
!= java.lang.Float.floatToIntBits(
other.getTop5Accuracy())) return false;
if (java.lang.Float.floatToIntBits(getMacroAvgRocAuc())
!= java.lang.Float.floatToIntBits(
other.getMacroAvgRocAuc())) return false;
if (java.lang.Float.floatToIntBits(getMacroStdRocAuc())
!= java.lang.Float.floatToIntBits(
other.getMacroStdRocAuc())) return false;
if (java.lang.Float.floatToIntBits(getMacroAvgF1Score())
!= java.lang.Float.floatToIntBits(
other.getMacroAvgF1Score())) return false;
if (java.lang.Float.floatToIntBits(getMacroStdF1Score())
!= java.lang.Float.floatToIntBits(
other.getMacroStdF1Score())) return false;
if (java.lang.Float.floatToIntBits(getMacroAvgPrecision())
!= java.lang.Float.floatToIntBits(
other.getMacroAvgPrecision())) return false;
if (java.lang.Float.floatToIntBits(getMacroAvgRecall())
!= java.lang.Float.floatToIntBits(
other.getMacroAvgRecall())) return false;
if (java.lang.Float.floatToIntBits(getMeanAvgPrecisionIou50())
!= java.lang.Float.floatToIntBits(
other.getMeanAvgPrecisionIou50())) return false;
if (java.lang.Float.floatToIntBits(getMeanAvgPrecisionIouRange())
!= java.lang.Float.floatToIntBits(
other.getMeanAvgPrecisionIouRange())) return false;
if (!getLopqMetricsList()
.equals(other.getLopqMetricsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TOP1_ACCURACY_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getTop1Accuracy());
hash = (37 * hash) + TOP5_ACCURACY_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getTop5Accuracy());
hash = (37 * hash) + MACRO_AVG_ROC_AUC_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getMacroAvgRocAuc());
hash = (37 * hash) + MACRO_STD_ROC_AUC_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getMacroStdRocAuc());
hash = (37 * hash) + MACRO_AVG_F1_SCORE_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getMacroAvgF1Score());
hash = (37 * hash) + MACRO_STD_F1_SCORE_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getMacroStdF1Score());
hash = (37 * hash) + MACRO_AVG_PRECISION_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getMacroAvgPrecision());
hash = (37 * hash) + MACRO_AVG_RECALL_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getMacroAvgRecall());
hash = (37 * hash) + MEAN_AVG_PRECISION_IOU_50_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getMeanAvgPrecisionIou50());
hash = (37 * hash) + MEAN_AVG_PRECISION_IOU_RANGE_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getMeanAvgPrecisionIouRange());
if (getLopqMetricsCount() > 0) {
hash = (37 * hash) + LOPQ_METRICS_FIELD_NUMBER;
hash = (53 * hash) + getLopqMetricsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.clarifai.grpc.api.MetricsSummary parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clarifai.grpc.api.MetricsSummary parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clarifai.grpc.api.MetricsSummary parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clarifai.grpc.api.MetricsSummary parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clarifai.grpc.api.MetricsSummary parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clarifai.grpc.api.MetricsSummary parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clarifai.grpc.api.MetricsSummary parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.clarifai.grpc.api.MetricsSummary parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.clarifai.grpc.api.MetricsSummary parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.clarifai.grpc.api.MetricsSummary parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.clarifai.grpc.api.MetricsSummary parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.clarifai.grpc.api.MetricsSummary parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.clarifai.grpc.api.MetricsSummary prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* MetricsSummary
*
*
* Protobuf type {@code clarifai.api.MetricsSummary}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:clarifai.api.MetricsSummary)
com.clarifai.grpc.api.MetricsSummaryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_MetricsSummary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_MetricsSummary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.clarifai.grpc.api.MetricsSummary.class, com.clarifai.grpc.api.MetricsSummary.Builder.class);
}
// Construct using com.clarifai.grpc.api.MetricsSummary.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLopqMetricsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
top1Accuracy_ = 0F;
top5Accuracy_ = 0F;
macroAvgRocAuc_ = 0F;
macroStdRocAuc_ = 0F;
macroAvgF1Score_ = 0F;
macroStdF1Score_ = 0F;
macroAvgPrecision_ = 0F;
macroAvgRecall_ = 0F;
meanAvgPrecisionIou50_ = 0F;
meanAvgPrecisionIouRange_ = 0F;
if (lopqMetricsBuilder_ == null) {
lopqMetrics_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
lopqMetricsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_MetricsSummary_descriptor;
}
@java.lang.Override
public com.clarifai.grpc.api.MetricsSummary getDefaultInstanceForType() {
return com.clarifai.grpc.api.MetricsSummary.getDefaultInstance();
}
@java.lang.Override
public com.clarifai.grpc.api.MetricsSummary build() {
com.clarifai.grpc.api.MetricsSummary result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.clarifai.grpc.api.MetricsSummary buildPartial() {
com.clarifai.grpc.api.MetricsSummary result = new com.clarifai.grpc.api.MetricsSummary(this);
int from_bitField0_ = bitField0_;
result.top1Accuracy_ = top1Accuracy_;
result.top5Accuracy_ = top5Accuracy_;
result.macroAvgRocAuc_ = macroAvgRocAuc_;
result.macroStdRocAuc_ = macroStdRocAuc_;
result.macroAvgF1Score_ = macroAvgF1Score_;
result.macroStdF1Score_ = macroStdF1Score_;
result.macroAvgPrecision_ = macroAvgPrecision_;
result.macroAvgRecall_ = macroAvgRecall_;
result.meanAvgPrecisionIou50_ = meanAvgPrecisionIou50_;
result.meanAvgPrecisionIouRange_ = meanAvgPrecisionIouRange_;
if (lopqMetricsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
lopqMetrics_ = java.util.Collections.unmodifiableList(lopqMetrics_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.lopqMetrics_ = lopqMetrics_;
} else {
result.lopqMetrics_ = lopqMetricsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.clarifai.grpc.api.MetricsSummary) {
return mergeFrom((com.clarifai.grpc.api.MetricsSummary)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.clarifai.grpc.api.MetricsSummary other) {
if (other == com.clarifai.grpc.api.MetricsSummary.getDefaultInstance()) return this;
if (other.getTop1Accuracy() != 0F) {
setTop1Accuracy(other.getTop1Accuracy());
}
if (other.getTop5Accuracy() != 0F) {
setTop5Accuracy(other.getTop5Accuracy());
}
if (other.getMacroAvgRocAuc() != 0F) {
setMacroAvgRocAuc(other.getMacroAvgRocAuc());
}
if (other.getMacroStdRocAuc() != 0F) {
setMacroStdRocAuc(other.getMacroStdRocAuc());
}
if (other.getMacroAvgF1Score() != 0F) {
setMacroAvgF1Score(other.getMacroAvgF1Score());
}
if (other.getMacroStdF1Score() != 0F) {
setMacroStdF1Score(other.getMacroStdF1Score());
}
if (other.getMacroAvgPrecision() != 0F) {
setMacroAvgPrecision(other.getMacroAvgPrecision());
}
if (other.getMacroAvgRecall() != 0F) {
setMacroAvgRecall(other.getMacroAvgRecall());
}
if (other.getMeanAvgPrecisionIou50() != 0F) {
setMeanAvgPrecisionIou50(other.getMeanAvgPrecisionIou50());
}
if (other.getMeanAvgPrecisionIouRange() != 0F) {
setMeanAvgPrecisionIouRange(other.getMeanAvgPrecisionIouRange());
}
if (lopqMetricsBuilder_ == null) {
if (!other.lopqMetrics_.isEmpty()) {
if (lopqMetrics_.isEmpty()) {
lopqMetrics_ = other.lopqMetrics_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLopqMetricsIsMutable();
lopqMetrics_.addAll(other.lopqMetrics_);
}
onChanged();
}
} else {
if (!other.lopqMetrics_.isEmpty()) {
if (lopqMetricsBuilder_.isEmpty()) {
lopqMetricsBuilder_.dispose();
lopqMetricsBuilder_ = null;
lopqMetrics_ = other.lopqMetrics_;
bitField0_ = (bitField0_ & ~0x00000001);
lopqMetricsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLopqMetricsFieldBuilder() : null;
} else {
lopqMetricsBuilder_.addAllMessages(other.lopqMetrics_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.clarifai.grpc.api.MetricsSummary parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.clarifai.grpc.api.MetricsSummary) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private float top1Accuracy_ ;
/**
* float top1_accuracy = 1 [deprecated = true];
* @deprecated clarifai.api.MetricsSummary.top1_accuracy is deprecated.
* See proto/clarifai/api/resources.proto;l=1998
* @return The top1Accuracy.
*/
@java.lang.Override
@java.lang.Deprecated public float getTop1Accuracy() {
return top1Accuracy_;
}
/**
* float top1_accuracy = 1 [deprecated = true];
* @deprecated clarifai.api.MetricsSummary.top1_accuracy is deprecated.
* See proto/clarifai/api/resources.proto;l=1998
* @param value The top1Accuracy to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setTop1Accuracy(float value) {
top1Accuracy_ = value;
onChanged();
return this;
}
/**
* float top1_accuracy = 1 [deprecated = true];
* @deprecated clarifai.api.MetricsSummary.top1_accuracy is deprecated.
* See proto/clarifai/api/resources.proto;l=1998
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearTop1Accuracy() {
top1Accuracy_ = 0F;
onChanged();
return this;
}
private float top5Accuracy_ ;
/**
* float top5_accuracy = 2 [deprecated = true];
* @deprecated clarifai.api.MetricsSummary.top5_accuracy is deprecated.
* See proto/clarifai/api/resources.proto;l=1999
* @return The top5Accuracy.
*/
@java.lang.Override
@java.lang.Deprecated public float getTop5Accuracy() {
return top5Accuracy_;
}
/**
* float top5_accuracy = 2 [deprecated = true];
* @deprecated clarifai.api.MetricsSummary.top5_accuracy is deprecated.
* See proto/clarifai/api/resources.proto;l=1999
* @param value The top5Accuracy to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setTop5Accuracy(float value) {
top5Accuracy_ = value;
onChanged();
return this;
}
/**
* float top5_accuracy = 2 [deprecated = true];
* @deprecated clarifai.api.MetricsSummary.top5_accuracy is deprecated.
* See proto/clarifai/api/resources.proto;l=1999
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearTop5Accuracy() {
top5Accuracy_ = 0F;
onChanged();
return this;
}
private float macroAvgRocAuc_ ;
/**
* float macro_avg_roc_auc = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The macroAvgRocAuc.
*/
@java.lang.Override
public float getMacroAvgRocAuc() {
return macroAvgRocAuc_;
}
/**
* float macro_avg_roc_auc = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The macroAvgRocAuc to set.
* @return This builder for chaining.
*/
public Builder setMacroAvgRocAuc(float value) {
macroAvgRocAuc_ = value;
onChanged();
return this;
}
/**
* float macro_avg_roc_auc = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearMacroAvgRocAuc() {
macroAvgRocAuc_ = 0F;
onChanged();
return this;
}
private float macroStdRocAuc_ ;
/**
* float macro_std_roc_auc = 4 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The macroStdRocAuc.
*/
@java.lang.Override
public float getMacroStdRocAuc() {
return macroStdRocAuc_;
}
/**
* float macro_std_roc_auc = 4 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The macroStdRocAuc to set.
* @return This builder for chaining.
*/
public Builder setMacroStdRocAuc(float value) {
macroStdRocAuc_ = value;
onChanged();
return this;
}
/**
* float macro_std_roc_auc = 4 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearMacroStdRocAuc() {
macroStdRocAuc_ = 0F;
onChanged();
return this;
}
private float macroAvgF1Score_ ;
/**
* float macro_avg_f1_score = 5 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The macroAvgF1Score.
*/
@java.lang.Override
public float getMacroAvgF1Score() {
return macroAvgF1Score_;
}
/**
* float macro_avg_f1_score = 5 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The macroAvgF1Score to set.
* @return This builder for chaining.
*/
public Builder setMacroAvgF1Score(float value) {
macroAvgF1Score_ = value;
onChanged();
return this;
}
/**
* float macro_avg_f1_score = 5 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearMacroAvgF1Score() {
macroAvgF1Score_ = 0F;
onChanged();
return this;
}
private float macroStdF1Score_ ;
/**
* float macro_std_f1_score = 6 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The macroStdF1Score.
*/
@java.lang.Override
public float getMacroStdF1Score() {
return macroStdF1Score_;
}
/**
* float macro_std_f1_score = 6 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The macroStdF1Score to set.
* @return This builder for chaining.
*/
public Builder setMacroStdF1Score(float value) {
macroStdF1Score_ = value;
onChanged();
return this;
}
/**
* float macro_std_f1_score = 6 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearMacroStdF1Score() {
macroStdF1Score_ = 0F;
onChanged();
return this;
}
private float macroAvgPrecision_ ;
/**
* float macro_avg_precision = 7 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The macroAvgPrecision.
*/
@java.lang.Override
public float getMacroAvgPrecision() {
return macroAvgPrecision_;
}
/**
* float macro_avg_precision = 7 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The macroAvgPrecision to set.
* @return This builder for chaining.
*/
public Builder setMacroAvgPrecision(float value) {
macroAvgPrecision_ = value;
onChanged();
return this;
}
/**
* float macro_avg_precision = 7 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearMacroAvgPrecision() {
macroAvgPrecision_ = 0F;
onChanged();
return this;
}
private float macroAvgRecall_ ;
/**
* float macro_avg_recall = 8 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The macroAvgRecall.
*/
@java.lang.Override
public float getMacroAvgRecall() {
return macroAvgRecall_;
}
/**
* float macro_avg_recall = 8 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The macroAvgRecall to set.
* @return This builder for chaining.
*/
public Builder setMacroAvgRecall(float value) {
macroAvgRecall_ = value;
onChanged();
return this;
}
/**
* float macro_avg_recall = 8 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearMacroAvgRecall() {
macroAvgRecall_ = 0F;
onChanged();
return this;
}
private float meanAvgPrecisionIou50_ ;
/**
* float mean_avg_precision_iou_50 = 10;
* @return The meanAvgPrecisionIou50.
*/
@java.lang.Override
public float getMeanAvgPrecisionIou50() {
return meanAvgPrecisionIou50_;
}
/**
* float mean_avg_precision_iou_50 = 10;
* @param value The meanAvgPrecisionIou50 to set.
* @return This builder for chaining.
*/
public Builder setMeanAvgPrecisionIou50(float value) {
meanAvgPrecisionIou50_ = value;
onChanged();
return this;
}
/**
* float mean_avg_precision_iou_50 = 10;
* @return This builder for chaining.
*/
public Builder clearMeanAvgPrecisionIou50() {
meanAvgPrecisionIou50_ = 0F;
onChanged();
return this;
}
private float meanAvgPrecisionIouRange_ ;
/**
* float mean_avg_precision_iou_range = 11;
* @return The meanAvgPrecisionIouRange.
*/
@java.lang.Override
public float getMeanAvgPrecisionIouRange() {
return meanAvgPrecisionIouRange_;
}
/**
* float mean_avg_precision_iou_range = 11;
* @param value The meanAvgPrecisionIouRange to set.
* @return This builder for chaining.
*/
public Builder setMeanAvgPrecisionIouRange(float value) {
meanAvgPrecisionIouRange_ = value;
onChanged();
return this;
}
/**
* float mean_avg_precision_iou_range = 11;
* @return This builder for chaining.
*/
public Builder clearMeanAvgPrecisionIouRange() {
meanAvgPrecisionIouRange_ = 0F;
onChanged();
return this;
}
private java.util.List lopqMetrics_ =
java.util.Collections.emptyList();
private void ensureLopqMetricsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
lopqMetrics_ = new java.util.ArrayList(lopqMetrics_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.clarifai.grpc.api.LOPQEvalResult, com.clarifai.grpc.api.LOPQEvalResult.Builder, com.clarifai.grpc.api.LOPQEvalResultOrBuilder> lopqMetricsBuilder_;
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public java.util.List getLopqMetricsList() {
if (lopqMetricsBuilder_ == null) {
return java.util.Collections.unmodifiableList(lopqMetrics_);
} else {
return lopqMetricsBuilder_.getMessageList();
}
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public int getLopqMetricsCount() {
if (lopqMetricsBuilder_ == null) {
return lopqMetrics_.size();
} else {
return lopqMetricsBuilder_.getCount();
}
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public com.clarifai.grpc.api.LOPQEvalResult getLopqMetrics(int index) {
if (lopqMetricsBuilder_ == null) {
return lopqMetrics_.get(index);
} else {
return lopqMetricsBuilder_.getMessage(index);
}
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public Builder setLopqMetrics(
int index, com.clarifai.grpc.api.LOPQEvalResult value) {
if (lopqMetricsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLopqMetricsIsMutable();
lopqMetrics_.set(index, value);
onChanged();
} else {
lopqMetricsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public Builder setLopqMetrics(
int index, com.clarifai.grpc.api.LOPQEvalResult.Builder builderForValue) {
if (lopqMetricsBuilder_ == null) {
ensureLopqMetricsIsMutable();
lopqMetrics_.set(index, builderForValue.build());
onChanged();
} else {
lopqMetricsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public Builder addLopqMetrics(com.clarifai.grpc.api.LOPQEvalResult value) {
if (lopqMetricsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLopqMetricsIsMutable();
lopqMetrics_.add(value);
onChanged();
} else {
lopqMetricsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public Builder addLopqMetrics(
int index, com.clarifai.grpc.api.LOPQEvalResult value) {
if (lopqMetricsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLopqMetricsIsMutable();
lopqMetrics_.add(index, value);
onChanged();
} else {
lopqMetricsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public Builder addLopqMetrics(
com.clarifai.grpc.api.LOPQEvalResult.Builder builderForValue) {
if (lopqMetricsBuilder_ == null) {
ensureLopqMetricsIsMutable();
lopqMetrics_.add(builderForValue.build());
onChanged();
} else {
lopqMetricsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public Builder addLopqMetrics(
int index, com.clarifai.grpc.api.LOPQEvalResult.Builder builderForValue) {
if (lopqMetricsBuilder_ == null) {
ensureLopqMetricsIsMutable();
lopqMetrics_.add(index, builderForValue.build());
onChanged();
} else {
lopqMetricsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public Builder addAllLopqMetrics(
java.lang.Iterable extends com.clarifai.grpc.api.LOPQEvalResult> values) {
if (lopqMetricsBuilder_ == null) {
ensureLopqMetricsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, lopqMetrics_);
onChanged();
} else {
lopqMetricsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public Builder clearLopqMetrics() {
if (lopqMetricsBuilder_ == null) {
lopqMetrics_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
lopqMetricsBuilder_.clear();
}
return this;
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public Builder removeLopqMetrics(int index) {
if (lopqMetricsBuilder_ == null) {
ensureLopqMetricsIsMutable();
lopqMetrics_.remove(index);
onChanged();
} else {
lopqMetricsBuilder_.remove(index);
}
return this;
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public com.clarifai.grpc.api.LOPQEvalResult.Builder getLopqMetricsBuilder(
int index) {
return getLopqMetricsFieldBuilder().getBuilder(index);
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public com.clarifai.grpc.api.LOPQEvalResultOrBuilder getLopqMetricsOrBuilder(
int index) {
if (lopqMetricsBuilder_ == null) {
return lopqMetrics_.get(index); } else {
return lopqMetricsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public java.util.List extends com.clarifai.grpc.api.LOPQEvalResultOrBuilder>
getLopqMetricsOrBuilderList() {
if (lopqMetricsBuilder_ != null) {
return lopqMetricsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(lopqMetrics_);
}
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public com.clarifai.grpc.api.LOPQEvalResult.Builder addLopqMetricsBuilder() {
return getLopqMetricsFieldBuilder().addBuilder(
com.clarifai.grpc.api.LOPQEvalResult.getDefaultInstance());
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public com.clarifai.grpc.api.LOPQEvalResult.Builder addLopqMetricsBuilder(
int index) {
return getLopqMetricsFieldBuilder().addBuilder(
index, com.clarifai.grpc.api.LOPQEvalResult.getDefaultInstance());
}
/**
* repeated .clarifai.api.LOPQEvalResult lopq_metrics = 9;
*/
public java.util.List
getLopqMetricsBuilderList() {
return getLopqMetricsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.clarifai.grpc.api.LOPQEvalResult, com.clarifai.grpc.api.LOPQEvalResult.Builder, com.clarifai.grpc.api.LOPQEvalResultOrBuilder>
getLopqMetricsFieldBuilder() {
if (lopqMetricsBuilder_ == null) {
lopqMetricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.clarifai.grpc.api.LOPQEvalResult, com.clarifai.grpc.api.LOPQEvalResult.Builder, com.clarifai.grpc.api.LOPQEvalResultOrBuilder>(
lopqMetrics_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
lopqMetrics_ = null;
}
return lopqMetricsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:clarifai.api.MetricsSummary)
}
// @@protoc_insertion_point(class_scope:clarifai.api.MetricsSummary)
private static final com.clarifai.grpc.api.MetricsSummary DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.clarifai.grpc.api.MetricsSummary();
}
public static com.clarifai.grpc.api.MetricsSummary getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MetricsSummary parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MetricsSummary(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.clarifai.grpc.api.MetricsSummary getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}