com.google.cloud.storage.contrib.nio.AutoValue_OptionMaxChannelReopens Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-cloud-nio Show documentation
Show all versions of google-cloud-nio Show documentation
FileSystemProvider for Java NIO to access Google Cloud Storage transparently.
package com.google.cloud.storage.contrib.nio;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_OptionMaxChannelReopens extends OptionMaxChannelReopens {
private final int maxChannelReopens;
AutoValue_OptionMaxChannelReopens(
int maxChannelReopens) {
this.maxChannelReopens = maxChannelReopens;
}
@Override
int maxChannelReopens() {
return maxChannelReopens;
}
@Override
public String toString() {
return "OptionMaxChannelReopens{"
+ "maxChannelReopens=" + maxChannelReopens
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof OptionMaxChannelReopens) {
OptionMaxChannelReopens that = (OptionMaxChannelReopens) o;
return this.maxChannelReopens == that.maxChannelReopens();
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= maxChannelReopens;
return h$;
}
}