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

com.google.api.services.toolresults.model.TestIssue 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.toolresults.model;

/**
 * An issue detected occurring during a test execution.
 *
 * 

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 Tool Results 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 TestIssue extends com.google.api.client.json.GenericJson { /** * Category of issue. Required. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String category; /** * A brief human-readable message describing the issue. Required. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String errorMessage; /** * Severity of issue. Required. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String severity; /** * Deprecated in favor of stack trace fields inside specific warnings. * The value may be {@code null}. */ @com.google.api.client.util.Key private StackTrace stackTrace; /** * Type of issue. Required. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * Warning message with additional details of the issue. Should always be a message from * com.google.devtools.toolresults.v1.warnings * The value may be {@code null}. */ @com.google.api.client.util.Key private Any warning; /** * Category of issue. Required. * @return value or {@code null} for none */ public java.lang.String getCategory() { return category; } /** * Category of issue. Required. * @param category category or {@code null} for none */ public TestIssue setCategory(java.lang.String category) { this.category = category; return this; } /** * A brief human-readable message describing the issue. Required. * @return value or {@code null} for none */ public java.lang.String getErrorMessage() { return errorMessage; } /** * A brief human-readable message describing the issue. Required. * @param errorMessage errorMessage or {@code null} for none */ public TestIssue setErrorMessage(java.lang.String errorMessage) { this.errorMessage = errorMessage; return this; } /** * Severity of issue. Required. * @return value or {@code null} for none */ public java.lang.String getSeverity() { return severity; } /** * Severity of issue. Required. * @param severity severity or {@code null} for none */ public TestIssue setSeverity(java.lang.String severity) { this.severity = severity; return this; } /** * Deprecated in favor of stack trace fields inside specific warnings. * @return value or {@code null} for none */ public StackTrace getStackTrace() { return stackTrace; } /** * Deprecated in favor of stack trace fields inside specific warnings. * @param stackTrace stackTrace or {@code null} for none */ public TestIssue setStackTrace(StackTrace stackTrace) { this.stackTrace = stackTrace; return this; } /** * Type of issue. Required. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * Type of issue. Required. * @param type type or {@code null} for none */ public TestIssue setType(java.lang.String type) { this.type = type; return this; } /** * Warning message with additional details of the issue. Should always be a message from * com.google.devtools.toolresults.v1.warnings * @return value or {@code null} for none */ public Any getWarning() { return warning; } /** * Warning message with additional details of the issue. Should always be a message from * com.google.devtools.toolresults.v1.warnings * @param warning warning or {@code null} for none */ public TestIssue setWarning(Any warning) { this.warning = warning; return this; } @Override public TestIssue set(String fieldName, Object value) { return (TestIssue) super.set(fieldName, value); } @Override public TestIssue clone() { return (TestIssue) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy