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

com.pingcap.tidb.tipb.Histogram Maven / Gradle / Ivy

There is a newer version: 3.2.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: analyze.proto

package com.pingcap.tidb.tipb;

/**
 * Protobuf type {@code tipb.Histogram}
 */
public  final class Histogram extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:tipb.Histogram)
    HistogramOrBuilder {
private static final long serialVersionUID = 0L;
  // Use Histogram.newBuilder() to construct.
  private Histogram(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private Histogram() {
    ndv_ = 0L;
    buckets_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private Histogram(
      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;
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
          case 8: {
            bitField0_ |= 0x00000001;
            ndv_ = input.readInt64();
            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
              buckets_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            buckets_.add(
                input.readMessage(com.pingcap.tidb.tipb.Bucket.PARSER, extensionRegistry));
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
        buckets_ = java.util.Collections.unmodifiableList(buckets_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.pingcap.tidb.tipb.Analyze.internal_static_tipb_Histogram_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.pingcap.tidb.tipb.Analyze.internal_static_tipb_Histogram_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.pingcap.tidb.tipb.Histogram.class, com.pingcap.tidb.tipb.Histogram.Builder.class);
  }

  private int bitField0_;
  public static final int NDV_FIELD_NUMBER = 1;
  private long ndv_;
  /**
   * 
   * ndv is the number of distinct values.
   * 
* * optional int64 ndv = 1 [(.gogoproto.nullable) = false]; */ public boolean hasNdv() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
   * ndv is the number of distinct values.
   * 
* * optional int64 ndv = 1 [(.gogoproto.nullable) = false]; */ public long getNdv() { return ndv_; } public static final int BUCKETS_FIELD_NUMBER = 2; private java.util.List buckets_; /** *
   * buckets represents all the buckets.
   * 
* * repeated .tipb.Bucket buckets = 2; */ public java.util.List getBucketsList() { return buckets_; } /** *
   * buckets represents all the buckets.
   * 
* * repeated .tipb.Bucket buckets = 2; */ public java.util.List getBucketsOrBuilderList() { return buckets_; } /** *
   * buckets represents all the buckets.
   * 
* * repeated .tipb.Bucket buckets = 2; */ public int getBucketsCount() { return buckets_.size(); } /** *
   * buckets represents all the buckets.
   * 
* * repeated .tipb.Bucket buckets = 2; */ public com.pingcap.tidb.tipb.Bucket getBuckets(int index) { return buckets_.get(index); } /** *
   * buckets represents all the buckets.
   * 
* * repeated .tipb.Bucket buckets = 2; */ public com.pingcap.tidb.tipb.BucketOrBuilder getBucketsOrBuilder( int index) { return buckets_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, ndv_); } for (int i = 0; i < buckets_.size(); i++) { output.writeMessage(2, buckets_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, ndv_); } for (int i = 0; i < buckets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, buckets_.get(i)); } 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.pingcap.tidb.tipb.Histogram)) { return super.equals(obj); } com.pingcap.tidb.tipb.Histogram other = (com.pingcap.tidb.tipb.Histogram) obj; boolean result = true; result = result && (hasNdv() == other.hasNdv()); if (hasNdv()) { result = result && (getNdv() == other.getNdv()); } result = result && getBucketsList() .equals(other.getBucketsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNdv()) { hash = (37 * hash) + NDV_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNdv()); } if (getBucketsCount() > 0) { hash = (37 * hash) + BUCKETS_FIELD_NUMBER; hash = (53 * hash) + getBucketsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.pingcap.tidb.tipb.Histogram parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.pingcap.tidb.tipb.Histogram parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.pingcap.tidb.tipb.Histogram parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.pingcap.tidb.tipb.Histogram parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.pingcap.tidb.tipb.Histogram parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.pingcap.tidb.tipb.Histogram parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.pingcap.tidb.tipb.Histogram parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.pingcap.tidb.tipb.Histogram 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.pingcap.tidb.tipb.Histogram parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.pingcap.tidb.tipb.Histogram 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.pingcap.tidb.tipb.Histogram parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.pingcap.tidb.tipb.Histogram parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.pingcap.tidb.tipb.Histogram prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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; } /** * Protobuf type {@code tipb.Histogram} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tipb.Histogram) com.pingcap.tidb.tipb.HistogramOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.pingcap.tidb.tipb.Analyze.internal_static_tipb_Histogram_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.pingcap.tidb.tipb.Analyze.internal_static_tipb_Histogram_fieldAccessorTable .ensureFieldAccessorsInitialized( com.pingcap.tidb.tipb.Histogram.class, com.pingcap.tidb.tipb.Histogram.Builder.class); } // Construct using com.pingcap.tidb.tipb.Histogram.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBucketsFieldBuilder(); } } public Builder clear() { super.clear(); ndv_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); if (bucketsBuilder_ == null) { buckets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { bucketsBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.pingcap.tidb.tipb.Analyze.internal_static_tipb_Histogram_descriptor; } public com.pingcap.tidb.tipb.Histogram getDefaultInstanceForType() { return com.pingcap.tidb.tipb.Histogram.getDefaultInstance(); } public com.pingcap.tidb.tipb.Histogram build() { com.pingcap.tidb.tipb.Histogram result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.pingcap.tidb.tipb.Histogram buildPartial() { com.pingcap.tidb.tipb.Histogram result = new com.pingcap.tidb.tipb.Histogram(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.ndv_ = ndv_; if (bucketsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { buckets_ = java.util.Collections.unmodifiableList(buckets_); bitField0_ = (bitField0_ & ~0x00000002); } result.buckets_ = buckets_; } else { result.buckets_ = bucketsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.pingcap.tidb.tipb.Histogram) { return mergeFrom((com.pingcap.tidb.tipb.Histogram)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.pingcap.tidb.tipb.Histogram other) { if (other == com.pingcap.tidb.tipb.Histogram.getDefaultInstance()) return this; if (other.hasNdv()) { setNdv(other.getNdv()); } if (bucketsBuilder_ == null) { if (!other.buckets_.isEmpty()) { if (buckets_.isEmpty()) { buckets_ = other.buckets_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureBucketsIsMutable(); buckets_.addAll(other.buckets_); } onChanged(); } } else { if (!other.buckets_.isEmpty()) { if (bucketsBuilder_.isEmpty()) { bucketsBuilder_.dispose(); bucketsBuilder_ = null; buckets_ = other.buckets_; bitField0_ = (bitField0_ & ~0x00000002); bucketsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getBucketsFieldBuilder() : null; } else { bucketsBuilder_.addAllMessages(other.buckets_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.pingcap.tidb.tipb.Histogram parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.pingcap.tidb.tipb.Histogram) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long ndv_ ; /** *
     * ndv is the number of distinct values.
     * 
* * optional int64 ndv = 1 [(.gogoproto.nullable) = false]; */ public boolean hasNdv() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * ndv is the number of distinct values.
     * 
