com.google.apphosting.base.AutoValue_AppVersionKey Maven / Gradle / Ivy
package com.google.apphosting.base;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_AppVersionKey extends AppVersionKey {
private final String appId;
private final String versionId;
AutoValue_AppVersionKey(
String appId,
String versionId) {
if (appId == null) {
throw new NullPointerException("Null appId");
}
this.appId = appId;
if (versionId == null) {
throw new NullPointerException("Null versionId");
}
this.versionId = versionId;
}
@Override
public String getAppId() {
return appId;
}
@Override
public String getVersionId() {
return versionId;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof AppVersionKey) {
AppVersionKey that = (AppVersionKey) o;
return this.appId.equals(that.getAppId())
&& this.versionId.equals(that.getVersionId());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= appId.hashCode();
h$ *= 1000003;
h$ ^= versionId.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy