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

com.google.api.services.clouddebugger.model.Debuggee Maven / Gradle / Ivy

There is a newer version: v2-rev20230613-2.0.0
Show newest version
/*
 * Copyright 2010 Google Inc.
 *
 * 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://code.google.com/p/google-apis-client-generator/
 * (build: 2015-08-03 17:34:38 UTC)
 * on 2015-08-26 at 02:57:03 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.clouddebugger.model;

/**
 * Represents the application to debug. The application may include one or more replicated processes
 * executing the same code. Each of these processes is attached with a debugger agent, carrying out
 * the debugging commands. The agents attached to the same debuggee are identified by using exactly
 * the same fields' values when registering.
 *
 * 

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 Google Cloud Debugger API. For a detailed explanation * see: * http://code.google.com/p/google-http-java-client/wiki/JSON *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class Debuggee extends com.google.api.client.json.GenericJson { /** * Version ID of the agent release. The version ID is structured as following: * "domain/type/vmajor.minor" (for example "google.com/gcp-java/v1.1"). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String agentVersion; /** * A human readable description of the debuggee. Recommended to include human readable project * name, environment name, and version information . * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * Debuggee unique identifer generated by the server. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** * If set to true, indicates that the agent should disable itself and detach from the debuggee. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean isDisabled; /** * If set to true indicates that the debuggee has not been seen by the Controller service in the * last active time period (defined by the server). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean isInactive; /** * A set of custom debuggee properties, populated by the agent, to be displayed to the user. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map labels; /** * The project the debuggee is associated with. Use the project number when registering a Google * Cloud Platform project. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String project; /** * Repository snapshots containing the source code of the project. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List sourceContexts; static { // hack to force ProGuard to consider SourceContext used, since otherwise it would be stripped out // see http://code.google.com/p/google-api-java-client/issues/detail?id=528 com.google.api.client.util.Data.nullOf(SourceContext.class); } /** * Human readable message to be displayed to the user about this debuggee. Absense of this field * indicates no message. The message can be either informational or error. * The value may be {@code null}. */ @com.google.api.client.util.Key private StatusMessage status; /** * The debuggee uniqifier within the project. Any string that id the application within the * project can be used. Recomended to include environement and version or build id's. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String uniquifier; /** * Version ID of the agent release. The version ID is structured as following: * "domain/type/vmajor.minor" (for example "google.com/gcp-java/v1.1"). * @return value or {@code null} for none */ public java.lang.String getAgentVersion() { return agentVersion; } /** * Version ID of the agent release. The version ID is structured as following: * "domain/type/vmajor.minor" (for example "google.com/gcp-java/v1.1"). * @param agentVersion agentVersion or {@code null} for none */ public Debuggee setAgentVersion(java.lang.String agentVersion) { this.agentVersion = agentVersion; return this; } /** * A human readable description of the debuggee. Recommended to include human readable project * name, environment name, and version information . * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * A human readable description of the debuggee. Recommended to include human readable project * name, environment name, and version information . * @param description description or {@code null} for none */ public Debuggee setDescription(java.lang.String description) { this.description = description; return this; } /** * Debuggee unique identifer generated by the server. * @return value or {@code null} for none */ public java.lang.String getId() { return id; } /** * Debuggee unique identifer generated by the server. * @param id id or {@code null} for none */ public Debuggee setId(java.lang.String id) { this.id = id; return this; } /** * If set to true, indicates that the agent should disable itself and detach from the debuggee. * @return value or {@code null} for none */ public java.lang.Boolean getIsDisabled() { return isDisabled; } /** * If set to true, indicates that the agent should disable itself and detach from the debuggee. * @param isDisabled isDisabled or {@code null} for none */ public Debuggee setIsDisabled(java.lang.Boolean isDisabled) { this.isDisabled = isDisabled; return this; } /** * If set to true indicates that the debuggee has not been seen by the Controller service in the * last active time period (defined by the server). * @return value or {@code null} for none */ public java.lang.Boolean getIsInactive() { return isInactive; } /** * If set to true indicates that the debuggee has not been seen by the Controller service in the * last active time period (defined by the server). * @param isInactive isInactive or {@code null} for none */ public Debuggee setIsInactive(java.lang.Boolean isInactive) { this.isInactive = isInactive; return this; } /** * A set of custom debuggee properties, populated by the agent, to be displayed to the user. * @return value or {@code null} for none */ public java.util.Map getLabels() { return labels; } /** * A set of custom debuggee properties, populated by the agent, to be displayed to the user. * @param labels labels or {@code null} for none */ public Debuggee setLabels(java.util.Map labels) { this.labels = labels; return this; } /** * The project the debuggee is associated with. Use the project number when registering a Google * Cloud Platform project. * @return value or {@code null} for none */ public java.lang.String getProject() { return project; } /** * The project the debuggee is associated with. Use the project number when registering a Google * Cloud Platform project. * @param project project or {@code null} for none */ public Debuggee setProject(java.lang.String project) { this.project = project; return this; } /** * Repository snapshots containing the source code of the project. * @return value or {@code null} for none */ public java.util.List getSourceContexts() { return sourceContexts; } /** * Repository snapshots containing the source code of the project. * @param sourceContexts sourceContexts or {@code null} for none */ public Debuggee setSourceContexts(java.util.List sourceContexts) { this.sourceContexts = sourceContexts; return this; } /** * Human readable message to be displayed to the user about this debuggee. Absense of this field * indicates no message. The message can be either informational or error. * @return value or {@code null} for none */ public StatusMessage getStatus() { return status; } /** * Human readable message to be displayed to the user about this debuggee. Absense of this field * indicates no message. The message can be either informational or error. * @param status status or {@code null} for none */ public Debuggee setStatus(StatusMessage status) { this.status = status; return this; } /** * The debuggee uniqifier within the project. Any string that id the application within the * project can be used. Recomended to include environement and version or build id's. * @return value or {@code null} for none */ public java.lang.String getUniquifier() { return uniquifier; } /** * The debuggee uniqifier within the project. Any string that id the application within the * project can be used. Recomended to include environement and version or build id's. * @param uniquifier uniquifier or {@code null} for none */ public Debuggee setUniquifier(java.lang.String uniquifier) { this.uniquifier = uniquifier; return this; } @Override public Debuggee set(String fieldName, Object value) { return (Debuggee) super.set(fieldName, value); } @Override public Debuggee clone() { return (Debuggee) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy