All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.dataproc.model.JobsSummary Maven / Gradle / Ivy

The newest version!
/*
 * 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;

/**
 * Data related to Jobs page summary
 *
 * 

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 JobsSummary extends com.google.api.client.json.GenericJson { /** * Number of active jobs * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer activeJobs; /** * Spark Application Id * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String applicationId; /** * Attempts info * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List attempts; static { // hack to force ProGuard to consider ApplicationAttemptInfo used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(ApplicationAttemptInfo.class); } /** * Number of completed jobs * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer completedJobs; /** * Number of failed jobs * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer failedJobs; /** * Spark Scheduling mode * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String schedulingMode; /** * Number of active jobs * @return value or {@code null} for none */ public java.lang.Integer getActiveJobs() { return activeJobs; } /** * Number of active jobs * @param activeJobs activeJobs or {@code null} for none */ public JobsSummary setActiveJobs(java.lang.Integer activeJobs) { this.activeJobs = activeJobs; 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 JobsSummary setApplicationId(java.lang.String applicationId) { this.applicationId = applicationId; return this; } /** * Attempts info * @return value or {@code null} for none */ public java.util.List getAttempts() { return attempts; } /** * Attempts info * @param attempts attempts or {@code null} for none */ public JobsSummary setAttempts(java.util.List attempts) { this.attempts = attempts; return this; } /** * Number of completed jobs * @return value or {@code null} for none */ public java.lang.Integer getCompletedJobs() { return completedJobs; } /** * Number of completed jobs * @param completedJobs completedJobs or {@code null} for none */ public JobsSummary setCompletedJobs(java.lang.Integer completedJobs) { this.completedJobs = completedJobs; return this; } /** * Number of failed jobs * @return value or {@code null} for none */ public java.lang.Integer getFailedJobs() { return failedJobs; } /** * Number of failed jobs * @param failedJobs failedJobs or {@code null} for none */ public JobsSummary setFailedJobs(java.lang.Integer failedJobs) { this.failedJobs = failedJobs; return this; } /** * Spark Scheduling mode * @return value or {@code null} for none */ public java.lang.String getSchedulingMode() { return schedulingMode; } /** * Spark Scheduling mode * @param schedulingMode schedulingMode or {@code null} for none */ public JobsSummary setSchedulingMode(java.lang.String schedulingMode) { this.schedulingMode = schedulingMode; return this; } @Override public JobsSummary set(String fieldName, Object value) { return (JobsSummary) super.set(fieldName, value); } @Override public JobsSummary clone() { return (JobsSummary) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy