Interface LocationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Location, Location.Builder

@Generated public interface LocationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    The path from which we gathered that this package/version is installed.
    com.google.protobuf.ByteString
    The path from which we gathered that this package/version is installed.
    The version installed at this location.
    The version installed at this location.
    boolean
    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 Details

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