
com.google.api.services.toolresults.model.NonSdkApi 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;
/**
* A non-sdk API and examples of it being called along with other metadata See
* https://developer.android.com/distribute/best-practices/develop/restrictions-non-sdk-interfaces
*
* 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 NonSdkApi extends com.google.api.client.json.GenericJson {
/**
* The signature of the Non-SDK API
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String apiSignature;
/**
* Example stack traces of this API being called.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List exampleStackTraces;
/**
* Optional debugging insights for non-SDK API violations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List insights;
/**
* The total number of times this API was observed to have been called.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer invocationCount;
/**
* Which list this API appears on
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String list;
/**
* The signature of the Non-SDK API
* @return value or {@code null} for none
*/
public java.lang.String getApiSignature() {
return apiSignature;
}
/**
* The signature of the Non-SDK API
* @param apiSignature apiSignature or {@code null} for none
*/
public NonSdkApi setApiSignature(java.lang.String apiSignature) {
this.apiSignature = apiSignature;
return this;
}
/**
* Example stack traces of this API being called.
* @return value or {@code null} for none
*/
public java.util.List getExampleStackTraces() {
return exampleStackTraces;
}
/**
* Example stack traces of this API being called.
* @param exampleStackTraces exampleStackTraces or {@code null} for none
*/
public NonSdkApi setExampleStackTraces(java.util.List exampleStackTraces) {
this.exampleStackTraces = exampleStackTraces;
return this;
}
/**
* Optional debugging insights for non-SDK API violations.
* @return value or {@code null} for none
*/
public java.util.List getInsights() {
return insights;
}
/**
* Optional debugging insights for non-SDK API violations.
* @param insights insights or {@code null} for none
*/
public NonSdkApi setInsights(java.util.List insights) {
this.insights = insights;
return this;
}
/**
* The total number of times this API was observed to have been called.
* @return value or {@code null} for none
*/
public java.lang.Integer getInvocationCount() {
return invocationCount;
}
/**
* The total number of times this API was observed to have been called.
* @param invocationCount invocationCount or {@code null} for none
*/
public NonSdkApi setInvocationCount(java.lang.Integer invocationCount) {
this.invocationCount = invocationCount;
return this;
}
/**
* Which list this API appears on
* @return value or {@code null} for none
*/
public java.lang.String getList() {
return list;
}
/**
* Which list this API appears on
* @param list list or {@code null} for none
*/
public NonSdkApi setList(java.lang.String list) {
this.list = list;
return this;
}
@Override
public NonSdkApi set(String fieldName, Object value) {
return (NonSdkApi) super.set(fieldName, value);
}
@Override
public NonSdkApi clone() {
return (NonSdkApi) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy