/* * 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 NoteOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1beta1.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.v1beta1.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.v1beta1.NoteKind kind = 4; * * @return The kind. */ io.grafeas.v1beta1.common.NoteKind getKind(); /** * * *
   * URLs associated with this note.
   * 
* * repeated .grafeas.v1beta1.RelatedUrl related_url = 5; */ java.util.List getRelatedUrlList(); /** * * *
   * URLs associated with this note.
   * 
* * repeated .grafeas.v1beta1.RelatedUrl related_url = 5; */ io.grafeas.v1beta1.common.RelatedUrl getRelatedUrl(int index); /** * * *
   * URLs associated with this note.
   * 
* * repeated .grafeas.v1beta1.RelatedUrl related_url = 5; */ int getRelatedUrlCount(); /** * * *
   * URLs associated with this note.
   * 
* * repeated .grafeas.v1beta1.RelatedUrl related_url = 5; */ java.util.List getRelatedUrlOrBuilderList(); /** * * *
   * URLs associated with this note.
   * 
* * repeated .grafeas.v1beta1.RelatedUrl related_url = 5; */ io.grafeas.v1beta1.common.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 getRelatedNoteNamesList(); /** * * *
   * 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.v1beta1.vulnerability.Vulnerability vulnerability = 10; * * @return Whether the vulnerability field is set. */ boolean hasVulnerability(); /** * * *
   * A note describing a package vulnerability.
   * 
* * .grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10; * * @return The vulnerability. */ io.grafeas.v1beta1.vulnerability.Vulnerability getVulnerability(); /** * * *
   * A note describing a package vulnerability.
   * 
* * .grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10; */ io.grafeas.v1beta1.vulnerability.VulnerabilityOrBuilder getVulnerabilityOrBuilder(); /** * * *
   * A note describing build provenance for a verifiable build.
   * 
* * .grafeas.v1beta1.build.Build build = 11; * * @return Whether the build field is set. */ boolean hasBuild(); /** * * *
   * A note describing build provenance for a verifiable build.
   * 
* * .grafeas.v1beta1.build.Build build = 11; * * @return The build. */ io.grafeas.v1beta1.build.Build getBuild(); /** * * *
   * A note describing build provenance for a verifiable build.
   * 
* * .grafeas.v1beta1.build.Build build = 11; */ io.grafeas.v1beta1.build.BuildOrBuilder getBuildOrBuilder(); /** * * *
   * A note describing a base image.
   * 
* * .grafeas.v1beta1.image.Basis base_image = 12; * * @return Whether the baseImage field is set. */ boolean hasBaseImage(); /** * * *
   * A note describing a base image.
   * 
* * .grafeas.v1beta1.image.Basis base_image = 12; * * @return The baseImage. */ io.grafeas.v1beta1.image.Basis getBaseImage(); /** * * *
   * A note describing a base image.
   * 
* * .grafeas.v1beta1.image.Basis base_image = 12; */ io.grafeas.v1beta1.image.BasisOrBuilder getBaseImageOrBuilder(); /** * * *
   * A note describing a package hosted by various package managers.
   * 
* * .grafeas.v1beta1.package.Package package = 13; * * @return Whether the package field is set. */ boolean hasPackage(); /** * * *
   * A note describing a package hosted by various package managers.
   * 
* * .grafeas.v1beta1.package.Package package = 13; * * @return The package. */ io.grafeas.v1beta1.pkg.Package getPackage(); /** * * *
   * A note describing a package hosted by various package managers.
   * 
* * .grafeas.v1beta1.package.Package package = 13; */ io.grafeas.v1beta1.pkg.PackageOrBuilder getPackageOrBuilder(); /** * * *
   * A note describing something that can be deployed.
   * 
* * .grafeas.v1beta1.deployment.Deployable deployable = 14; * * @return Whether the deployable field is set. */ boolean hasDeployable(); /** * * *
   * A note describing something that can be deployed.
   * 
* * .grafeas.v1beta1.deployment.Deployable deployable = 14; * * @return The deployable. */ io.grafeas.v1beta1.deployment.Deployable getDeployable(); /** * * *
   * A note describing something that can be deployed.
   * 
* * .grafeas.v1beta1.deployment.Deployable deployable = 14; */ io.grafeas.v1beta1.deployment.DeployableOrBuilder getDeployableOrBuilder(); /** * * *
   * A note describing the initial analysis of a resource.
   * 
* * .grafeas.v1beta1.discovery.Discovery discovery = 15; * * @return Whether the discovery field is set. */ boolean hasDiscovery(); /** * * *
   * A note describing the initial analysis of a resource.
   * 
* * .grafeas.v1beta1.discovery.Discovery discovery = 15; * * @return The discovery. */ io.grafeas.v1beta1.discovery.Discovery getDiscovery(); /** * * *
   * A note describing the initial analysis of a resource.
   * 
* * .grafeas.v1beta1.discovery.Discovery discovery = 15; */ io.grafeas.v1beta1.discovery.DiscoveryOrBuilder getDiscoveryOrBuilder(); /** * * *
   * A note describing an attestation role.
   * 
* * .grafeas.v1beta1.attestation.Authority attestation_authority = 16; * * @return Whether the attestationAuthority field is set. */ boolean hasAttestationAuthority(); /** * * *
   * A note describing an attestation role.
   * 
* * .grafeas.v1beta1.attestation.Authority attestation_authority = 16; * * @return The attestationAuthority. */ io.grafeas.v1beta1.attestation.Authority getAttestationAuthority(); /** * * *
   * A note describing an attestation role.
   * 
* * .grafeas.v1beta1.attestation.Authority attestation_authority = 16; */ io.grafeas.v1beta1.attestation.AuthorityOrBuilder getAttestationAuthorityOrBuilder(); public io.grafeas.v1beta1.Note.TypeCase getTypeCase(); }