Package io.grafeas.v1beta1
Interface NoteOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Note
,Note.Builder
public interface NoteOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Authority
getAttestationAuthority()
A note describing an attestation role.AuthorityOrBuilder
getAttestationAuthorityOrBuilder()
A note describing an attestation role.Basis
getBaseImage()
A note describing a base image.BasisOrBuilder
getBaseImageOrBuilder()
A note describing a base image.Build
getBuild()
A note describing build provenance for a verifiable build.BuildOrBuilder
getBuildOrBuilder()
A note describing build provenance for a verifiable build.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Deployable
getDeployable()
A note describing something that can be deployed.DeployableOrBuilder
getDeployableOrBuilder()
A note describing something that can be deployed.Discovery
getDiscovery()
A note describing the initial analysis of a resource.DiscoveryOrBuilder
getDiscoveryOrBuilder()
A note describing the initial analysis of a resource.com.google.protobuf.Timestamp
getExpirationTime()
Time of expiration for this note.com.google.protobuf.TimestampOrBuilder
getExpirationTimeOrBuilder()
Time of expiration for this note.NoteKind
getKind()
Output only.int
getKindValue()
Output only.String
getLongDescription()
A detailed description of this note.com.google.protobuf.ByteString
getLongDescriptionBytes()
A detailed description of this note.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.Package
getPackage()
A note describing a package hosted by various package managers.PackageOrBuilder
getPackageOrBuilder()
A note describing a package hosted by various package managers.String
getRelatedNoteNames(int index)
Other notes related to this note.com.google.protobuf.ByteString
getRelatedNoteNamesBytes(int index)
Other notes related to this note.int
getRelatedNoteNamesCount()
Other notes related to this note.List<String>
getRelatedNoteNamesList()
Other notes related to this note.RelatedUrl
getRelatedUrl(int index)
URLs associated with this note.int
getRelatedUrlCount()
URLs associated with this note.List<RelatedUrl>
getRelatedUrlList()
URLs associated with this note.RelatedUrlOrBuilder
getRelatedUrlOrBuilder(int index)
URLs associated with this note.List<? extends RelatedUrlOrBuilder>
getRelatedUrlOrBuilderList()
URLs associated with this note.String
getShortDescription()
A one sentence description of this note.com.google.protobuf.ByteString
getShortDescriptionBytes()
A one sentence description of this note.Note.TypeCase
getTypeCase()
com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.Vulnerability
getVulnerability()
A note describing a package vulnerability.VulnerabilityOrBuilder
getVulnerabilityOrBuilder()
A note describing a package vulnerability.boolean
hasAttestationAuthority()
A note describing an attestation role.boolean
hasBaseImage()
A note describing a base image.boolean
hasBuild()
A note describing build provenance for a verifiable build.boolean
hasCreateTime()
Output only.boolean
hasDeployable()
A note describing something that can be deployed.boolean
hasDiscovery()
A note describing the initial analysis of a resource.boolean
hasExpirationTime()
Time of expiration for this note.boolean
hasPackage()
A note describing a package hosted by various package managers.boolean
hasUpdateTime()
Output only.boolean
hasVulnerability()
A note describing a package vulnerability.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
RelatedUrl getRelatedUrl(int index)
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
RelatedUrlOrBuilder getRelatedUrlOrBuilder(int index)
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
List<String> 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
String getRelatedNoteNames(int index)
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()
-
-