com.google.apphosting.utils.config.AutoValue_AppEngineWebXml_ApiConfig Maven / Gradle / Ivy
package com.google.apphosting.utils.config;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_AppEngineWebXml_ApiConfig extends AppEngineWebXml.ApiConfig {
private final String servletClass;
private final String url;
AutoValue_AppEngineWebXml_ApiConfig(
String servletClass,
String url) {
if (servletClass == null) {
throw new NullPointerException("Null servletClass");
}
this.servletClass = servletClass;
if (url == null) {
throw new NullPointerException("Null url");
}
this.url = url;
}
@Override
public String getServletClass() {
return servletClass;
}
@Override
public String getUrl() {
return url;
}
@Override
public String toString() {
return "ApiConfig{"
+ "servletClass=" + servletClass + ", "
+ "url=" + url
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof AppEngineWebXml.ApiConfig) {
AppEngineWebXml.ApiConfig that = (AppEngineWebXml.ApiConfig) o;
return this.servletClass.equals(that.getServletClass())
&& this.url.equals(that.getUrl());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= servletClass.hashCode();
h$ *= 1000003;
h$ ^= url.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy