
com.google.api.services.dataproc.model.SummarizeSparkApplicationExecutorsResponse 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 of executors for a Spark 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 SummarizeSparkApplicationExecutorsResponse extends com.google.api.client.json.GenericJson {
/**
* Consolidated summary for active executors.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ConsolidatedExecutorSummary activeExecutorSummary;
/**
* Spark Application Id
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String applicationId;
/**
* Consolidated summary for dead executors.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ConsolidatedExecutorSummary deadExecutorSummary;
/**
* Overall consolidated summary for all executors.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ConsolidatedExecutorSummary totalExecutorSummary;
/**
* Consolidated summary for active executors.
* @return value or {@code null} for none
*/
public ConsolidatedExecutorSummary getActiveExecutorSummary() {
return activeExecutorSummary;
}
/**
* Consolidated summary for active executors.
* @param activeExecutorSummary activeExecutorSummary or {@code null} for none
*/
public SummarizeSparkApplicationExecutorsResponse setActiveExecutorSummary(ConsolidatedExecutorSummary activeExecutorSummary) {
this.activeExecutorSummary = activeExecutorSummary;
return this;
}
/**
* Spark Application Id
* @return value or {@code null} for none
*/
public java.lang.String getApplicationId() {
return applicationId;
}
/**
* Spark Application Id
* @param applicationId applicationId or {@code null} for none
*/
public SummarizeSparkApplicationExecutorsResponse setApplicationId(java.lang.String applicationId) {
this.applicationId = applicationId;
return this;
}
/**
* Consolidated summary for dead executors.
* @return value or {@code null} for none
*/
public ConsolidatedExecutorSummary getDeadExecutorSummary() {
return deadExecutorSummary;
}
/**
* Consolidated summary for dead executors.
* @param deadExecutorSummary deadExecutorSummary or {@code null} for none
*/
public SummarizeSparkApplicationExecutorsResponse setDeadExecutorSummary(ConsolidatedExecutorSummary deadExecutorSummary) {
this.deadExecutorSummary = deadExecutorSummary;
return this;
}
/**
* Overall consolidated summary for all executors.
* @return value or {@code null} for none
*/
public ConsolidatedExecutorSummary getTotalExecutorSummary() {
return totalExecutorSummary;
}
/**
* Overall consolidated summary for all executors.
* @param totalExecutorSummary totalExecutorSummary or {@code null} for none
*/
public SummarizeSparkApplicationExecutorsResponse setTotalExecutorSummary(ConsolidatedExecutorSummary totalExecutorSummary) {
this.totalExecutorSummary = totalExecutorSummary;
return this;
}
@Override
public SummarizeSparkApplicationExecutorsResponse set(String fieldName, Object value) {
return (SummarizeSparkApplicationExecutorsResponse) super.set(fieldName, value);
}
@Override
public SummarizeSparkApplicationExecutorsResponse clone() {
return (SummarizeSparkApplicationExecutorsResponse) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy