com.google.cloud.hadoop.gcsio.AutoValue_ListFileOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gcsio Show documentation
Show all versions of gcsio Show documentation
An implementation of org.apache.hadoop.fs.FileSystem targeting Google Cloud Storage
package com.google.cloud.hadoop.gcsio;
import javax.annotation.Generated;
import javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ListFileOptions extends ListFileOptions {
@Nullable
private final String fields;
private AutoValue_ListFileOptions(
@Nullable String fields) {
this.fields = fields;
}
@Nullable
@Override
public String getFields() {
return fields;
}
@Override
public String toString() {
return "ListFileOptions{"
+ "fields=" + fields
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ListFileOptions) {
ListFileOptions that = (ListFileOptions) o;
return (this.fields == null ? that.getFields() == null : this.fields.equals(that.getFields()));
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= (fields == null) ? 0 : fields.hashCode();
return h$;
}
@Override
public ListFileOptions.Builder toBuilder() {
return new Builder(this);
}
static final class Builder extends ListFileOptions.Builder {
private String fields;
Builder() {
}
private Builder(ListFileOptions source) {
this.fields = source.getFields();
}
@Override
public ListFileOptions.Builder setFields(String fields) {
this.fields = fields;
return this;
}
@Override
public ListFileOptions build() {
return new AutoValue_ListFileOptions(
this.fields);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy