public Builder mergeFrom(com.google.protobuf.Timestamp other) { if (other == com.google.protobuf.Timestamp.getDefaultInstance()) return this; if (other.getSeconds() != 0L) { setSeconds(other.getSeconds()); } if (other.getNanos() != 0) { setNanos(other.getNanos()); } onChanged(); return this; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.Timestamp)) { return super.equals(obj); } com.google.protobuf.Timestamp other = (com.google.protobuf.Timestamp) obj; boolean result = true; result = result && (getSeconds() == other.getSeconds()); result = result && (getNanos() == other.getNanos()); return result; }