* * optional int64 ndv = 1 [(.gogoproto.nullable) = false]; */ public long getNdv() { return ndv_; } /** *
     * ndv is the number of distinct values.
     * 
* * optional int64 ndv = 1 [(.gogoproto.nullable) = false]; */ public Builder setNdv(long value) { bitField0_ |= 0x00000001; ndv_ = value; onChanged(); return this; } /** *
     * ndv is the number of distinct values.
     * 
* * optional int64 ndv = 1 [(.gogoproto.nullable) = false]; */ public Builder clearNdv() { bitField0_ = (bitField0_ & ~0x00000001); ndv_ = 0L; onChanged(); return this; } private java.util.List buckets_ = java.util.Collections.emptyList(); private void ensureBucketsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { buckets_ = new java.util.ArrayList(buckets_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.pingcap.tidb.tipb.Bucket, com.pingcap.tidb.tipb.Bucket.Builder, com.pingcap.tidb.tipb.BucketOrBuilder> bucketsBuilder_; /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public java.util.List getBucketsList() { if (bucketsBuilder_ == null) { return java.util.Collections.unmodifiableList(buckets_); } else { return bucketsBuilder_.getMessageList(); } } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public int getBucketsCount() { if (bucketsBuilder_ == null) { return buckets_.size(); } else { return bucketsBuilder_.getCount(); } } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public com.pingcap.tidb.tipb.Bucket getBuckets(int index) { if (bucketsBuilder_ == null) { return buckets_.get(index); } else { return bucketsBuilder_.getMessage(index); } } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public Builder setBuckets( int index, com.pingcap.tidb.tipb.Bucket value) { if (bucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBucketsIsMutable(); buckets_.set(index, value); onChanged(); } else { bucketsBuilder_.setMessage(index, value); } return this; } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public Builder setBuckets( int index, com.pingcap.tidb.tipb.Bucket.Builder builderForValue) { if (bucketsBuilder_ == null) { ensureBucketsIsMutable(); buckets_.set(index, builderForValue.build()); onChanged(); } else { bucketsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public Builder addBuckets(com.pingcap.tidb.tipb.Bucket value) { if (bucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBucketsIsMutable(); buckets_.add(value); onChanged(); } else { bucketsBuilder_.addMessage(value); } return this; } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public Builder addBuckets( int index, com.pingcap.tidb.tipb.Bucket value) { if (bucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBucketsIsMutable(); buckets_.add(index, value); onChanged(); } else { bucketsBuilder_.addMessage(index, value); } return this; } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public Builder addBuckets( com.pingcap.tidb.tipb.Bucket.Builder builderForValue) { if (bucketsBuilder_ == null) { ensureBucketsIsMutable(); buckets_.add(builderForValue.build()); onChanged(); } else { bucketsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public Builder addBuckets( int index, com.pingcap.tidb.tipb.Bucket.Builder builderForValue) { if (bucketsBuilder_ == null) { ensureBucketsIsMutable(); buckets_.add(index, builderForValue.build()); onChanged(); } else { bucketsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public Builder addAllBuckets( java.lang.Iterable values) { if (bucketsBuilder_ == null) { ensureBucketsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, buckets_); onChanged(); } else { bucketsBuilder_.addAllMessages(values); } return this; } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public Builder clearBuckets() { if (bucketsBuilder_ == null) { buckets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { bucketsBuilder_.clear(); } return this; } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public Builder removeBuckets(int index) { if (bucketsBuilder_ == null) { ensureBucketsIsMutable(); buckets_.remove(index); onChanged(); } else { bucketsBuilder_.remove(index); } return this; } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public com.pingcap.tidb.tipb.Bucket.Builder getBucketsBuilder( int index) { return getBucketsFieldBuilder().getBuilder(index); } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public com.pingcap.tidb.tipb.BucketOrBuilder getBucketsOrBuilder( int index) { if (bucketsBuilder_ == null) { return buckets_.get(index); } else { return bucketsBuilder_.getMessageOrBuilder(index); } } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public java.util.List getBucketsOrBuilderList() { if (bucketsBuilder_ != null) { return bucketsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(buckets_); } } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public com.pingcap.tidb.tipb.Bucket.Builder addBucketsBuilder() { return getBucketsFieldBuilder().addBuilder( com.pingcap.tidb.tipb.Bucket.getDefaultInstance()); } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public com.pingcap.tidb.tipb.Bucket.Builder addBucketsBuilder( int index) { return getBucketsFieldBuilder().addBuilder( index, com.pingcap.tidb.tipb.Bucket.getDefaultInstance()); } /** *
     * buckets represents all the buckets.
     * 
* * repeated .tipb.Bucket buckets = 2; */ public java.util.List getBucketsBuilderList() { return getBucketsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.pingcap.tidb.tipb.Bucket, com.pingcap.tidb.tipb.Bucket.Builder, com.pingcap.tidb.tipb.BucketOrBuilder> getBucketsFieldBuilder() { if (bucketsBuilder_ == null) { bucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.pingcap.tidb.tipb.Bucket, com.pingcap.tidb.tipb.Bucket.Builder, com.pingcap.tidb.tipb.BucketOrBuilder>( buckets_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); buckets_ = null; } return bucketsBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tipb.Histogram) } // @@protoc_insertion_point(class_scope:tipb.Histogram) private static final com.pingcap.tidb.tipb.Histogram DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.pingcap.tidb.tipb.Histogram(); } public static com.pingcap.tidb.tipb.Histogram getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Histogram parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Histogram(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.pingcap.tidb.tipb.Histogram getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy