@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasAge()) { hash = (37 * hash) + AGE_FIELD_NUMBER; hash = (53 * hash) + getAge(); } if (hasAddr()) { hash = (37 * hash) + ADDR_FIELD_NUMBER; hash = (53 * hash) + getAddr().hashCode(); } 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasAge()) { hash = (37 * hash) + AGE_FIELD_NUMBER; hash = (53 * hash) + getAge(); } if (hasAddr()) { hash = (37 * hash) + ADDR_FIELD_NUMBER; hash = (53 * hash) + getAddr().hashCode(); } 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.util.TestProtos.TestMessageProto)) { return super.equals(obj); } org.apache.tajo.util.TestProtos.TestMessageProto other = (org.apache.tajo.util.TestProtos.TestMessageProto) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasAge() == other.hasAge()); if (hasAge()) { result = result && (getAge() == other.getAge()); } result = result && (hasAddr() == other.hasAddr()); if (hasAddr()) { result = result && getAddr() .equals(other.getAddr()); } 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.util.TestProtos.TestMessageProto)) { return super.equals(obj); } org.apache.tajo.util.TestProtos.TestMessageProto other = (org.apache.tajo.util.TestProtos.TestMessageProto) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasAge() == other.hasAge()); if (hasAge()) { result = result && (getAge() == other.getAge()); } result = result && (hasAddr() == other.hasAddr()); if (hasAddr()) { result = result && getAddr() .equals(other.getAddr()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
/** * <code>required string addr = 3;</code> */ public Builder clearAddr() { bitField0_ = (bitField0_ & ~0x00000004); addr_ = getDefaultInstance().getAddr(); onChanged(); return this; } /**
/** * <code>required string addr = 3;</code> */ public Builder clearAddr() { bitField0_ = (bitField0_ & ~0x00000004); addr_ = getDefaultInstance().getAddr(); onChanged(); return this; } /**