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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public SourceLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SourceLocation build()
Returns
public SourceLocation buildPartial()
Returns
public SourceLocation.Builder clear()
Returns
Overrides
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
public SourceLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public SourceLocation.Builder clearLine()
Line inside the file. The first line in the file has the value 1
.
int32 line = 2;
Returns
public SourceLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public SourceLocation.Builder clearPath()
Path to the source file within the source context of the target binary.
string path = 1;
Returns
public SourceLocation.Builder clone()
Returns
Overrides
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.
|
public SourceLocation getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Line inside the file. The first line in the file has the value 1
.
int32 line = 2;
Returns
Type | Description |
int | The line.
|
Path to the source file within the source context of the target binary.
string path = 1;
Returns
Type | Description |
String | The path.
|
public ByteString getPathBytes()
Path to the source file within the source context of the target binary.
string path = 1;
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SourceLocation.Builder mergeFrom(SourceLocation other)
Parameter
Returns
public SourceLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public SourceLocation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final SourceLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
public SourceLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
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
public SourceLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final SourceLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides