Class Execution.Error (2.37.0)

publicstaticfinalclass Execution.ErrorextendsGeneratedMessageV3implementsExecution.ErrorOrBuilder

Error describes why the execution was abnormally terminated.

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

CONTEXT_FIELD_NUMBER

publicstaticfinalintCONTEXT_FIELD_NUMBER
Field Value
Type Description
int

PAYLOAD_FIELD_NUMBER

publicstaticfinalintPAYLOAD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticExecution.ErrorgetDefaultInstance()
Returns
Type Description
Execution.Error

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticExecution.Error.BuildernewBuilder()
Returns
Type Description
Execution.Error.Builder

newBuilder(Execution.Error prototype)

publicstaticExecution.Error.BuildernewBuilder(Execution.Errorprototype)
Parameter
Name Description
prototype Execution.Error
Returns
Type Description
Execution.Error.Builder

parseDelimitedFrom(InputStream input)

publicstaticExecution.ErrorparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Execution.Error
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticExecution.ErrorparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.Error
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticExecution.ErrorparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Execution.Error
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticExecution.ErrorparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.Error
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticExecution.ErrorparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Execution.Error
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticExecution.ErrorparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.Error
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticExecution.ErrorparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Execution.Error
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticExecution.ErrorparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.Error
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticExecution.ErrorparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Execution.Error
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticExecution.ErrorparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.Error
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticExecution.ErrorparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Execution.Error
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticExecution.ErrorparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.Error
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Execution.Error>parser()
Returns
Type Description
Parser<Error>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

publicParser<Execution.Error>getParserForType()
Returns
Type Description
Parser<Error>
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.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicExecution.Error.BuildernewBuilderForType()
Returns
Type Description
Execution.Error.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedExecution.Error.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Execution.Error.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicExecution.Error.BuildertoBuilder()
Returns
Type Description
Execution.Error.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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.