/*
 * 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 PackageNoteOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:grafeas.v1.PackageNote)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The name of the package.
   * </pre>
   *
   * <code>
   * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
   * </code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * The name of the package.
   * </pre>
   *
   * <code>
   * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
   * </code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Deprecated.
   * The various channels by which a package is distributed.
   * </pre>
   *
   * <code>repeated .grafeas.v1.Distribution distribution = 10;</code>
   */
  java.util.List<io.grafeas.v1.Distribution> getDistributionList();
  /**
   *
   *
   * <pre>
   * Deprecated.
   * The various channels by which a package is distributed.
   * </pre>
   *
   * <code>repeated .grafeas.v1.Distribution distribution = 10;</code>
   */
  io.grafeas.v1.Distribution getDistribution(int index);
  /**
   *
   *
   * <pre>
   * Deprecated.
   * The various channels by which a package is distributed.
   * </pre>
   *
   * <code>repeated .grafeas.v1.Distribution distribution = 10;</code>
   */
  int getDistributionCount();
  /**
   *
   *
   * <pre>
   * Deprecated.
   * The various channels by which a package is distributed.
   * </pre>
   *
   * <code>repeated .grafeas.v1.Distribution distribution = 10;</code>
   */
  java.util.List<? extends io.grafeas.v1.DistributionOrBuilder> getDistributionOrBuilderList();
  /**
   *
   *
   * <pre>
   * Deprecated.
   * The various channels by which a package is distributed.
   * </pre>
   *
   * <code>repeated .grafeas.v1.Distribution distribution = 10;</code>
   */
  io.grafeas.v1.DistributionOrBuilder getDistributionOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * The type of package; whether native or non native (e.g., ruby gems,
   * node.js packages, etc.).
   * </pre>
   *
   * <code>string package_type = 11;</code>
   *
   * @return The packageType.
   */
  java.lang.String getPackageType();
  /**
   *
   *
   * <pre>
   * The type of package; whether native or non native (e.g., ruby gems,
   * node.js packages, etc.).
   * </pre>
   *
   * <code>string package_type = 11;</code>
   *
   * @return The bytes for packageType.
   */
  com.google.protobuf.ByteString getPackageTypeBytes();

  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string cpe_uri = 12;</code>
   *
   * @return The cpeUri.
   */
  java.lang.String getCpeUri();
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string cpe_uri = 12;</code>
   *
   * @return The bytes for cpeUri.
   */
  com.google.protobuf.ByteString getCpeUriBytes();

  /**
   *
   *
   * <pre>
   * The CPU architecture for which packages in this distribution channel were
   * built. Architecture will be blank for language packages.
   * </pre>
   *
   * <code>.grafeas.v1.Architecture architecture = 13;</code>
   *
   * @return The enum numeric value on the wire for architecture.
   */
  int getArchitectureValue();
  /**
   *
   *
   * <pre>
   * The CPU architecture for which packages in this distribution channel were
   * built. Architecture will be blank for language packages.
   * </pre>
   *
   * <code>.grafeas.v1.Architecture architecture = 13;</code>
   *
   * @return The architecture.
   */
  io.grafeas.v1.Architecture getArchitecture();

  /**
   *
   *
   * <pre>
   * The version of the package.
   * </pre>
   *
   * <code>.grafeas.v1.Version version = 14;</code>
   *
   * @return Whether the version field is set.
   */
  boolean hasVersion();
  /**
   *
   *
   * <pre>
   * The version of the package.
   * </pre>
   *
   * <code>.grafeas.v1.Version version = 14;</code>
   *
   * @return The version.
   */
  io.grafeas.v1.Version getVersion();
  /**
   *
   *
   * <pre>
   * The version of the package.
   * </pre>
   *
   * <code>.grafeas.v1.Version version = 14;</code>
   */
  io.grafeas.v1.VersionOrBuilder getVersionOrBuilder();

  /**
   *
   *
   * <pre>
   * A freeform text denoting the maintainer of this package.
   * </pre>
   *
   * <code>string maintainer = 15;</code>
   *
   * @return The maintainer.
   */
  java.lang.String getMaintainer();
  /**
   *
   *
   * <pre>
   * A freeform text denoting the maintainer of this package.
   * </pre>
   *
   * <code>string maintainer = 15;</code>
   *
   * @return The bytes for maintainer.
   */
  com.google.protobuf.ByteString getMaintainerBytes();

  /**
   *
   *
   * <pre>
   * The homepage for this package.
   * </pre>
   *
   * <code>string url = 16;</code>
   *
   * @return The url.
   */
  java.lang.String getUrl();
  /**
   *
   *
   * <pre>
   * The homepage for this package.
   * </pre>
   *
   * <code>string url = 16;</code>
   *
   * @return The bytes for url.
   */
  com.google.protobuf.ByteString getUrlBytes();

  /**
   *
   *
   * <pre>
   * The description of this package.
   * </pre>
   *
   * <code>string description = 17;</code>
   *
   * @return The description.
   */
  java.lang.String getDescription();
  /**
   *
   *
   * <pre>
   * The description of this package.
   * </pre>
   *
   * <code>string description = 17;</code>
   *
   * @return The bytes for description.
   */
  com.google.protobuf.ByteString getDescriptionBytes();

  /**
   *
   *
   * <pre>
   * Licenses that have been declared by the authors of the package.
   * </pre>
   *
   * <code>.grafeas.v1.License license = 18;</code>
   *
   * @return Whether the license field is set.
   */
  boolean hasLicense();
  /**
   *
   *
   * <pre>
   * Licenses that have been declared by the authors of the package.
   * </pre>
   *
   * <code>.grafeas.v1.License license = 18;</code>
   *
   * @return The license.
   */
  io.grafeas.v1.License getLicense();
  /**
   *
   *
   * <pre>
   * Licenses that have been declared by the authors of the package.
   * </pre>
   *
   * <code>.grafeas.v1.License license = 18;</code>
   */
  io.grafeas.v1.LicenseOrBuilder getLicenseOrBuilder();

  /**
   *
   *
   * <pre>
   * Hash value, typically a file digest, that allows unique
   * identification a specific package.
   * </pre>
   *
   * <code>repeated .grafeas.v1.Digest digest = 19;</code>
   */
  java.util.List<io.grafeas.v1.Digest> getDigestList();
  /**
   *
   *
   * <pre>
   * Hash value, typically a file digest, that allows unique
   * identification a specific package.
   * </pre>
   *
   * <code>repeated .grafeas.v1.Digest digest = 19;</code>
   */
  io.grafeas.v1.Digest getDigest(int index);
  /**
   *
   *
   * <pre>
   * Hash value, typically a file digest, that allows unique
   * identification a specific package.
   * </pre>
   *
   * <code>repeated .grafeas.v1.Digest digest = 19;</code>
   */
  int getDigestCount();
  /**
   *
   *
   * <pre>
   * Hash value, typically a file digest, that allows unique
   * identification a specific package.
   * </pre>
   *
   * <code>repeated .grafeas.v1.Digest digest = 19;</code>
   */
  java.util.List<? extends io.grafeas.v1.DigestOrBuilder> getDigestOrBuilderList();
  /**
   *
   *
   * <pre>
   * Hash value, typically a file digest, that allows unique
   * identification a specific package.
   * </pre>
   *
   * <code>repeated .grafeas.v1.Digest digest = 19;</code>
   */
  io.grafeas.v1.DigestOrBuilder getDigestOrBuilder(int index);
}
