
com.nextbreakpoint.flinkclient.model.CheckpointAlignmentSummary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.nextbreakpoint.flinkclient.core Show documentation
Show all versions of com.nextbreakpoint.flinkclient.core Show documentation
Cope API for managing Apache Flink
The newest version!
/*
* This file is part of FlinkClient
* https://github.com/nextbreakpoint/flinkclient
*
* OpenAPI spec version: v1/1.20-SNAPSHOT
* Contact: [email protected]
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.nextbreakpoint.flinkclient.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.nextbreakpoint.flinkclient.model.StatsSummaryDto;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
/**
* CheckpointAlignmentSummary
*/
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2024-11-23T19:15:53.419913Z[Europe/London]")
public class CheckpointAlignmentSummary {
@SerializedName("buffered")
private StatsSummaryDto buffered = null;
@SerializedName("duration")
private StatsSummaryDto duration = null;
@SerializedName("persisted")
private StatsSummaryDto persisted = null;
@SerializedName("processed")
private StatsSummaryDto processed = null;
public CheckpointAlignmentSummary buffered(StatsSummaryDto buffered) {
this.buffered = buffered;
return this;
}
/**
* Get buffered
* @return buffered
**/
@Schema(description = "")
public StatsSummaryDto getBuffered() {
return buffered;
}
public void setBuffered(StatsSummaryDto buffered) {
this.buffered = buffered;
}
public CheckpointAlignmentSummary duration(StatsSummaryDto duration) {
this.duration = duration;
return this;
}
/**
* Get duration
* @return duration
**/
@Schema(description = "")
public StatsSummaryDto getDuration() {
return duration;
}
public void setDuration(StatsSummaryDto duration) {
this.duration = duration;
}
public CheckpointAlignmentSummary persisted(StatsSummaryDto persisted) {
this.persisted = persisted;
return this;
}
/**
* Get persisted
* @return persisted
**/
@Schema(description = "")
public StatsSummaryDto getPersisted() {
return persisted;
}
public void setPersisted(StatsSummaryDto persisted) {
this.persisted = persisted;
}
public CheckpointAlignmentSummary processed(StatsSummaryDto processed) {
this.processed = processed;
return this;
}
/**
* Get processed
* @return processed
**/
@Schema(description = "")
public StatsSummaryDto getProcessed() {
return processed;
}
public void setProcessed(StatsSummaryDto processed) {
this.processed = processed;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CheckpointAlignmentSummary checkpointAlignmentSummary = (CheckpointAlignmentSummary) o;
return Objects.equals(this.buffered, checkpointAlignmentSummary.buffered) &&
Objects.equals(this.duration, checkpointAlignmentSummary.duration) &&
Objects.equals(this.persisted, checkpointAlignmentSummary.persisted) &&
Objects.equals(this.processed, checkpointAlignmentSummary.processed);
}
@Override
public int hashCode() {
return Objects.hash(buffered, duration, persisted, processed);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CheckpointAlignmentSummary {\n");
sb.append(" buffered: ").append(toIndentedString(buffered)).append("\n");
sb.append(" duration: ").append(toIndentedString(duration)).append("\n");
sb.append(" persisted: ").append(toIndentedString(persisted)).append("\n");
sb.append(" processed: ").append(toIndentedString(processed)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy