Class SourceLocation.Builder (1.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SourceLocation build()
Returns
TypeDescription
SourceLocation

buildPartial()

public SourceLocation buildPartial()
Returns
TypeDescription
SourceLocation

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SourceLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SourceLocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SourceLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SourceLocation.Builder

This builder for chaining.

clone()

public SourceLocation.Builder clone()
Returns
TypeDescription
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
TypeDescription
int

The column.

getDefaultInstanceForType()

public SourceLocation getDefaultInstanceForType()
Returns
TypeDescription
SourceLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLine()

public int getLine()

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

int32 line = 2;

Returns
TypeDescription
int

The line.

getPath()

public String getPath()

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

string path = 1;

Returns
TypeDescription
String

The path.

getPathBytes()

public ByteString getPathBytes()

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

string path = 1;

Returns
TypeDescription
ByteString

The bytes for path.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SourceLocation other)

public SourceLocation.Builder mergeFrom(SourceLocation other)
Parameter
NameDescription
otherSourceLocation
Returns
TypeDescription
SourceLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SourceLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The column to set.

Returns
TypeDescription
SourceLocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The line to set.

Returns
TypeDescription
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
NameDescription
valueString

The path to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for path to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SourceLocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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