Package io.grafeas.v1beta1.pkg
Interface LocationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Location,Location.Builder
public interface LocationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCpeUri()Required.com.google.protobuf.ByteStringgetCpeUriBytes()Required.StringgetPath()The path from which we gathered that this package/version is installed.com.google.protobuf.ByteStringgetPathBytes()The path from which we gathered that this package/version is installed.VersiongetVersion()The version installed at this location.VersionOrBuildergetVersionOrBuilder()The version installed at this location.booleanhasVersion()The version installed at this location.-
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/) denoting the package manager version distributing a package.
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/) denoting the package manager version distributing a package.
string cpe_uri = 1;- Returns:
- The bytes for cpeUri.
-
hasVersion
boolean hasVersion()
The version installed at this location.
.grafeas.v1beta1.package.Version version = 2;- Returns:
- Whether the version field is set.
-
getVersion
Version getVersion()
The version installed at this location.
.grafeas.v1beta1.package.Version version = 2;- Returns:
- The version.
-
getVersionOrBuilder
VersionOrBuilder getVersionOrBuilder()
The version installed at this location.
.grafeas.v1beta1.package.Version version = 2;
-
getPath
String getPath()
The path from which we gathered that this package/version is installed.
string path = 3;- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()
The path from which we gathered that this package/version is installed.
string path = 3;- Returns:
- The bytes for path.
-
-