/* * 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 { /** * * *
* The name of the package. ** *
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
* * The name of the package. ** *
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
* * Deprecated. * The various channels by which a package is distributed. ** *
repeated .grafeas.v1.Distribution distribution = 10;
*/
java.util.List* Deprecated. * The various channels by which a package is distributed. ** *
repeated .grafeas.v1.Distribution distribution = 10;
*/
io.grafeas.v1.Distribution getDistribution(int index);
/**
*
*
* * Deprecated. * The various channels by which a package is distributed. ** *
repeated .grafeas.v1.Distribution distribution = 10;
*/
int getDistributionCount();
/**
*
*
* * Deprecated. * The various channels by which a package is distributed. ** *
repeated .grafeas.v1.Distribution distribution = 10;
*/
java.util.List extends io.grafeas.v1.DistributionOrBuilder> getDistributionOrBuilderList();
/**
*
*
* * Deprecated. * The various channels by which a package is distributed. ** *
repeated .grafeas.v1.Distribution distribution = 10;
*/
io.grafeas.v1.DistributionOrBuilder getDistributionOrBuilder(int index);
/**
*
*
* * The type of package; whether native or non native (e.g., ruby gems, * node.js packages, etc.). ** *
string package_type = 11;
*
* @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 = 11;
*
* @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 = 12;
*
* @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 = 12;
*
* @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 = 13;
*
* @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 = 13;
*
* @return The architecture.
*/
io.grafeas.v1.Architecture getArchitecture();
/**
*
*
* * The version of the package. ** *
.grafeas.v1.Version version = 14;
*
* @return Whether the version field is set.
*/
boolean hasVersion();
/**
*
*
* * The version of the package. ** *
.grafeas.v1.Version version = 14;
*
* @return The version.
*/
io.grafeas.v1.Version getVersion();
/**
*
*
* * The version of the package. ** *
.grafeas.v1.Version version = 14;
*/
io.grafeas.v1.VersionOrBuilder getVersionOrBuilder();
/**
*
*
* * A freeform text denoting the maintainer of this package. ** *
string maintainer = 15;
*
* @return The maintainer.
*/
java.lang.String getMaintainer();
/**
*
*
* * A freeform text denoting the maintainer of this package. ** *
string maintainer = 15;
*
* @return The bytes for maintainer.
*/
com.google.protobuf.ByteString getMaintainerBytes();
/**
*
*
* * The homepage for this package. ** *
string url = 16;
*
* @return The url.
*/
java.lang.String getUrl();
/**
*
*
* * The homepage for this package. ** *
string url = 16;
*
* @return The bytes for url.
*/
com.google.protobuf.ByteString getUrlBytes();
/**
*
*
* * The description of this package. ** *
string description = 17;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
* * The description of this package. ** *
string description = 17;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
* * Licenses that have been declared by the authors of the package. ** *
.grafeas.v1.License license = 18;
*
* @return Whether the license field is set.
*/
boolean hasLicense();
/**
*
*
* * Licenses that have been declared by the authors of the package. ** *
.grafeas.v1.License license = 18;
*
* @return The license.
*/
io.grafeas.v1.License getLicense();
/**
*
*
* * Licenses that have been declared by the authors of the package. ** *
.grafeas.v1.License license = 18;
*/
io.grafeas.v1.LicenseOrBuilder getLicenseOrBuilder();
/**
*
*
* * Hash value, typically a file digest, that allows unique * identification a specific package. ** *
repeated .grafeas.v1.Digest digest = 19;
*/
java.util.List* Hash value, typically a file digest, that allows unique * identification a specific package. ** *
repeated .grafeas.v1.Digest digest = 19;
*/
io.grafeas.v1.Digest getDigest(int index);
/**
*
*
* * Hash value, typically a file digest, that allows unique * identification a specific package. ** *
repeated .grafeas.v1.Digest digest = 19;
*/
int getDigestCount();
/**
*
*
* * Hash value, typically a file digest, that allows unique * identification a specific package. ** *
repeated .grafeas.v1.Digest digest = 19;
*/
java.util.List extends io.grafeas.v1.DigestOrBuilder> getDigestOrBuilderList();
/**
*
*
* * Hash value, typically a file digest, that allows unique * identification a specific package. ** *
repeated .grafeas.v1.Digest digest = 19;
*/
io.grafeas.v1.DigestOrBuilder getDigestOrBuilder(int index);
}