/* * 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 NoteOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1.Note) com.google.protobuf.MessageOrBuilder { /** * * *
* Output only. The name of the note in the form of * `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. ** *
string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
* * Output only. The name of the note in the form of * `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. ** *
string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
* * A one sentence description of this note. ** *
string short_description = 2;
*
* @return The shortDescription.
*/
java.lang.String getShortDescription();
/**
*
*
* * A one sentence description of this note. ** *
string short_description = 2;
*
* @return The bytes for shortDescription.
*/
com.google.protobuf.ByteString getShortDescriptionBytes();
/**
*
*
* * A detailed description of this note. ** *
string long_description = 3;
*
* @return The longDescription.
*/
java.lang.String getLongDescription();
/**
*
*
* * A detailed description of this note. ** *
string long_description = 3;
*
* @return The bytes for longDescription.
*/
com.google.protobuf.ByteString getLongDescriptionBytes();
/**
*
*
* * Output only. The type of analysis. 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. The type of analysis. This field can be used as a filter in * list requests. ** *
.grafeas.v1.NoteKind kind = 4;
*
* @return The kind.
*/
io.grafeas.v1.NoteKind getKind();
/**
*
*
* * URLs associated with this note. ** *
repeated .grafeas.v1.RelatedUrl related_url = 5;
*/
java.util.List* URLs associated with this note. ** *
repeated .grafeas.v1.RelatedUrl related_url = 5;
*/
io.grafeas.v1.RelatedUrl getRelatedUrl(int index);
/**
*
*
* * URLs associated with this note. ** *
repeated .grafeas.v1.RelatedUrl related_url = 5;
*/
int getRelatedUrlCount();
/**
*
*
* * URLs associated with this note. ** *
repeated .grafeas.v1.RelatedUrl related_url = 5;
*/
java.util.List extends io.grafeas.v1.RelatedUrlOrBuilder> getRelatedUrlOrBuilderList();
/**
*
*
* * URLs associated with this note. ** *
repeated .grafeas.v1.RelatedUrl related_url = 5;
*/
io.grafeas.v1.RelatedUrlOrBuilder getRelatedUrlOrBuilder(int index);
/**
*
*
* * Time of expiration for this note. Empty if note does not expire. ** *
.google.protobuf.Timestamp expiration_time = 6;
*
* @return Whether the expirationTime field is set.
*/
boolean hasExpirationTime();
/**
*
*
* * Time of expiration for this note. Empty if note does not expire. ** *
.google.protobuf.Timestamp expiration_time = 6;
*
* @return The expirationTime.
*/
com.google.protobuf.Timestamp getExpirationTime();
/**
*
*
* * Time of expiration for this note. Empty if note does not expire. ** *
.google.protobuf.Timestamp expiration_time = 6;
*/
com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder();
/**
*
*
* * Output only. The time this note was created. This field can be used as a * filter in list requests. ** *
.google.protobuf.Timestamp create_time = 7;
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
* * Output only. The time this note was created. This field can be used as a * filter in list requests. ** *
.google.protobuf.Timestamp create_time = 7;
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
* * Output only. The time this note was created. This field can be used as a * filter in list requests. ** *
.google.protobuf.Timestamp create_time = 7;
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
* * Output only. The time this note was last updated. This field can be used as * a filter in list requests. ** *
.google.protobuf.Timestamp update_time = 8;
*
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
*
*
* * Output only. The time this note was last updated. This field can be used as * a filter in list requests. ** *
.google.protobuf.Timestamp update_time = 8;
*
* @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
*
*
* * Output only. The time this note was last updated. This field can be used as * a filter in list requests. ** *
.google.protobuf.Timestamp update_time = 8;
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
* * Other notes related to this note. ** *
repeated string related_note_names = 9;
*
* @return A list containing the relatedNoteNames.
*/
java.util.List* Other notes related to this note. ** *
repeated string related_note_names = 9;
*
* @return The count of relatedNoteNames.
*/
int getRelatedNoteNamesCount();
/**
*
*
* * Other notes related to this note. ** *
repeated string related_note_names = 9;
*
* @param index The index of the element to return.
* @return The relatedNoteNames at the given index.
*/
java.lang.String getRelatedNoteNames(int index);
/**
*
*
* * Other notes related to this note. ** *
repeated string related_note_names = 9;
*
* @param index The index of the value to return.
* @return The bytes of the relatedNoteNames at the given index.
*/
com.google.protobuf.ByteString getRelatedNoteNamesBytes(int index);
/**
*
*
* * A note describing a package vulnerability. ** *
.grafeas.v1.VulnerabilityNote vulnerability = 10;
*
* @return Whether the vulnerability field is set.
*/
boolean hasVulnerability();
/**
*
*
* * A note describing a package vulnerability. ** *
.grafeas.v1.VulnerabilityNote vulnerability = 10;
*
* @return The vulnerability.
*/
io.grafeas.v1.VulnerabilityNote getVulnerability();
/**
*
*
* * A note describing a package vulnerability. ** *
.grafeas.v1.VulnerabilityNote vulnerability = 10;
*/
io.grafeas.v1.VulnerabilityNoteOrBuilder getVulnerabilityOrBuilder();
/**
*
*
* * A note describing build provenance for a verifiable build. ** *
.grafeas.v1.BuildNote build = 11;
*
* @return Whether the build field is set.
*/
boolean hasBuild();
/**
*
*
* * A note describing build provenance for a verifiable build. ** *
.grafeas.v1.BuildNote build = 11;
*
* @return The build.
*/
io.grafeas.v1.BuildNote getBuild();
/**
*
*
* * A note describing build provenance for a verifiable build. ** *
.grafeas.v1.BuildNote build = 11;
*/
io.grafeas.v1.BuildNoteOrBuilder getBuildOrBuilder();
/**
*
*
* * A note describing a base image. ** *
.grafeas.v1.ImageNote image = 12;
*
* @return Whether the image field is set.
*/
boolean hasImage();
/**
*
*
* * A note describing a base image. ** *
.grafeas.v1.ImageNote image = 12;
*
* @return The image.
*/
io.grafeas.v1.ImageNote getImage();
/**
*
*
* * A note describing a base image. ** *
.grafeas.v1.ImageNote image = 12;
*/
io.grafeas.v1.ImageNoteOrBuilder getImageOrBuilder();
/**
*
*
* * A note describing a package hosted by various package managers. ** *
.grafeas.v1.PackageNote package = 13;
*
* @return Whether the package field is set.
*/
boolean hasPackage();
/**
*
*
* * A note describing a package hosted by various package managers. ** *
.grafeas.v1.PackageNote package = 13;
*
* @return The package.
*/
io.grafeas.v1.PackageNote getPackage();
/**
*
*
* * A note describing a package hosted by various package managers. ** *
.grafeas.v1.PackageNote package = 13;
*/
io.grafeas.v1.PackageNoteOrBuilder getPackageOrBuilder();
/**
*
*
* * A note describing something that can be deployed. ** *
.grafeas.v1.DeploymentNote deployment = 14;
*
* @return Whether the deployment field is set.
*/
boolean hasDeployment();
/**
*
*
* * A note describing something that can be deployed. ** *
.grafeas.v1.DeploymentNote deployment = 14;
*
* @return The deployment.
*/
io.grafeas.v1.DeploymentNote getDeployment();
/**
*
*
* * A note describing something that can be deployed. ** *
.grafeas.v1.DeploymentNote deployment = 14;
*/
io.grafeas.v1.DeploymentNoteOrBuilder getDeploymentOrBuilder();
/**
*
*
* * A note describing the initial analysis of a resource. ** *
.grafeas.v1.DiscoveryNote discovery = 15;
*
* @return Whether the discovery field is set.
*/
boolean hasDiscovery();
/**
*
*
* * A note describing the initial analysis of a resource. ** *
.grafeas.v1.DiscoveryNote discovery = 15;
*
* @return The discovery.
*/
io.grafeas.v1.DiscoveryNote getDiscovery();
/**
*
*
* * A note describing the initial analysis of a resource. ** *
.grafeas.v1.DiscoveryNote discovery = 15;
*/
io.grafeas.v1.DiscoveryNoteOrBuilder getDiscoveryOrBuilder();
/**
*
*
* * A note describing an attestation role. ** *
.grafeas.v1.AttestationNote attestation = 16;
*
* @return Whether the attestation field is set.
*/
boolean hasAttestation();
/**
*
*
* * A note describing an attestation role. ** *
.grafeas.v1.AttestationNote attestation = 16;
*
* @return The attestation.
*/
io.grafeas.v1.AttestationNote getAttestation();
/**
*
*
* * A note describing an attestation role. ** *
.grafeas.v1.AttestationNote attestation = 16;
*/
io.grafeas.v1.AttestationNoteOrBuilder getAttestationOrBuilder();
/**
*
*
* * A note describing available package upgrades. ** *
.grafeas.v1.UpgradeNote upgrade = 17;
*
* @return Whether the upgrade field is set.
*/
boolean hasUpgrade();
/**
*
*
* * A note describing available package upgrades. ** *
.grafeas.v1.UpgradeNote upgrade = 17;
*
* @return The upgrade.
*/
io.grafeas.v1.UpgradeNote getUpgrade();
/**
*
*
* * A note describing available package upgrades. ** *
.grafeas.v1.UpgradeNote upgrade = 17;
*/
io.grafeas.v1.UpgradeNoteOrBuilder getUpgradeOrBuilder();
/**
*
*
* * A note describing a compliance check. ** *
.grafeas.v1.ComplianceNote compliance = 18;
*
* @return Whether the compliance field is set.
*/
boolean hasCompliance();
/**
*
*
* * A note describing a compliance check. ** *
.grafeas.v1.ComplianceNote compliance = 18;
*
* @return The compliance.
*/
io.grafeas.v1.ComplianceNote getCompliance();
/**
*
*
* * A note describing a compliance check. ** *
.grafeas.v1.ComplianceNote compliance = 18;
*/
io.grafeas.v1.ComplianceNoteOrBuilder getComplianceOrBuilder();
/**
*
*
* * A note describing a dsse attestation note. ** *
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
*
* @return Whether the dsseAttestation field is set.
*/
boolean hasDsseAttestation();
/**
*
*
* * A note describing a dsse attestation note. ** *
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
*
* @return The dsseAttestation.
*/
io.grafeas.v1.DSSEAttestationNote getDsseAttestation();
/**
*
*
* * A note describing a dsse attestation note. ** *
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
*/
io.grafeas.v1.DSSEAttestationNoteOrBuilder getDsseAttestationOrBuilder();
/**
*
*
* * A note describing a vulnerability assessment. ** *
.grafeas.v1.VulnerabilityAssessmentNote vulnerability_assessment = 20;
*
* @return Whether the vulnerabilityAssessment field is set.
*/
boolean hasVulnerabilityAssessment();
/**
*
*
* * A note describing a vulnerability assessment. ** *
.grafeas.v1.VulnerabilityAssessmentNote vulnerability_assessment = 20;
*
* @return The vulnerabilityAssessment.
*/
io.grafeas.v1.VulnerabilityAssessmentNote getVulnerabilityAssessment();
/**
*
*
* * A note describing a vulnerability assessment. ** *
.grafeas.v1.VulnerabilityAssessmentNote vulnerability_assessment = 20;
*/
io.grafeas.v1.VulnerabilityAssessmentNoteOrBuilder getVulnerabilityAssessmentOrBuilder();
public io.grafeas.v1.Note.TypeCase getTypeCase();
}