io.grafeas.v1.DistributionOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grafeas Show documentation
Show all versions of grafeas Show documentation
Java idiomatic client for Grafeas.
/*
* 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
// Protobuf Java Version: 3.25.2
package io.grafeas.v1;
public interface DistributionOrBuilder
extends
// @@protoc_insertion_point(interface_extends:grafeas.v1.Distribution)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
* denoting the package manager version distributing a package.
*
*
* string cpe_uri = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @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.
*
*
* string cpe_uri = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for cpeUri.
*/
com.google.protobuf.ByteString getCpeUriBytes();
/**
*
*
*
* The CPU architecture for which packages in this distribution channel were
* built.
*
*
* .grafeas.v1.Architecture architecture = 2;
*
* @return The enum numeric value on the wire for architecture.
*/
int getArchitectureValue();
/**
*
*
*
* The CPU architecture for which packages in this distribution channel were
* built.
*
*
* .grafeas.v1.Architecture architecture = 2;
*
* @return The architecture.
*/
io.grafeas.v1.Architecture getArchitecture();
/**
*
*
*
* The latest available version of this package in this distribution channel.
*
*
* .grafeas.v1.Version latest_version = 3;
*
* @return Whether the latestVersion field is set.
*/
boolean hasLatestVersion();
/**
*
*
*
* The latest available version of this package in this distribution channel.
*
*
* .grafeas.v1.Version latest_version = 3;
*
* @return The latestVersion.
*/
io.grafeas.v1.Version getLatestVersion();
/**
*
*
*
* The latest available version of this package in this distribution channel.
*
*
* .grafeas.v1.Version latest_version = 3;
*/
io.grafeas.v1.VersionOrBuilder getLatestVersionOrBuilder();
/**
*
*
*
* A freeform string denoting the maintainer of this package.
*
*
* string maintainer = 4;
*
* @return The maintainer.
*/
java.lang.String getMaintainer();
/**
*
*
*
* A freeform string denoting the maintainer of this package.
*
*
* string maintainer = 4;
*
* @return The bytes for maintainer.
*/
com.google.protobuf.ByteString getMaintainerBytes();
/**
*
*
*
* The distribution channel-specific homepage for this package.
*
*
* string url = 5;
*
* @return The url.
*/
java.lang.String getUrl();
/**
*
*
*
* The distribution channel-specific homepage for this package.
*
*
* string url = 5;
*
* @return The bytes for url.
*/
com.google.protobuf.ByteString getUrlBytes();
/**
*
*
*
* The distribution channel-specific description of this package.
*
*
* string description = 6;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* The distribution channel-specific description of this package.
*
*
* string description = 6;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
}