/* * Copyright 2019 The Grafeas Authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto package io.grafeas.v1; public interface PackageOccurrenceOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1.PackageOccurrence) com.google.protobuf.MessageOrBuilder { /** * * *
   * The name of the installed package.
   * 
* * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The name. */ java.lang.String getName(); /** * * *
   * The name of the installed package.
   * 
* * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * All of the places within the filesystem versions of this package
   * have been found.
   * 
* * repeated .grafeas.v1.Location location = 2; */ java.util.List getLocationList(); /** * * *
   * All of the places within the filesystem versions of this package
   * have been found.
   * 
* * repeated .grafeas.v1.Location location = 2; */ io.grafeas.v1.Location getLocation(int index); /** * * *
   * All of the places within the filesystem versions of this package
   * have been found.
   * 
* * repeated .grafeas.v1.Location location = 2; */ int getLocationCount(); /** * * *
   * All of the places within the filesystem versions of this package
   * have been found.
   * 
* * repeated .grafeas.v1.Location location = 2; */ java.util.List getLocationOrBuilderList(); /** * * *
   * All of the places within the filesystem versions of this package
   * have been found.
   * 
* * repeated .grafeas.v1.Location location = 2; */ io.grafeas.v1.LocationOrBuilder getLocationOrBuilder(int index); /** * * *
   * The type of package; whether native or non native (e.g., ruby gems,
   * node.js packages, etc.).
   * 
* * string package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The packageType. */ java.lang.String getPackageType(); /** * * *
   * The type of package; whether native or non native (e.g., ruby gems,
   * node.js packages, etc.).
   * 
* * string package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for packageType. */ com.google.protobuf.ByteString getPackageTypeBytes(); /** * * *
   * The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
   * denoting the package manager version distributing a package.
   * The cpe_uri will be blank for language packages.
   * 
* * string cpe_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The cpeUri. */ java.lang.String getCpeUri(); /** * * *
   * The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
   * denoting the package manager version distributing a package.
   * The cpe_uri will be blank for language packages.
   * 
* * string cpe_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for cpeUri. */ com.google.protobuf.ByteString getCpeUriBytes(); /** * * *
   * The CPU architecture for which packages in this distribution channel were
   * built. Architecture will be blank for language packages.
   * 
* * .grafeas.v1.Architecture architecture = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for architecture. */ int getArchitectureValue(); /** * * *
   * The CPU architecture for which packages in this distribution channel were
   * built. Architecture will be blank for language packages.
   * 
* * .grafeas.v1.Architecture architecture = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The architecture. */ io.grafeas.v1.Architecture getArchitecture(); /** * * *
   * Licenses that have been declared by the authors of the package.
   * 
* * .grafeas.v1.License license = 6; * * @return Whether the license field is set. */ boolean hasLicense(); /** * * *
   * Licenses that have been declared by the authors of the package.
   * 
* * .grafeas.v1.License license = 6; * * @return The license. */ io.grafeas.v1.License getLicense(); /** * * *
   * Licenses that have been declared by the authors of the package.
   * 
* * .grafeas.v1.License license = 6; */ io.grafeas.v1.LicenseOrBuilder getLicenseOrBuilder(); /** * * *
   * The version of the package.
   * 
* * .grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return Whether the version field is set. */ boolean hasVersion(); /** * * *
   * The version of the package.
   * 
* * .grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The version. */ io.grafeas.v1.Version getVersion(); /** * * *
   * The version of the package.
   * 
* * .grafeas.v1.Version version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ io.grafeas.v1.VersionOrBuilder getVersionOrBuilder(); }