public
static
final
class
Location
.
Builder
extends
GeneratedMessage
.
Builder<Location
.
Builder
>
implements
LocationOrBuilder
An occurrence of a particular package installation found within a system's
filesystem. E.g., glibc was found in /var/lib/dpkg/status
.
Protobuf type grafeas.v1.Location
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Location.BuilderImplements
LocationOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
build()
public
Location
build
()
buildPartial()
public
Location
buildPartial
()
clear()
public
Location
.
Builder
clear
()
clearCpeUri()
public
Location
.
Builder
clearCpeUri
()
Deprecated. The CPE URI in CPE format
string cpe_uri = 1;
clearPath()
public
Location
.
Builder
clearPath
()
The path from which we gathered that this package/version is installed.
string path = 3;
clearVersion()
public
Location
.
Builder
clearVersion
()
Deprecated. The version installed at this location.
.grafeas.v1.Version version = 2;
getCpeUri()
public
String
getCpeUri
()
Deprecated. The CPE URI in CPE format
string cpe_uri = 1;
getCpeUriBytes()
public
ByteString
getCpeUriBytes
()
Deprecated. The CPE URI in CPE format
string cpe_uri = 1;
getDefaultInstanceForType()
public
Location
getDefaultInstanceForType
()
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getPath()
public
String
getPath
()
The path from which we gathered that this package/version is installed.
string path = 3;
getPathBytes()
public
ByteString
getPathBytes
()
The path from which we gathered that this package/version is installed.
string path = 3;
getVersion()
public
Version
getVersion
()
Deprecated. The version installed at this location.
.grafeas.v1.Version version = 2;
getVersionBuilder()
public
Version
.
Builder
getVersionBuilder
()
Deprecated. The version installed at this location.
.grafeas.v1.Version version = 2;
getVersionOrBuilder()
public
VersionOrBuilder
getVersionOrBuilder
()
Deprecated. The version installed at this location.
.grafeas.v1.Version version = 2;
hasVersion()
public
boolean
hasVersion
()
Deprecated. The version installed at this location.
.grafeas.v1.Version version = 2;
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
Location
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
Location
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(Location other)
public
Location
.
Builder
mergeFrom
(
Location
other
)
mergeVersion(Version value)
public
Location
.
Builder
mergeVersion
(
Version
value
)
Deprecated. The version installed at this location.
.grafeas.v1.Version version = 2;
setCpeUri(String value)
public
Location
.
Builder
setCpeUri
(
String
value
)
Deprecated. The CPE URI in CPE format
string cpe_uri = 1;
setCpeUriBytes(ByteString value)
public
Location
.
Builder
setCpeUriBytes
(
ByteString
value
)
Deprecated. The CPE URI in CPE format
string cpe_uri = 1;
setPath(String value)
public
Location
.
Builder
setPath
(
String
value
)
The path from which we gathered that this package/version is installed.
string path = 3;
setPathBytes(ByteString value)
public
Location
.
Builder
setPathBytes
(
ByteString
value
)
The path from which we gathered that this package/version is installed.
string path = 3;
setVersion(Version value)
public
Location
.
Builder
setVersion
(
Version
value
)
Deprecated. The version installed at this location.
.grafeas.v1.Version version = 2;
setVersion(Version.Builder builderForValue)
public
Location
.
Builder
setVersion
(
Version
.
Builder
builderForValue
)
Deprecated. The version installed at this location.
.grafeas.v1.Version version = 2;

