Package io.grafeas.v1beta1.vulnerability
Interface VulnerabilityLocationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VulnerabilityLocation
,VulnerabilityLocation.Builder
public interface VulnerabilityLocationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCpeUri()
Required.com.google.protobuf.ByteString
getCpeUriBytes()
Required.String
getPackage()
Required.com.google.protobuf.ByteString
getPackageBytes()
Required.Version
getVersion()
Required.VersionOrBuilder
getVersionOrBuilder()
Required.boolean
hasVersion()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCpeUri
String getCpeUri()
Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;
- Returns:
- The cpeUri.
-
getCpeUriBytes
com.google.protobuf.ByteString getCpeUriBytes()
Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;
- Returns:
- The bytes for cpeUri.
-
getPackage
String getPackage()
Required. The package being described.
string package = 2;
- Returns:
- The package.
-
getPackageBytes
com.google.protobuf.ByteString getPackageBytes()
Required. The package being described.
string package = 2;
- Returns:
- The bytes for package.
-
hasVersion
boolean hasVersion()
Required. The version of the package being described.
.grafeas.v1beta1.package.Version version = 3;
- Returns:
- Whether the version field is set.
-
getVersion
Version getVersion()
Required. The version of the package being described.
.grafeas.v1beta1.package.Version version = 3;
- Returns:
- The version.
-
getVersionOrBuilder
VersionOrBuilder getVersionOrBuilder()
Required. The version of the package being described.
.grafeas.v1beta1.package.Version version = 3;
-
-