in sdks/java/testing/nexmark/src/main/java/org/apache/beam/sdk/nexmark/NexmarkConfiguration.java [593:726]
public boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
NexmarkConfiguration other = (NexmarkConfiguration) obj;
if (debug != other.debug) {
return false;
}
if (auctionSkip != other.auctionSkip) {
return false;
}
if (avgAuctionByteSize != other.avgAuctionByteSize) {
return false;
}
if (avgBidByteSize != other.avgBidByteSize) {
return false;
}
if (avgPersonByteSize != other.avgPersonByteSize) {
return false;
}
if (coderStrategy != other.coderStrategy) {
return false;
}
if (cpuDelayMs != other.cpuDelayMs) {
return false;
}
if (diskBusyBytes != other.diskBusyBytes) {
return false;
}
if (fanout != other.fanout) {
return false;
}
if (maxAuctionsWaitingTime != other.maxAuctionsWaitingTime) {
return false;
}
if (firstEventRate != other.firstEventRate) {
return false;
}
if (hotAuctionRatio != other.hotAuctionRatio) {
return false;
}
if (hotBiddersRatio != other.hotBiddersRatio) {
return false;
}
if (hotSellersRatio != other.hotSellersRatio) {
return false;
}
if (isRateLimited != other.isRateLimited) {
return false;
}
if (maxLogEvents != other.maxLogEvents) {
return false;
}
if (nextEventRate != other.nextEventRate) {
return false;
}
if (rateUnit != other.rateUnit) {
return false;
}
if (numEventGenerators != other.numEventGenerators) {
return false;
}
if (numEvents != other.numEvents) {
return false;
}
if (numInFlightAuctions != other.numInFlightAuctions) {
return false;
}
if (numActivePeople != other.numActivePeople) {
return false;
}
if (occasionalDelaySec != other.occasionalDelaySec) {
return false;
}
if (preloadSeconds != other.preloadSeconds) {
return false;
}
if (streamTimeout != other.streamTimeout) {
return false;
}
if (Double.doubleToLongBits(probDelayedEvent)
!= Double.doubleToLongBits(other.probDelayedEvent)) {
return false;
}
if (pubSubMode != other.pubSubMode) {
return false;
}
if (pubsubMessageSerializationMethod != other.pubsubMessageSerializationMethod) {
return false;
}
if (ratePeriodSec != other.ratePeriodSec) {
return false;
}
if (rateShape != other.rateShape) {
return false;
}
if (query != other.query) {
return false;
}
if (sinkType != other.sinkType) {
return false;
}
if (exportSummaryToBigQuery != other.exportSummaryToBigQuery) {
return false;
}
if (sourceType != other.sourceType) {
return false;
}
if (useWallclockEventTime != other.useWallclockEventTime) {
return false;
}
if (watermarkHoldbackSec != other.watermarkHoldbackSec) {
return false;
}
if (windowPeriodSec != other.windowPeriodSec) {
return false;
}
if (windowSizeSec != other.windowSizeSec) {
return false;
}
if (usePubsubPublishTime != other.usePubsubPublishTime) {
return false;
}
if (outOfOrderGroupSize != other.outOfOrderGroupSize) {
return false;
}
return true;
}