Interface FileLocationOrBuilder (2.89.0)

public interface FileLocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFilePath()

public abstract String 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 file_path = 1;

Returns
Type Description
String

The filePath.

getFilePathBytes()

public abstract ByteString getFilePathBytes()

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 file_path = 1;

Returns
Type Description
ByteString

The bytes for filePath.

getLayerDetails()

public abstract LayerDetails getLayerDetails()

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

.grafeas.v1.LayerDetails layer_details = 2;

Returns
Type Description
LayerDetails

The layerDetails.

getLayerDetailsOrBuilder()

public abstract LayerDetailsOrBuilder getLayerDetailsOrBuilder()

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

.grafeas.v1.LayerDetails layer_details = 2;

Returns
Type Description
LayerDetailsOrBuilder

getLineNumber()

public abstract int getLineNumber()

Line number in the file where the package was found. Optional field that only applies to source repository scanning.

int32 line_number = 3;

Returns
Type Description
int

The lineNumber.

hasLayerDetails()

public abstract boolean hasLayerDetails()

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

.grafeas.v1.LayerDetails layer_details = 2;

Returns
Type Description
boolean

Whether the layerDetails field is set.