/*
 * Copyright 2020 Google LLC
 *
 * 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: google/devtools/containeranalysis/v1beta1/package/package.proto

package io.grafeas.v1beta1.pkg;

public interface PackageOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:grafeas.v1beta1.package.Package)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required. Immutable. The name of the package.
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Required. Immutable. The name of the package.
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

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