/* * 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/grafeas/grafeas.proto package io.grafeas.v1beta1; public interface OccurrenceOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1beta1.Occurrence) com.google.protobuf.MessageOrBuilder { /** * * *
* Output only. The name of the occurrence in the form of * `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. ** *
string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
* * Output only. The name of the occurrence in the form of * `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. ** *
string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
* * Required. Immutable. The resource for which the occurrence applies. ** *
.grafeas.v1beta1.Resource resource = 2;
*
* @return Whether the resource field is set.
*/
boolean hasResource();
/**
*
*
* * Required. Immutable. The resource for which the occurrence applies. ** *
.grafeas.v1beta1.Resource resource = 2;
*
* @return The resource.
*/
io.grafeas.v1beta1.Resource getResource();
/**
*
*
* * Required. Immutable. The resource for which the occurrence applies. ** *
.grafeas.v1beta1.Resource resource = 2;
*/
io.grafeas.v1beta1.ResourceOrBuilder getResourceOrBuilder();
/**
*
*
* * Required. Immutable. The analysis note associated with this occurrence, in * the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be * used as a filter in list requests. ** *
string note_name = 3;
*
* @return The noteName.
*/
java.lang.String getNoteName();
/**
*
*
* * Required. Immutable. The analysis note associated with this occurrence, in * the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be * used as a filter in list requests. ** *
string note_name = 3;
*
* @return The bytes for noteName.
*/
com.google.protobuf.ByteString getNoteNameBytes();
/**
*
*
* * Output only. This explicitly denotes which of the occurrence details are * specified. This field can be used as a filter in list requests. ** *
.grafeas.v1beta1.NoteKind kind = 4;
*
* @return The enum numeric value on the wire for kind.
*/
int getKindValue();
/**
*
*
* * Output only. This explicitly denotes which of the occurrence details are * specified. This field can be used as a filter in list requests. ** *
.grafeas.v1beta1.NoteKind kind = 4;
*
* @return The kind.
*/
io.grafeas.v1beta1.common.NoteKind getKind();
/**
*
*
* * A description of actions that can be taken to remedy the note. ** *
string remediation = 5;
*
* @return The remediation.
*/
java.lang.String getRemediation();
/**
*
*
* * A description of actions that can be taken to remedy the note. ** *
string remediation = 5;
*
* @return The bytes for remediation.
*/
com.google.protobuf.ByteString getRemediationBytes();
/**
*
*
* * Output only. The time this occurrence was created. ** *
.google.protobuf.Timestamp create_time = 6;
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
* * Output only. The time this occurrence was created. ** *
.google.protobuf.Timestamp create_time = 6;
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
* * Output only. The time this occurrence was created. ** *
.google.protobuf.Timestamp create_time = 6;
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
* * Output only. The time this occurrence was last updated. ** *
.google.protobuf.Timestamp update_time = 7;
*
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
*
*
* * Output only. The time this occurrence was last updated. ** *
.google.protobuf.Timestamp update_time = 7;
*
* @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
*
*
* * Output only. The time this occurrence was last updated. ** *
.google.protobuf.Timestamp update_time = 7;
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
* * Describes a security vulnerability. ** *
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
*
* @return Whether the vulnerability field is set.
*/
boolean hasVulnerability();
/**
*
*
* * Describes a security vulnerability. ** *
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
*
* @return The vulnerability.
*/
io.grafeas.v1beta1.vulnerability.Details getVulnerability();
/**
*
*
* * Describes a security vulnerability. ** *
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
*/
io.grafeas.v1beta1.vulnerability.DetailsOrBuilder getVulnerabilityOrBuilder();
/**
*
*
* * Describes a verifiable build. ** *
.grafeas.v1beta1.build.Details build = 9;
*
* @return Whether the build field is set.
*/
boolean hasBuild();
/**
*
*
* * Describes a verifiable build. ** *
.grafeas.v1beta1.build.Details build = 9;
*
* @return The build.
*/
io.grafeas.v1beta1.build.Details getBuild();
/**
*
*
* * Describes a verifiable build. ** *
.grafeas.v1beta1.build.Details build = 9;
*/
io.grafeas.v1beta1.build.DetailsOrBuilder getBuildOrBuilder();
/**
*
*
* * Describes how this resource derives from the basis in the associated * note. ** *
.grafeas.v1beta1.image.Details derived_image = 10;
*
* @return Whether the derivedImage field is set.
*/
boolean hasDerivedImage();
/**
*
*
* * Describes how this resource derives from the basis in the associated * note. ** *
.grafeas.v1beta1.image.Details derived_image = 10;
*
* @return The derivedImage.
*/
io.grafeas.v1beta1.image.Details getDerivedImage();
/**
*
*
* * Describes how this resource derives from the basis in the associated * note. ** *
.grafeas.v1beta1.image.Details derived_image = 10;
*/
io.grafeas.v1beta1.image.DetailsOrBuilder getDerivedImageOrBuilder();
/**
*
*
* * Describes the installation of a package on the linked resource. ** *
.grafeas.v1beta1.package.Details installation = 11;
*
* @return Whether the installation field is set.
*/
boolean hasInstallation();
/**
*
*
* * Describes the installation of a package on the linked resource. ** *
.grafeas.v1beta1.package.Details installation = 11;
*
* @return The installation.
*/
io.grafeas.v1beta1.pkg.Details getInstallation();
/**
*
*
* * Describes the installation of a package on the linked resource. ** *
.grafeas.v1beta1.package.Details installation = 11;
*/
io.grafeas.v1beta1.pkg.DetailsOrBuilder getInstallationOrBuilder();
/**
*
*
* * Describes the deployment of an artifact on a runtime. ** *
.grafeas.v1beta1.deployment.Details deployment = 12;
*
* @return Whether the deployment field is set.
*/
boolean hasDeployment();
/**
*
*
* * Describes the deployment of an artifact on a runtime. ** *
.grafeas.v1beta1.deployment.Details deployment = 12;
*
* @return The deployment.
*/
io.grafeas.v1beta1.deployment.Details getDeployment();
/**
*
*
* * Describes the deployment of an artifact on a runtime. ** *
.grafeas.v1beta1.deployment.Details deployment = 12;
*/
io.grafeas.v1beta1.deployment.DetailsOrBuilder getDeploymentOrBuilder();
/**
*
*
* * Describes when a resource was discovered. ** *
.grafeas.v1beta1.discovery.Details discovered = 13;
*
* @return Whether the discovered field is set.
*/
boolean hasDiscovered();
/**
*
*
* * Describes when a resource was discovered. ** *
.grafeas.v1beta1.discovery.Details discovered = 13;
*
* @return The discovered.
*/
io.grafeas.v1beta1.discovery.Details getDiscovered();
/**
*
*
* * Describes when a resource was discovered. ** *
.grafeas.v1beta1.discovery.Details discovered = 13;
*/
io.grafeas.v1beta1.discovery.DetailsOrBuilder getDiscoveredOrBuilder();
/**
*
*
* * Describes an attestation of an artifact. ** *
.grafeas.v1beta1.attestation.Details attestation = 14;
*
* @return Whether the attestation field is set.
*/
boolean hasAttestation();
/**
*
*
* * Describes an attestation of an artifact. ** *
.grafeas.v1beta1.attestation.Details attestation = 14;
*
* @return The attestation.
*/
io.grafeas.v1beta1.attestation.Details getAttestation();
/**
*
*
* * Describes an attestation of an artifact. ** *
.grafeas.v1beta1.attestation.Details attestation = 14;
*/
io.grafeas.v1beta1.attestation.DetailsOrBuilder getAttestationOrBuilder();
public io.grafeas.v1beta1.Occurrence.DetailsCase getDetailsCase();
}