Class MainError
java.lang.Object
org.opensearch.client.opensearch._types.ErrorCause
org.opensearch.client.opensearch._types.MainError
- All Implemented Interfaces:
ToJsonp
public final class MainError extends ErrorCause
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMainError.BuilderBuilder forMainError.Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.ErrorCause
ErrorCause.AbstractBuilder<BuilderT extends ErrorCause.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MainError>DESERIALIZERJson deserializer for MainError -
Constructor Summary
Constructors Modifier Constructor Description protectedMainError(MainError.Builder builder) -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>headers()API name:headersjava.util.List<ErrorCause>rootCause()API name:root_causeprotected static voidsetupMainErrorDeserializer(DelegatingDeserializer<MainError.Builder> op)protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Methods inherited from class org.opensearch.client.opensearch._types.ErrorCause
bytesLimit, bytesWanted, causedBy, col, column, failedShards, grouped, header, index, indexUuid, lang, language, licensedExpiredFeature, line, maxBuckets, phase, position, processorType, propertyName, reason, resourceId, resourceType, script, scriptStack, setupErrorCauseDeserializer, shard, stackTrace, toJsonp, type
-
Field Details
-
DESERIALIZER
Json deserializer for MainError
-
-
Constructor Details
-
Method Details
-
headers
@Nullable public java.util.Map<java.lang.String,java.lang.String> headers()API name:headers -
rootCause
API name:root_cause- Overrides:
rootCausein classErrorCause
-
toJsonpInternal
- Overrides:
toJsonpInternalin classErrorCause
-
setupMainErrorDeserializer
-