@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasProfile()) { hash = (37 * hash) + PROFILE_FIELD_NUMBER; hash = (53 * hash) + getProfile().hashCode(); } if (hasHandle()) { hash = (37 * hash) + HANDLE_FIELD_NUMBER; hash = (53 * hash) + getHandle().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 com.dremio.exec.proto.CoordExecRPC.FragmentStatus)) { return super.equals(obj); } com.dremio.exec.proto.CoordExecRPC.FragmentStatus other = (com.dremio.exec.proto.CoordExecRPC.FragmentStatus) obj; boolean result = true; result = result && (hasProfile() == other.hasProfile()); if (hasProfile()) { result = result && getProfile() .equals(other.getProfile()); } result = result && (hasHandle() == other.hasHandle()); if (hasHandle()) { result = result && getHandle() .equals(other.getHandle()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public Builder mergeFrom(com.dremio.exec.proto.CoordExecRPC.FragmentStatus other) { if (other == com.dremio.exec.proto.CoordExecRPC.FragmentStatus.getDefaultInstance()) return this; if (other.hasProfile()) { mergeProfile(other.getProfile()); } if (other.hasHandle()) { mergeHandle(other.getHandle()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(io.protostuff.Output output, com.dremio.exec.proto.CoordExecRPC.FragmentStatus message) throws java.io.IOException { if(message.hasProfile()) output.writeObject(1, message.getProfile(), com.dremio.exec.proto.SchemaUserBitShared.MinorFragmentProfile.WRITE, false); if(message.hasHandle()) output.writeObject(2, message.getHandle(), com.dremio.exec.proto.SchemaExecProtos.FragmentHandle.WRITE, false); } public boolean isInitialized(com.dremio.exec.proto.CoordExecRPC.FragmentStatus message)