Class Execution.StateError (2.33.0)

public static final class Execution.StateError extends GeneratedMessageV3 implements Execution.StateErrorOrBuilder

Describes an error related to the current state of the Execution resource.

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

Static Fields

DETAILS_FIELD_NUMBER

public static final int DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Execution.StateError getDefaultInstance()
Returns
TypeDescription
Execution.StateError

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Execution.StateError.Builder newBuilder()
Returns
TypeDescription
Execution.StateError.Builder

newBuilder(Execution.StateError prototype)

public static Execution.StateError.Builder newBuilder(Execution.StateError prototype)
Parameter
NameDescription
prototypeExecution.StateError
Returns
TypeDescription
Execution.StateError.Builder

parseDelimitedFrom(InputStream input)

public static Execution.StateError parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Execution.StateError
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Execution.StateError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StateError
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Execution.StateError parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Execution.StateError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Execution.StateError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StateError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Execution.StateError parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Execution.StateError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Execution.StateError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StateError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Execution.StateError parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Execution.StateError
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Execution.StateError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StateError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Execution.StateError parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Execution.StateError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Execution.StateError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StateError
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Execution.StateError parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Execution.StateError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Execution.StateError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StateError
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Execution.StateError> parser()
Returns
TypeDescription
Parser<StateError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Execution.StateError getDefaultInstanceForType()
Returns
TypeDescription
Execution.StateError

getDetails()

public String getDetails()

Provides specifics about the error.

string details = 1;

Returns
TypeDescription
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Provides specifics about the error.

string details = 1;

Returns
TypeDescription
ByteString

The bytes for details.

getParserForType()

public Parser<Execution.StateError> getParserForType()
Returns
TypeDescription
Parser<StateError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public Execution.StateError.Type getType()

The type of this state error.

.google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2;

Returns
TypeDescription
Execution.StateError.Type

The type.

getTypeValue()

public int getTypeValue()

The type of this state error.

.google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Execution.StateError.Builder newBuilderForType()
Returns
TypeDescription
Execution.StateError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Execution.StateError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Execution.StateError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Execution.StateError.Builder toBuilder()
Returns
TypeDescription
Execution.StateError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException