@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.monitoring.v3.Point)) { return super.equals(obj); } com.google.monitoring.v3.Point other = (com.google.monitoring.v3.Point) obj; boolean result = true; result = result && (hasInterval() == other.hasInterval()); if (hasInterval()) { result = result && getInterval().equals(other.getInterval()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue().equals(other.getValue()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.monitoring.v3.Point)) { return super.equals(obj); } com.google.monitoring.v3.Point other = (com.google.monitoring.v3.Point) obj; boolean result = true; result = result && (hasInterval() == other.hasInterval()); if (hasInterval()) { result = result && getInterval() .equals(other.getInterval()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue() .equals(other.getValue()); } return result; }