Reference documentation and code samples for the Grafeas V1 Client class FileLocation.
Indicates the location at which a package was found.
Generated from protobuf message grafeas.v1.FileLocation
Namespace
Grafeas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ file_path
string
For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
↳ layer_details
LayerDetails
Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
↳ line_number
int
Line number in the file where the package was found. Optional field that only applies to source repository scanning.
getFilePath
For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
string
setFilePath
For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
var
string
$this
getLayerDetails
Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
hasLayerDetails
clearLayerDetails
setLayerDetails
Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
$this
getLineNumber
Line number in the file where the package was found.
Optional field that only applies to source repository scanning.
int
setLineNumber
Line number in the file where the package was found.
Optional field that only applies to source repository scanning.
var
int
$this

