All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tensorflow.metadata.v0.NumericStatistics Maven / Gradle / Ivy

There is a newer version: 0.14.10
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow_metadata/proto/v0/statistics.proto

// Protobuf Java Version: 3.25.4
package org.tensorflow.metadata.v0;

/**
 * 
 * Statistics for a numeric feature in a dataset.
 * 
* * Protobuf type {@code tensorflow.metadata.v0.NumericStatistics} */ public final class NumericStatistics extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tensorflow.metadata.v0.NumericStatistics) NumericStatisticsOrBuilder { private static final long serialVersionUID = 0L; // Use NumericStatistics.newBuilder() to construct. private NumericStatistics(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NumericStatistics() { histograms_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NumericStatistics(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.tensorflow.metadata.v0.Statistics.internal_static_tensorflow_metadata_v0_NumericStatistics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.tensorflow.metadata.v0.Statistics.internal_static_tensorflow_metadata_v0_NumericStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.tensorflow.metadata.v0.NumericStatistics.class, org.tensorflow.metadata.v0.NumericStatistics.Builder.class); } private int bitField0_; public static final int COMMON_STATS_FIELD_NUMBER = 1; private org.tensorflow.metadata.v0.CommonStatistics commonStats_; /** * .tensorflow.metadata.v0.CommonStatistics common_stats = 1; * @return Whether the commonStats field is set. */ @java.lang.Override public boolean hasCommonStats() { return ((bitField0_ & 0x00000001) != 0); } /** * .tensorflow.metadata.v0.CommonStatistics common_stats = 1; * @return The commonStats. */ @java.lang.Override public org.tensorflow.metadata.v0.CommonStatistics getCommonStats() { return commonStats_ == null ? org.tensorflow.metadata.v0.CommonStatistics.getDefaultInstance() : commonStats_; } /** * .tensorflow.metadata.v0.CommonStatistics common_stats = 1; */ @java.lang.Override public org.tensorflow.metadata.v0.CommonStatisticsOrBuilder getCommonStatsOrBuilder() { return commonStats_ == null ? org.tensorflow.metadata.v0.CommonStatistics.getDefaultInstance() : commonStats_; } public static final int MEAN_FIELD_NUMBER = 2; private double mean_ = 0D; /** *
   * The mean of the values
   * 
* * double mean = 2; * @return The mean. */ @java.lang.Override public double getMean() { return mean_; } public static final int STD_DEV_FIELD_NUMBER = 3; private double stdDev_ = 0D; /** *
   * The standard deviation of the values
   * 
* * double std_dev = 3; * @return The stdDev. */ @java.lang.Override public double getStdDev() { return stdDev_; } public static final int NUM_ZEROS_FIELD_NUMBER = 4; private long numZeros_ = 0L; /** *
   * The number of values that equal 0
   * 
* * uint64 num_zeros = 4; * @return The numZeros. */ @java.lang.Override public long getNumZeros() { return numZeros_; } public static final int MIN_FIELD_NUMBER = 5; private double min_ = 0D; /** *
   * The minimum value
   * 
* * double min = 5; * @return The min. */ @java.lang.Override public double getMin() { return min_; } public static final int MEDIAN_FIELD_NUMBER = 6; private double median_ = 0D; /** *
   * The median value
   * 
* * double median = 6; * @return The median. */ @java.lang.Override public double getMedian() { return median_; } public static final int MAX_FIELD_NUMBER = 7; private double max_ = 0D; /** *
   * The maximum value
   * 
* * double max = 7; * @return The max. */ @java.lang.Override public double getMax() { return max_; } public static final int HISTOGRAMS_FIELD_NUMBER = 8; @SuppressWarnings("serial") private java.util.List histograms_; /** *
   * The histogram(s) of the feature values.
   * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ @java.lang.Override public java.util.List getHistogramsList() { return histograms_; } /** *
   * The histogram(s) of the feature values.
   * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ @java.lang.Override public java.util.List getHistogramsOrBuilderList() { return histograms_; } /** *
   * The histogram(s) of the feature values.
   * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ @java.lang.Override public int getHistogramsCount() { return histograms_.size(); } /** *
   * The histogram(s) of the feature values.
   * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ @java.lang.Override public org.tensorflow.metadata.v0.Histogram getHistograms(int index) { return histograms_.get(index); } /** *
   * The histogram(s) of the feature values.
   * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ @java.lang.Override public org.tensorflow.metadata.v0.HistogramOrBuilder getHistogramsOrBuilder( int index) { return histograms_.get(index); } public static final int WEIGHTED_NUMERIC_STATS_FIELD_NUMBER = 9; private org.tensorflow.metadata.v0.WeightedNumericStatistics weightedNumericStats_; /** *
   * Weighted statistics for the feature, if the values have weights.
   * 
* * .tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9; * @return Whether the weightedNumericStats field is set. */ @java.lang.Override public boolean hasWeightedNumericStats() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Weighted statistics for the feature, if the values have weights.
   * 
* * .tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9; * @return The weightedNumericStats. */ @java.lang.Override public org.tensorflow.metadata.v0.WeightedNumericStatistics getWeightedNumericStats() { return weightedNumericStats_ == null ? org.tensorflow.metadata.v0.WeightedNumericStatistics.getDefaultInstance() : weightedNumericStats_; } /** *
   * Weighted statistics for the feature, if the values have weights.
   * 
* * .tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9; */ @java.lang.Override public org.tensorflow.metadata.v0.WeightedNumericStatisticsOrBuilder getWeightedNumericStatsOrBuilder() { return weightedNumericStats_ == null ? org.tensorflow.metadata.v0.WeightedNumericStatistics.getDefaultInstance() : weightedNumericStats_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCommonStats()); } if (java.lang.Double.doubleToRawLongBits(mean_) != 0) { output.writeDouble(2, mean_); } if (java.lang.Double.doubleToRawLongBits(stdDev_) != 0) { output.writeDouble(3, stdDev_); } if (numZeros_ != 0L) { output.writeUInt64(4, numZeros_); } if (java.lang.Double.doubleToRawLongBits(min_) != 0) { output.writeDouble(5, min_); } if (java.lang.Double.doubleToRawLongBits(median_) != 0) { output.writeDouble(6, median_); } if (java.lang.Double.doubleToRawLongBits(max_) != 0) { output.writeDouble(7, max_); } for (int i = 0; i < histograms_.size(); i++) { output.writeMessage(8, histograms_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(9, getWeightedNumericStats()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getCommonStats()); } if (java.lang.Double.doubleToRawLongBits(mean_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, mean_); } if (java.lang.Double.doubleToRawLongBits(stdDev_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, stdDev_); } if (numZeros_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, numZeros_); } if (java.lang.Double.doubleToRawLongBits(min_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, min_); } if (java.lang.Double.doubleToRawLongBits(median_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, median_); } if (java.lang.Double.doubleToRawLongBits(max_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, max_); } for (int i = 0; i < histograms_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, histograms_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getWeightedNumericStats()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.tensorflow.metadata.v0.NumericStatistics)) { return super.equals(obj); } org.tensorflow.metadata.v0.NumericStatistics other = (org.tensorflow.metadata.v0.NumericStatistics) obj; if (hasCommonStats() != other.hasCommonStats()) return false; if (hasCommonStats()) { if (!getCommonStats() .equals(other.getCommonStats())) return false; } if (java.lang.Double.doubleToLongBits(getMean()) != java.lang.Double.doubleToLongBits( other.getMean())) return false; if (java.lang.Double.doubleToLongBits(getStdDev()) != java.lang.Double.doubleToLongBits( other.getStdDev())) return false; if (getNumZeros() != other.getNumZeros()) return false; if (java.lang.Double.doubleToLongBits(getMin()) != java.lang.Double.doubleToLongBits( other.getMin())) return false; if (java.lang.Double.doubleToLongBits(getMedian()) != java.lang.Double.doubleToLongBits( other.getMedian())) return false; if (java.lang.Double.doubleToLongBits(getMax()) != java.lang.Double.doubleToLongBits( other.getMax())) return false; if (!getHistogramsList() .equals(other.getHistogramsList())) return false; if (hasWeightedNumericStats() != other.hasWeightedNumericStats()) return false; if (hasWeightedNumericStats()) { if (!getWeightedNumericStats() .equals(other.getWeightedNumericStats())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasCommonStats()) { hash = (37 * hash) + COMMON_STATS_FIELD_NUMBER; hash = (53 * hash) + getCommonStats().hashCode(); } hash = (37 * hash) + MEAN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMean())); hash = (37 * hash) + STD_DEV_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getStdDev())); hash = (37 * hash) + NUM_ZEROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNumZeros()); hash = (37 * hash) + MIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMin())); hash = (37 * hash) + MEDIAN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMedian())); hash = (37 * hash) + MAX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMax())); if (getHistogramsCount() > 0) { hash = (37 * hash) + HISTOGRAMS_FIELD_NUMBER; hash = (53 * hash) + getHistogramsList().hashCode(); } if (hasWeightedNumericStats()) { hash = (37 * hash) + WEIGHTED_NUMERIC_STATS_FIELD_NUMBER; hash = (53 * hash) + getWeightedNumericStats().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.tensorflow.metadata.v0.NumericStatistics parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.tensorflow.metadata.v0.NumericStatistics parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.tensorflow.metadata.v0.NumericStatistics parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.tensorflow.metadata.v0.NumericStatistics parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.tensorflow.metadata.v0.NumericStatistics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.tensorflow.metadata.v0.NumericStatistics parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.tensorflow.metadata.v0.NumericStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.tensorflow.metadata.v0.NumericStatistics 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 org.tensorflow.metadata.v0.NumericStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.tensorflow.metadata.v0.NumericStatistics 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 org.tensorflow.metadata.v0.NumericStatistics parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.tensorflow.metadata.v0.NumericStatistics 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(org.tensorflow.metadata.v0.NumericStatistics 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; } /** *
   * Statistics for a numeric feature in a dataset.
   * 
* * Protobuf type {@code tensorflow.metadata.v0.NumericStatistics} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tensorflow.metadata.v0.NumericStatistics) org.tensorflow.metadata.v0.NumericStatisticsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.tensorflow.metadata.v0.Statistics.internal_static_tensorflow_metadata_v0_NumericStatistics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.tensorflow.metadata.v0.Statistics.internal_static_tensorflow_metadata_v0_NumericStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.tensorflow.metadata.v0.NumericStatistics.class, org.tensorflow.metadata.v0.NumericStatistics.Builder.class); } // Construct using org.tensorflow.metadata.v0.NumericStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getCommonStatsFieldBuilder(); getHistogramsFieldBuilder(); getWeightedNumericStatsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; commonStats_ = null; if (commonStatsBuilder_ != null) { commonStatsBuilder_.dispose(); commonStatsBuilder_ = null; } mean_ = 0D; stdDev_ = 0D; numZeros_ = 0L; min_ = 0D; median_ = 0D; max_ = 0D; if (histogramsBuilder_ == null) { histograms_ = java.util.Collections.emptyList(); } else { histograms_ = null; histogramsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); weightedNumericStats_ = null; if (weightedNumericStatsBuilder_ != null) { weightedNumericStatsBuilder_.dispose(); weightedNumericStatsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.tensorflow.metadata.v0.Statistics.internal_static_tensorflow_metadata_v0_NumericStatistics_descriptor; } @java.lang.Override public org.tensorflow.metadata.v0.NumericStatistics getDefaultInstanceForType() { return org.tensorflow.metadata.v0.NumericStatistics.getDefaultInstance(); } @java.lang.Override public org.tensorflow.metadata.v0.NumericStatistics build() { org.tensorflow.metadata.v0.NumericStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.tensorflow.metadata.v0.NumericStatistics buildPartial() { org.tensorflow.metadata.v0.NumericStatistics result = new org.tensorflow.metadata.v0.NumericStatistics(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(org.tensorflow.metadata.v0.NumericStatistics result) { if (histogramsBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { histograms_ = java.util.Collections.unmodifiableList(histograms_); bitField0_ = (bitField0_ & ~0x00000080); } result.histograms_ = histograms_; } else { result.histograms_ = histogramsBuilder_.build(); } } private void buildPartial0(org.tensorflow.metadata.v0.NumericStatistics result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.commonStats_ = commonStatsBuilder_ == null ? commonStats_ : commonStatsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.mean_ = mean_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.stdDev_ = stdDev_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.numZeros_ = numZeros_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.min_ = min_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.median_ = median_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.max_ = max_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.weightedNumericStats_ = weightedNumericStatsBuilder_ == null ? weightedNumericStats_ : weightedNumericStatsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @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 org.tensorflow.metadata.v0.NumericStatistics) { return mergeFrom((org.tensorflow.metadata.v0.NumericStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.tensorflow.metadata.v0.NumericStatistics other) { if (other == org.tensorflow.metadata.v0.NumericStatistics.getDefaultInstance()) return this; if (other.hasCommonStats()) { mergeCommonStats(other.getCommonStats()); } if (other.getMean() != 0D) { setMean(other.getMean()); } if (other.getStdDev() != 0D) { setStdDev(other.getStdDev()); } if (other.getNumZeros() != 0L) { setNumZeros(other.getNumZeros()); } if (other.getMin() != 0D) { setMin(other.getMin()); } if (other.getMedian() != 0D) { setMedian(other.getMedian()); } if (other.getMax() != 0D) { setMax(other.getMax()); } if (histogramsBuilder_ == null) { if (!other.histograms_.isEmpty()) { if (histograms_.isEmpty()) { histograms_ = other.histograms_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureHistogramsIsMutable(); histograms_.addAll(other.histograms_); } onChanged(); } } else { if (!other.histograms_.isEmpty()) { if (histogramsBuilder_.isEmpty()) { histogramsBuilder_.dispose(); histogramsBuilder_ = null; histograms_ = other.histograms_; bitField0_ = (bitField0_ & ~0x00000080); histogramsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getHistogramsFieldBuilder() : null; } else { histogramsBuilder_.addAllMessages(other.histograms_); } } } if (other.hasWeightedNumericStats()) { mergeWeightedNumericStats(other.getWeightedNumericStats()); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getCommonStatsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 17: { mean_ = input.readDouble(); bitField0_ |= 0x00000002; break; } // case 17 case 25: { stdDev_ = input.readDouble(); bitField0_ |= 0x00000004; break; } // case 25 case 32: { numZeros_ = input.readUInt64(); bitField0_ |= 0x00000008; break; } // case 32 case 41: { min_ = input.readDouble(); bitField0_ |= 0x00000010; break; } // case 41 case 49: { median_ = input.readDouble(); bitField0_ |= 0x00000020; break; } // case 49 case 57: { max_ = input.readDouble(); bitField0_ |= 0x00000040; break; } // case 57 case 66: { org.tensorflow.metadata.v0.Histogram m = input.readMessage( org.tensorflow.metadata.v0.Histogram.parser(), extensionRegistry); if (histogramsBuilder_ == null) { ensureHistogramsIsMutable(); histograms_.add(m); } else { histogramsBuilder_.addMessage(m); } break; } // case 66 case 74: { input.readMessage( getWeightedNumericStatsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 74 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private org.tensorflow.metadata.v0.CommonStatistics commonStats_; private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.CommonStatistics, org.tensorflow.metadata.v0.CommonStatistics.Builder, org.tensorflow.metadata.v0.CommonStatisticsOrBuilder> commonStatsBuilder_; /** * .tensorflow.metadata.v0.CommonStatistics common_stats = 1; * @return Whether the commonStats field is set. */ public boolean hasCommonStats() { return ((bitField0_ & 0x00000001) != 0); } /** * .tensorflow.metadata.v0.CommonStatistics common_stats = 1; * @return The commonStats. */ public org.tensorflow.metadata.v0.CommonStatistics getCommonStats() { if (commonStatsBuilder_ == null) { return commonStats_ == null ? org.tensorflow.metadata.v0.CommonStatistics.getDefaultInstance() : commonStats_; } else { return commonStatsBuilder_.getMessage(); } } /** * .tensorflow.metadata.v0.CommonStatistics common_stats = 1; */ public Builder setCommonStats(org.tensorflow.metadata.v0.CommonStatistics value) { if (commonStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } commonStats_ = value; } else { commonStatsBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .tensorflow.metadata.v0.CommonStatistics common_stats = 1; */ public Builder setCommonStats( org.tensorflow.metadata.v0.CommonStatistics.Builder builderForValue) { if (commonStatsBuilder_ == null) { commonStats_ = builderForValue.build(); } else { commonStatsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .tensorflow.metadata.v0.CommonStatistics common_stats = 1; */ public Builder mergeCommonStats(org.tensorflow.metadata.v0.CommonStatistics value) { if (commonStatsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && commonStats_ != null && commonStats_ != org.tensorflow.metadata.v0.CommonStatistics.getDefaultInstance()) { getCommonStatsBuilder().mergeFrom(value); } else { commonStats_ = value; } } else { commonStatsBuilder_.mergeFrom(value); } if (commonStats_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .tensorflow.metadata.v0.CommonStatistics common_stats = 1; */ public Builder clearCommonStats() { bitField0_ = (bitField0_ & ~0x00000001); commonStats_ = null; if (commonStatsBuilder_ != null) { commonStatsBuilder_.dispose(); commonStatsBuilder_ = null; } onChanged(); return this; } /** * .tensorflow.metadata.v0.CommonStatistics common_stats = 1; */ public org.tensorflow.metadata.v0.CommonStatistics.Builder getCommonStatsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getCommonStatsFieldBuilder().getBuilder(); } /** * .tensorflow.metadata.v0.CommonStatistics common_stats = 1; */ public org.tensorflow.metadata.v0.CommonStatisticsOrBuilder getCommonStatsOrBuilder() { if (commonStatsBuilder_ != null) { return commonStatsBuilder_.getMessageOrBuilder(); } else { return commonStats_ == null ? org.tensorflow.metadata.v0.CommonStatistics.getDefaultInstance() : commonStats_; } } /** * .tensorflow.metadata.v0.CommonStatistics common_stats = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.CommonStatistics, org.tensorflow.metadata.v0.CommonStatistics.Builder, org.tensorflow.metadata.v0.CommonStatisticsOrBuilder> getCommonStatsFieldBuilder() { if (commonStatsBuilder_ == null) { commonStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.CommonStatistics, org.tensorflow.metadata.v0.CommonStatistics.Builder, org.tensorflow.metadata.v0.CommonStatisticsOrBuilder>( getCommonStats(), getParentForChildren(), isClean()); commonStats_ = null; } return commonStatsBuilder_; } private double mean_ ; /** *
     * The mean of the values
     * 
* * double mean = 2; * @return The mean. */ @java.lang.Override public double getMean() { return mean_; } /** *
     * The mean of the values
     * 
* * double mean = 2; * @param value The mean to set. * @return This builder for chaining. */ public Builder setMean(double value) { mean_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The mean of the values
     * 
* * double mean = 2; * @return This builder for chaining. */ public Builder clearMean() { bitField0_ = (bitField0_ & ~0x00000002); mean_ = 0D; onChanged(); return this; } private double stdDev_ ; /** *
     * The standard deviation of the values
     * 
* * double std_dev = 3; * @return The stdDev. */ @java.lang.Override public double getStdDev() { return stdDev_; } /** *
     * The standard deviation of the values
     * 
* * double std_dev = 3; * @param value The stdDev to set. * @return This builder for chaining. */ public Builder setStdDev(double value) { stdDev_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * The standard deviation of the values
     * 
* * double std_dev = 3; * @return This builder for chaining. */ public Builder clearStdDev() { bitField0_ = (bitField0_ & ~0x00000004); stdDev_ = 0D; onChanged(); return this; } private long numZeros_ ; /** *
     * The number of values that equal 0
     * 
* * uint64 num_zeros = 4; * @return The numZeros. */ @java.lang.Override public long getNumZeros() { return numZeros_; } /** *
     * The number of values that equal 0
     * 
* * uint64 num_zeros = 4; * @param value The numZeros to set. * @return This builder for chaining. */ public Builder setNumZeros(long value) { numZeros_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * The number of values that equal 0
     * 
* * uint64 num_zeros = 4; * @return This builder for chaining. */ public Builder clearNumZeros() { bitField0_ = (bitField0_ & ~0x00000008); numZeros_ = 0L; onChanged(); return this; } private double min_ ; /** *
     * The minimum value
     * 
* * double min = 5; * @return The min. */ @java.lang.Override public double getMin() { return min_; } /** *
     * The minimum value
     * 
* * double min = 5; * @param value The min to set. * @return This builder for chaining. */ public Builder setMin(double value) { min_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * The minimum value
     * 
* * double min = 5; * @return This builder for chaining. */ public Builder clearMin() { bitField0_ = (bitField0_ & ~0x00000010); min_ = 0D; onChanged(); return this; } private double median_ ; /** *
     * The median value
     * 
* * double median = 6; * @return The median. */ @java.lang.Override public double getMedian() { return median_; } /** *
     * The median value
     * 
* * double median = 6; * @param value The median to set. * @return This builder for chaining. */ public Builder setMedian(double value) { median_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * The median value
     * 
* * double median = 6; * @return This builder for chaining. */ public Builder clearMedian() { bitField0_ = (bitField0_ & ~0x00000020); median_ = 0D; onChanged(); return this; } private double max_ ; /** *
     * The maximum value
     * 
* * double max = 7; * @return The max. */ @java.lang.Override public double getMax() { return max_; } /** *
     * The maximum value
     * 
* * double max = 7; * @param value The max to set. * @return This builder for chaining. */ public Builder setMax(double value) { max_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * The maximum value
     * 
* * double max = 7; * @return This builder for chaining. */ public Builder clearMax() { bitField0_ = (bitField0_ & ~0x00000040); max_ = 0D; onChanged(); return this; } private java.util.List histograms_ = java.util.Collections.emptyList(); private void ensureHistogramsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { histograms_ = new java.util.ArrayList(histograms_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.tensorflow.metadata.v0.Histogram, org.tensorflow.metadata.v0.Histogram.Builder, org.tensorflow.metadata.v0.HistogramOrBuilder> histogramsBuilder_; /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public java.util.List getHistogramsList() { if (histogramsBuilder_ == null) { return java.util.Collections.unmodifiableList(histograms_); } else { return histogramsBuilder_.getMessageList(); } } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public int getHistogramsCount() { if (histogramsBuilder_ == null) { return histograms_.size(); } else { return histogramsBuilder_.getCount(); } } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public org.tensorflow.metadata.v0.Histogram getHistograms(int index) { if (histogramsBuilder_ == null) { return histograms_.get(index); } else { return histogramsBuilder_.getMessage(index); } } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public Builder setHistograms( int index, org.tensorflow.metadata.v0.Histogram value) { if (histogramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHistogramsIsMutable(); histograms_.set(index, value); onChanged(); } else { histogramsBuilder_.setMessage(index, value); } return this; } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public Builder setHistograms( int index, org.tensorflow.metadata.v0.Histogram.Builder builderForValue) { if (histogramsBuilder_ == null) { ensureHistogramsIsMutable(); histograms_.set(index, builderForValue.build()); onChanged(); } else { histogramsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public Builder addHistograms(org.tensorflow.metadata.v0.Histogram value) { if (histogramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHistogramsIsMutable(); histograms_.add(value); onChanged(); } else { histogramsBuilder_.addMessage(value); } return this; } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public Builder addHistograms( int index, org.tensorflow.metadata.v0.Histogram value) { if (histogramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHistogramsIsMutable(); histograms_.add(index, value); onChanged(); } else { histogramsBuilder_.addMessage(index, value); } return this; } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public Builder addHistograms( org.tensorflow.metadata.v0.Histogram.Builder builderForValue) { if (histogramsBuilder_ == null) { ensureHistogramsIsMutable(); histograms_.add(builderForValue.build()); onChanged(); } else { histogramsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public Builder addHistograms( int index, org.tensorflow.metadata.v0.Histogram.Builder builderForValue) { if (histogramsBuilder_ == null) { ensureHistogramsIsMutable(); histograms_.add(index, builderForValue.build()); onChanged(); } else { histogramsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public Builder addAllHistograms( java.lang.Iterable values) { if (histogramsBuilder_ == null) { ensureHistogramsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, histograms_); onChanged(); } else { histogramsBuilder_.addAllMessages(values); } return this; } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public Builder clearHistograms() { if (histogramsBuilder_ == null) { histograms_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { histogramsBuilder_.clear(); } return this; } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public Builder removeHistograms(int index) { if (histogramsBuilder_ == null) { ensureHistogramsIsMutable(); histograms_.remove(index); onChanged(); } else { histogramsBuilder_.remove(index); } return this; } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public org.tensorflow.metadata.v0.Histogram.Builder getHistogramsBuilder( int index) { return getHistogramsFieldBuilder().getBuilder(index); } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public org.tensorflow.metadata.v0.HistogramOrBuilder getHistogramsOrBuilder( int index) { if (histogramsBuilder_ == null) { return histograms_.get(index); } else { return histogramsBuilder_.getMessageOrBuilder(index); } } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public java.util.List getHistogramsOrBuilderList() { if (histogramsBuilder_ != null) { return histogramsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(histograms_); } } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public org.tensorflow.metadata.v0.Histogram.Builder addHistogramsBuilder() { return getHistogramsFieldBuilder().addBuilder( org.tensorflow.metadata.v0.Histogram.getDefaultInstance()); } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public org.tensorflow.metadata.v0.Histogram.Builder addHistogramsBuilder( int index) { return getHistogramsFieldBuilder().addBuilder( index, org.tensorflow.metadata.v0.Histogram.getDefaultInstance()); } /** *
     * The histogram(s) of the feature values.
     * 
* * repeated .tensorflow.metadata.v0.Histogram histograms = 8; */ public java.util.List getHistogramsBuilderList() { return getHistogramsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.tensorflow.metadata.v0.Histogram, org.tensorflow.metadata.v0.Histogram.Builder, org.tensorflow.metadata.v0.HistogramOrBuilder> getHistogramsFieldBuilder() { if (histogramsBuilder_ == null) { histogramsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.tensorflow.metadata.v0.Histogram, org.tensorflow.metadata.v0.Histogram.Builder, org.tensorflow.metadata.v0.HistogramOrBuilder>( histograms_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); histograms_ = null; } return histogramsBuilder_; } private org.tensorflow.metadata.v0.WeightedNumericStatistics weightedNumericStats_; private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.WeightedNumericStatistics, org.tensorflow.metadata.v0.WeightedNumericStatistics.Builder, org.tensorflow.metadata.v0.WeightedNumericStatisticsOrBuilder> weightedNumericStatsBuilder_; /** *
     * Weighted statistics for the feature, if the values have weights.
     * 
* * .tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9; * @return Whether the weightedNumericStats field is set. */ public boolean hasWeightedNumericStats() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * Weighted statistics for the feature, if the values have weights.
     * 
* * .tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9; * @return The weightedNumericStats. */ public org.tensorflow.metadata.v0.WeightedNumericStatistics getWeightedNumericStats() { if (weightedNumericStatsBuilder_ == null) { return weightedNumericStats_ == null ? org.tensorflow.metadata.v0.WeightedNumericStatistics.getDefaultInstance() : weightedNumericStats_; } else { return weightedNumericStatsBuilder_.getMessage(); } } /** *
     * Weighted statistics for the feature, if the values have weights.
     * 
* * .tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9; */ public Builder setWeightedNumericStats(org.tensorflow.metadata.v0.WeightedNumericStatistics value) { if (weightedNumericStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } weightedNumericStats_ = value; } else { weightedNumericStatsBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * Weighted statistics for the feature, if the values have weights.
     * 
* * .tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9; */ public Builder setWeightedNumericStats( org.tensorflow.metadata.v0.WeightedNumericStatistics.Builder builderForValue) { if (weightedNumericStatsBuilder_ == null) { weightedNumericStats_ = builderForValue.build(); } else { weightedNumericStatsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * Weighted statistics for the feature, if the values have weights.
     * 
* * .tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9; */ public Builder mergeWeightedNumericStats(org.tensorflow.metadata.v0.WeightedNumericStatistics value) { if (weightedNumericStatsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && weightedNumericStats_ != null && weightedNumericStats_ != org.tensorflow.metadata.v0.WeightedNumericStatistics.getDefaultInstance()) { getWeightedNumericStatsBuilder().mergeFrom(value); } else { weightedNumericStats_ = value; } } else { weightedNumericStatsBuilder_.mergeFrom(value); } if (weightedNumericStats_ != null) { bitField0_ |= 0x00000100; onChanged(); } return this; } /** *
     * Weighted statistics for the feature, if the values have weights.
     * 
* * .tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9; */ public Builder clearWeightedNumericStats() { bitField0_ = (bitField0_ & ~0x00000100); weightedNumericStats_ = null; if (weightedNumericStatsBuilder_ != null) { weightedNumericStatsBuilder_.dispose(); weightedNumericStatsBuilder_ = null; } onChanged(); return this; } /** *
     * Weighted statistics for the feature, if the values have weights.
     * 
* * .tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9; */ public org.tensorflow.metadata.v0.WeightedNumericStatistics.Builder getWeightedNumericStatsBuilder() { bitField0_ |= 0x00000100; onChanged(); return getWeightedNumericStatsFieldBuilder().getBuilder(); } /** *
     * Weighted statistics for the feature, if the values have weights.
     * 
* * .tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9; */ public org.tensorflow.metadata.v0.WeightedNumericStatisticsOrBuilder getWeightedNumericStatsOrBuilder() { if (weightedNumericStatsBuilder_ != null) { return weightedNumericStatsBuilder_.getMessageOrBuilder(); } else { return weightedNumericStats_ == null ? org.tensorflow.metadata.v0.WeightedNumericStatistics.getDefaultInstance() : weightedNumericStats_; } } /** *
     * Weighted statistics for the feature, if the values have weights.
     * 
* * .tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9; */ private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.WeightedNumericStatistics, org.tensorflow.metadata.v0.WeightedNumericStatistics.Builder, org.tensorflow.metadata.v0.WeightedNumericStatisticsOrBuilder> getWeightedNumericStatsFieldBuilder() { if (weightedNumericStatsBuilder_ == null) { weightedNumericStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.WeightedNumericStatistics, org.tensorflow.metadata.v0.WeightedNumericStatistics.Builder, org.tensorflow.metadata.v0.WeightedNumericStatisticsOrBuilder>( getWeightedNumericStats(), getParentForChildren(), isClean()); weightedNumericStats_ = null; } return weightedNumericStatsBuilder_; } @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:tensorflow.metadata.v0.NumericStatistics) } // @@protoc_insertion_point(class_scope:tensorflow.metadata.v0.NumericStatistics) private static final org.tensorflow.metadata.v0.NumericStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.tensorflow.metadata.v0.NumericStatistics(); } public static org.tensorflow.metadata.v0.NumericStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NumericStatistics parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.tensorflow.metadata.v0.NumericStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy