com.google.api.services.appengine.v1.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.appengine.v1.model;
/**
* Runtime versions for App Engine.
*
* 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 App Engine 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 Runtime extends com.google.api.client.json.GenericJson {
/**
* Date when Runtime is decommissioned.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Date decommissionedDate;
/**
* Date when Runtime is deprecated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Date deprecationDate;
/**
* User-friendly display name, e.g. 'Node.js 12', etc.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String displayName;
/**
* Date when Runtime is end of support.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Date endOfSupportDate;
/**
* The environment of 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;
/**
* Supported operating systems for the runtime, e.g., 'ubuntu22', etc.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List supportedOperatingSystems;
/**
* Warning messages, e.g., a deprecation warning.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List warnings;
/**
* Date when Runtime is decommissioned.
* @return value or {@code null} for none
*/
public Date getDecommissionedDate() {
return decommissionedDate;
}
/**
* Date when Runtime is decommissioned.
* @param decommissionedDate decommissionedDate or {@code null} for none
*/
public Runtime setDecommissionedDate(Date decommissionedDate) {
this.decommissionedDate = decommissionedDate;
return this;
}
/**
* Date when Runtime is deprecated.
* @return value or {@code null} for none
*/
public Date getDeprecationDate() {
return deprecationDate;
}
/**
* Date when Runtime is deprecated.
* @param deprecationDate deprecationDate or {@code null} for none
*/
public Runtime setDeprecationDate(Date deprecationDate) {
this.deprecationDate = deprecationDate;
return this;
}
/**
* User-friendly display name, e.g. 'Node.js 12', etc.
* @return value or {@code null} for none
*/
public java.lang.String getDisplayName() {
return displayName;
}
/**
* User-friendly display name, e.g. 'Node.js 12', etc.
* @param displayName displayName or {@code null} for none
*/
public Runtime setDisplayName(java.lang.String displayName) {
this.displayName = displayName;
return this;
}
/**
* Date when Runtime is end of support.
* @return value or {@code null} for none
*/
public Date getEndOfSupportDate() {
return endOfSupportDate;
}
/**
* Date when Runtime is end of support.
* @param endOfSupportDate endOfSupportDate or {@code null} for none
*/
public Runtime setEndOfSupportDate(Date endOfSupportDate) {
this.endOfSupportDate = endOfSupportDate;
return this;
}
/**
* The environment of the runtime.
* @return value or {@code null} for none
*/
public java.lang.String getEnvironment() {
return environment;
}
/**
* The environment of 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;
}
/**
* Supported operating systems for the runtime, e.g., 'ubuntu22', etc.
* @return value or {@code null} for none
*/
public java.util.List getSupportedOperatingSystems() {
return supportedOperatingSystems;
}
/**
* Supported operating systems for the runtime, e.g., 'ubuntu22', etc.
* @param supportedOperatingSystems supportedOperatingSystems or {@code null} for none
*/
public Runtime setSupportedOperatingSystems(java.util.List supportedOperatingSystems) {
this.supportedOperatingSystems = supportedOperatingSystems;
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