Interface NoteOrBuilder (2.19.0)

public interface NoteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttestationAuthority()

public abstract Authority getAttestationAuthority()

A note describing an attestation role.

.grafeas.v1beta1.attestation.Authority attestation_authority = 16;

Returns
TypeDescription
Authority

The attestationAuthority.

getAttestationAuthorityOrBuilder()

public abstract AuthorityOrBuilder getAttestationAuthorityOrBuilder()

A note describing an attestation role.

.grafeas.v1beta1.attestation.Authority attestation_authority = 16;

Returns
TypeDescription
AuthorityOrBuilder

getBaseImage()

public abstract Basis getBaseImage()

A note describing a base image.

.grafeas.v1beta1.image.Basis base_image = 12;

Returns
TypeDescription
Basis

The baseImage.

getBaseImageOrBuilder()

public abstract BasisOrBuilder getBaseImageOrBuilder()

A note describing a base image.

.grafeas.v1beta1.image.Basis base_image = 12;

Returns
TypeDescription
BasisOrBuilder

getBuild()

public abstract Build getBuild()

A note describing build provenance for a verifiable build.

.grafeas.v1beta1.build.Build build = 11;

Returns
TypeDescription
Build

The build.

getBuildOrBuilder()

public abstract BuildOrBuilder getBuildOrBuilder()

A note describing build provenance for a verifiable build.

.grafeas.v1beta1.build.Build build = 11;

Returns
TypeDescription
BuildOrBuilder

getCreateTime()

public abstract 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
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract 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;

Returns
TypeDescription
TimestampOrBuilder

getDeployable()

public abstract Deployable getDeployable()

A note describing something that can be deployed.

.grafeas.v1beta1.deployment.Deployable deployable = 14;

Returns
TypeDescription
Deployable

The deployable.

getDeployableOrBuilder()

public abstract DeployableOrBuilder getDeployableOrBuilder()

A note describing something that can be deployed.

.grafeas.v1beta1.deployment.Deployable deployable = 14;

Returns
TypeDescription
DeployableOrBuilder

getDiscovery()

public abstract Discovery getDiscovery()

A note describing the initial analysis of a resource.

.grafeas.v1beta1.discovery.Discovery discovery = 15;

Returns
TypeDescription
Discovery

The discovery.

getDiscoveryOrBuilder()

public abstract DiscoveryOrBuilder getDiscoveryOrBuilder()

A note describing the initial analysis of a resource.

.grafeas.v1beta1.discovery.Discovery discovery = 15;

Returns
TypeDescription
DiscoveryOrBuilder

getExpirationTime()

public abstract Timestamp getExpirationTime()

Time of expiration for this note. Empty if note does not expire.

.google.protobuf.Timestamp expiration_time = 6;

Returns
TypeDescription
Timestamp

The expirationTime.

getExpirationTimeOrBuilder()

public abstract TimestampOrBuilder getExpirationTimeOrBuilder()

Time of expiration for this note. Empty if note does not expire.

.google.protobuf.Timestamp expiration_time = 6;

Returns
TypeDescription
TimestampOrBuilder

getKind()

public abstract 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
TypeDescription
NoteKind

The kind.

getKindValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for kind.

getLongDescription()

public abstract String getLongDescription()

A detailed description of this note.

string long_description = 3;

Returns
TypeDescription
String

The longDescription.

getLongDescriptionBytes()

public abstract ByteString getLongDescriptionBytes()

A detailed description of this note.

string long_description = 3;

Returns
TypeDescription
ByteString

The bytes for longDescription.

getName()

public abstract String getName()

Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPackage()

public abstract Package getPackage()

A note describing a package hosted by various package managers.

.grafeas.v1beta1.package.Package package = 13;

Returns
TypeDescription
Package

The package.

getPackageOrBuilder()

public abstract PackageOrBuilder getPackageOrBuilder()

A note describing a package hosted by various package managers.

.grafeas.v1beta1.package.Package package = 13;

Returns
TypeDescription
PackageOrBuilder

getRelatedNoteNames(int index)

public abstract String getRelatedNoteNames(int index)

Other notes related to this note.

repeated string related_note_names = 9;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The relatedNoteNames at the given index.

getRelatedNoteNamesBytes(int index)

public abstract ByteString getRelatedNoteNamesBytes(int index)

Other notes related to this note.

repeated string related_note_names = 9;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the relatedNoteNames at the given index.

getRelatedNoteNamesCount()

public abstract int getRelatedNoteNamesCount()

Other notes related to this note.

repeated string related_note_names = 9;

