Class Workflow.StateError (2.40.0)

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

Describes an error related to the current state of the workflow.

Protobuf type google.cloud.workflows.v1.Workflow.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 Workflow.StateError getDefaultInstance()
Returns
TypeDescription
Workflow.StateError

getDescriptor()

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

newBuilder()

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

newBuilder(Workflow.StateError prototype)

public static Workflow.StateError.Builder newBuilder(Workflow.StateError prototype)
Parameter
NameDescription
prototypeWorkflow.StateError
Returns
TypeDescription
Workflow.StateError.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Workflow.StateError getDefaultInstanceForType()
Returns
TypeDescription
Workflow.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<Workflow.StateError> getParserForType()
Returns
TypeDescription
Parser<StateError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public Workflow.StateError.Type getType()

The type of this state error.

.google.cloud.workflows.v1.Workflow.StateError.Type type = 2;

Returns
TypeDescription
Workflow.StateError.Type

The type.

getTypeValue()

public int getTypeValue()

The type of this state error.

.google.cloud.workflows.v1.Workflow.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 Workflow.StateError.Builder newBuilderForType()
Returns
TypeDescription
Workflow.StateError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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