Class Execution.Error.Builder (2.32.0)

publicstaticfinalclass Execution.Error.BuilderextendsGeneratedMessageV3.Builder<Execution.Error.Builder>implementsExecution.ErrorOrBuilder

Error describes why the execution was abnormally terminated.

Protobuf type google.cloud.workflows.executions.v1.Execution.Error

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicExecution.Error.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Execution.Error.Builder
Overrides

build()

publicExecution.Errorbuild()
Returns
Type Description
Execution.Error

buildPartial()

publicExecution.ErrorbuildPartial()
Returns
Type Description
Execution.Error

clear()

publicExecution.Error.Builderclear()
Returns
Type Description
Execution.Error.Builder
Overrides

clearContext()

publicExecution.Error.BuilderclearContext()

Human-readable stack trace string.

string context = 2;

Returns
Type Description
Execution.Error.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicExecution.Error.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Execution.Error.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicExecution.Error.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Execution.Error.Builder
Overrides

clearPayload()

publicExecution.Error.BuilderclearPayload()

Error message and data returned represented as a JSON string.

string payload = 1;

Returns
Type Description
Execution.Error.Builder

This builder for chaining.

clearStackTrace()

publicExecution.Error.BuilderclearStackTrace()

Stack trace with detailed information of where error was generated.

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

Returns
Type Description
Execution.Error.Builder

clone()

publicExecution.Error.Builderclone()
Returns
Type Description
Execution.Error.Builder
Overrides

getContext()

publicStringgetContext()

Human-readable stack trace string.

string context = 2;

Returns
Type Description
String

The context.

getContextBytes()

publicByteStringgetContextBytes()

Human-readable stack trace string.

string context = 2;

Returns
Type Description
ByteString

The bytes for context.

getDefaultInstanceForType()

publicExecution.ErrorgetDefaultInstanceForType()
Returns
Type Description
Execution.Error

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPayload()

publicStringgetPayload()

Error message and data returned represented as a JSON string.

string payload = 1;

Returns
Type Description
String

The payload.

getPayloadBytes()

publicByteStringgetPayloadBytes()

Error message and data returned represented as a JSON string.

string payload = 1;

Returns
Type Description
ByteString

The bytes for payload.

getStackTrace()

publicExecution.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.

getStackTraceBuilder()

publicExecution.StackTrace.BuildergetStackTraceBuilder()

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.Builder

getStackTraceOrBuilder()

publicExecution.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()

publicbooleanhasStackTrace()

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.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Execution.Error other)

publicExecution.Error.BuildermergeFrom(Execution.Errorother)
Parameter
Name Description
other Execution.Error
Returns
Type Description
Execution.Error.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicExecution.Error.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.Error.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicExecution.Error.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Execution.Error.Builder
Overrides

mergeStackTrace(Execution.StackTrace value)

publicExecution.Error.BuildermergeStackTrace(Execution.StackTracevalue)

Stack trace with detailed information of where error was generated.

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

Parameter
Name Description
value Execution.StackTrace
Returns
Type Description
Execution.Error.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalExecution.Error.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Execution.Error.Builder
Overrides

setContext(String value)

publicExecution.Error.BuildersetContext(Stringvalue)

Human-readable stack trace string.

string context = 2;

Parameter
Name Description
value String

The context to set.

Returns
Type Description
Execution.Error.Builder

This builder for chaining.

setContextBytes(ByteString value)

publicExecution.Error.BuildersetContextBytes(ByteStringvalue)

Human-readable stack trace string.

string context = 2;

Parameter
Name Description
value ByteString

The bytes for context to set.

Returns
Type Description
Execution.Error.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicExecution.Error.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Execution.Error.Builder
Overrides

setPayload(String value)

publicExecution.Error.BuildersetPayload(Stringvalue)

Error message and data returned represented as a JSON string.

string payload = 1;

Parameter
Name Description
value String

The payload to set.

Returns
Type Description
Execution.Error.Builder

This builder for chaining.

setPayloadBytes(ByteString value)

publicExecution.Error.BuildersetPayloadBytes(ByteStringvalue)

Error message and data returned represented as a JSON string.

string payload = 1;

Parameter
Name Description
value ByteString

The bytes for payload to set.

Returns
Type Description
Execution.Error.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicExecution.Error.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Execution.Error.Builder
Overrides

setStackTrace(Execution.StackTrace value)

publicExecution.Error.BuildersetStackTrace(Execution.StackTracevalue)

Stack trace with detailed information of where error was generated.

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

Parameter
Name Description
value Execution.StackTrace
Returns
Type Description
Execution.Error.Builder

setStackTrace(Execution.StackTrace.Builder builderForValue)

publicExecution.Error.BuildersetStackTrace(Execution.StackTrace.BuilderbuilderForValue)

Stack trace with detailed information of where error was generated.

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

Parameter
Name Description
builderForValue Execution.StackTrace.Builder
Returns
Type Description
Execution.Error.Builder

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalExecution.Error.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Execution.Error.Builder
Overrides

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.