
com.google.api.services.genomics.model.OperationMetadata Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* 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/google/apis-client-generator/
* (build: 2016-07-08 17:28:43 UTC)
* on 2016-10-05 at 01:24:23 UTC
* Modify at your own risk.
*/
package com.google.api.services.genomics.model;
/**
* Metadata describing an 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 Genomics 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 OperationMetadata extends com.google.api.client.json.GenericJson {
/**
* Optionally provided by the caller when submitting the request that creates the operation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String clientId;
/**
* The time at which the job was submitted to the Genomics service.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String createTime;
/**
* The time at which the job stopped running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String endTime;
/**
* Optional event messages that were generated during the job's execution. This also contains any
* warnings that were generated during import or export.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List events;
/**
* The Google Cloud Project in which the job is scoped.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String projectId;
/**
* The original request that started the operation. Note that this will be in current version of
* the API. If the operation was started with v1beta2 API and a GetOperation is performed on v1
* API, a v1 request will be returned.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map request;
/**
* Runtime metadata on this Operation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map runtimeMetadata;
/**
* The time at which the job began to run.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String startTime;
/**
* Optionally provided by the caller when submitting the request that creates the operation.
* @return value or {@code null} for none
*/
public java.lang.String getClientId() {
return clientId;
}
/**
* Optionally provided by the caller when submitting the request that creates the operation.
* @param clientId clientId or {@code null} for none
*/
public OperationMetadata setClientId(java.lang.String clientId) {
this.clientId = clientId;
return this;
}
/**
* The time at which the job was submitted to the Genomics service.
* @return value or {@code null} for none
*/
public java.lang.String getCreateTime() {
return createTime;
}
/**
* The time at which the job was submitted to the Genomics service.
* @param createTime createTime or {@code null} for none
*/
public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
/**
* The time at which the job stopped running.
* @return value or {@code null} for none
*/
public java.lang.String getEndTime() {
return endTime;
}
/**
* The time at which the job stopped running.
* @param endTime endTime or {@code null} for none
*/
public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
/**
* Optional event messages that were generated during the job's execution. This also contains any
* warnings that were generated during import or export.
* @return value or {@code null} for none
*/
public java.util.List getEvents() {
return events;
}
/**
* Optional event messages that were generated during the job's execution. This also contains any
* warnings that were generated during import or export.
* @param events events or {@code null} for none
*/
public OperationMetadata setEvents(java.util.List events) {
this.events = events;
return this;
}
/**
* The Google Cloud Project in which the job is scoped.
* @return value or {@code null} for none
*/
public java.lang.String getProjectId() {
return projectId;
}
/**
* The Google Cloud Project in which the job is scoped.
* @param projectId projectId or {@code null} for none
*/
public OperationMetadata setProjectId(java.lang.String projectId) {
this.projectId = projectId;
return this;
}
/**
* The original request that started the operation. Note that this will be in current version of
* the API. If the operation was started with v1beta2 API and a GetOperation is performed on v1
* API, a v1 request will be returned.
* @return value or {@code null} for none
*/
public java.util.Map getRequest() {
return request;
}
/**
* The original request that started the operation. Note that this will be in current version of
* the API. If the operation was started with v1beta2 API and a GetOperation is performed on v1
* API, a v1 request will be returned.
* @param request request or {@code null} for none
*/
public OperationMetadata setRequest(java.util.Map request) {
this.request = request;
return this;
}
/**
* Runtime metadata on this Operation.
* @return value or {@code null} for none
*/
public java.util.Map getRuntimeMetadata() {
return runtimeMetadata;
}
/**
* Runtime metadata on this Operation.
* @param runtimeMetadata runtimeMetadata or {@code null} for none
*/
public OperationMetadata setRuntimeMetadata(java.util.Map runtimeMetadata) {
this.runtimeMetadata = runtimeMetadata;
return this;
}
/**
* The time at which the job began to run.
* @return value or {@code null} for none
*/
public java.lang.String getStartTime() {
return startTime;
}
/**
* The time at which the job began to run.
* @param startTime startTime or {@code null} for none
*/
public OperationMetadata setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
@Override
public OperationMetadata set(String fieldName, Object value) {
return (OperationMetadata) super.set(fieldName, value);
}
@Override
public OperationMetadata clone() {
return (OperationMetadata) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy