Class Execution.StackTrace.Builder (2.49.0)

public static final class Execution.StackTrace.Builder extends GeneratedMessageV3.Builder<Execution.StackTrace.Builder> implements Execution.StackTraceOrBuilder

A collection of stack elements (frames) where an error occurred.

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

Static Methods

getDescriptor()

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

Methods

addAllElements(Iterable<? extends Execution.StackTraceElement> values)

public Execution.StackTrace.Builder addAllElements(Iterable<? extends Execution.StackTraceElement> values)

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>
Returns
Type Description
Execution.StackTrace.Builder

addElements(Execution.StackTraceElement value)

public Execution.StackTrace.Builder addElements(Execution.StackTraceElement value)

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

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

addElements(Execution.StackTraceElement.Builder builderForValue)

public Execution.StackTrace.Builder addElements(Execution.StackTraceElement.Builder builderForValue)

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

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

addElements(int index, Execution.StackTraceElement value)

public Execution.StackTrace.Builder addElements(int index, Execution.StackTraceElement value)

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Parameters
Name Description
index int
value Execution.StackTraceElement
Returns
Type Description
Execution.StackTrace.Builder

addElements(int index, Execution.StackTraceElement.Builder builderForValue)

public Execution.StackTrace.Builder addElements(int index, Execution.StackTraceElement.Builder builderForValue)

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Parameters
Name Description
index int
builderForValue Execution.StackTraceElement.Builder
Returns
Type Description
Execution.StackTrace.Builder

addElementsBuilder()

public Execution.StackTraceElement.Builder addElementsBuilder()

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Returns
Type Description
Execution.StackTraceElement.Builder

addElementsBuilder(int index)

public Execution.StackTraceElement.Builder addElementsBuilder(int index)

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Parameter
Name Description
index int
Returns
Type Description
Execution.StackTraceElement.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearElements()

public Execution.StackTrace.Builder clearElements()

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Returns
Type Description
Execution.StackTrace.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getElements(int index)

public Execution.StackTraceElement getElements(int index)

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Parameter
Name Description
index int
Returns
Type Description
Execution.StackTraceElement

getElementsBuilder(int index)

public Execution.StackTraceElement.Builder getElementsBuilder(int index)

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Parameter
Name Description
index int
Returns
Type Description
Execution.StackTraceElement.Builder

getElementsBuilderList()

public List<Execution.StackTraceElement.Builder> getElementsBuilderList()

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Returns
Type Description
List<Builder>

getElementsCount()

public int getElementsCount()

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Returns
Type Description
int

getElementsList()

public List<Execution.StackTraceElement> getElementsList()

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Returns
Type Description
List<StackTraceElement>

getElementsOrBuilder(int index)

public Execution.StackTraceElementOrBuilder getElementsOrBuilder(int index)

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Parameter
Name Description
index int
Returns
Type Description
Execution.StackTraceElementOrBuilder

getElementsOrBuilderList()

public List<? extends Execution.StackTraceElementOrBuilder> getElementsOrBuilderList()

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Returns
Type Description
List<? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Execution.StackTrace other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeElements(int index)

public Execution.StackTrace.Builder removeElements(int index)

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Parameter
Name Description
index int
Returns
Type Description
Execution.StackTrace.Builder

setElements(int index, Execution.StackTraceElement value)

public Execution.StackTrace.Builder setElements(int index, Execution.StackTraceElement value)

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Parameters
Name Description
index int
value Execution.StackTraceElement
Returns
Type Description
Execution.StackTrace.Builder

setElements(int index, Execution.StackTraceElement.Builder builderForValue)

public Execution.StackTrace.Builder setElements(int index, Execution.StackTraceElement.Builder builderForValue)

An array of stack elements.

repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;

Parameters
Name Description
index int
builderForValue Execution.StackTraceElement.Builder
Returns
Type Description
Execution.StackTrace.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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