
com.google.api.services.dataproc.model.ShuffleReadMetrics 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;
/**
* Shuffle data read by the task.
*
* 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 ShuffleReadMetrics extends com.google.api.client.json.GenericJson {
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long fetchWaitTimeMillis;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long localBlocksFetched;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long localBytesRead;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long recordsRead;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long remoteBlocksFetched;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long remoteBytesRead;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long remoteBytesReadToDisk;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long remoteReqsDuration;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ShufflePushReadMetrics shufflePushReadMetrics;
/**
* @return value or {@code null} for none
*/
public java.lang.Long getFetchWaitTimeMillis() {
return fetchWaitTimeMillis;
}
/**
* @param fetchWaitTimeMillis fetchWaitTimeMillis or {@code null} for none
*/
public ShuffleReadMetrics setFetchWaitTimeMillis(java.lang.Long fetchWaitTimeMillis) {
this.fetchWaitTimeMillis = fetchWaitTimeMillis;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getLocalBlocksFetched() {
return localBlocksFetched;
}
/**
* @param localBlocksFetched localBlocksFetched or {@code null} for none
*/
public ShuffleReadMetrics setLocalBlocksFetched(java.lang.Long localBlocksFetched) {
this.localBlocksFetched = localBlocksFetched;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getLocalBytesRead() {
return localBytesRead;
}
/**
* @param localBytesRead localBytesRead or {@code null} for none
*/
public ShuffleReadMetrics setLocalBytesRead(java.lang.Long localBytesRead) {
this.localBytesRead = localBytesRead;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getRecordsRead() {
return recordsRead;
}
/**
* @param recordsRead recordsRead or {@code null} for none
*/
public ShuffleReadMetrics setRecordsRead(java.lang.Long recordsRead) {
this.recordsRead = recordsRead;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getRemoteBlocksFetched() {
return remoteBlocksFetched;
}
/**
* @param remoteBlocksFetched remoteBlocksFetched or {@code null} for none
*/
public ShuffleReadMetrics setRemoteBlocksFetched(java.lang.Long remoteBlocksFetched) {
this.remoteBlocksFetched = remoteBlocksFetched;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getRemoteBytesRead() {
return remoteBytesRead;
}
/**
* @param remoteBytesRead remoteBytesRead or {@code null} for none
*/
public ShuffleReadMetrics setRemoteBytesRead(java.lang.Long remoteBytesRead) {
this.remoteBytesRead = remoteBytesRead;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getRemoteBytesReadToDisk() {
return remoteBytesReadToDisk;
}
/**
* @param remoteBytesReadToDisk remoteBytesReadToDisk or {@code null} for none
*/
public ShuffleReadMetrics setRemoteBytesReadToDisk(java.lang.Long remoteBytesReadToDisk) {
this.remoteBytesReadToDisk = remoteBytesReadToDisk;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Long getRemoteReqsDuration() {
return remoteReqsDuration;
}
/**
* @param remoteReqsDuration remoteReqsDuration or {@code null} for none
*/
public ShuffleReadMetrics setRemoteReqsDuration(java.lang.Long remoteReqsDuration) {
this.remoteReqsDuration = remoteReqsDuration;
return this;
}
/**
* @return value or {@code null} for none
*/
public ShufflePushReadMetrics getShufflePushReadMetrics() {
return shufflePushReadMetrics;
}
/**
* @param shufflePushReadMetrics shufflePushReadMetrics or {@code null} for none
*/
public ShuffleReadMetrics setShufflePushReadMetrics(ShufflePushReadMetrics shufflePushReadMetrics) {
this.shufflePushReadMetrics = shufflePushReadMetrics;
return this;
}
@Override
public ShuffleReadMetrics set(String fieldName, Object value) {
return (ShuffleReadMetrics) super.set(fieldName, value);
}
@Override
public ShuffleReadMetrics clone() {
return (ShuffleReadMetrics) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy