
org.jclouds.googlecomputeengine.domain.AutoValue_Instance_ServiceAccount 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.util.List;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Instance_ServiceAccount extends Instance.ServiceAccount {
private final String email;
private final List scopes;
AutoValue_Instance_ServiceAccount(
String email,
List scopes) {
if (email == null) {
throw new NullPointerException("Null email");
}
this.email = email;
if (scopes == null) {
throw new NullPointerException("Null scopes");
}
this.scopes = scopes;
}
@Override
public String email() {
return email;
}
@Override
public List scopes() {
return scopes;
}
@Override
public String toString() {
return "ServiceAccount{"
+ "email=" + email + ", "
+ "scopes=" + scopes
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Instance.ServiceAccount) {
Instance.ServiceAccount that = (Instance.ServiceAccount) o;
return (this.email.equals(that.email()))
&& (this.scopes.equals(that.scopes()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.email.hashCode();
h *= 1000003;
h ^= this.scopes.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy