Class Execution.StackTraceElement.Builder (2.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Execution.StackTraceElement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Execution.StackTraceElement.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Execution.StackTraceElement.Builder clear()
Returns
TypeDescription
Execution.StackTraceElement.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Execution.StackTraceElement.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Execution.StackTraceElement.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Execution.StackTraceElement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Execution.StackTraceElement.Builder

clearRoutine()

public Execution.StackTraceElement.Builder clearRoutine()

The routine where the error occurred.

string routine = 2;

Returns
TypeDescription
Execution.StackTraceElement.Builder

This builder for chaining.

clearStep()

public Execution.StackTraceElement.Builder clearStep()

The step the error occurred at.

string step = 1;

Returns
TypeDescription
Execution.StackTraceElement.Builder

This builder for chaining.

clone()

public Execution.StackTraceElement.Builder clone()
Returns
TypeDescription
Execution.StackTraceElement.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Execution.StackTraceElement other)

public Execution.StackTraceElement.Builder mergeFrom(Execution.StackTraceElement other)
Parameter
NameDescription
otherExecution.StackTraceElement
Returns
TypeDescription
Execution.StackTraceElement.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Execution.StackTraceElement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StackTraceElement.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Execution.StackTraceElement.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueExecution.StackTraceElement.Position
Returns
TypeDescription
Execution.StackTraceElement.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Execution.StackTraceElement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Execution.StackTraceElement.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Execution.StackTraceElement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueExecution.StackTraceElement.Position
Returns
TypeDescription
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
NameDescription
builderForValueExecution.StackTraceElement.Position.Builder
Returns
TypeDescription
Execution.StackTraceElement.Builder

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

public Execution.StackTraceElement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Execution.StackTraceElement.Builder
Overrides

setRoutine(String value)

public Execution.StackTraceElement.Builder setRoutine(String value)

The routine where the error occurred.

string routine = 2;

Parameter
NameDescription
valueString

The routine to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for routine to set.

Returns
TypeDescription
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
NameDescription
valueString

The step to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for step to set.

Returns
TypeDescription
Execution.StackTraceElement.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Execution.StackTraceElement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Execution.StackTraceElement.Builder
Overrides