com.google.cloud.firestore.AutoValue_FieldPath Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-cloud-firestore Show documentation
Show all versions of google-cloud-firestore Show documentation
Java idiomatic client for Google Cloud Firestore.
package com.google.cloud.firestore;
import com.google.common.collect.ImmutableList;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_FieldPath extends FieldPath {
private final ImmutableList segments;
AutoValue_FieldPath(
ImmutableList segments) {
if (segments == null) {
throw new NullPointerException("Null segments");
}
this.segments = segments;
}
@Override
ImmutableList getSegments() {
return segments;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof FieldPath) {
FieldPath that = (FieldPath) o;
return this.segments.equals(that.getSegments());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= segments.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy