Class Execution.StackTraceElement.Builder (2.45.0)

public static final class Execution.StackTraceElement.Builder extends GeneratedMessageV3.Builder<Execution.StackTraceElement.Builder> implements Execution.StackTraceElementOrBuilder

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

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Execution.StackTraceElement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Execution.StackTraceElement.Builder
Overrides

build()

public Execution.StackTraceElement build()
Returns
Type Description
Execution.StackTraceElement

buildPartial()

public Execution.StackTraceElement buildPartial()
Returns
Type Description
Execution.StackTraceElement

clear()

public Execution.StackTraceElement.Builder clear()
Returns
Type Description
Execution.StackTraceElement.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Execution.StackTraceElement.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Execution.StackTraceElement.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Execution.StackTraceElement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Execution.StackTraceElement.Builder
Overrides

clearPosition()

public Execution.StackTraceElement.Builder clearPosition()

The source position information of the stack trace element.

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

Returns
Type Description
Execution.StackTraceElement.Builder

clearRoutine()

public Execution.StackTraceElement.Builder clearRoutine()

The routine where the error occurred.

string routine = 2;

Returns
Type Description
Execution.StackTraceElement.Builder

This builder for chaining.

clearStep()

public Execution.StackTraceElement.Builder clearStep()

The step the error occurred at.

string step = 1;

Returns
Type Description
Execution.StackTraceElement.Builder

This builder for chaining.

clone()

public Execution.StackTraceElement.Builder clone()
Returns
Type Description
Execution.StackTraceElement.Builder
Overrides

getDefaultInstanceForType()

public Execution.StackTraceElement getDefaultInstanceForType()
Returns
Type Description
Execution.StackTraceElement

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
Execution.StackTraceElement.Position

The position.

getPositionBuilder()

public Execution.StackTraceElement.Position.Builder getPositionBuilder()

The source position information of the stack trace element.

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

Returns
Type Description
Execution.StackTraceElement.Position.Builder

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
Type Description
Execution.StackTraceElement.PositionOrBuilder

getRoutine()

public String getRoutine()

The routine where the error occurred.

string routine = 2;

Returns
Type Description
String

The routine.

getRoutineBytes()

public ByteString getRoutineBytes()

The routine where the error occurred.

string routine = 2;

Returns
Type Description
ByteString

The bytes for routine.

getStep()

public String getStep()

The step the error occurred at.

string step = 1;

Returns
Type Description
String

The step.

getStepBytes()

public ByteString getStepBytes()

The step the error occurred at.

string step = 1;

Returns
Type Description
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
Type Description
boolean

Whether the position field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Execution.StackTraceElement other)

public Execution.StackTraceElement.Builder mergeFrom(Execution.StackTraceElement other)
Parameter
Name Description
other Execution.StackTraceElement
Returns
Type Description
Execution.StackTraceElement.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Execution.StackTraceElement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.StackTraceElement.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Execution.StackTraceElement.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Execution.StackTraceElement.Builder
Overrides

mergePosition(Execution.StackTraceElement.Position value)

public Execution.StackTraceElement.Builder mergePosition(Execution.StackTraceElement.Position value)

The source position information of the stack trace element.

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

Parameter
Name Description
value Execution.StackTraceElement.Position
Returns
Type Description
Execution.StackTraceElement.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Execution.StackTraceElement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Execution.StackTraceElement.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Execution.StackTraceElement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Execution.StackTraceElement.Builder
Overrides

setPosition(Execution.StackTraceElement.Position value)

public Execution.StackTraceElement.Builder setPosition(Execution.StackTraceElement.Position value)

The source position information of the stack trace element.

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

Parameter
Name Description
value Execution.StackTraceElement.Position
Returns
Type Description
Execution.StackTraceElement.Builder

setPosition(Execution.StackTraceElement.Position.Builder builderForValue)

public Execution.StackTraceElement.Builder setPosition(Execution.StackTraceElement.Position.Builder builderForValue)

The source position information of the stack trace element.

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

Parameter
Name Description
builderForValue Execution.StackTraceElement.Position.Builder
Returns
Type Description
Execution.StackTraceElement.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Execution.StackTraceElement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Execution.StackTraceElement.Builder
Overrides

setRoutine(String value)

public Execution.StackTraceElement.Builder setRoutine(String value)

The routine where the error occurred.

string routine = 2;

Parameter
Name Description
value String

The routine to set.

Returns
Type Description
Execution.StackTraceElement.Builder

This builder for chaining.

setRoutineBytes(ByteString value)

public Execution.StackTraceElement.Builder setRoutineBytes(ByteString value)

The routine where the error occurred.

string routine = 2;

Parameter
Name Description
value ByteString

The bytes for routine to set.

Returns
Type Description
Execution.StackTraceElement.Builder

This builder for chaining.

setStep(String value)

public Execution.StackTraceElement.Builder setStep(String value)

The step the error occurred at.

string step = 1;

Parameter
Name Description
value String

The step to set.

Returns
Type Description
Execution.StackTraceElement.Builder

This builder for chaining.

setStepBytes(ByteString value)

public Execution.StackTraceElement.Builder setStepBytes(ByteString value)

The step the error occurred at.

string step = 1;

Parameter
Name Description
value ByteString

The bytes for step to set.

Returns
Type Description
Execution.StackTraceElement.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Execution.StackTraceElement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Execution.StackTraceElement.Builder
Overrides