.equals(other.getRange()); result = result && (hasBucketOptions() == other.hasBucketOptions()); if (hasBucketOptions()) { result = result && getBucketOptions() .equals(other.getBucketOptions());
hash = (53 * hash) + getRange().hashCode(); if (hasBucketOptions()) { hash = (37 * hash) + BUCKET_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getBucketOptions().hashCode();
public Builder mergeFrom(com.google.api.Distribution other) { if (other == com.google.api.Distribution.getDefaultInstance()) return this; if (other.getCount() != 0L) { setCount(other.getCount()); } if (other.getMean() != 0D) { setMean(other.getMean()); } if (other.getSumOfSquaredDeviation() != 0D) { setSumOfSquaredDeviation(other.getSumOfSquaredDeviation()); } if (other.hasRange()) { mergeRange(other.getRange()); } if (other.hasBucketOptions()) { mergeBucketOptions(other.getBucketOptions()); } if (!other.bucketCounts_.isEmpty()) { if (bucketCounts_.isEmpty()) { bucketCounts_ = other.bucketCounts_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureBucketCountsIsMutable(); bucketCounts_.addAll(other.bucketCounts_); } onChanged(); } onChanged(); return this; }