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

com.google.api.services.cloudfunctions.v2.model.Runtime 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.cloudfunctions.v2.model;

/**
 * Describes a runtime and any special information (e.g., deprecation status) related to it.
 *
 * 

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 Functions 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 Runtime extends com.google.api.client.json.GenericJson { /** * Decommission date for the runtime. * The value may be {@code null}. */ @com.google.api.client.util.Key private Date decommissionDate; /** * Deprecation date for the runtime. * The value may be {@code null}. */ @com.google.api.client.util.Key private Date deprecationDate; /** * The user facing name, eg 'Go 1.13', 'Node.js 12', etc. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String displayName; /** * The environment for the runtime. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String environment; /** * The name of the runtime, e.g., 'go113', 'nodejs12', etc. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * The stage of life this runtime is in, e.g., BETA, GA, etc. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String stage; /** * Warning messages, e.g., a deprecation warning. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List warnings; /** * Decommission date for the runtime. * @return value or {@code null} for none */ public Date getDecommissionDate() { return decommissionDate; } /** * Decommission date for the runtime. * @param decommissionDate decommissionDate or {@code null} for none */ public Runtime setDecommissionDate(Date decommissionDate) { this.decommissionDate = decommissionDate; return this; } /** * Deprecation date for the runtime. * @return value or {@code null} for none */ public Date getDeprecationDate() { return deprecationDate; } /** * Deprecation date for the runtime. * @param deprecationDate deprecationDate or {@code null} for none */ public Runtime setDeprecationDate(Date deprecationDate) { this.deprecationDate = deprecationDate; return this; } /** * The user facing name, eg 'Go 1.13', 'Node.js 12', etc. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { return displayName; } /** * The user facing name, eg 'Go 1.13', 'Node.js 12', etc. * @param displayName displayName or {@code null} for none */ public Runtime setDisplayName(java.lang.String displayName) { this.displayName = displayName; return this; } /** * The environment for the runtime. * @return value or {@code null} for none */ public java.lang.String getEnvironment() { return environment; } /** * The environment for the runtime. * @param environment environment or {@code null} for none */ public Runtime setEnvironment(java.lang.String environment) { this.environment = environment; return this; } /** * The name of the runtime, e.g., 'go113', 'nodejs12', etc. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * The name of the runtime, e.g., 'go113', 'nodejs12', etc. * @param name name or {@code null} for none */ public Runtime setName(java.lang.String name) { this.name = name; return this; } /** * The stage of life this runtime is in, e.g., BETA, GA, etc. * @return value or {@code null} for none */ public java.lang.String getStage() { return stage; } /** * The stage of life this runtime is in, e.g., BETA, GA, etc. * @param stage stage or {@code null} for none */ public Runtime setStage(java.lang.String stage) { this.stage = stage; return this; } /** * Warning messages, e.g., a deprecation warning. * @return value or {@code null} for none */ public java.util.List getWarnings() { return warnings; } /** * Warning messages, e.g., a deprecation warning. * @param warnings warnings or {@code null} for none */ public Runtime setWarnings(java.util.List warnings) { this.warnings = warnings; return this; } @Override public Runtime set(String fieldName, Object value) { return (Runtime) super.set(fieldName, value); } @Override public Runtime clone() { return (Runtime) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy