@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.datastore.v1.MutationResult)) { return super.equals(obj); } com.google.datastore.v1.MutationResult other = (com.google.datastore.v1.MutationResult) obj; boolean result = true; result = result && (hasKey() == other.hasKey()); if (hasKey()) { result = result && getKey().equals(other.getKey()); } result = result && (getVersion() == other.getVersion()); result = result && (getConflictDetected() == other.getConflictDetected()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVersion()); hash = (37 * hash) + CONFLICT_DETECTED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getConflictDetected()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.datastore.v1.MutationResult other) { if (other == com.google.datastore.v1.MutationResult.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } if (other.getVersion() != 0L) { setVersion(other.getVersion()); } if (other.getConflictDetected() != false) { setConflictDetected(other.getConflictDetected()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.datastore.v1.MutationResult)) { return super.equals(obj); } com.google.datastore.v1.MutationResult other = (com.google.datastore.v1.MutationResult) obj; boolean result = true; result = result && (hasKey() == other.hasKey()); if (hasKey()) { result = result && getKey().equals(other.getKey()); } result = result && (getVersion() == other.getVersion()); result = result && (getConflictDetected() == other.getConflictDetected()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVersion()); hash = (37 * hash) + CONFLICT_DETECTED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getConflictDetected()); hash = (29 * hash) + unknownFields.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.google.datastore.v1.MutationResult)) { return super.equals(obj); } com.google.datastore.v1.MutationResult other = (com.google.datastore.v1.MutationResult) obj; boolean result = true; result = result && (hasKey() == other.hasKey()); if (hasKey()) { result = result && getKey() .equals(other.getKey()); } result = result && (getVersion() == other.getVersion()); result = result && (getConflictDetected() == other.getConflictDetected()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVersion()); hash = (37 * hash) + CONFLICT_DETECTED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getConflictDetected()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.datastore.v1.MutationResult other) { if (other == com.google.datastore.v1.MutationResult.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } if (other.getVersion() != 0L) { setVersion(other.getVersion()); } if (other.getConflictDetected() != false) { setConflictDetected(other.getConflictDetected()); } onChanged(); return this; }
public Builder mergeFrom(com.google.datastore.v1.MutationResult other) { if (other == com.google.datastore.v1.MutationResult.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } if (other.getVersion() != 0L) { setVersion(other.getVersion()); } if (other.getConflictDetected() != false) { setConflictDetected(other.getConflictDetected()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }