Class Execution.StackTraceElement.Position.Builder (2.20.0)

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

Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearColumn()

public Execution.StackTraceElement.Position.Builder clearColumn()

The source code column position (of the line) the current instruction was generated from.

int64 column = 2;

Returns
TypeDescription
Execution.StackTraceElement.Position.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLength()

public Execution.StackTraceElement.Position.Builder clearLength()

The number of bytes of source code making up this stack trace element.

int64 length = 3;

Returns
TypeDescription
Execution.StackTraceElement.Position.Builder

This builder for chaining.

clearLine()

public Execution.StackTraceElement.Position.Builder clearLine()

The source code line number the current instruction was generated from.

int64 line = 1;

Returns
TypeDescription
Execution.StackTraceElement.Position.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getColumn()

public long getColumn()

The source code column position (of the line) the current instruction was generated from.

int64 column = 2;

Returns
TypeDescription
long

The column.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLength()

public long getLength()

The number of bytes of source code making up this stack trace element.

int64 length = 3;

Returns
TypeDescription
long

The length.

getLine()

public long getLine()

The source code line number the current instruction was generated from.

int64 line = 1;

Returns
TypeDescription
long

The line.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Execution.StackTraceElement.Position other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setColumn(long value)

public Execution.StackTraceElement.Position.Builder setColumn(long value)

The source code column position (of the line) the current instruction was generated from.

int64 column = 2;

Parameter
NameDescription
valuelong

The column to set.

Returns
TypeDescription
Execution.StackTraceElement.Position.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLength(long value)

public Execution.StackTraceElement.Position.Builder setLength(long value)

The number of bytes of source code making up this stack trace element.

int64 length = 3;

Parameter
NameDescription
valuelong

The length to set.

Returns
TypeDescription
Execution.StackTraceElement.Position.Builder

This builder for chaining.

setLine(long value)

public Execution.StackTraceElement.Position.Builder setLine(long value)

The source code line number the current instruction was generated from.

int64 line = 1;

Parameter
NameDescription
valuelong

The line to set.

Returns
TypeDescription
Execution.StackTraceElement.Position.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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