default: } else if (timedQuota.hasShare()) { builder.append(String.format("%.2f%%", timedQuota.getShare()));
default: } else if (timedQuota.hasShare()) { builder.append(String.format("%.2f%%", timedQuota.getShare()));
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTimeUnit()) { hash = (37 * hash) + TIME_UNIT_FIELD_NUMBER; hash = (53 * hash) + timeUnit_; } if (hasSoftLimit()) { hash = (37 * hash) + SOFT_LIMIT_FIELD_NUMBER; hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashLong( getSoftLimit()); } if (hasShare()) { hash = (37 * hash) + SHARE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getShare()); } if (hasScope()) { hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
break; } else if (timedQuota.hasShare()) { builder.append(String.format("%.2f%%", timedQuota.getShare()));
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTimeUnit()) { hash = (37 * hash) + TIME_UNIT_FIELD_NUMBER; hash = (53 * hash) + timeUnit_; } if (hasSoftLimit()) { hash = (37 * hash) + SOFT_LIMIT_FIELD_NUMBER; hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashLong( getSoftLimit()); } if (hasShare()) { hash = (37 * hash) + SHARE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getShare()); } if (hasScope()) { hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance()) return this; if (other.hasTimeUnit()) { setTimeUnit(other.getTimeUnit()); } if (other.hasSoftLimit()) { setSoftLimit(other.getSoftLimit()); } if (other.hasShare()) { setShare(other.getShare()); } if (other.hasScope()) { setScope(other.getScope()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
break; } else if (timedQuota.hasShare()) { builder.append(String.format("%.2f%%", timedQuota.getShare()));
public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance()) return this; if (other.hasTimeUnit()) { setTimeUnit(other.getTimeUnit()); } if (other.hasSoftLimit()) { setSoftLimit(other.getSoftLimit()); } if (other.hasShare()) { setShare(other.getShare()); } if (other.hasScope()) { setScope(other.getScope()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }