Interface OccurrenceOrBuilder (2.44.0)

public interface OccurrenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttestation()

public abstract Details getAttestation()

Describes an attestation of an artifact.

.grafeas.v1beta1.attestation.Details attestation = 14;

Returns
Type Description
Details

The attestation.

getAttestationOrBuilder()

public abstract DetailsOrBuilder getAttestationOrBuilder()

Describes an attestation of an artifact.

.grafeas.v1beta1.attestation.Details attestation = 14;

Returns
Type Description
DetailsOrBuilder

getBuild()

public abstract Details getBuild()

Describes a verifiable build.

.grafeas.v1beta1.build.Details build = 9;

Returns
Type Description
Details

The build.

getBuildOrBuilder()

public abstract DetailsOrBuilder getBuildOrBuilder()

Describes a verifiable build.

.grafeas.v1beta1.build.Details build = 9;

Returns
Type Description
DetailsOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time this occurrence was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time this occurrence was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
TimestampOrBuilder

getDeployment()

public abstract Details getDeployment()

Describes the deployment of an artifact on a runtime.

.grafeas.v1beta1.deployment.Details deployment = 12;

Returns
Type Description
Details

The deployment.

getDeploymentOrBuilder()

public abstract DetailsOrBuilder getDeploymentOrBuilder()

Describes the deployment of an artifact on a runtime.

.grafeas.v1beta1.deployment.Details deployment = 12;

Returns
Type Description
DetailsOrBuilder

getDerivedImage()

public abstract Details getDerivedImage()

Describes how this resource derives from the basis in the associated note.

.grafeas.v1beta1.image.Details derived_image = 10;

Returns
Type Description
Details

The derivedImage.

getDerivedImageOrBuilder()

public abstract DetailsOrBuilder getDerivedImageOrBuilder()

Describes how this resource derives from the basis in the associated note.

.grafeas.v1beta1.image.Details derived_image = 10;

Returns
Type Description
DetailsOrBuilder

getDetailsCase()

public abstract Occurrence.DetailsCase getDetailsCase()
Returns
Type Description
Occurrence.DetailsCase

getDiscovered()

public abstract Details getDiscovered()

Describes when a resource was discovered.

.grafeas.v1beta1.discovery.Details discovered = 13;

Returns
Type Description
Details

The discovered.

getDiscoveredOrBuilder()

public abstract DetailsOrBuilder getDiscoveredOrBuilder()

Describes when a resource was discovered.

.grafeas.v1beta1.discovery.Details discovered = 13;

Returns
Type Description
DetailsOrBuilder

getInstallation()

public abstract Details getInstallation()

Describes the installation of a package on the linked resource.

.grafeas.v1beta1.package.Details installation = 11;

Returns
Type Description
Details

The installation.

getInstallationOrBuilder()

public abstract DetailsOrBuilder getInstallationOrBuilder()

Describes the installation of a package on the linked resource.

.grafeas.v1beta1.package.Details installation = 11;

Returns
Type Description
DetailsOrBuilder

getKind()

public abstract NoteKind getKind()

Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.

.grafeas.v1beta1.NoteKind kind = 4;

Returns
Type Description
NoteKind

The kind.

getKindValue()

public abstract int getKindValue()

Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.

.grafeas.v1beta1.NoteKind kind = 4;

Returns
Type Description
int

The enum numeric value on the wire for kind.

getName()

public abstract String getName()

Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getNoteName()

public abstract String getNoteName()

Required. Immutable. The analysis note associated with this occurrence, in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]. This field can be used as a filter in list requests.

string note_name = 3;

Returns
Type Description
String

The noteName.

getNoteNameBytes()

public abstract ByteString getNoteNameBytes()

Required. Immutable. The analysis note associated with this occurrence, in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]. This field can be used as a filter in list requests.

string note_name = 3;

Returns
Type Description
ByteString

The bytes for noteName.

getRemediation()

public abstract String getRemediation()

A description of actions that can be taken to remedy the note.

string remediation = 5;

Returns
Type Description
String

The remediation.

getRemediationBytes()

public abstract ByteString getRemediationBytes()

A description of actions that can be taken to remedy the note.

string remediation = 5;

Returns
Type Description
ByteString

The bytes for remediation.

getResource()

public abstract Resource getResource()

Required. Immutable. The resource for which the occurrence applies.

.grafeas.v1beta1.Resource resource = 2;

Returns
Type Description
Resource

The resource.

getResourceOrBuilder()

public abstract ResourceOrBuilder getResourceOrBuilder()

Required. Immutable. The resource for which the occurrence applies.

.grafeas.v1beta1.Resource resource = 2;

Returns
Type Description
ResourceOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The time this occurrence was last updated.

.google.protobuf.Timestamp update_time = 7;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time this occurrence was last updated.

.google.protobuf.Timestamp update_time = 7;

Returns
Type Description
TimestampOrBuilder

getVulnerability()

public abstract Details getVulnerability()

Describes a security vulnerability.

.grafeas.v1beta1.vulnerability.Details vulnerability = 8;

Returns
Type Description
Details

The vulnerability.

getVulnerabilityOrBuilder()

public abstract DetailsOrBuilder getVulnerabilityOrBuilder()

Describes a security vulnerability.

.grafeas.v1beta1.vulnerability.Details vulnerability = 8;

Returns
Type Description
DetailsOrBuilder

hasAttestation()

public abstract boolean hasAttestation()

Describes an attestation of an artifact.

.grafeas.v1beta1.attestation.Details attestation = 14;

Returns
Type Description
boolean

Whether the attestation field is set.

hasBuild()

public abstract boolean hasBuild()

Describes a verifiable build.

.grafeas.v1beta1.build.Details build = 9;

Returns
Type Description
boolean

Whether the build field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time this occurrence was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDeployment()

public abstract boolean hasDeployment()

Describes the deployment of an artifact on a runtime.

.grafeas.v1beta1.deployment.Details deployment = 12;

Returns
Type Description
boolean

Whether the deployment field is set.

hasDerivedImage()

public abstract boolean hasDerivedImage()

Describes how this resource derives from the basis in the associated note.

.grafeas.v1beta1.image.Details derived_image = 10;

Returns
Type Description
boolean

Whether the derivedImage field is set.

hasDiscovered()

public abstract boolean hasDiscovered()

Describes when a resource was discovered.

.grafeas.v1beta1.discovery.Details discovered = 13;

Returns
Type Description
boolean

Whether the discovered field is set.

hasInstallation()

public abstract boolean hasInstallation()

Describes the installation of a package on the linked resource.

.grafeas.v1beta1.package.Details installation = 11;

Returns
Type Description
boolean

Whether the installation field is set.

hasResource()

public abstract boolean hasResource()

Required. Immutable. The resource for which the occurrence applies.

.grafeas.v1beta1.Resource resource = 2;

Returns
Type Description
boolean

Whether the resource field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The time this occurrence was last updated.

.google.protobuf.Timestamp update_time = 7;

Returns
Type Description
boolean

Whether the updateTime field is set.

hasVulnerability()

public abstract boolean hasVulnerability()

Describes a security vulnerability.

.grafeas.v1beta1.vulnerability.Details vulnerability = 8;

Returns
Type Description
boolean

Whether the vulnerability field is set.