
com.google.api.services.dataproc.model.ConsolidatedExecutorSummary Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.dataproc.model;
/**
* Consolidated summary about executors used by the application.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Dataproc API. For a detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ConsolidatedExecutorSummary extends com.google.api.client.json.GenericJson {
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer activeTasks;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer completedTasks;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer count;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long diskUsed;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer failedTasks;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer isExcluded;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long maxMemory;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private MemoryMetrics memoryMetrics;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long memoryUsed;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer rddBlocks;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer totalCores;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long totalDurationMillis;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long totalGcTimeMillis;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long totalInputBytes;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long totalShuffleRead;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long totalShuffleWrite;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer totalTasks;
/**
* @return value or {@code null} for none
*/
public java.lang.Integer getActiveTasks() {
return activeTasks;
}
/**
* @param activeTasks activeTasks or {@code null} for none
*/
public ConsolidatedExecutorSummary setActiveTasks(java.lang.Integer activeTasks) {
this.activeTasks = activeTasks;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Integer getCompletedTasks() {
return completedTasks;
}
/**
* @param completedTasks completedTasks or {@code null} for none
*/
public ConsolidatedExecutorSummary setCompletedTasks(java.lang.Integer completedTasks) {
this.completedTasks = completedTasks;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Integer getCount() {
return count;
}
/**
* @param count count or {@code null} for none
*/
public ConsolidatedExecutorSummary setCount(java.lang.Integer count) {
this.count = count;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getDiskUsed() {
return diskUsed;
}
/**
* @param diskUsed diskUsed or {@code null} for none
*/
public ConsolidatedExecutorSummary setDiskUsed(java.lang.Long diskUsed) {
this.diskUsed = diskUsed;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Integer getFailedTasks() {
return failedTasks;
}
/**
* @param failedTasks failedTasks or {@code null} for none
*/
public ConsolidatedExecutorSummary setFailedTasks(java.lang.Integer failedTasks) {
this.failedTasks = failedTasks;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Integer getIsExcluded() {
return isExcluded;
}
/**
* @param isExcluded isExcluded or {@code null} for none
*/
public ConsolidatedExecutorSummary setIsExcluded(java.lang.Integer isExcluded) {
this.isExcluded = isExcluded;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getMaxMemory() {
return maxMemory;
}
/**
* @param maxMemory maxMemory or {@code null} for none
*/
public ConsolidatedExecutorSummary setMaxMemory(java.lang.Long maxMemory) {
this.maxMemory = maxMemory;
return this;
}
/**
* @return value or {@code null} for none
*/
public MemoryMetrics getMemoryMetrics() {
return memoryMetrics;
}
/**
* @param memoryMetrics memoryMetrics or {@code null} for none
*/
public ConsolidatedExecutorSummary setMemoryMetrics(MemoryMetrics memoryMetrics) {
this.memoryMetrics = memoryMetrics;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getMemoryUsed() {
return memoryUsed;
}
/**
* @param memoryUsed memoryUsed or {@code null} for none
*/
public ConsolidatedExecutorSummary setMemoryUsed(java.lang.Long memoryUsed) {
this.memoryUsed = memoryUsed;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Integer getRddBlocks() {
return rddBlocks;
}
/**
* @param rddBlocks rddBlocks or {@code null} for none
*/
public ConsolidatedExecutorSummary setRddBlocks(java.lang.Integer rddBlocks) {
this.rddBlocks = rddBlocks;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Integer getTotalCores() {
return totalCores;
}
/**
* @param totalCores totalCores or {@code null} for none
*/
public ConsolidatedExecutorSummary setTotalCores(java.lang.Integer totalCores) {
this.totalCores = totalCores;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getTotalDurationMillis() {
return totalDurationMillis;
}
/**
* @param totalDurationMillis totalDurationMillis or {@code null} for none
*/
public ConsolidatedExecutorSummary setTotalDurationMillis(java.lang.Long totalDurationMillis) {
this.totalDurationMillis = totalDurationMillis;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getTotalGcTimeMillis() {
return totalGcTimeMillis;
}
/**
* @param totalGcTimeMillis totalGcTimeMillis or {@code null} for none
*/
public ConsolidatedExecutorSummary setTotalGcTimeMillis(java.lang.Long totalGcTimeMillis) {
this.totalGcTimeMillis = totalGcTimeMillis;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getTotalInputBytes() {
return totalInputBytes;
}
/**
* @param totalInputBytes totalInputBytes or {@code null} for none
*/
public ConsolidatedExecutorSummary setTotalInputBytes(java.lang.Long totalInputBytes) {
this.totalInputBytes = totalInputBytes;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getTotalShuffleRead() {
return totalShuffleRead;
}
/**
* @param totalShuffleRead totalShuffleRead or {@code null} for none
*/
public ConsolidatedExecutorSummary setTotalShuffleRead(java.lang.Long totalShuffleRead) {
this.totalShuffleRead = totalShuffleRead;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getTotalShuffleWrite() {
return totalShuffleWrite;
}
/**
* @param totalShuffleWrite totalShuffleWrite or {@code null} for none
*/
public ConsolidatedExecutorSummary setTotalShuffleWrite(java.lang.Long totalShuffleWrite) {
this.totalShuffleWrite = totalShuffleWrite;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Integer getTotalTasks() {
return totalTasks;
}
/**
* @param totalTasks totalTasks or {@code null} for none
*/
public ConsolidatedExecutorSummary setTotalTasks(java.lang.Integer totalTasks) {
this.totalTasks = totalTasks;
return this;
}
@Override
public ConsolidatedExecutorSummary set(String fieldName, Object value) {
return (ConsolidatedExecutorSummary) super.set(fieldName, value);
}
@Override
public ConsolidatedExecutorSummary clone() {
return (ConsolidatedExecutorSummary) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy