
io.grafeas.v1beta1.vulnerability.DetailsOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 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/vulnerability/vulnerability.proto
// Protobuf Java Version: 3.25.5
package io.grafeas.v1beta1.vulnerability;
public interface DetailsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:grafeas.v1beta1.vulnerability.Details)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The type of package; whether native or non native(ruby gems, node.js
* packages etc)
*
*
* string type = 1;
*
* @return The type.
*/
java.lang.String getType();
/**
*
*
*
* The type of package; whether native or non native(ruby gems, node.js
* packages etc)
*
*
* string type = 1;
*
* @return The bytes for type.
*/
com.google.protobuf.ByteString getTypeBytes();
/**
*
*
*
* Output only. The note provider assigned Severity of the vulnerability.
*
*
* .grafeas.v1beta1.vulnerability.Severity severity = 2;
*
* @return The enum numeric value on the wire for severity.
*/
int getSeverityValue();
/**
*
*
*
* Output only. The note provider assigned Severity of the vulnerability.
*
*
* .grafeas.v1beta1.vulnerability.Severity severity = 2;
*
* @return The severity.
*/
io.grafeas.v1beta1.vulnerability.Severity getSeverity();
/**
*
*
*
* Output only. The CVSS score of this vulnerability. CVSS score is on a
* scale of 0-10 where 0 indicates low severity and 10 indicates high
* severity.
*
*
* float cvss_score = 3;
*
* @return The cvssScore.
*/
float getCvssScore();
/**
*
*
*
* Required. The set of affected locations and their fixes (if available)
* within the associated resource.
*
*
* repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
*/
java.util.List getPackageIssueList();
/**
*
*
*
* Required. The set of affected locations and their fixes (if available)
* within the associated resource.
*
*
* repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
*/
io.grafeas.v1beta1.vulnerability.PackageIssue getPackageIssue(int index);
/**
*
*
*
* Required. The set of affected locations and their fixes (if available)
* within the associated resource.
*
*
* repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
*/
int getPackageIssueCount();
/**
*
*
*
* Required. The set of affected locations and their fixes (if available)
* within the associated resource.
*
*
* repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
*/
java.util.List extends io.grafeas.v1beta1.vulnerability.PackageIssueOrBuilder>
getPackageIssueOrBuilderList();
/**
*
*
*
* Required. The set of affected locations and their fixes (if available)
* within the associated resource.
*
*
* repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
*/
io.grafeas.v1beta1.vulnerability.PackageIssueOrBuilder getPackageIssueOrBuilder(int index);
/**
*
*
*
* Output only. A one sentence description of this vulnerability.
*
*
* string short_description = 5;
*
* @return The shortDescription.
*/
java.lang.String getShortDescription();
/**
*
*
*
* Output only. A one sentence description of this vulnerability.
*
*
* string short_description = 5;
*
* @return The bytes for shortDescription.
*/
com.google.protobuf.ByteString getShortDescriptionBytes();
/**
*
*
*
* Output only. A detailed description of this vulnerability.
*
*
* string long_description = 6;
*
* @return The longDescription.
*/
java.lang.String getLongDescription();
/**
*
*
*
* Output only. A detailed description of this vulnerability.
*
*
* string long_description = 6;
*
* @return The bytes for longDescription.
*/
com.google.protobuf.ByteString getLongDescriptionBytes();
/**
*
*
*
* Output only. URLs related to this vulnerability.
*
*
* repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
*/
java.util.List getRelatedUrlsList();
/**
*
*
*
* Output only. URLs related to this vulnerability.
*
*
* repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
*/
io.grafeas.v1beta1.common.RelatedUrl getRelatedUrls(int index);
/**
*
*
*
* Output only. URLs related to this vulnerability.
*
*
* repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
*/
int getRelatedUrlsCount();
/**
*
*
*
* Output only. URLs related to this vulnerability.
*
*
* repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
*/
java.util.List extends io.grafeas.v1beta1.common.RelatedUrlOrBuilder>
getRelatedUrlsOrBuilderList();
/**
*
*
*
* Output only. URLs related to this vulnerability.
*
*
* repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
*/
io.grafeas.v1beta1.common.RelatedUrlOrBuilder getRelatedUrlsOrBuilder(int index);
/**
*
*
*
* The distro assigned severity for this vulnerability when it is
* available, and note provider assigned severity when distro has not yet
* assigned a severity for this vulnerability.
*
*
* .grafeas.v1beta1.vulnerability.Severity effective_severity = 8;
*
* @return The enum numeric value on the wire for effectiveSeverity.
*/
int getEffectiveSeverityValue();
/**
*
*
*
* The distro assigned severity for this vulnerability when it is
* available, and note provider assigned severity when distro has not yet
* assigned a severity for this vulnerability.
*
*
* .grafeas.v1beta1.vulnerability.Severity effective_severity = 8;
*
* @return The effectiveSeverity.
*/
io.grafeas.v1beta1.vulnerability.Severity getEffectiveSeverity();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy