@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.datastore.v1.EntityResult)) { return super.equals(obj); } com.google.datastore.v1.EntityResult other = (com.google.datastore.v1.EntityResult) obj; boolean result = true; result = result && (hasEntity() == other.hasEntity()); if (hasEntity()) { result = result && getEntity().equals(other.getEntity()); } result = result && (getVersion() == other.getVersion()); result = result && getCursor().equals(other.getCursor()); 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 (hasEntity()) { hash = (37 * hash) + ENTITY_FIELD_NUMBER; hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVersion()); hash = (37 * hash) + CURSOR_FIELD_NUMBER; hash = (53 * hash) + getCursor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.datastore.v1.EntityResult other) { if (other == com.google.datastore.v1.EntityResult.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } if (other.getVersion() != 0L) { setVersion(other.getVersion()); } if (other.getCursor() != com.google.protobuf.ByteString.EMPTY) { setCursor(other.getCursor()); } 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.EntityResult)) { return super.equals(obj); } com.google.datastore.v1.EntityResult other = (com.google.datastore.v1.EntityResult) obj; boolean result = true; result = result && (hasEntity() == other.hasEntity()); if (hasEntity()) { result = result && getEntity().equals(other.getEntity()); } result = result && (getVersion() == other.getVersion()); result = result && getCursor().equals(other.getCursor()); 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.datastore.v1.EntityResult)) { return super.equals(obj); } com.google.datastore.v1.EntityResult other = (com.google.datastore.v1.EntityResult) obj; boolean result = true; result = result && (hasEntity() == other.hasEntity()); if (hasEntity()) { result = result && getEntity() .equals(other.getEntity()); } result = result && (getVersion() == other.getVersion()); result = result && getCursor() .equals(other.getCursor()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasEntity()) { hash = (37 * hash) + ENTITY_FIELD_NUMBER; hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVersion()); hash = (37 * hash) + CURSOR_FIELD_NUMBER; hash = (53 * hash) + getCursor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasEntity()) { hash = (37 * hash) + ENTITY_FIELD_NUMBER; hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVersion()); hash = (37 * hash) + CURSOR_FIELD_NUMBER; hash = (53 * hash) + getCursor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.datastore.v1.EntityResult other) { if (other == com.google.datastore.v1.EntityResult.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } if (other.getVersion() != 0L) { setVersion(other.getVersion()); } if (other.getCursor() != com.google.protobuf.ByteString.EMPTY) { setCursor(other.getCursor()); } onChanged(); return this; }
public Builder mergeFrom(com.google.datastore.v1.EntityResult other) { if (other == com.google.datastore.v1.EntityResult.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } if (other.getVersion() != 0L) { setVersion(other.getVersion()); } if (other.getCursor() != com.google.protobuf.ByteString.EMPTY) { setCursor(other.getCursor()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }