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

com.google.api.services.composer.v1.model.OperationMetadata 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.composer.v1.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 Cloud Composer 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 { /** * Output only. The time the operation was submitted to the server. * The value may be {@code null}. */ @com.google.api.client.util.Key private String createTime; /** * Output only. The time when the operation terminated, regardless of its success. This field is * unset if the operation is still ongoing. * The value may be {@code null}. */ @com.google.api.client.util.Key private String endTime; /** * Output only. The type of operation being performed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String operationType; /** * Output only. The resource being operated on, as a [relative resource name]( * /apis/design/resource_names#relative_resource_name). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String resource; /** * Output only. The UUID of the resource being operated on. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String resourceUuid; /** * Output only. The current operation state. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String state; /** * Output only. The time the operation was submitted to the server. * @return value or {@code null} for none */ public String getCreateTime() { return createTime; } /** * Output only. The time the operation was submitted to the server. * @param createTime createTime or {@code null} for none */ public OperationMetadata setCreateTime(String createTime) { this.createTime = createTime; return this; } /** * Output only. The time when the operation terminated, regardless of its success. This field is * unset if the operation is still ongoing. * @return value or {@code null} for none */ public String getEndTime() { return endTime; } /** * Output only. The time when the operation terminated, regardless of its success. This field is * unset if the operation is still ongoing. * @param endTime endTime or {@code null} for none */ public OperationMetadata setEndTime(String endTime) { this.endTime = endTime; return this; } /** * Output only. The type of operation being performed. * @return value or {@code null} for none */ public java.lang.String getOperationType() { return operationType; } /** * Output only. The type of operation being performed. * @param operationType operationType or {@code null} for none */ public OperationMetadata setOperationType(java.lang.String operationType) { this.operationType = operationType; return this; } /** * Output only. The resource being operated on, as a [relative resource name]( * /apis/design/resource_names#relative_resource_name). * @return value or {@code null} for none */ public java.lang.String getResource() { return resource; } /** * Output only. The resource being operated on, as a [relative resource name]( * /apis/design/resource_names#relative_resource_name). * @param resource resource or {@code null} for none */ public OperationMetadata setResource(java.lang.String resource) { this.resource = resource; return this; } /** * Output only. The UUID of the resource being operated on. * @return value or {@code null} for none */ public java.lang.String getResourceUuid() { return resourceUuid; } /** * Output only. The UUID of the resource being operated on. * @param resourceUuid resourceUuid or {@code null} for none */ public OperationMetadata setResourceUuid(java.lang.String resourceUuid) { this.resourceUuid = resourceUuid; return this; } /** * Output only. The current operation state. * @return value or {@code null} for none */ public java.lang.String getState() { return state; } /** * Output only. The current operation state. * @param state state or {@code null} for none */ public OperationMetadata setState(java.lang.String state) { this.state = state; 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 - 2024 Weber Informatics LLC | Privacy Policy