Class SourceLocation.Builder (1.44.0)

public static final class SourceLocation.Builder extends GeneratedMessageV3.Builder<SourceLocation.Builder> implements SourceLocationOrBuilder

Represents a location in the source code.

Protobuf type google.devtools.clouddebugger.v2.SourceLocation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SourceLocation build()
Returns
Type Description
SourceLocation

buildPartial()

public SourceLocation buildPartial()
Returns
Type Description
SourceLocation

clear()

public SourceLocation.Builder clear()
Returns
Type Description
SourceLocation.Builder
Overrides

clearColumn()

public SourceLocation.Builder clearColumn()

Column within a line. The first column in a line as the value 1. Agents that do not support setting breakpoints on specific columns ignore this field.

int32 column = 3;

Returns
Type Description
SourceLocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLine()

public SourceLocation.Builder clearLine()

Line inside the file. The first line in the file has the value 1.

int32 line = 2;

Returns
Type Description
SourceLocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public SourceLocation.Builder clearPath()

Path to the source file within the source context of the target binary.

string path = 1;

Returns
Type Description
SourceLocation.Builder

This builder for chaining.

clone()

public SourceLocation.Builder clone()
Returns
Type Description
SourceLocation.Builder
Overrides

getColumn()

public int getColumn()

Column within a line. The first column in a line as the value 1. Agents that do not support setting breakpoints on specific columns ignore this field.

int32 column = 3;

Returns
Type Description
int

The column.

getDefaultInstanceForType()

public SourceLocation getDefaultInstanceForType()
Returns
Type Description
SourceLocation

getDescriptorForType()

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

getLine()

public int getLine()

Line inside the file. The first line in the file has the value 1.

int32 line = 2;

Returns
Type Description
int

The line.

getPath()

public String getPath()

Path to the source file within the source context of the target binary.

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Path to the source file within the source context of the target binary.

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SourceLocation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setColumn(int value)

public SourceLocation.Builder setColumn(int value)

Column within a line. The first column in a line as the value 1. Agents that do not support setting breakpoints on specific columns ignore this field.

int32 column = 3;

Parameter
Name Description
value int

The column to set.

Returns
Type Description
SourceLocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLine(int value)

public SourceLocation.Builder setLine(int value)

Line inside the file. The first line in the file has the value 1.

int32 line = 2;

Parameter
Name Description
value int

The line to set.

Returns
Type Description
SourceLocation.Builder

This builder for chaining.

setPath(String value)

public SourceLocation.Builder setPath(String value)

Path to the source file within the source context of the target binary.

string path = 1;

Parameter
Name Description
value String

The path to set.

Returns
Type Description
SourceLocation.Builder

This builder for chaining.

setPathBytes(ByteString value)

public SourceLocation.Builder setPathBytes(ByteString value)

Path to the source file within the source context of the target binary.

string path = 1;

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
SourceLocation.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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