com.google.api.services.run.v2.model.GoogleCloudRunV2ImageExportStatus 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.run.v2.model;
/**
* The status of an image export job.
*
* 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 Run Admin 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 GoogleCloudRunV2ImageExportStatus extends com.google.api.client.json.GenericJson {
/**
* Output only. Has the image export job finished (regardless of successful or failure).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String exportJobState;
/**
* The exported image ID as it will appear in Artifact Registry.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String exportedImageDigest;
/**
* The status of the export task if done.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private UtilStatusProto status;
/**
* The image tag as it will appear in Artifact Registry.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String tag;
/**
* Output only. Has the image export job finished (regardless of successful or failure).
* @return value or {@code null} for none
*/
public java.lang.String getExportJobState() {
return exportJobState;
}
/**
* Output only. Has the image export job finished (regardless of successful or failure).
* @param exportJobState exportJobState or {@code null} for none
*/
public GoogleCloudRunV2ImageExportStatus setExportJobState(java.lang.String exportJobState) {
this.exportJobState = exportJobState;
return this;
}
/**
* The exported image ID as it will appear in Artifact Registry.
* @return value or {@code null} for none
*/
public java.lang.String getExportedImageDigest() {
return exportedImageDigest;
}
/**
* The exported image ID as it will appear in Artifact Registry.
* @param exportedImageDigest exportedImageDigest or {@code null} for none
*/
public GoogleCloudRunV2ImageExportStatus setExportedImageDigest(java.lang.String exportedImageDigest) {
this.exportedImageDigest = exportedImageDigest;
return this;
}
/**
* The status of the export task if done.
* @return value or {@code null} for none
*/
public UtilStatusProto getStatus() {
return status;
}
/**
* The status of the export task if done.
* @param status status or {@code null} for none
*/
public GoogleCloudRunV2ImageExportStatus setStatus(UtilStatusProto status) {
this.status = status;
return this;
}
/**
* The image tag as it will appear in Artifact Registry.
* @return value or {@code null} for none
*/
public java.lang.String getTag() {
return tag;
}
/**
* The image tag as it will appear in Artifact Registry.
* @param tag tag or {@code null} for none
*/
public GoogleCloudRunV2ImageExportStatus setTag(java.lang.String tag) {
this.tag = tag;
return this;
}
@Override
public GoogleCloudRunV2ImageExportStatus set(String fieldName, Object value) {
return (GoogleCloudRunV2ImageExportStatus) super.set(fieldName, value);
}
@Override
public GoogleCloudRunV2ImageExportStatus clone() {
return (GoogleCloudRunV2ImageExportStatus) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy