com.google.api.services.dataproc.model.SessionOperationMetadata 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;
/**
* Metadata describing the Session operation.
*
* 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 SessionOperationMetadata extends com.google.api.client.json.GenericJson {
/**
* The time when the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;
/**
* Short description of the operation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;
/**
* The time when the operation was finished.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String doneTime;
/**
* Labels associated with the operation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map labels;
/**
* The operation type.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String operationType;
/**
* Name of the session for the operation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String session;
/**
* Session UUID for the operation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String sessionUuid;
/**
* Warnings encountered during operation execution.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List warnings;
/**
* The time when the operation was created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}
/**
* The time when the operation was created.
* @param createTime createTime or {@code null} for none
*/
public SessionOperationMetadata setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Short description of the operation.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}
/**
* Short description of the operation.
* @param description description or {@code null} for none
*/
public SessionOperationMetadata setDescription(java.lang.String description) {
this.description = description;
return this;
}
/**
* The time when the operation was finished.
* @return value or {@code null} for none
*/
public String getDoneTime() {
return doneTime;
}
/**
* The time when the operation was finished.
* @param doneTime doneTime or {@code null} for none
*/
public SessionOperationMetadata setDoneTime(String doneTime) {
this.doneTime = doneTime;
return this;
}
/**
* Labels associated with the operation.
* @return value or {@code null} for none
*/
public java.util.Map getLabels() {
return labels;
}
/**
* Labels associated with the operation.
* @param labels labels or {@code null} for none
*/
public SessionOperationMetadata setLabels(java.util.Map labels) {
this.labels = labels;
return this;
}
/**
* The operation type.
* @return value or {@code null} for none
*/
public java.lang.String getOperationType() {
return operationType;
}
/**
* The operation type.
* @param operationType operationType or {@code null} for none
*/
public SessionOperationMetadata setOperationType(java.lang.String operationType) {
this.operationType = operationType;
return this;
}
/**
* Name of the session for the operation.
* @return value or {@code null} for none
*/
public java.lang.String getSession() {
return session;
}
/**
* Name of the session for the operation.
* @param session session or {@code null} for none
*/
public SessionOperationMetadata setSession(java.lang.String session) {
this.session = session;
return this;
}
/**
* Session UUID for the operation.
* @return value or {@code null} for none
*/
public java.lang.String getSessionUuid() {
return sessionUuid;
}
/**
* Session UUID for the operation.
* @param sessionUuid sessionUuid or {@code null} for none
*/
public SessionOperationMetadata setSessionUuid(java.lang.String sessionUuid) {
this.sessionUuid = sessionUuid;
return this;
}
/**
* Warnings encountered during operation execution.
* @return value or {@code null} for none
*/
public java.util.List getWarnings() {
return warnings;
}
/**
* Warnings encountered during operation execution.
* @param warnings warnings or {@code null} for none
*/
public SessionOperationMetadata setWarnings(java.util.List warnings) {
this.warnings = warnings;
return this;
}
@Override
public SessionOperationMetadata set(String fieldName, Object value) {
return (SessionOperationMetadata) super.set(fieldName, value);
}
@Override
public SessionOperationMetadata clone() {
return (SessionOperationMetadata) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy