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

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

/**
 * Non-SDK API insights (to address debugging solutions).
 *
 * 

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 NonSdkApiInsight extends com.google.api.client.json.GenericJson { /** * Optional sample stack traces, for which this insight applies (there should be at least one). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List exampleTraceMessages; /** * A unique ID, to be used for determining the effectiveness of this particular insight in the * context of a matcher. (required) * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String matcherId; /** * An insight indicating that the hidden API usage originates from a Google-provided library. * The value may be {@code null}. */ @com.google.api.client.util.Key private PendingGoogleUpdateInsight pendingGoogleUpdateInsight; /** * An insight indicating that the hidden API usage originates from the use of a library that needs * to be upgraded. * The value may be {@code null}. */ @com.google.api.client.util.Key private UpgradeInsight upgradeInsight; /** * Optional sample stack traces, for which this insight applies (there should be at least one). * @return value or {@code null} for none */ public java.util.List getExampleTraceMessages() { return exampleTraceMessages; } /** * Optional sample stack traces, for which this insight applies (there should be at least one). * @param exampleTraceMessages exampleTraceMessages or {@code null} for none */ public NonSdkApiInsight setExampleTraceMessages(java.util.List exampleTraceMessages) { this.exampleTraceMessages = exampleTraceMessages; return this; } /** * A unique ID, to be used for determining the effectiveness of this particular insight in the * context of a matcher. (required) * @return value or {@code null} for none */ public java.lang.String getMatcherId() { return matcherId; } /** * A unique ID, to be used for determining the effectiveness of this particular insight in the * context of a matcher. (required) * @param matcherId matcherId or {@code null} for none */ public NonSdkApiInsight setMatcherId(java.lang.String matcherId) { this.matcherId = matcherId; return this; } /** * An insight indicating that the hidden API usage originates from a Google-provided library. * @return value or {@code null} for none */ public PendingGoogleUpdateInsight getPendingGoogleUpdateInsight() { return pendingGoogleUpdateInsight; } /** * An insight indicating that the hidden API usage originates from a Google-provided library. * @param pendingGoogleUpdateInsight pendingGoogleUpdateInsight or {@code null} for none */ public NonSdkApiInsight setPendingGoogleUpdateInsight(PendingGoogleUpdateInsight pendingGoogleUpdateInsight) { this.pendingGoogleUpdateInsight = pendingGoogleUpdateInsight; return this; } /** * An insight indicating that the hidden API usage originates from the use of a library that needs * to be upgraded. * @return value or {@code null} for none */ public UpgradeInsight getUpgradeInsight() { return upgradeInsight; } /** * An insight indicating that the hidden API usage originates from the use of a library that needs * to be upgraded. * @param upgradeInsight upgradeInsight or {@code null} for none */ public NonSdkApiInsight setUpgradeInsight(UpgradeInsight upgradeInsight) { this.upgradeInsight = upgradeInsight; return this; } @Override public NonSdkApiInsight set(String fieldName, Object value) { return (NonSdkApiInsight) super.set(fieldName, value); } @Override public NonSdkApiInsight clone() { return (NonSdkApiInsight) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy