Class Execution.StackTraceElement (2.34.0)

public static final class Execution.StackTraceElement extends GeneratedMessageV3 implements Execution.StackTraceElementOrBuilder

A single stack element (frame) where an error occurred.

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

Static Fields

POSITION_FIELD_NUMBER

public static final int POSITION_FIELD_NUMBER
Field Value
TypeDescription
int

ROUTINE_FIELD_NUMBER

public static final int ROUTINE_FIELD_NUMBER
Field Value
TypeDescription
int

STEP_FIELD_NUMBER

public static final int STEP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Execution.StackTraceElement prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getPosition()

public Execution.StackTraceElement.Position getPosition()

The source position information of the stack trace element.

.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3;

Returns
TypeDescription
Execution.StackTraceElement.Position

The position.

getPositionOrBuilder()

public Execution.StackTraceElement.PositionOrBuilder getPositionOrBuilder()

The source position information of the stack trace element.

.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3;

Returns
TypeDescription
Execution.StackTraceElement.PositionOrBuilder

getRoutine()

public String getRoutine()

The routine where the error occurred.

string routine = 2;

Returns
TypeDescription
String

The routine.

getRoutineBytes()

public ByteString getRoutineBytes()

The routine where the error occurred.

string routine = 2;

Returns
TypeDescription
ByteString

The bytes for routine.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStep()

public String getStep()

The step the error occurred at.

string step = 1;

Returns
TypeDescription
String

The step.

getStepBytes()

public ByteString getStepBytes()

The step the error occurred at.

string step = 1;

Returns
TypeDescription
ByteString

The bytes for step.

hasPosition()

public boolean hasPosition()

The source position information of the stack trace element.

.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3;

Returns
TypeDescription
boolean

Whether the position field is set.

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.StackTraceElement.Builder newBuilderForType()
Returns
TypeDescription
Execution.StackTraceElement.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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