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

com.google.api.services.integrations.v1alpha.model.EnterpriseCrmEventbusProtoErrorDetail 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.integrations.v1alpha.model;

/**
 * An error, warning, or information message associated with a workflow.
 *
 * 

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 Application Integration 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 EnterpriseCrmEventbusProtoErrorDetail extends com.google.api.client.json.GenericJson { /** * The associated error-code, which can be a common or internal code. * The value may be {@code null}. */ @com.google.api.client.util.Key private CrmlogErrorCode errorCode; /** * The full text of the error message, including any parameters that were thrown along with the * exception. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String errorMessage; /** * The severity of the error: ERROR|WARN|INFO. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String severity; /** * The task try-number, in which, the error occurred. If zero, the error happened at the event * level. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer taskNumber; /** * The associated error-code, which can be a common or internal code. * @return value or {@code null} for none */ public CrmlogErrorCode getErrorCode() { return errorCode; } /** * The associated error-code, which can be a common or internal code. * @param errorCode errorCode or {@code null} for none */ public EnterpriseCrmEventbusProtoErrorDetail setErrorCode(CrmlogErrorCode errorCode) { this.errorCode = errorCode; return this; } /** * The full text of the error message, including any parameters that were thrown along with the * exception. * @return value or {@code null} for none */ public java.lang.String getErrorMessage() { return errorMessage; } /** * The full text of the error message, including any parameters that were thrown along with the * exception. * @param errorMessage errorMessage or {@code null} for none */ public EnterpriseCrmEventbusProtoErrorDetail setErrorMessage(java.lang.String errorMessage) { this.errorMessage = errorMessage; return this; } /** * The severity of the error: ERROR|WARN|INFO. * @return value or {@code null} for none */ public java.lang.String getSeverity() { return severity; } /** * The severity of the error: ERROR|WARN|INFO. * @param severity severity or {@code null} for none */ public EnterpriseCrmEventbusProtoErrorDetail setSeverity(java.lang.String severity) { this.severity = severity; return this; } /** * The task try-number, in which, the error occurred. If zero, the error happened at the event * level. * @return value or {@code null} for none */ public java.lang.Integer getTaskNumber() { return taskNumber; } /** * The task try-number, in which, the error occurred. If zero, the error happened at the event * level. * @param taskNumber taskNumber or {@code null} for none */ public EnterpriseCrmEventbusProtoErrorDetail setTaskNumber(java.lang.Integer taskNumber) { this.taskNumber = taskNumber; return this; } @Override public EnterpriseCrmEventbusProtoErrorDetail set(String fieldName, Object value) { return (EnterpriseCrmEventbusProtoErrorDetail) super.set(fieldName, value); } @Override public EnterpriseCrmEventbusProtoErrorDetail clone() { return (EnterpriseCrmEventbusProtoErrorDetail) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy