Package io.grafeas.v1beta1
Interface NoteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Note,Note.Builder
@Generated
public interface NoteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA note describing an attestation role.A note describing an attestation role.A note describing a base image.A note describing a base image.getBuild()A note describing build provenance for a verifiable build.A note describing build provenance for a verifiable build.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.A note describing something that can be deployed.A note describing something that can be deployed.A note describing the initial analysis of a resource.A note describing the initial analysis of a resource.com.google.protobuf.TimestampTime of expiration for this note.com.google.protobuf.TimestampOrBuilderTime of expiration for this note.getKind()Output only.intOutput only.A detailed description of this note.com.google.protobuf.ByteStringA detailed description of this note.getName()Output only.com.google.protobuf.ByteStringOutput only.A note describing a package hosted by various package managers.A note describing a package hosted by various package managers.getRelatedNoteNames(int index) Other notes related to this note.com.google.protobuf.ByteStringgetRelatedNoteNamesBytes(int index) Other notes related to this note.intOther notes related to this note.Other notes related to this note.getRelatedUrl(int index) URLs associated with this note.intURLs associated with this note.URLs associated with this note.getRelatedUrlOrBuilder(int index) URLs associated with this note.List<? extends RelatedUrlOrBuilder>URLs associated with this note.A one sentence description of this note.com.google.protobuf.ByteStringA one sentence description of this note.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.A note describing a package vulnerability.A note describing a package vulnerability.booleanA note describing an attestation role.booleanA note describing a base image.booleanhasBuild()A note describing build provenance for a verifiable build.booleanOutput only.booleanA note describing something that can be deployed.booleanA note describing the initial analysis of a resource.booleanTime of expiration for this note.booleanA note describing a package hosted by various package managers.booleanOutput only.booleanA note describing a package vulnerability.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
string name = 1;- Returns:
- The bytes for name.
-
getShortDescription
String getShortDescription()A one sentence description of this note.
string short_description = 2;- Returns:
- The shortDescription.
-
getShortDescriptionBytes
com.google.protobuf.ByteString getShortDescriptionBytes()A one sentence description of this note.
string short_description = 2;- Returns:
- The bytes for shortDescription.
-
getLongDescription
String getLongDescription()A detailed description of this note.
string long_description = 3;- Returns:
- The longDescription.
-
getLongDescriptionBytes
com.google.protobuf.ByteString getLongDescriptionBytes()A detailed description of this note.
string long_description = 3;- Returns:
- The bytes for longDescription.
-
getKindValue
int getKindValue()Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;- Returns:
- The enum numeric value on the wire for kind.
-
getKind
NoteKind getKind()Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;- Returns:
- The kind.
-
getRelatedUrlList
List<RelatedUrl> getRelatedUrlList()URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5; -
getRelatedUrl
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5; -
getRelatedUrlCount
int getRelatedUrlCount()URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5; -
getRelatedUrlOrBuilderList
List<? extends RelatedUrlOrBuilder> getRelatedUrlOrBuilderList()URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5; -
getRelatedUrlOrBuilder
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5; -
hasExpirationTime
boolean hasExpirationTime()Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
com.google.protobuf.Timestamp getExpirationTime()Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6; -
hasCreateTime
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;- Returns:
- Whether the createTime field is set.
-
getCreateTime
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;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()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; -
hasUpdateTime
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;- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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;- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()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; -
getRelatedNoteNamesList
Other notes related to this note.
repeated string related_note_names = 9;- Returns:
- A list containing the relatedNoteNames.
-
getRelatedNoteNamesCount
int getRelatedNoteNamesCount()Other notes related to this note.
repeated string related_note_names = 9;- Returns:
- The count of relatedNoteNames.
-
getRelatedNoteNames
Other notes related to this note.
repeated string related_note_names = 9;- Parameters:
index- The index of the element to return.- Returns:
- The relatedNoteNames at the given index.
-
getRelatedNoteNamesBytes
com.google.protobuf.ByteString getRelatedNoteNamesBytes(int index) Other notes related to this note.
repeated string related_note_names = 9;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the relatedNoteNames at the given index.
-
hasVulnerability
boolean hasVulnerability()A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;- Returns:
- Whether the vulnerability field is set.
-
getVulnerability
Vulnerability getVulnerability()A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;- Returns:
- The vulnerability.
-
getVulnerabilityOrBuilder
VulnerabilityOrBuilder getVulnerabilityOrBuilder()A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10; -
hasBuild
boolean hasBuild()A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;- Returns:
- Whether the build field is set.
-
getBuild
Build getBuild()A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;- Returns:
- The build.
-
getBuildOrBuilder
BuildOrBuilder getBuildOrBuilder()A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11; -
hasBaseImage
boolean hasBaseImage()A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;- Returns:
- Whether the baseImage field is set.
-
getBaseImage
Basis getBaseImage()A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;- Returns:
- The baseImage.
-
getBaseImageOrBuilder
BasisOrBuilder getBaseImageOrBuilder()A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12; -
hasPackage
boolean hasPackage()A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;- Returns:
- Whether the package field is set.
-
getPackage
Package getPackage()A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;- Returns:
- The package.
-
getPackageOrBuilder
PackageOrBuilder getPackageOrBuilder()A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13; -
hasDeployable
boolean hasDeployable()A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;- Returns:
- Whether the deployable field is set.
-
getDeployable
Deployable getDeployable()A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;- Returns:
- The deployable.
-
getDeployableOrBuilder
DeployableOrBuilder getDeployableOrBuilder()A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14; -
hasDiscovery
boolean hasDiscovery()A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;- Returns:
- Whether the discovery field is set.
-
getDiscovery
Discovery getDiscovery()A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;- Returns:
- The discovery.
-
getDiscoveryOrBuilder
DiscoveryOrBuilder getDiscoveryOrBuilder()A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15; -
hasAttestationAuthority
boolean hasAttestationAuthority()A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;- Returns:
- Whether the attestationAuthority field is set.
-
getAttestationAuthority
Authority getAttestationAuthority()A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;- Returns:
- The attestationAuthority.
-
getAttestationAuthorityOrBuilder
AuthorityOrBuilder getAttestationAuthorityOrBuilder()A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16; -
getTypeCase
Note.TypeCase getTypeCase()
-