Class Execution.Error.Builder (2.39.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.v1beta.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 error context, helpful for debugging purposes.

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 payload returned by the execution, represented as a JSON string.

string payload = 1;

Returns
Type Description
Execution.Error.Builder

This builder for chaining.

clone()

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

getContext()

publicStringgetContext()

Human readable error context, helpful for debugging purposes.

string context = 2;

Returns
Type Description
String

The context.

getContextBytes()

publicByteStringgetContextBytes()

Human readable error context, helpful for debugging purposes.

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 payload returned by the execution, represented as a JSON string.

string payload = 1;

Returns
Type Description
String

The payload.

getPayloadBytes()

publicByteStringgetPayloadBytes()

Error payload returned by the execution, represented as a JSON string.

string payload = 1;

Returns
Type Description
ByteString

The bytes for payload.

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

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 error context, helpful for debugging purposes.

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 error context, helpful for debugging purposes.

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 payload returned by the execution, 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 payload returned by the execution, 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

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.