public final class GoogleCloudDiscoveryengineLoggingErrorContext
extends com.google.api.client.json.GenericJson
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 Discovery Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleCloudDiscoveryengineLoggingErrorContext() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineLoggingErrorContext |
clone() |
GoogleCloudDiscoveryengineLoggingHttpRequestContext |
getHttpRequest()
The HTTP request which was processed when the error was triggered.
|
GoogleCloudDiscoveryengineLoggingSourceLocation |
getReportLocation()
The location in the source code where the decision was made to report the error, usually the
place where it was logged.
|
GoogleCloudDiscoveryengineLoggingErrorContext |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineLoggingErrorContext |
setHttpRequest(GoogleCloudDiscoveryengineLoggingHttpRequestContext httpRequest)
The HTTP request which was processed when the error was triggered.
|
GoogleCloudDiscoveryengineLoggingErrorContext |
setReportLocation(GoogleCloudDiscoveryengineLoggingSourceLocation reportLocation)
The location in the source code where the decision was made to report the error, usually the
place where it was logged.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleCloudDiscoveryengineLoggingErrorContext()
public GoogleCloudDiscoveryengineLoggingHttpRequestContext getHttpRequest()
null for nonepublic GoogleCloudDiscoveryengineLoggingErrorContext setHttpRequest(GoogleCloudDiscoveryengineLoggingHttpRequestContext httpRequest)
httpRequest - httpRequest or null for nonepublic GoogleCloudDiscoveryengineLoggingSourceLocation getReportLocation()
null for nonepublic GoogleCloudDiscoveryengineLoggingErrorContext setReportLocation(GoogleCloudDiscoveryengineLoggingSourceLocation reportLocation)
reportLocation - reportLocation or null for nonepublic GoogleCloudDiscoveryengineLoggingErrorContext set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineLoggingErrorContext clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.