
org.jclouds.googlecomputeengine.domain.AutoValue_UrlMap_UrlMapTest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jclouds-shaded Show documentation
Show all versions of jclouds-shaded Show documentation
Provides a shaded jclouds with relocated guava and guice
The newest version!
package org.jclouds.googlecomputeengine.domain;
import java.net.URI;
import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_UrlMap_UrlMapTest extends UrlMap.UrlMapTest {
private final String description;
private final String host;
private final String path;
private final URI service;
AutoValue_UrlMap_UrlMapTest(
@Nullable String description,
String host,
String path,
URI service) {
this.description = description;
if (host == null) {
throw new NullPointerException("Null host");
}
this.host = host;
if (path == null) {
throw new NullPointerException("Null path");
}
this.path = path;
if (service == null) {
throw new NullPointerException("Null service");
}
this.service = service;
}
@Nullable
@Override
public String description() {
return description;
}
@Override
public String host() {
return host;
}
@Override
public String path() {
return path;
}
@Override
public URI service() {
return service;
}
@Override
public String toString() {
return "UrlMapTest{"
+ "description=" + description + ", "
+ "host=" + host + ", "
+ "path=" + path + ", "
+ "service=" + service
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof UrlMap.UrlMapTest) {
UrlMap.UrlMapTest that = (UrlMap.UrlMapTest) o;
return ((this.description == null) ? (that.description() == null) : this.description.equals(that.description()))
&& (this.host.equals(that.host()))
&& (this.path.equals(that.path()))
&& (this.service.equals(that.service()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= (description == null) ? 0 : this.description.hashCode();
h *= 1000003;
h ^= this.host.hashCode();
h *= 1000003;
h ^= this.path.hashCode();
h *= 1000003;
h ^= this.service.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy