@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasSum()) { hash = (37 * hash) + SUM_FIELD_NUMBER; hash = (53 * hash) + hashLong(getSum()); } if (hasCount()) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + hashLong(getCount()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasSum()) { hash = (37 * hash) + SUM_FIELD_NUMBER; hash = (53 * hash) + hashLong(getSum()); } if (hasCount()) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + hashLong(getCount()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.tajo.InternalTypes.AvgLongProto)) { return super.equals(obj); } org.apache.tajo.InternalTypes.AvgLongProto other = (org.apache.tajo.InternalTypes.AvgLongProto) obj; boolean result = true; result = result && (hasSum() == other.hasSum()); if (hasSum()) { result = result && (getSum() == other.getSum()); } result = result && (hasCount() == other.hasCount()); if (hasCount()) { result = result && (getCount() == other.getCount()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.tajo.InternalTypes.AvgLongProto)) { return super.equals(obj); } org.apache.tajo.InternalTypes.AvgLongProto other = (org.apache.tajo.InternalTypes.AvgLongProto) obj; boolean result = true; result = result && (hasSum() == other.hasSum()); if (hasSum()) { result = result && (getSum() == other.getSum()); } result = result && (hasCount() == other.hasCount()); if (hasCount()) { result = result && (getCount() == other.getCount()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasSum()) { memoizedIsInitialized = 0; return false; } if (!hasCount()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasSum()) { memoizedIsInitialized = 0; return false; } if (!hasCount()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.tajo.InternalTypes.AvgLongProto other) { if (other == org.apache.tajo.InternalTypes.AvgLongProto.getDefaultInstance()) return this; if (other.hasSum()) { setSum(other.getSum()); } if (other.hasCount()) { setCount(other.getCount()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.tajo.InternalTypes.AvgLongProto other) { if (other == org.apache.tajo.InternalTypes.AvgLongProto.getDefaultInstance()) return this; if (other.hasSum()) { setSum(other.getSum()); } if (other.hasCount()) { setCount(other.getCount()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }