Class SourceLocation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
- com.google.devtools.clouddebugger.v2.SourceLocation.Builder
-
- All Implemented Interfaces:
SourceLocationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SourceLocation
public static final class SourceLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder> implements SourceLocationOrBuilder
Represents a location in the source code.
Protobuf typegoogle.devtools.clouddebugger.v2.SourceLocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceLocation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SourceLocationbuild()SourceLocationbuildPartial()SourceLocation.Builderclear()SourceLocation.BuilderclearColumn()Column within a line.SourceLocation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SourceLocation.BuilderclearLine()Line inside the file.SourceLocation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SourceLocation.BuilderclearPath()Path to the source file within the source context of the target binary.SourceLocation.Builderclone()intgetColumn()Column within a line.SourceLocationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetLine()Line inside the file.StringgetPath()Path to the source file within the source context of the target binary.com.google.protobuf.ByteStringgetPathBytes()Path to the source file within the source context of the target binary.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SourceLocation.BuildermergeFrom(SourceLocation other)SourceLocation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SourceLocation.BuildermergeFrom(com.google.protobuf.Message other)SourceLocation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SourceLocation.BuildersetColumn(int value)Column within a line.SourceLocation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SourceLocation.BuildersetLine(int value)Line inside the file.SourceLocation.BuildersetPath(String value)Path to the source file within the source context of the target binary.SourceLocation.BuildersetPathBytes(com.google.protobuf.ByteString value)Path to the source file within the source context of the target binary.SourceLocation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SourceLocation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
clear
public SourceLocation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
getDefaultInstanceForType
public SourceLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SourceLocation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SourceLocation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SourceLocation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
setField
public SourceLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
clearField
public SourceLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
clearOneof
public SourceLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
setRepeatedField
public SourceLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
addRepeatedField
public SourceLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
mergeFrom
public SourceLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SourceLocation.Builder>
-
mergeFrom
public SourceLocation.Builder mergeFrom(SourceLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
mergeFrom
public SourceLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SourceLocation.Builder>- Throws:
IOException
-
getPath
public String getPath()
Path to the source file within the source context of the target binary.
string path = 1;- Specified by:
getPathin interfaceSourceLocationOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
Path to the source file within the source context of the target binary.
string path = 1;- Specified by:
getPathBytesin interfaceSourceLocationOrBuilder- Returns:
- The bytes for path.
-
setPath
public SourceLocation.Builder setPath(String value)
Path to the source file within the source context of the target binary.
string path = 1;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public SourceLocation.Builder clearPath()
Path to the source file within the source context of the target binary.
string path = 1;- Returns:
- This builder for chaining.
-
setPathBytes
public SourceLocation.Builder setPathBytes(com.google.protobuf.ByteString value)
Path to the source file within the source context of the target binary.
string path = 1;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
getLine
public int getLine()
Line inside the file. The first line in the file has the value `1`.
int32 line = 2;- Specified by:
getLinein interfaceSourceLocationOrBuilder- Returns:
- The line.
-
setLine
public SourceLocation.Builder setLine(int value)
Line inside the file. The first line in the file has the value `1`.
int32 line = 2;- Parameters:
value- The line to set.- Returns:
- This builder for chaining.
-
clearLine
public SourceLocation.Builder clearLine()
Line inside the file. The first line in the file has the value `1`.
int32 line = 2;- Returns:
- This builder for chaining.
-
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;- Specified by:
getColumnin interfaceSourceLocationOrBuilder- Returns:
- The column.
-
setColumn
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;- Parameters:
value- The column to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setUnknownFields
public final SourceLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
mergeUnknownFields
public final SourceLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
-