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

com.google.api.services.run.v2.model.GoogleCloudRunV2SubmitBuildResponse Maven / Gradle / Ivy

There is a newer version: v2-rev20241213-2.0.0
Show 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.run.v2.model;

/**
 * Response message for submitting a Build.
 *
 * 

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 GoogleCloudRunV2SubmitBuildResponse extends com.google.api.client.json.GenericJson { /** * URI of the base builder image in Artifact Registry being used in the build. Used to opt into * automatic base image updates. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String baseImageUri; /** * Warning message for the base image. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String baseImageWarning; /** * Cloud Build operation to be polled via CloudBuild API. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleLongrunningOperation buildOperation; /** * URI of the base builder image in Artifact Registry being used in the build. Used to opt into * automatic base image updates. * @return value or {@code null} for none */ public java.lang.String getBaseImageUri() { return baseImageUri; } /** * URI of the base builder image in Artifact Registry being used in the build. Used to opt into * automatic base image updates. * @param baseImageUri baseImageUri or {@code null} for none */ public GoogleCloudRunV2SubmitBuildResponse setBaseImageUri(java.lang.String baseImageUri) { this.baseImageUri = baseImageUri; return this; } /** * Warning message for the base image. * @return value or {@code null} for none */ public java.lang.String getBaseImageWarning() { return baseImageWarning; } /** * Warning message for the base image. * @param baseImageWarning baseImageWarning or {@code null} for none */ public GoogleCloudRunV2SubmitBuildResponse setBaseImageWarning(java.lang.String baseImageWarning) { this.baseImageWarning = baseImageWarning; return this; } /** * Cloud Build operation to be polled via CloudBuild API. * @return value or {@code null} for none */ public GoogleLongrunningOperation getBuildOperation() { return buildOperation; } /** * Cloud Build operation to be polled via CloudBuild API. * @param buildOperation buildOperation or {@code null} for none */ public GoogleCloudRunV2SubmitBuildResponse setBuildOperation(GoogleLongrunningOperation buildOperation) { this.buildOperation = buildOperation; return this; } @Override public GoogleCloudRunV2SubmitBuildResponse set(String fieldName, Object value) { return (GoogleCloudRunV2SubmitBuildResponse) super.set(fieldName, value); } @Override public GoogleCloudRunV2SubmitBuildResponse clone() { return (GoogleCloudRunV2SubmitBuildResponse) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy