Interface Execution.ErrorOrBuilder (2.57.0)

publicstaticinterface Execution.ErrorOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getContext()

publicabstractStringgetContext()

Human-readable stack trace string.

string context = 2;

Returns
Type Description
String

The context.

getContextBytes()

publicabstractByteStringgetContextBytes()

Human-readable stack trace string.

string context = 2;

Returns
Type Description
ByteString

The bytes for context.

getPayload()

publicabstractStringgetPayload()

Error message and data returned represented as a JSON string.

string payload = 1;

Returns
Type Description
String

The payload.

getPayloadBytes()

publicabstractByteStringgetPayloadBytes()

Error message and data returned represented as a JSON string.

string payload = 1;

Returns
Type Description
ByteString

The bytes for payload.

getStackTrace()

publicabstractExecution.StackTracegetStackTrace()

Stack trace with detailed information of where error was generated.

.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;

Returns
Type Description
Execution.StackTrace

The stackTrace.

getStackTraceOrBuilder()

publicabstractExecution.StackTraceOrBuildergetStackTraceOrBuilder()

Stack trace with detailed information of where error was generated.

.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;

Returns
Type Description
Execution.StackTraceOrBuilder

hasStackTrace()

publicabstractbooleanhasStackTrace()

Stack trace with detailed information of where error was generated.

.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;

Returns
Type Description
boolean

Whether the stackTrace field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.