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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SourceLocation
build()
SourceLocation
buildPartial()
SourceLocation.Builder
clear()
SourceLocation.Builder
clearColumn()
Column within a line.SourceLocation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SourceLocation.Builder
clearLine()
Line inside the file.SourceLocation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SourceLocation.Builder
clearPath()
Path to the source file within the source context of the target binary.SourceLocation.Builder
clone()
int
getColumn()
Column within a line.SourceLocation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getLine()
Line inside the file.String
getPath()
Path to the source file within the source context of the target binary.com.google.protobuf.ByteString
getPathBytes()
Path to the source file within the source context of the target binary.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SourceLocation.Builder
mergeFrom(SourceLocation other)
SourceLocation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SourceLocation.Builder
mergeFrom(com.google.protobuf.Message other)
SourceLocation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SourceLocation.Builder
setColumn(int value)
Column within a line.SourceLocation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SourceLocation.Builder
setLine(int value)
Line inside the file.SourceLocation.Builder
setPath(String value)
Path to the source file within the source context of the target binary.SourceLocation.Builder
setPathBytes(com.google.protobuf.ByteString value)
Path to the source file within the source context of the target binary.SourceLocation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SourceLocation.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
clear
public SourceLocation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
getDefaultInstanceForType
public SourceLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SourceLocation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SourceLocation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SourceLocation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
setField
public SourceLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
clearField
public SourceLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
clearOneof
public SourceLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
setRepeatedField
public SourceLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
addRepeatedField
public SourceLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
mergeFrom
public SourceLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SourceLocation.Builder>
-
mergeFrom
public SourceLocation.Builder mergeFrom(SourceLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getPath
in 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:
getPathBytes
in 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:
getLine
in 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:
getColumn
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
mergeUnknownFields
public final SourceLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>
-
-