Returns
TypeDescription
int

The count of relatedNoteNames.

getRelatedNoteNamesList()

public abstract List<String> getRelatedNoteNamesList()

Other notes related to this note.

repeated string related_note_names = 9;

Returns
TypeDescription
List<String>

A list containing the relatedNoteNames.

getRelatedUrl(int index)

public abstract RelatedUrl getRelatedUrl(int index)

URLs associated with this note.

repeated .grafeas.v1beta1.RelatedUrl related_url = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedUrl

getRelatedUrlCount()

public abstract int getRelatedUrlCount()

URLs associated with this note.

repeated .grafeas.v1beta1.RelatedUrl related_url = 5;

Returns
TypeDescription
int

getRelatedUrlList()

public abstract List<RelatedUrl> getRelatedUrlList()

URLs associated with this note.

repeated .grafeas.v1beta1.RelatedUrl related_url = 5;

Returns
TypeDescription
List<RelatedUrl>

getRelatedUrlOrBuilder(int index)

public abstract RelatedUrlOrBuilder getRelatedUrlOrBuilder(int index)

URLs associated with this note.

repeated .grafeas.v1beta1.RelatedUrl related_url = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedUrlOrBuilder

getRelatedUrlOrBuilderList()

public abstract List<? extends RelatedUrlOrBuilder> getRelatedUrlOrBuilderList()

URLs associated with this note.

repeated .grafeas.v1beta1.RelatedUrl related_url = 5;

Returns
TypeDescription
List<? extends io.grafeas.v1beta1.common.RelatedUrlOrBuilder>

getShortDescription()

public abstract String getShortDescription()

A one sentence description of this note.

string short_description = 2;

Returns
TypeDescription
String

The shortDescription.

getShortDescriptionBytes()

public abstract ByteString getShortDescriptionBytes()

A one sentence description of this note.

string short_description = 2;

Returns
TypeDescription
ByteString

The bytes for shortDescription.

getTypeCase()

public abstract Note.TypeCase getTypeCase()
Returns
TypeDescription
Note.TypeCase

getUpdateTime()

public abstract 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
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract 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;

Returns
TypeDescription
TimestampOrBuilder

getVulnerability()

public abstract Vulnerability getVulnerability()

A note describing a package vulnerability.

.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;

Returns
TypeDescription
Vulnerability

The vulnerability.

getVulnerabilityOrBuilder()

public abstract VulnerabilityOrBuilder getVulnerabilityOrBuilder()

A note describing a package vulnerability.

.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;

Returns
TypeDescription
VulnerabilityOrBuilder

hasAttestationAuthority()

public abstract boolean hasAttestationAuthority()

A note describing an attestation role.

.grafeas.v1beta1.attestation.Authority attestation_authority = 16;

Returns
TypeDescription
boolean

Whether the attestationAuthority field is set.

hasBaseImage()

public abstract boolean hasBaseImage()

A note describing a base image.

.grafeas.v1beta1.image.Basis base_image = 12;

Returns
TypeDescription
boolean

Whether the baseImage field is set.

hasBuild()

public abstract boolean hasBuild()

A note describing build provenance for a verifiable build.

.grafeas.v1beta1.build.Build build = 11;

Returns
TypeDescription
boolean

Whether the build field is set.

hasCreateTime()

public abstract 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
TypeDescription
boolean

Whether the createTime field is set.

hasDeployable()

public abstract boolean hasDeployable()

A note describing something that can be deployed.

.grafeas.v1beta1.deployment.Deployable deployable = 14;

Returns
TypeDescription
boolean

Whether the deployable field is set.

hasDiscovery()

public abstract boolean hasDiscovery()

A note describing the initial analysis of a resource.

.grafeas.v1beta1.discovery.Discovery discovery = 15;

Returns
TypeDescription
boolean

Whether the discovery field is set.

hasExpirationTime()

public abstract boolean hasExpirationTime()

Time of expiration for this note. Empty if note does not expire.

.google.protobuf.Timestamp expiration_time = 6;

Returns
TypeDescription
boolean

Whether the expirationTime field is set.

hasPackage()

public abstract boolean hasPackage()

A note describing a package hosted by various package managers.

.grafeas.v1beta1.package.Package package = 13;

Returns
TypeDescription
boolean

Whether the package field is set.

hasUpdateTime()

public abstract 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
TypeDescription
boolean

Whether the updateTime field is set.

hasVulnerability()

public abstract boolean hasVulnerability()

A note describing a package vulnerability.

.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;

Returns
TypeDescription
boolean

Whether the vulnerability field is set.