/* * 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/grafeas.proto package io.grafeas.v1; public interface OccurrenceOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1.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. A URI that represents the resource for which the
   * occurrence applies. For example,
   * `https://gcr.io/project/image@sha256:123abc` for a Docker image.
   * 
* * string resource_uri = 2; * * @return The resourceUri. */ java.lang.String getResourceUri(); /** * * *
   * Required. Immutable. A URI that represents the resource for which the
   * occurrence applies. For example,
   * `https://gcr.io/project/image@sha256:123abc` for a Docker image.
   * 
* * string resource_uri = 2; * * @return The bytes for resourceUri. */ com.google.protobuf.ByteString getResourceUriBytes(); /** * * *
   * 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.v1.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.v1.NoteKind kind = 4; * * @return The kind. */ io.grafeas.v1.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.v1.VulnerabilityOccurrence vulnerability = 8; * * @return Whether the vulnerability field is set. */ boolean hasVulnerability(); /** * * *
   * Describes a security vulnerability.
   * 
* * .grafeas.v1.VulnerabilityOccurrence vulnerability = 8; * * @return The vulnerability. */ io.grafeas.v1.VulnerabilityOccurrence getVulnerability(); /** * * *
   * Describes a security vulnerability.
   * 
* * .grafeas.v1.VulnerabilityOccurrence vulnerability = 8; */ io.grafeas.v1.VulnerabilityOccurrenceOrBuilder getVulnerabilityOrBuilder(); /** * * *
   * Describes a verifiable build.
   * 
* * .grafeas.v1.BuildOccurrence build = 9; * * @return Whether the build field is set. */ boolean hasBuild(); /** * * *
   * Describes a verifiable build.
   * 
* * .grafeas.v1.BuildOccurrence build = 9; * * @return The build. */ io.grafeas.v1.BuildOccurrence getBuild(); /** * * *
   * Describes a verifiable build.
   * 
* * .grafeas.v1.BuildOccurrence build = 9; */ io.grafeas.v1.BuildOccurrenceOrBuilder getBuildOrBuilder(); /** * * *
   * Describes how this resource derives from the basis in the associated
   * note.
   * 
* * .grafeas.v1.ImageOccurrence image = 10; * * @return Whether the image field is set. */ boolean hasImage(); /** * * *
   * Describes how this resource derives from the basis in the associated
   * note.
   * 
* * .grafeas.v1.ImageOccurrence image = 10; * * @return The image. */ io.grafeas.v1.ImageOccurrence getImage(); /** * * *
   * Describes how this resource derives from the basis in the associated
   * note.
   * 
* * .grafeas.v1.ImageOccurrence image = 10; */ io.grafeas.v1.ImageOccurrenceOrBuilder getImageOrBuilder(); /** * * *
   * Describes the installation of a package on the linked resource.
   * 
* * .grafeas.v1.PackageOccurrence package = 11; * * @return Whether the package field is set. */ boolean hasPackage(); /** * * *
   * Describes the installation of a package on the linked resource.
   * 
* * .grafeas.v1.PackageOccurrence package = 11; * * @return The package. */ io.grafeas.v1.PackageOccurrence getPackage(); /** * * *
   * Describes the installation of a package on the linked resource.
   * 
* * .grafeas.v1.PackageOccurrence package = 11; */ io.grafeas.v1.PackageOccurrenceOrBuilder getPackageOrBuilder(); /** * * *
   * Describes the deployment of an artifact on a runtime.
   * 
* * .grafeas.v1.DeploymentOccurrence deployment = 12; * * @return Whether the deployment field is set. */ boolean hasDeployment(); /** * * *
   * Describes the deployment of an artifact on a runtime.
   * 
* * .grafeas.v1.DeploymentOccurrence deployment = 12; * * @return The deployment. */ io.grafeas.v1.DeploymentOccurrence getDeployment(); /** * * *
   * Describes the deployment of an artifact on a runtime.
   * 
* * .grafeas.v1.DeploymentOccurrence deployment = 12; */ io.grafeas.v1.DeploymentOccurrenceOrBuilder getDeploymentOrBuilder(); /** * * *
   * Describes when a resource was discovered.
   * 
* * .grafeas.v1.DiscoveryOccurrence discovery = 13; * * @return Whether the discovery field is set. */ boolean hasDiscovery(); /** * * *
   * Describes when a resource was discovered.
   * 
* * .grafeas.v1.DiscoveryOccurrence discovery = 13; * * @return The discovery. */ io.grafeas.v1.DiscoveryOccurrence getDiscovery(); /** * * *
   * Describes when a resource was discovered.
   * 
* * .grafeas.v1.DiscoveryOccurrence discovery = 13; */ io.grafeas.v1.DiscoveryOccurrenceOrBuilder getDiscoveryOrBuilder(); /** * * *
   * Describes an attestation of an artifact.
   * 
* * .grafeas.v1.AttestationOccurrence attestation = 14; * * @return Whether the attestation field is set. */ boolean hasAttestation(); /** * * *
   * Describes an attestation of an artifact.
   * 
* * .grafeas.v1.AttestationOccurrence attestation = 14; * * @return The attestation. */ io.grafeas.v1.AttestationOccurrence getAttestation(); /** * * *
   * Describes an attestation of an artifact.
   * 
* * .grafeas.v1.AttestationOccurrence attestation = 14; */ io.grafeas.v1.AttestationOccurrenceOrBuilder getAttestationOrBuilder(); /** * * *
   * Describes an available package upgrade on the linked resource.
   * 
* * .grafeas.v1.UpgradeOccurrence upgrade = 15; * * @return Whether the upgrade field is set. */ boolean hasUpgrade(); /** * * *
   * Describes an available package upgrade on the linked resource.
   * 
* * .grafeas.v1.UpgradeOccurrence upgrade = 15; * * @return The upgrade. */ io.grafeas.v1.UpgradeOccurrence getUpgrade(); /** * * *
   * Describes an available package upgrade on the linked resource.
   * 
* * .grafeas.v1.UpgradeOccurrence upgrade = 15; */ io.grafeas.v1.UpgradeOccurrenceOrBuilder getUpgradeOrBuilder(); /** * * *
   * Describes a compliance violation on a linked resource.
   * 
* * .grafeas.v1.ComplianceOccurrence compliance = 16; * * @return Whether the compliance field is set. */ boolean hasCompliance(); /** * * *
   * Describes a compliance violation on a linked resource.
   * 
* * .grafeas.v1.ComplianceOccurrence compliance = 16; * * @return The compliance. */ io.grafeas.v1.ComplianceOccurrence getCompliance(); /** * * *
   * Describes a compliance violation on a linked resource.
   * 
* * .grafeas.v1.ComplianceOccurrence compliance = 16; */ io.grafeas.v1.ComplianceOccurrenceOrBuilder getComplianceOrBuilder(); /** * * *
   * Describes an attestation of an artifact using dsse.
   * 
* * .grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17; * * @return Whether the dsseAttestation field is set. */ boolean hasDsseAttestation(); /** * * *
   * Describes an attestation of an artifact using dsse.
   * 
* * .grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17; * * @return The dsseAttestation. */ io.grafeas.v1.DSSEAttestationOccurrence getDsseAttestation(); /** * * *
   * Describes an attestation of an artifact using dsse.
   * 
* * .grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17; */ io.grafeas.v1.DSSEAttestationOccurrenceOrBuilder getDsseAttestationOrBuilder(); /** * * *
   * https://github.com/secure-systems-lab/dsse
   * 
* * .grafeas.v1.Envelope envelope = 18; * * @return Whether the envelope field is set. */ boolean hasEnvelope(); /** * * *
   * https://github.com/secure-systems-lab/dsse
   * 
* * .grafeas.v1.Envelope envelope = 18; * * @return The envelope. */ io.grafeas.v1.Envelope getEnvelope(); /** * * *
   * https://github.com/secure-systems-lab/dsse
   * 
* * .grafeas.v1.Envelope envelope = 18; */ io.grafeas.v1.EnvelopeOrBuilder getEnvelopeOrBuilder(); public io.grafeas.v1.Occurrence.DetailsCase getDetailsCase(); }