Class Execution.StackTrace.Builder (2.15.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>
Returns
TypeDescription
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
NameDescription
valueExecution.StackTraceElement
Returns
TypeDescription
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
NameDescription
builderForValueExecution.StackTraceElement.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueExecution.StackTraceElement
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExecution.StackTraceElement.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Execution.StackTraceElement.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public Execution.StackTrace.Builder clear()
Returns
TypeDescription
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
TypeDescription
Execution.StackTrace.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Execution.StackTrace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Execution.StackTrace.Builder
Overrides

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getElementsCount()

public int getElementsCount()

An array of stack elements.

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

Returns
TypeDescription
int

getElementsList()

public List<Execution.StackTraceElement> getElementsList()

An array of stack elements.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Execution.StackTrace other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Execution.StackTrace.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Execution.StackTrace.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Execution.StackTrace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueExecution.StackTraceElement
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExecution.StackTraceElement.Builder
Returns
TypeDescription
Execution.StackTrace.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Execution.StackTrace.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Execution.StackTrace.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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