public
static
final
class
FileLocation
.
Builder
extends
GeneratedMessage
.
Builder<FileLocation
.
Builder
>
implements
FileLocationOrBuilder
Indicates the location at which a package was found.
Protobuf type grafeas.v1.FileLocation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FileLocation.BuilderImplements
FileLocationOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
build()
public
FileLocation
build
()
buildPartial()
public
FileLocation
buildPartial
()
clear()
public
FileLocation
.
Builder
clear
()
clearFilePath()
public
FileLocation
.
Builder
clearFilePath
()
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;
clearLayerDetails()
public
FileLocation
.
Builder
clearLayerDetails
()
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;
clearLineNumber()
public
FileLocation
.
Builder
clearLineNumber
()
Line number in the file where the package was found. Optional field that only applies to source repository scanning.
int32 line_number = 3;
getDefaultInstanceForType()
public
FileLocation
getDefaultInstanceForType
()
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getFilePath()
public
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;
getFilePathBytes()
public
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;
getLayerDetails()
public
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;
getLayerDetailsBuilder()
public
LayerDetails
.
Builder
getLayerDetailsBuilder
()
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;
getLayerDetailsOrBuilder()
public
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;
getLineNumber()
public
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;
hasLayerDetails()
public
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;
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
FileLocation
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
FileLocation
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(FileLocation other)
public
FileLocation
.
Builder
mergeFrom
(
FileLocation
other
)
mergeLayerDetails(LayerDetails value)
public
FileLocation
.
Builder
mergeLayerDetails
(
LayerDetails
value
)
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;
setFilePath(String value)
public
FileLocation
.
Builder
setFilePath
(
String
value
)
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;
setFilePathBytes(ByteString value)
public
FileLocation
.
Builder
setFilePathBytes
(
ByteString
value
)
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;
setLayerDetails(LayerDetails value)
public
FileLocation
.
Builder
setLayerDetails
(
LayerDetails
value
)
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;
setLayerDetails(LayerDetails.Builder builderForValue)
public
FileLocation
.
Builder
setLayerDetails
(
LayerDetails
.
Builder
builderForValue
)
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;
setLineNumber(int value)
public
FileLocation
.
Builder
setLineNumber
(
int
value
)
Line number in the file where the package was found. Optional field that only applies to source repository scanning.
int32 line_number = 3;

