Class Execution.StackTraceElement.Position (2.17.0)

public static final class Execution.StackTraceElement.Position extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Execution.StackTraceElement.Position

Static Fields

COLUMN_FIELD_NUMBER

public static final int COLUMN_FIELD_NUMBER
Field Value
TypeDescription
int

LENGTH_FIELD_NUMBER

public static final int LENGTH_FIELD_NUMBER
Field Value
TypeDescription
int

LINE_FIELD_NUMBER

public static final int LINE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Execution.StackTraceElement.Position getDefaultInstance()
Returns
TypeDescription
Execution.StackTraceElement.Position

getDescriptor()

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

newBuilder()

public static Execution.StackTraceElement.Position.Builder newBuilder()
Returns
TypeDescription
Execution.StackTraceElement.Position.Builder

newBuilder(Execution.StackTraceElement.Position prototype)

public static Execution.StackTraceElement.Position.Builder newBuilder(Execution.StackTraceElement.Position prototype)
Parameter
NameDescription
prototypeExecution.StackTraceElement.Position
Returns
TypeDescription
Execution.StackTraceElement.Position.Builder

parseDelimitedFrom(InputStream input)

public static Execution.StackTraceElement.Position parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Execution.StackTraceElement.Position
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Execution.StackTraceElement.Position parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StackTraceElement.Position
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Execution.StackTraceElement.Position parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Execution.StackTraceElement.Position
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Execution.StackTraceElement.Position parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StackTraceElement.Position
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Execution.StackTraceElement.Position parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Execution.StackTraceElement.Position
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Execution.StackTraceElement.Position parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StackTraceElement.Position
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Execution.StackTraceElement.Position parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Execution.StackTraceElement.Position
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Execution.StackTraceElement.Position parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Execution.StackTraceElement.Position
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Execution.StackTraceElement.Position parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StackTraceElement.Position
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Execution.StackTraceElement.Position parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Execution.StackTraceElement.Position
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Execution.StackTraceElement.Position parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StackTraceElement.Position
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Execution.StackTraceElement.Position> parser()
Returns
TypeDescription
Parser<Position>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<Execution.StackTraceElement.Position> getParserForType()
Returns
TypeDescription
Parser<Position>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Execution.StackTraceElement.Position.Builder newBuilderForType()
Returns
TypeDescription
Execution.StackTraceElement.Position.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Execution.StackTraceElement.Position.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Execution.StackTraceElement.Position.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Execution.StackTraceElement.Position.Builder toBuilder()
Returns
TypeDescription
Execution.StackTraceElement.Position.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException