@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.datastore.v1.GqlQuery)) { return super.equals(obj); } com.google.datastore.v1.GqlQuery other = (com.google.datastore.v1.GqlQuery) obj; boolean result = true; result = result && getQueryString().equals(other.getQueryString()); result = result && (getAllowLiterals() == other.getAllowLiterals()); result = result && internalGetNamedBindings().equals(other.internalGetNamedBindings()); result = result && getPositionalBindingsList().equals(other.getPositionalBindingsList()); 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(); hash = (37 * hash) + QUERY_STRING_FIELD_NUMBER; hash = (53 * hash) + getQueryString().hashCode(); hash = (37 * hash) + ALLOW_LITERALS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowLiterals()); if (!internalGetNamedBindings().getMap().isEmpty()) { hash = (37 * hash) + NAMED_BINDINGS_FIELD_NUMBER; hash = (53 * hash) + internalGetNamedBindings().hashCode(); } if (getPositionalBindingsCount() > 0) { hash = (37 * hash) + POSITIONAL_BINDINGS_FIELD_NUMBER; hash = (53 * hash) + getPositionalBindingsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
onChanged(); if (other.getAllowLiterals() != false) { setAllowLiterals(other.getAllowLiterals());
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.datastore.v1.GqlQuery)) { return super.equals(obj); } com.google.datastore.v1.GqlQuery other = (com.google.datastore.v1.GqlQuery) obj; boolean result = true; result = result && getQueryString().equals(other.getQueryString()); result = result && (getAllowLiterals() == other.getAllowLiterals()); result = result && internalGetNamedBindings().equals(other.internalGetNamedBindings()); result = result && getPositionalBindingsList().equals(other.getPositionalBindingsList()); 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.GqlQuery)) { return super.equals(obj); } com.google.datastore.v1.GqlQuery other = (com.google.datastore.v1.GqlQuery) obj; boolean result = true; result = result && getQueryString() .equals(other.getQueryString()); result = result && (getAllowLiterals() == other.getAllowLiterals()); result = result && internalGetNamedBindings().equals( other.internalGetNamedBindings()); result = result && getPositionalBindingsList() .equals(other.getPositionalBindingsList()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + QUERY_STRING_FIELD_NUMBER; hash = (53 * hash) + getQueryString().hashCode(); hash = (37 * hash) + ALLOW_LITERALS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowLiterals()); if (!internalGetNamedBindings().getMap().isEmpty()) { hash = (37 * hash) + NAMED_BINDINGS_FIELD_NUMBER; hash = (53 * hash) + internalGetNamedBindings().hashCode(); } if (getPositionalBindingsCount() > 0) { hash = (37 * hash) + POSITIONAL_BINDINGS_FIELD_NUMBER; hash = (53 * hash) + getPositionalBindingsList().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(); hash = (37 * hash) + QUERY_STRING_FIELD_NUMBER; hash = (53 * hash) + getQueryString().hashCode(); hash = (37 * hash) + ALLOW_LITERALS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAllowLiterals()); if (!internalGetNamedBindings().getMap().isEmpty()) { hash = (37 * hash) + NAMED_BINDINGS_FIELD_NUMBER; hash = (53 * hash) + internalGetNamedBindings().hashCode(); } if (getPositionalBindingsCount() > 0) { hash = (37 * hash) + POSITIONAL_BINDINGS_FIELD_NUMBER; hash = (53 * hash) + getPositionalBindingsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
onChanged(); if (other.getAllowLiterals() != false) { setAllowLiterals(other.getAllowLiterals());
onChanged(); if (other.getAllowLiterals() != false) { setAllowLiterals(other.getAllowLiterals());