hash = (53 * hash) + hashEnum(getVisibility()); if (hasPattern()) { hash = (37 * hash) + PATTERN_FIELD_NUMBER; hash = (53 * hash) + getPattern().hashCode();
(getVisibility() == other.getVisibility()); result = result && (hasPattern() == other.hasPattern()); if (hasPattern()) { result = result && getPattern() .equals(other.getPattern());
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceProto other) { if (other == org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceProto.getDefaultInstance()) return this; if (other.hasResource()) { mergeResource(other.getResource()); } if (other.hasSize()) { setSize(other.getSize()); } if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } if (other.hasType()) { setType(other.getType()); } if (other.hasVisibility()) { setVisibility(other.getVisibility()); } if (other.hasPattern()) { bitField0_ |= 0x00000020; pattern_ = other.pattern_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }