com.google.appengine.api.datastore.AutoValue_CloudDatastoreV1ClientImpl_DatastoreInstanceKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appengine-api-1.0-sdk
Show all versions of appengine-api-1.0-sdk
API for Google App Engine standard environment with some of the dependencies shaded (repackaged)
package com.google.appengine.api.datastore;
import javax.annotation.Generated;
import javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_CloudDatastoreV1ClientImpl_DatastoreInstanceKey extends CloudDatastoreV1ClientImpl.DatastoreInstanceKey {
private final Double deadline;
AutoValue_CloudDatastoreV1ClientImpl_DatastoreInstanceKey(
@Nullable Double deadline) {
this.deadline = deadline;
}
@Nullable
@Override
Double deadline() {
return deadline;
}
@Override
public String toString() {
return "DatastoreInstanceKey{"
+ "deadline=" + deadline
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof CloudDatastoreV1ClientImpl.DatastoreInstanceKey) {
CloudDatastoreV1ClientImpl.DatastoreInstanceKey that = (CloudDatastoreV1ClientImpl.DatastoreInstanceKey) o;
return (this.deadline == null ? that.deadline() == null : this.deadline.equals(that.deadline()));
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= (deadline == null) ? 0 : deadline.hashCode();
return h$;
}
}