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
      String getCpeUri()
      Required.
      com.google.protobuf.ByteString getCpeUriBytes()
      Required.
      String getPath()
      The path from which we gathered that this package/version is installed.
      com.google.protobuf.ByteString getPathBytes()
      The path from which we gathered that this package/version is installed.
      Version getVersion()
      The version installed at this location.
      VersionOrBuilder getVersionOrBuilder()
      The version installed at this location.
      boolean hasVersion()
      The version installed at this location.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.