org.graylog2.indexer.cluster.health.AutoValue_ClusterAllocationDiskSettings Maven / Gradle / Ivy
package org.graylog2.indexer.cluster.health;
import javax.annotation.Nullable;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ClusterAllocationDiskSettings extends ClusterAllocationDiskSettings {
private final boolean ThresholdEnabled;
@Nullable
private final WatermarkSettings> watermarkSettings;
AutoValue_ClusterAllocationDiskSettings(
boolean ThresholdEnabled,
@Nullable WatermarkSettings> watermarkSettings) {
this.ThresholdEnabled = ThresholdEnabled;
this.watermarkSettings = watermarkSettings;
}
@Override
public boolean ThresholdEnabled() {
return ThresholdEnabled;
}
@Nullable
@Override
public WatermarkSettings> watermarkSettings() {
return watermarkSettings;
}
@Override
public String toString() {
return "ClusterAllocationDiskSettings{"
+ "ThresholdEnabled=" + ThresholdEnabled + ", "
+ "watermarkSettings=" + watermarkSettings
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ClusterAllocationDiskSettings) {
ClusterAllocationDiskSettings that = (ClusterAllocationDiskSettings) o;
return this.ThresholdEnabled == that.ThresholdEnabled()
&& (this.watermarkSettings == null ? that.watermarkSettings() == null : this.watermarkSettings.equals(that.watermarkSettings()));
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= ThresholdEnabled ? 1231 : 1237;
h$ *= 1000003;
h$ ^= (watermarkSettings == null) ? 0 : watermarkSettings.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy