
com.google.api.services.dataproc.model.RddDataDistribution 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;
/**
* Details about RDD usage.
*
* 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 RddDataDistribution extends com.google.api.client.json.GenericJson {
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String address;
/**
* 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 @com.google.api.client.json.JsonString
private java.lang.Long memoryRemaining;
/**
* 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 @com.google.api.client.json.JsonString
private java.lang.Long offHeapMemoryRemaining;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long offHeapMemoryUsed;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long onHeapMemoryRemaining;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long onHeapMemoryUsed;
/**
* @return value or {@code null} for none
*/
public java.lang.String getAddress() {
return address;
}
/**
* @param address address or {@code null} for none
*/
public RddDataDistribution setAddress(java.lang.String address) {
this.address = address;
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 RddDataDistribution setDiskUsed(java.lang.Long diskUsed) {
this.diskUsed = diskUsed;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getMemoryRemaining() {
return memoryRemaining;
}
/**
* @param memoryRemaining memoryRemaining or {@code null} for none
*/
public RddDataDistribution setMemoryRemaining(java.lang.Long memoryRemaining) {
this.memoryRemaining = memoryRemaining;
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 RddDataDistribution setMemoryUsed(java.lang.Long memoryUsed) {
this.memoryUsed = memoryUsed;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getOffHeapMemoryRemaining() {
return offHeapMemoryRemaining;
}
/**
* @param offHeapMemoryRemaining offHeapMemoryRemaining or {@code null} for none
*/
public RddDataDistribution setOffHeapMemoryRemaining(java.lang.Long offHeapMemoryRemaining) {
this.offHeapMemoryRemaining = offHeapMemoryRemaining;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getOffHeapMemoryUsed() {
return offHeapMemoryUsed;
}
/**
* @param offHeapMemoryUsed offHeapMemoryUsed or {@code null} for none
*/
public RddDataDistribution setOffHeapMemoryUsed(java.lang.Long offHeapMemoryUsed) {
this.offHeapMemoryUsed = offHeapMemoryUsed;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getOnHeapMemoryRemaining() {
return onHeapMemoryRemaining;
}
/**
* @param onHeapMemoryRemaining onHeapMemoryRemaining or {@code null} for none
*/
public RddDataDistribution setOnHeapMemoryRemaining(java.lang.Long onHeapMemoryRemaining) {
this.onHeapMemoryRemaining = onHeapMemoryRemaining;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getOnHeapMemoryUsed() {
return onHeapMemoryUsed;
}
/**
* @param onHeapMemoryUsed onHeapMemoryUsed or {@code null} for none
*/
public RddDataDistribution setOnHeapMemoryUsed(java.lang.Long onHeapMemoryUsed) {
this.onHeapMemoryUsed = onHeapMemoryUsed;
return this;
}
@Override
public RddDataDistribution set(String fieldName, Object value) {
return (RddDataDistribution) super.set(fieldName, value);
}
@Override
public RddDataDistribution clone() {
return (RddDataDistribution) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy